pantry/projects/npmjs.com/package.yml
Jacob Heider f5975d8d79
fix(npm) (#174)
* npm^8 installs symlinks unless told not to

* see if node^19.5 is the problem

* final version
2023-02-03 19:34:11 -05:00

26 lines
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