diff --git a/projects/npmjs.com/package.yml b/projects/npmjs.com/package.yml new file mode 100644 index 00000000..6ff6e6c6 --- /dev/null +++ b/projects/npmjs.com/package.yml @@ -0,0 +1,26 @@ +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||^16||^18' + +build: + dependencies: + curl.se: '*' + script: | + ./scripts/install.sh + env: + npm_config_prefix: ${{prefix}} + +test: + script: | + npm -g bin + npx -q tldr ls \ No newline at end of file