mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
55f39f4bff
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
25 lines
No EOL
450 B
YAML
25 lines
No EOL
450 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,>=9.4.2' {{ version }}; then
|
|
ARGS="--install-links"
|
|
fi
|
|
|
|
node . install --global --prefix={{prefix}} $ARGS
|
|
|
|
test: npx -q tldr ls |