distributable: url: https://github.com/npm/cli/archive/refs/tags/v{{ version }}.tar.gz strip-components: 1 versions: github: npm/cli/tags 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 mv props/npmrc {{prefix}}/lib/node_modules/npm test: | npm install --global cowsay $HOME/.local/bin/cowsay xyz.tea.hi npx -qy tldr ls