2022-10-27 05:41:27 +03:00
|
|
|
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:
|
2022-10-31 20:25:32 +03:00
|
|
|
nodejs.org: '>=14'
|
2022-10-27 05:41:27 +03:00
|
|
|
|
|
|
|
build:
|
2022-11-17 02:01:43 +03:00
|
|
|
script:
|
|
|
|
node . install --global --prefix={{prefix}}
|
2022-10-27 05:41:27 +03:00
|
|
|
|
|
|
|
test:
|
2022-11-17 02:01:43 +03:00
|
|
|
dependencies:
|
|
|
|
git-scm.org: '*' # `npm doctor` checks for, but doesn't use, `git`
|
2022-10-27 05:41:27 +03:00
|
|
|
script: |
|
2022-11-17 02:01:43 +03:00
|
|
|
npm doctor
|
2022-10-27 05:41:27 +03:00
|
|
|
npx -q tldr ls
|