fabric8-analytics-vscode-extension
fabric8-analytics-vscode-extension copied to clipboard
Support Yarn package manager for node
Is your feature request related to a problem? Please describe.
Currently we support only npm based node ecosystem. yarn is also a popular one we should consider it too.
yarn does uses the same set of packages from npm registry., it just an another tool to manage & resolve dependencies.
https://yarnpkg.com/lang/en/
@arajkumar @mathur07 any updates on this ?
I'll be happy to help also :)
From my understanding, we should
- add an option to use yarn instead of npm as a package provider
- In this file, instead of using
npm list -json, find the alternative with yarn - If the report created by yarn is the same as the one created by npm, things should work,
- otherwise, modify this file to adapt report format of yarn to npm
Is it right ?
Ressources
Please, also add pnpm, because it is frecuently used too (as yarn / npm)
I disabled the extension because of this. It was popping up all the time with a warning, trying to use npm to install modules, when we use yarn (and we have a yarn.lock file).