mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+yarnpkg.com (#169)
* +yarnpkg.com * get tgz from gh * fix version * fix mac issue * test libatomic1 install * test linux * fix path * this is working for me, atm. testing. --------- Co-authored-by: neil <neil@neils-MacBook-Pro.local> Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
07c486dffb
commit
ad1e9e60c5
2 changed files with 38 additions and 0 deletions
6
projects/yarnpkg.com/package.json
Normal file
6
projects/yarnpkg.com/package.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "yarnpkg.com",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
32
projects/yarnpkg.com/package.yml
Normal file
32
projects/yarnpkg.com/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: yarnpkg/berry
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/yarn
|
||||||
|
# no idea why yarn provides a shortcut of yarnpkg but it errors in mac
|
||||||
|
# - scripts/bin/yarnpkg
|
||||||
|
- bin/yarnpkg
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
nodejs.org: '>=18.3'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
npmjs.com: '*'
|
||||||
|
script: |
|
||||||
|
npm install . --global --prefix={{prefix}}
|
||||||
|
|
||||||
|
mkdir {{prefix}}/bin
|
||||||
|
cd {{prefix}}/bin
|
||||||
|
|
||||||
|
ln -s ../lib/node_modules/@yarnpkg/monorepo/scripts/bin/yarn .
|
||||||
|
ln -s yarn yarnpkg
|
||||||
|
test:
|
||||||
|
script: |
|
||||||
|
yarn --version
|
||||||
|
yarnpkg --version
|
||||||
|
yarn add jquery
|
Loading…
Reference in a new issue