From b1e948531e299a69978d0ce0451fb51508918e48 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 26 Oct 2022 22:41:27 -0400 Subject: [PATCH] +npmjs.com --- projects/npmjs.com/package.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/npmjs.com/package.yml 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