2023-02-04 11:08:25 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-04-16 09:40:36 +03:00
|
|
|
github: yarnpkg/berry/releases
|
2023-02-04 11:08:25 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/yarn
|
|
|
|
- bin/yarnpkg
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
nodejs.org: '>=18.3'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2023-11-14 23:07:57 +03:00
|
|
|
classic.yarnpkg.com: ^1 # works and prevents bootstrapping issues
|
|
|
|
script:
|
2024-02-02 18:07:41 +03:00
|
|
|
- yarn install --immutable --mode=skip-build
|
2023-11-14 23:07:57 +03:00
|
|
|
- yarn build:cli
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
chmod +x yarn.js
|
|
|
|
mkdir -p {{prefix}}/bin
|
|
|
|
cp yarn.js {{prefix}}/bin/yarn
|
|
|
|
working-directory: packages/yarnpkg-cli/bundles
|
2023-02-04 11:08:25 +03:00
|
|
|
|
2023-11-14 23:07:57 +03:00
|
|
|
- run: ln -s yarn yarnpkg
|
|
|
|
working-directory: ${{prefix}}/bin
|
2023-02-04 11:08:25 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
yarn --version
|
|
|
|
yarnpkg --version
|
2024-02-02 00:41:05 +03:00
|
|
|
yarn add jquery
|