* npm^8 installs symlinks unless told not to

* see if node^19.5 is the problem

* final version
This commit is contained in:
Jacob Heider 2023-02-03 19:34:11 -05:00 committed by GitHub
parent 6c3ca500a7
commit f5975d8d79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,11 +13,14 @@ dependencies:
nodejs.org: '>=14'
build:
script:
node . install --global --prefix={{prefix}}
dependencies:
crates.io/semverator: '*'
script: |
if semverator satisfies '^8' {{ version }}; then
ARGS="--install-links"
fi
node . install --global --prefix={{prefix}} $ARGS
test:
dependencies:
git-scm.org: '*' # `npm doctor` checks for, but doesn't use, `git`
script: |
npx -q tldr ls
npx -q tldr ls