Skip to content

Commit de9df7a

Browse files
authored
Yarn v4 (#1240)
Signed-off-by: Sora Morimoto <[email protected]>
1 parent b6ea969 commit de9df7a

File tree

6 files changed

+7304
-4175
lines changed

6 files changed

+7304
-4175
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ _build/
1515
_opam/
1616

1717
# Normal npm stuff
18+
.yarn/*
19+
!.yarn/patches
20+
!.yarn/plugins
21+
!.yarn/releases
22+
!.yarn/sdks
23+
!.yarn/versions
1824
node_modules/
1925

2026
# VSCode settings

.yarn/releases/yarn-4.0.0.cjs

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.yarnrc.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defaultSemverRangePrefix: ""
2+
3+
enableGlobalCache: true
4+
5+
nodeLinker: node-modules
6+
7+
preferInteractive: true
8+
9+
yarnPath: .yarn/releases/yarn-4.0.0.cjs

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"test:opam": "node ./test/runOpamTests.js",
2828
"test:problems": "node ./test/runProblemMatcherTests.js",
2929
"test": "npm-run-all -s test:opam test:problems",
30-
"package": "vsce package --out ocaml-platform.vsix --yarn",
31-
"deploy:vsce": "vsce publish --packagePath ocaml-platform.vsix --yarn",
32-
"deploy:ovsx": "ovsx publish --yarn",
30+
"package": "vsce package --out ocaml-platform.vsix --yarn --no-dependencies",
31+
"deploy:vsce": "vsce publish --packagePath ocaml-platform.vsix --yarn --no-dependencies",
32+
"deploy:ovsx": "ovsx publish --yarn --no-dependencies",
3333
"fmt:check": "prettier . --check",
3434
"fmt": "prettier . --write"
3535
},
@@ -1220,7 +1220,7 @@
12201220
"prettier": "3.0.3",
12211221
"prettier-plugin-packagejson": "2.4.6"
12221222
},
1223-
"packageManager": "yarn@1.22.19+sha256.732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e",
1223+
"packageManager": "yarn@4.0.0+sha256.6d855253732ba8d231b6cd917961654f6c8439164c962a4e355c9c58360ebe44",
12241224
"engines": {
12251225
"vscode": "^1.64.0"
12261226
},

0 commit comments

Comments
 (0)