mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
fix(npm) (#174)
* npm^8 installs symlinks unless told not to * see if node^19.5 is the problem * final version
This commit is contained in:
parent
6c3ca500a7
commit
f5975d8d79
1 changed files with 9 additions and 6 deletions
|
@ -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
|
Loading…
Reference in a new issue