corepack
corepack copied to clipboard
Zero-runtime-dependency package acting as bridge between Node projects and their package managers
This PR uses `Promise.all` to speed things up! Currently, some parts of the code wait for each other to finish before starting. `Promise.all` lets them run at the same time,...
This worked when using node-managed npm. Ideally I would be able to use `npm test` and `npm run` and such but not `npm install` when a package has packageManager set....
Having a "nock" database makes this codebase harder to reason about due to the "dynamic" nature of this mocking. Can this be refactored out?
The shebang line in the shims created by mkshims is `#!/usr/bin/env node`. This is broken in at least two ways: - If some version of node is globally installed (i.e....
I don't want to use corepack. However, this setting means that every single contributor to my project will need to set `COREPACK_ENABLE_AUTO_PIN=0` and be careful not to accidentally check in...
A few hours ago I opened an [issue](https://github.com/nvm-sh/nvm/issues/3362) in the `nvm` project repository to discuss a way to install package managers — in my case, Yarn — through Corepack separately...
@aduh95 @arcanis https://github.com/nodejs/corepack/pull/436 has broken `COREPACK_NPM_REGISTRY` in combination with Sonatype Nexus repository manager. ``` ARG YARN_VERSION ARG NPM_REGISTRY_URL="https://nexus.megacorp.com/repository/npmjs-proxy/" ENV COREPACK_NPM_REGISTRY $NPM_REGISTRY_URL RUN npm config set registry $NPM_REGISTRY_URL \ && npm...
I've installed multiple versions of PNPM using Corepack. Could you please provide a way to list all the PNPM versions installed through Corepack?
Closes #505 This adds a `corepack project install` command, which is roughly equivalent to - `corepack enable && npm install` for npm projects - `corepack enable && pnpm install` for...
This fixes all issues related to auto-pin mentioned in #485.