Skip to content

Commit

Permalink
UPDATE yarn
Browse files Browse the repository at this point in the history
- using 1.19.2 as primary version; 1.22.5 has "invalid 'bin'" issues
  - ref: yarnpkg/yarn#7755
  - ref: yarnpkg/yarn#7811
  - but... *still* a problem even after PR#7811
  • Loading branch information
rivy committed Oct 31, 2020
1 parent a811ae6 commit 7133610
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 15 deletions.
25 changes: 10 additions & 15 deletions yarn.json
@@ -1,38 +1,33 @@
{
"homepage": "https://yarnpkg.com/",
"description": "Node.js dependency manager",
"version": "1.17.3",
"version": "1.19.2",
"license": "BSD-2-Clause",
"url": "https://yarnpkg.com/downloads/1.17.3/yarn-1.17.3.msi",
"hash": "46e618592076ff2882a5d7e1d4f8d0ffb8b29918a6366a1fea0f0bbdf145a4fa",
"depends": "rivy/nodejs",
"url": "https://yarnpkg.com/downloads/1.19.2/yarn-1.19.2.msi",
"hash": "sha256:66eb081887c000a7e7facfd2c0f1937f118fdb5c69580cf534640754b1d79e86",
"persist": [
"cache",
"mirror",
"bin"
"global"
],
"post_install": [
"yarn config set cache-folder \"$dir\\cache\"",
"yarn config set yarn-offline-mirror \"$dir\\mirror\"",
"yarn config set prefix \"$dir\""
"yarn config set global-folder \"$dir\\global\"",
"yarn config set prefix \"$dir\\global\""
],
"env_add_path": [
"bin",
"global\\node_modules\\.bin",
"Yarn\\bin"
],
"env_set": {
"NODE_PATH": "$dir\\global\\node_modules"
},
"checkver": {
"url": "https://yarnpkg.com/latest-version",
"re": "([\\d.]+)"
},
"autoupdate": {
"url": "https://yarnpkg.com/downloads/$version/yarn-$version.msi"
},
"suggest": {
"Node.js": [
"nodejs",
"nodejs-lts",
"nvm",
"nvs"
]
}
}
33 changes: 33 additions & 0 deletions yarn@1.19.2.json
@@ -0,0 +1,33 @@
{
"homepage": "https://yarnpkg.com/",
"description": "Node.js dependency manager",
"version": "1.19.2",
"license": "BSD-2-Clause",
"url": "https://yarnpkg.com/downloads/1.19.2/yarn-1.19.2.msi",
"hash": "sha256:66eb081887c000a7e7facfd2c0f1937f118fdb5c69580cf534640754b1d79e86",
"persist": [
"cache",
"mirror",
"global"
],
"post_install": [
"yarn config set cache-folder \"$dir\\cache\"",
"yarn config set yarn-offline-mirror \"$dir\\mirror\"",
"yarn config set global-folder \"$dir\\global\"",
"yarn config set prefix \"$dir\\global\""
],
"env_add_path": [
"global\\node_modules\\.bin",
"Yarn\\bin"
],
"env_set": {
"NODE_PATH": "$dir\\global\\node_modules"
},
"checkver": {
"url": "https://yarnpkg.com/latest-version",
"re": "([\\d.]+)"
},
"autoupdate": {
"url": "https://yarnpkg.com/downloads/$version/yarn-$version.msi"
}
}
33 changes: 33 additions & 0 deletions yarn@1.22.5.json
@@ -0,0 +1,33 @@
{
"version": "1.22.5",
"description": "Node.js dependency manager",
"homepage": "https://yarnpkg.com/",
"license": "BSD-2-Clause",
"url": "https://yarnpkg.com/downloads/1.22.5/yarn-1.22.5.msi",
"hash": "d7c895bc2a28df456d561ce78b8f9367b0b6a27fb5344d532868fe6f62245a60",
"post_install": [
"yarn config set cache-folder \"$dir\\cache\"",
"yarn config set yarn-offline-mirror \"$dir\\mirror\"",
"yarn config set global-folder \"$dir\\global\"",
"yarn config set prefix \"$dir\\global\""
],
"env_add_path": [
"global\\node_modules\\.bin",
"Yarn\\bin"
],
"env_set": {
"NODE_PATH": "$dir\\global\\node_modules"
},
"persist": [
"cache",
"global",
"mirror"
],
"checkver": {
"url": "https://yarnpkg.com/latest-version",
"regex": "([\\d.]+)"
},
"autoupdate": {
"url": "https://yarnpkg.com/downloads/$version/yarn-$version.msi"
}
}

0 comments on commit 7133610

Please sign in to comment.