-
-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deno Support? #1964
Comments
Yes. The new @feathersjs/hooks is already Deno compatible with the rest of core to follow in v5 (Dove). To clarify, this applies only to
Any other Feathers plugins that rely on third party modules are likely not going to work until there is a Deno equivalent for those third party modules. This means the following things are likely not going to be available right away:
|
Is this still being worked on? |
Starting from [email protected], npm compatibliity is now marked stable. I've successfully migrated some Node.js projects to What in my opinion is great about Deno it how it pushes the ecosystem forward in terms of standards, so targeting node from deno with tools like dnt (a deno to npm package build tool) makes sense for a development workflow. Also, the fact Deno has built-in formatting, linting, removes the need for If this is still being considered, I think now might finally be an adequate time to do so (or actually continue to do so, there has been progress in other branches). Would moving the whole ecosystem e.g. packages like The following script can be used to convert dependencies in // main.ts - run with: `deno run -A main.ts`
const text = await Deno.readTextFile(`${Deno.cwd()}/package.json`);
const deps = JSON.parse(text).dependencies;
const importMap = {
imports: {
...Object.keys(deps).reduce((acc, dep) => {
acc[dep] = `npm:${dep}@${deps[dep].replace("^", "")}`;
return acc;
}, {}),
},
};
await Deno.writeTextFile(
`${Deno.cwd()}/importMap.json`,
JSON.stringify(importMap, null, 2)
); |
I've done some work in this PR: #2828 The plan was to use That's the reason why I stopped working on it until The first message in the channel summarizes the work that is done until now and some of the problems I encountered. But maybe @daffl can give a better answer about the current plan for deno. |
Thanks for the thorough overview @apollo79 ! I will stick around 👍🏼 |
Now Deno has npm package support. Improving the framework user experience on Deno (compat, getting started, permission, etc) can be a huge plus before really migrating to Deno APIs. |
is there any plan to Support the deno runtime?
The text was updated successfully, but these errors were encountered: