-
Notifications
You must be signed in to change notification settings - Fork 24
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
Ability to set Corepack version #212
Comments
Yes! I'd love to use COREPACK_NPM_REGISTRY, but it's not there in the currently used version of corepack yet. I wish I could set the version of corepack to something newer. |
Hi @MBelniak, Thank you for using the plugin and your feedback. BR |
I switched to gradle-node-plugin instead :p |
Great! I wish you can choose the version of Corepack with a simple configuration option if this feature exists with this plugin. Otherwise, feel free to get in touch with next releases here. BR |
Node.js/Corepack bundles provided in Node.js distributions frequently suffer from bugs that avoid installing package manager or dependencies, and lead to failures when task
installFrontend
is executed. As a end-user, it is difficult to identify the causes of such failures, and how to work around them quickly (this issue for example).The plugin could provide a property allowing the end-user to replace the Corepack release bundled by default in the Node.js distribution with another one (typically the latest). A new task
installCorepack
could use this property to update Corepack release.DSL
Task
installCorepack
installPackageManager
->installCorepack
->installNode
corepackVersion
isnull
Property<String>
corepackVersion
DirectoryProperty
<nodeInstallDirectory>/node_modules/corepack
The text was updated successfully, but these errors were encountered: