pantry/projects/yarnpkg.com/package.yml
Jacob Heider ec80f51fa5
fix(yarn)
closes #3156
closes #3761
closes #3885
closes #4062
2023-11-14 15:07:57 -05:00

35 lines
708 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
- bin/yarnpkg
dependencies:
nodejs.org: '>=18.3'
build:
dependencies:
classic.yarnpkg.com: ^1 # works and prevents bootstrapping issues
script:
- yarn install
- yarn build:cli
- run: |
chmod +x yarn.js
mkdir -p {{prefix}}/bin
cp yarn.js {{prefix}}/bin/yarn
working-directory: packages/yarnpkg-cli/bundles
- run: ln -s yarn yarnpkg
working-directory: ${{prefix}}/bin
test:
script: |
yarn --version
yarnpkg --version
yarn add jquery