From f6ea0695eabe0a56abf126478e833028b68fc81b Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 17 Dec 2022 21:29:54 +0800 Subject: [PATCH] +pnpm.io (#77) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add pnpm of pnpm.io * move pnpm to its own folder * copy artifacts to dist * test dir * copy brew install strategy * add install prefix * try different install process * retry add prefix * set PNPM_HOME var * add path * test run export path only * rm mkdir * provide cjs files pnpm.io * install node_modules * add npmjs.com dep * install on prefix path * test cp install * test uncertainly strip version * provide fixed version * fixed version in url * undo versions fixed * no proper pnpx test * pnpx is actually deprecated: use undefined  ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Cannot read property 'includes' of undefined or * cleanup setup and dependency * test if working correctly * rm unused line --- projects/pnpm.io/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/pnpm.io/package.yml diff --git a/projects/pnpm.io/package.yml b/projects/pnpm.io/package.yml new file mode 100644 index 00000000..5975e29b --- /dev/null +++ b/projects/pnpm.io/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://registry.npmjs.org/pnpm/-/pnpm-{{version}}.tgz + strip-components: 1 + +versions: + github: pnpm/pnpm + +provides: + - bin/pnpm + +dependencies: + nodejs.org: '>=16' + +build: + script: | + cp bin/pnpm.cjs bin/pnpm + cp -r . {{prefix}} + +test: + script: | + pnpm doctor