+pnpm.io (#77)

* 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
This commit is contained in:
Neil 2022-12-17 21:29:54 +08:00 committed by GitHub
parent bcd690e919
commit f6ea0695ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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