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

Merged
merged 4 commits into from
Aug 11, 2024
Merged

Support corepack #1157

merged 4 commits into from
Aug 11, 2024

Commits on Jun 12, 2024

  1. Support corepack.

    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.
    stevestorey committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    5b7e30e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c63726c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2093a3d View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Support using the corepack version provided with Node.

    In most uses, users will want to ues the version of corepack provided
    with the NodeJS version they are using, and the plugin now supports this
    mode of usage by default if no corepack version is explicitly provided.
    stevestorey committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    10f946c View commit details
    Browse the repository at this point in the history