corepack
corepack copied to clipboard
Zero-runtime-dependency package acting as bridge between Node projects and their package managers
## What would you like? Corepack `AUTO_PIN` should not attempt to automatically change to a different package manager in a project, such as attempting to change an npm project into...
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.2 to 2.1.3. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Link to the code that reproduces this issue or a replay of the bug https://github.com/xmasuhai/test-vite Reproduction steps ```sh cd test-vite corepack use pnpm@latest-10 ``` Describe the Bug ``` $ corepack...
Closes #540 Closes #535 Closes #759
Bumps [undici](https://github.com/nodejs/undici) from 6.21.1 to 6.21.2. Release notes Sourced from undici's releases. v6.21.2 What's Changed fix(types): add missing DNS interceptor by @slagiewka in nodejs/undici#4024 [v6.x] fix wpts on windows by...
## Current behavior If the environment variable `COREPACK_NPM_REGISTRY` is defined with a trailing slash, then Corepack forms URLs with requests to the registry using a double slash. For example: ```text...
## Issue - The following commands are hidden since PR https://github.com/nodejs/corepack/pull/291 implemented https://github.com/nodejs/corepack/issues/274 in release [[email protected]](https://github.com/nodejs/corepack/releases/tag/v0.20.0): - `corepack hydrate` - `corepack prepare` These commands: 1. are not documented in the...
## Backgroud [@antfu/ni](https://www.npmjs.com/package/@antfu/ni) has an `na` command, which is agent alias. Running `na install` or `na run build` will detect and use the right package manager to execute the corresponding...
Allow `corepack use` with default package manager when network disabled `COREPACK_ENABLE_NETWORK=0`
## What would you like? `corepack use` should default to the package manager version stored in `lastKnownGood.json` when network connections are disabled with `COREPACK_ENABLE_NETWORK=0`. For example ```shell corepack use yarn...
## Situation If Corepack is installed globally using npm, as documented in the [README > Manual Installs](https://github.com/nodejs/corepack/blob/main/README.md#manual-installs) section using ```shell npm install -g corepack ``` then Corepack behaves as if...