mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
new file: projects/nodejs.org/corepack/package.yml
This commit is contained in:
parent
144c4fbac7
commit
71383751f8
1 changed files with 37 additions and 0 deletions
37
projects/nodejs.org/corepack/package.yml
Normal file
37
projects/nodejs.org/corepack/package.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue