From 71383751f82361bc0836e23f084024df12592596 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Thu, 14 Mar 2024 16:05:16 +0200 Subject: [PATCH] new file: projects/nodejs.org/corepack/package.yml --- projects/nodejs.org/corepack/package.yml | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 projects/nodejs.org/corepack/package.yml diff --git a/projects/nodejs.org/corepack/package.yml b/projects/nodejs.org/corepack/package.yml new file mode 100644 index 00000000..3594fd80 --- /dev/null +++ b/projects/nodejs.org/corepack/package.yml @@ -0,0 +1,37 @@ +distributable: + url: https://registry.npmjs.org/corepack/-/corepack-{{version}}.tgz + strip-components: 1 + +versions: + npm: corepack + +dependencies: + nodejs.org: ^20 + +build: + dependencies: + npmjs.com: '*' + script: + - npm install $ARGS + env: + ARGS: + - -ddd + - --global + - --build-from-source + - --prefix={{prefix}} + - --install-links + - --unsafe-perm + +provides: + - bin/corepack + +test: + - corepack enable yarn + - | + echo '{"name": "test"}' > package.json + - yarn add jquery -y + - rm package.json + - corepack disable yarn + - corepack enable pnpm + - pnpm init + - ls | grep package.json