mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
f5975d8d79
* npm^8 installs symlinks unless told not to * see if node^19.5 is the problem * final version
26 lines
No EOL
444 B
YAML
26 lines
No EOL
444 B
YAML
distributable:
|
|
url: https://github.com/npm/cli/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: npm/cli
|
|
|
|
provides:
|
|
- bin/npm
|
|
- bin/npx
|
|
|
|
dependencies:
|
|
nodejs.org: '>=14'
|
|
|
|
build:
|
|
dependencies:
|
|
crates.io/semverator: '*'
|
|
script: |
|
|
if semverator satisfies '^8' {{ version }}; then
|
|
ARGS="--install-links"
|
|
fi
|
|
|
|
node . install --global --prefix={{prefix}} $ARGS
|
|
|
|
test:
|
|
npx -q tldr ls |