Skip to content
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

Support corepack #1157

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

stevestorey
Copy link

Summary

Adds support for using corepack to manage the package manager in use on a given build project.

Tests and Documentation

README is updated, an integration example has been provided

Fixes: #1032

This adds some basic support for using corepack to manage the tooling
via the 'packageManager' field in the package.json. Here we add the
ability to download a version of it along with a node version, along
with the ability to execute command via corepack such as 'pnpm install'
or 'yarn install' depending on the selected package manager.

Later we ought to work out how to use the version packaged with the node
runtime, but this was inspired by the pnpm download which is downloaded
separately, and so this is too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for corepack
1 participant