Open Gianthard-cyh opened 1 year ago
May add a global option for pakage managers
It seems that devtools is based on nypm, which only supports three major pakage managers.
Is it possible to add a customise configuration to allow users user their own pakage managers like cnpm
?
@Gianthard-cyh you can change this by setting "packageManager": "cnpm"
in your project's package.json
file.
@antfu is it a good idea to have a option in user's setting to change this behaviour? what do you think
I think if needed, changes should be done in nypm
instead of in devtools.
installing modules is currently using npm, but it will be better to show something like a dialog before running the scripts for users to choose the pakage manager they want to use.