pantry/projects/npmjs.com/package.yml
Jacob Heider 99253c4467
npmjs.com: upstream removed ./scripts/install (#34)
* upstream removed ./scripts/install

which we shouldn't have been using anyway, since it was bypassing our downloaded sources. this is the correct way.

* improved testing
2022-11-16 18:01:43 -05:00

24 lines
No EOL
416 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:
script:
node . install --global --prefix={{prefix}}
test:
dependencies:
git-scm.org: '*' # `npm doctor` checks for, but doesn't use, `git`
script: |
npm doctor
npx -q tldr ls