mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
29 lines
No EOL
505 B
YAML
29 lines
No EOL
505 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'
|
|
|
|
runtime:
|
|
env:
|
|
NPM_CONFIG_UPDATE_NOTIFIER: false
|
|
|
|
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 |