mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
1eae86e505
eventually, i should use a pr
32 lines
No EOL
683 B
YAML
32 lines
No EOL
683 B
YAML
distributable:
|
|
url: https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: yarnpkg/berry/releases
|
|
|
|
provides:
|
|
- bin/yarn
|
|
# no idea why yarn provides a shortcut of yarnpkg but it errors in mac
|
|
# - scripts/bin/yarnpkg
|
|
- bin/yarnpkg
|
|
|
|
dependencies:
|
|
nodejs.org: '>=18.3'
|
|
|
|
build:
|
|
dependencies:
|
|
npmjs.com: '*'
|
|
script: |
|
|
npm install . --global --prefix={{prefix}} --install-links
|
|
|
|
mkdir {{prefix}}/bin
|
|
cd {{prefix}}/bin
|
|
|
|
ln -s ../lib/node_modules/@yarnpkg/monorepo/scripts/bin/yarn .
|
|
ln -s yarn yarnpkg
|
|
test:
|
|
script: |
|
|
yarn --version
|
|
yarnpkg --version
|
|
yarn add jquery |