openvsx
openvsx copied to clipboard
Support for pnpm
trafficstars
ovsx publish does not explicitly support the pnpm package manager. To my surprise, using the --yarn flag will publish the extension just fine.
Questions:
- is using the
--yarnflag for packages with pnpm lockfiles intentional (or coincidence?) - should the flag be renamed to something more generic?
- should there be a second flag for pnpm in a future release?
- will the above still be relevant, once corepack is stable and ships with npm?
We just pass that flag to vsce, which is used behind the scenes to package extensions. If vsce adds a dedicated flag for pnpm or changes the --yarn flag, we should adapt ovsx as well.
Related but unresolved vsce issue:
https://github.com/microsoft/vscode-vsce/issues/421