pantry/projects/classic.yarnpkg.com/package.yml
Jacob Heider 1a2ea66257
fix(yarn)
closes #4069
2023-11-14 15:31:37 -05:00

36 lines
593 B
YAML

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: '*'
gnu.org/patch: '*'
script:
- patch -p1 < props/global-prefix.patch
- npm install .
--global
--prefix={{prefix}}
--install-links
test:
script:
- yarn --version
- yarnpkg --version
# bug shipped in 1.22.0
- run: echo {} >package.json
if: =1.22.20
- yarn add jquery