2023-04-02 07:33:48 +03:00
|
|
|
distributable:
|
|
|
|
url: https://yarnpkg.com/downloads/{{ version }}/yarn-v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: yarnpkg/yarn
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/yarn
|
|
|
|
- bin/yarnpkg
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
nodejs.org: '>=5'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
npmjs.com: '*'
|
2023-06-12 17:36:59 +03:00
|
|
|
gnu.org/patch: '*'
|
|
|
|
script:
|
|
|
|
- patch -p1 < props/global-prefix.patch
|
|
|
|
|
|
|
|
- npm install .
|
|
|
|
--global
|
|
|
|
--prefix={{prefix}}
|
|
|
|
--install-links
|
2023-04-02 07:33:48 +03:00
|
|
|
|
|
|
|
test:
|
2023-11-14 23:31:27 +03:00
|
|
|
script:
|
|
|
|
- yarn --version
|
|
|
|
- yarnpkg --version
|
|
|
|
|
|
|
|
# bug shipped in 1.22.0
|
|
|
|
- run: echo {} >package.json
|
|
|
|
if: =1.22.20
|
|
|
|
|
|
|
|
- yarn add jquery
|