mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
a8f86cdbe4
no default prefix creation anymore
25 lines
409 B
YAML
25 lines
409 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}}"
|
|
cp bin/pnpm.cjs bin/pnpm
|
|
cp bin/pnpx.cjs bin/pnpx
|
|
cp -r . {{prefix}}
|
|
|
|
test:
|
|
script: |
|
|
pnpm doctor
|