-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add deno as package manager #25
Conversation
'upgrade': ['deno', 'update', 0], | ||
'upgrade-interactive': ['deno', 'update', 0], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually not true yet, we plan to add these commands in Deno v2.1 later in November.
'upgrade': ['deno', 'update', 0], | ||
'upgrade-interactive': ['deno', 'update', 0], | ||
'execute': ['deno', 'run', 0], | ||
'execute-local': ['deno', 'run', 0], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the same command is used here for execute
and execute-local
, which means this isn't working in in the Svelte CLI: sveltejs/cli#313 (review). Does Deno have some equivalent to pnpm exec
or should we make a feature request for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooops, my bad. We currently have no way to do it, so a feature request would be helpful. I think we could handle that with deno task --eval
so it uses cross-platform shell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, filed a request here: denoland/deno#26918
Description
Add Deno as a valid package manager recognized by
package-manager-detector
.Linked Issues
Closes #21
Additional context
As of Deno v2.0.5, Deno will provide
npm_config_user_agent
env var in relevant subcommands (denoland/deno#26639).