pantry/projects/pnpm.io/package.yml
2023-04-08 11:53:22 -04:00

27 lines
454 B
YAML

distributable:
url: https://registry.npmjs.org/pnpm/-/pnpm-{{version}}.tgz
strip-components: 1
versions:
github: pnpm/pnpm
ignore: /-\d+$/ # ignore pre-releases
provides:
- bin/pnpm
- bin/pnpx
dependencies:
nodejs.org: '>=14 <20'
build:
script: |
mkdir -p "{{prefix}}"
mv bin/pnpm.cjs bin/pnpm
mv bin/pnpx.cjs bin/pnpx
cp props/pnpmrc dist
cp -r bin dist package.json {{prefix}}
test:
script: |
pnpm doctor