mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
fix(npm)
ref https://github.com/npm/cli/pull/6142 fixes https://github.com/teaxyz/pantry.core/issues/213 fixes https://github.com/teaxyz/pantry.core/issues/214 fixes https://github.com/teaxyz/pantry.core/issues/215
This commit is contained in:
parent
2f7e0f3a93
commit
55f39f4bff
1 changed files with 2 additions and 3 deletions
|
@ -16,11 +16,10 @@ build:
|
|||
dependencies:
|
||||
crates.io/semverator: '*'
|
||||
script: |
|
||||
if semverator satisfies '^8' {{ version }}; then
|
||||
if semverator satisfies '^8,>=9.4.2' {{ version }}; then
|
||||
ARGS="--install-links"
|
||||
fi
|
||||
|
||||
node . install --global --prefix={{prefix}} $ARGS
|
||||
|
||||
test:
|
||||
npx -q tldr ls
|
||||
test: npx -q tldr ls
|
Loading…
Reference in a new issue