mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
31 lines
No EOL
507 B
YAML
31 lines
No EOL
507 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
|
|
yarn add jquery |