Skip to content

Commit 729e62b

Browse files
committed
Update Yarn to v4
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 6be0afd commit 729e62b

File tree

7 files changed

+83
-1460
lines changed

7 files changed

+83
-1460
lines changed

.github/workflows/workflow.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ jobs:
1616
- macos-latest
1717
- ubuntu-latest
1818
- windows-latest
19-
ocaml-compiler:
20-
- 4.14.x
2119

2220
runs-on: ${{ matrix.os }}
2321

2422
steps:
2523
- name: Checkout code
26-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2725

28-
- name: Use Node.js 18.x
29-
uses: actions/setup-node@v3
26+
- name: Use Node.js
27+
uses: actions/setup-node@v4
3028
with:
31-
node-version: 18.x
29+
node-version: lts/*
3230

33-
- name: Use OCaml ${{ matrix.ocaml-compiler }}
31+
- run: corepack enable
32+
33+
- name: Use OCaml 4.14
3434
uses: ocaml/setup-ocaml@v2
3535
with:
36-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
36+
ocaml-compiler: "4.14"
3737

3838
- run: yarn install --immutable
3939

.gitignore

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
/.pnp.*
2-
/.yarn/*
3-
!/.yarn/patches/
4-
!/.yarn/plugins/
5-
!/.yarn/releases/
6-
!/.yarn/sdks/
7-
!/.yarn/versions/
8-
91
/_build/
102
/_opam/
113
/.vscode/
4+
/.yarn/
125
/dist/
136
/node_modules/
147

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

-541
This file was deleted.

.yarn/releases/yarn-3.3.1.cjs

-823
This file was deleted.

.yarnrc.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
11
nodeLinker: node-modules
2-
3-
plugins:
4-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
5-
spec: "@yarnpkg/plugin-interactive-tools"
6-
7-
yarnPath: .yarn/releases/yarn-3.3.1.cjs

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"@ocsigen/ts2ocaml": "1.4.4",
1111
"esbuild": "0.17.5"
1212
},
13-
"packageManager": "yarn@3.3.1"
13+
"packageManager": "yarn@4.0.1+sha256.5a9d054e67fbbae8774cd3667736fd74407ffbbb336898523ca1fe87b3fc4ee3"
1414
}

yarn.lock

+73-73
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Manual changes might be lost - proceed with caution!
33

44
__metadata:
5-
version: 6
6-
cacheKey: 8
5+
version: 8
6+
cacheKey: 10c0
77

88
"@esbuild/android-arm64@npm:0.17.5":
99
version: 0.17.5
@@ -163,98 +163,98 @@ __metadata:
163163
version: 1.4.4
164164
resolution: "@ocsigen/ts2ocaml@npm:1.4.4"
165165
dependencies:
166-
browser-or-node: ^2.0.0
167-
typescript: 4.6.4
168-
yargs: 17.4.1
166+
browser-or-node: "npm:^2.0.0"
167+
typescript: "npm:4.6.4"
168+
yargs: "npm:17.4.1"
169169
bin:
170170
ts2ocaml: dist/ts2ocaml.js
171-
checksum: 9f809074c9bbae365e188555826d67316d447e70efe2d3860bd1e1b45f67f0b34f5616e6d0569e56a25883a478fbc9c32ad4171a0137f6c07045c08fda718454
171+
checksum: 511520b4bbcd497e2fa3831e341df2b937c9ca266e4bdf764d9a04859c0aa320248df7e974ad5bba576dc3a541d4e5e28afb41f383c4be11ab00fd7d120e0ec0
172172
languageName: node
173173
linkType: hard
174174

175175
"ansi-regex@npm:^5.0.1":
176176
version: 5.0.1
177177
resolution: "ansi-regex@npm:5.0.1"
178-
checksum: 2aa4bb54caf2d622f1afdad09441695af2a83aa3fe8b8afa581d205e57ed4261c183c4d3877cee25794443fde5876417d859c108078ab788d6af7e4fe52eb66b
178+
checksum: 9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737
179179
languageName: node
180180
linkType: hard
181181

182182
"ansi-styles@npm:^4.0.0":
183183
version: 4.3.0
184184
resolution: "ansi-styles@npm:4.3.0"
185185
dependencies:
186-
color-convert: ^2.0.1
187-
checksum: 513b44c3b2105dd14cc42a19271e80f386466c4be574bccf60b627432f9198571ebf4ab1e4c3ba17347658f4ee1711c163d574248c0c1cdc2d5917a0ad582ec4
186+
color-convert: "npm:^2.0.1"
187+
checksum: 895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041
188188
languageName: node
189189
linkType: hard
190190

191191
"browser-or-node@npm:^2.0.0":
192192
version: 2.0.0
193193
resolution: "browser-or-node@npm:2.0.0"
194-
checksum: 0a228822b59bba8d643f8672f03176acfb16a790480a558bce9148fb65a429994f44e66e176391e014f00458b32df0f0fc12447e6f6f5e0d92af229152f2cc10
194+
checksum: 1cd6f562b0fcfea2b6b7c127118e69b95d1275d25c5f717482e0560e9d646b151a79d0e8472c2cc1389cdde51c112686dc13bf1b333ac48decd4b171110e6c18
195195
languageName: node
196196
linkType: hard
197197

198198
"cliui@npm:^7.0.2":
199199
version: 7.0.4
200200
resolution: "cliui@npm:7.0.4"
201201
dependencies:
202-
string-width: ^4.2.0
203-
strip-ansi: ^6.0.0
204-
wrap-ansi: ^7.0.0
205-
checksum: ce2e8f578a4813806788ac399b9e866297740eecd4ad1823c27fd344d78b22c5f8597d548adbcc46f0573e43e21e751f39446c5a5e804a12aace402b7a315d7f
202+
string-width: "npm:^4.2.0"
203+
strip-ansi: "npm:^6.0.0"
204+
wrap-ansi: "npm:^7.0.0"
205+
checksum: 6035f5daf7383470cef82b3d3db00bec70afb3423538c50394386ffbbab135e26c3689c41791f911fa71b62d13d3863c712fdd70f0fbdffd938a1e6fd09aac00
206206
languageName: node
207207
linkType: hard
208208

209209
"color-convert@npm:^2.0.1":
210210
version: 2.0.1
211211
resolution: "color-convert@npm:2.0.1"
212212
dependencies:
213-
color-name: ~1.1.4
214-
checksum: 79e6bdb9fd479a205c71d89574fccfb22bd9053bd98c6c4d870d65c132e5e904e6034978e55b43d69fcaa7433af2016ee203ce76eeba9cfa554b373e7f7db336
213+
color-name: "npm:~1.1.4"
214+
checksum: 37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7
215215
languageName: node
216216
linkType: hard
217217

218218
"color-name@npm:~1.1.4":
219219
version: 1.1.4
220220
resolution: "color-name@npm:1.1.4"
221-
checksum: b0445859521eb4021cd0fb0cc1a75cecf67fceecae89b63f62b201cca8d345baf8b952c966862a9d9a2632987d4f6581f0ec8d957dfacece86f0a7919316f610
221+
checksum: a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95
222222
languageName: node
223223
linkType: hard
224224

225225
"emoji-regex@npm:^8.0.0":
226226
version: 8.0.0
227227
resolution: "emoji-regex@npm:8.0.0"
228-
checksum: d4c5c39d5a9868b5fa152f00cada8a936868fd3367f33f71be515ecee4c803132d11b31a6222b2571b1e5f7e13890156a94880345594d0ce7e3c9895f560f192
228+
checksum: b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010
229229
languageName: node
230230
linkType: hard
231231

232232
"esbuild@npm:0.17.5":
233233
version: 0.17.5
234234
resolution: "esbuild@npm:0.17.5"
235235
dependencies:
236-
"@esbuild/android-arm": 0.17.5
237-
"@esbuild/android-arm64": 0.17.5
238-
"@esbuild/android-x64": 0.17.5
239-
"@esbuild/darwin-arm64": 0.17.5
240-
"@esbuild/darwin-x64": 0.17.5
241-
"@esbuild/freebsd-arm64": 0.17.5
242-
"@esbuild/freebsd-x64": 0.17.5
243-
"@esbuild/linux-arm": 0.17.5
244-
"@esbuild/linux-arm64": 0.17.5
245-
"@esbuild/linux-ia32": 0.17.5
246-
"@esbuild/linux-loong64": 0.17.5
247-
"@esbuild/linux-mips64el": 0.17.5
248-
"@esbuild/linux-ppc64": 0.17.5
249-
"@esbuild/linux-riscv64": 0.17.5
250-
"@esbuild/linux-s390x": 0.17.5
251-
"@esbuild/linux-x64": 0.17.5
252-
"@esbuild/netbsd-x64": 0.17.5
253-
"@esbuild/openbsd-x64": 0.17.5
254-
"@esbuild/sunos-x64": 0.17.5
255-
"@esbuild/win32-arm64": 0.17.5
256-
"@esbuild/win32-ia32": 0.17.5
257-
"@esbuild/win32-x64": 0.17.5
236+
"@esbuild/android-arm": "npm:0.17.5"
237+
"@esbuild/android-arm64": "npm:0.17.5"
238+
"@esbuild/android-x64": "npm:0.17.5"
239+
"@esbuild/darwin-arm64": "npm:0.17.5"
240+
"@esbuild/darwin-x64": "npm:0.17.5"
241+
"@esbuild/freebsd-arm64": "npm:0.17.5"
242+
"@esbuild/freebsd-x64": "npm:0.17.5"
243+
"@esbuild/linux-arm": "npm:0.17.5"
244+
"@esbuild/linux-arm64": "npm:0.17.5"
245+
"@esbuild/linux-ia32": "npm:0.17.5"
246+
"@esbuild/linux-loong64": "npm:0.17.5"
247+
"@esbuild/linux-mips64el": "npm:0.17.5"
248+
"@esbuild/linux-ppc64": "npm:0.17.5"
249+
"@esbuild/linux-riscv64": "npm:0.17.5"
250+
"@esbuild/linux-s390x": "npm:0.17.5"
251+
"@esbuild/linux-x64": "npm:0.17.5"
252+
"@esbuild/netbsd-x64": "npm:0.17.5"
253+
"@esbuild/openbsd-x64": "npm:0.17.5"
254+
"@esbuild/sunos-x64": "npm:0.17.5"
255+
"@esbuild/win32-arm64": "npm:0.17.5"
256+
"@esbuild/win32-ia32": "npm:0.17.5"
257+
"@esbuild/win32-x64": "npm:0.17.5"
258258
dependenciesMeta:
259259
"@esbuild/android-arm":
260260
optional: true
@@ -302,72 +302,72 @@ __metadata:
302302
optional: true
303303
bin:
304304
esbuild: bin/esbuild
305-
checksum: 31829b46a0cad65f58d90d39b66fd32a2de820539dd8530199975e417aa0ecd63cfc340e402f4f4e9235906a1a05969ddac1d4ad1ba611a3f11c0f62516b9390
305+
checksum: 9b0f52316d2b47cd39a41a5e32b773166a3ff5ae31b122ce69f1611044c6d07d12f7c7a6b67ed35322fea8383249854139b5a22387cddaaccb2d42576f4c77de
306306
languageName: node
307307
linkType: hard
308308

309309
"escalade@npm:^3.1.1":
310310
version: 3.1.1
311311
resolution: "escalade@npm:3.1.1"
312-
checksum: a3e2a99f07acb74b3ad4989c48ca0c3140f69f923e56d0cba0526240ee470b91010f9d39001f2a4a313841d237ede70a729e92125191ba5d21e74b106800b133
312+
checksum: afd02e6ca91ffa813e1108b5e7756566173d6bc0d1eb951cb44d6b21702ec17c1cf116cfe75d4a2b02e05acb0b808a7a9387d0d1ca5cf9c04ad03a8445c3e46d
313313
languageName: node
314314
linkType: hard
315315

316316
"example@workspace:.":
317317
version: 0.0.0-use.local
318318
resolution: "example@workspace:."
319319
dependencies:
320-
"@ocsigen/ts2ocaml": 1.4.4
321-
esbuild: 0.17.5
322-
pretty-bytes: 5.6.0
320+
"@ocsigen/ts2ocaml": "npm:1.4.4"
321+
esbuild: "npm:0.17.5"
322+
pretty-bytes: "npm:5.6.0"
323323
languageName: unknown
324324
linkType: soft
325325

326326
"get-caller-file@npm:^2.0.5":
327327
version: 2.0.5
328328
resolution: "get-caller-file@npm:2.0.5"
329-
checksum: b9769a836d2a98c3ee734a88ba712e62703f1df31b94b784762c433c27a386dd6029ff55c2a920c392e33657d80191edbf18c61487e198844844516f843496b9
329+
checksum: c6c7b60271931fa752aeb92f2b47e355eac1af3a2673f47c9589e8f8a41adc74d45551c1bc57b5e66a80609f10ffb72b6f575e4370d61cc3f7f3aaff01757cde
330330
languageName: node
331331
linkType: hard
332332

333333
"is-fullwidth-code-point@npm:^3.0.0":
334334
version: 3.0.0
335335
resolution: "is-fullwidth-code-point@npm:3.0.0"
336-
checksum: 44a30c29457c7fb8f00297bce733f0a64cd22eca270f83e58c105e0d015e45c019491a4ab2faef91ab51d4738c670daff901c799f6a700e27f7314029e99e348
336+
checksum: bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc
337337
languageName: node
338338
linkType: hard
339339

340340
"pretty-bytes@npm:5.6.0":
341341
version: 5.6.0
342342
resolution: "pretty-bytes@npm:5.6.0"
343-
checksum: 9c082500d1e93434b5b291bd651662936b8bd6204ec9fa17d563116a192d6d86b98f6d328526b4e8d783c07d5499e2614a807520249692da9ec81564b2f439cd
343+
checksum: f69f494dcc1adda98dbe0e4a36d301e8be8ff99bfde7a637b2ee2820e7cb583b0fc0f3a63b0e3752c01501185a5cf38602c7be60da41bdf84ef5b70e89c370f3
344344
languageName: node
345345
linkType: hard
346346

347347
"require-directory@npm:^2.1.1":
348348
version: 2.1.1
349349
resolution: "require-directory@npm:2.1.1"
350-
checksum: fb47e70bf0001fdeabdc0429d431863e9475e7e43ea5f94ad86503d918423c1543361cc5166d713eaa7029dd7a3d34775af04764bebff99ef413111a5af18c80
350+
checksum: 83aa76a7bc1531f68d92c75a2ca2f54f1b01463cb566cf3fbc787d0de8be30c9dbc211d1d46be3497dac5785fe296f2dd11d531945ac29730643357978966e99
351351
languageName: node
352352
linkType: hard
353353

354354
"string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3":
355355
version: 4.2.3
356356
resolution: "string-width@npm:4.2.3"
357357
dependencies:
358-
emoji-regex: ^8.0.0
359-
is-fullwidth-code-point: ^3.0.0
360-
strip-ansi: ^6.0.1
361-
checksum: e52c10dc3fbfcd6c3a15f159f54a90024241d0f149cf8aed2982a2d801d2e64df0bf1dc351cf8e95c3319323f9f220c16e740b06faecd53e2462df1d2b5443fb
358+
emoji-regex: "npm:^8.0.0"
359+
is-fullwidth-code-point: "npm:^3.0.0"
360+
strip-ansi: "npm:^6.0.1"
361+
checksum: 1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b
362362
languageName: node
363363
linkType: hard
364364

365365
"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1":
366366
version: 6.0.1
367367
resolution: "strip-ansi@npm:6.0.1"
368368
dependencies:
369-
ansi-regex: ^5.0.1
370-
checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c
369+
ansi-regex: "npm:^5.0.1"
370+
checksum: 1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952
371371
languageName: node
372372
linkType: hard
373373

@@ -377,56 +377,56 @@ __metadata:
377377
bin:
378378
tsc: bin/tsc
379379
tsserver: bin/tsserver
380-
checksum: e7bfcc39cd4571a63a54e5ea21f16b8445268b9900bf55aee0e02ad981be576acc140eba24f1af5e3c1457767c96cea6d12861768fb386cf3ffb34013718631a
380+
checksum: 92e2c0328485a4f7bd7435f5b105f03addff32f867e241dc3be8c372ed801a138c732d9a55697696d2f82a80dd6ad4bddff1ad6b0d1884bf4a24b92e71094c44
381381
languageName: node
382382
linkType: hard
383383

384-
"typescript@patch:typescript@4.6.4#~builtin<compat/typescript>":
384+
"typescript@patch:typescript@npm%3A4.6.4#optional!builtin<compat/typescript>":
385385
version: 4.6.4
386-
resolution: "typescript@patch:typescript@npm%3A4.6.4#~builtin<compat/typescript>::version=4.6.4&hash=5d3a66"
386+
resolution: "typescript@patch:typescript@npm%3A4.6.4#optional!builtin<compat/typescript>::version=4.6.4&hash=5d3a66"
387387
bin:
388388
tsc: bin/tsc
389389
tsserver: bin/tsserver
390-
checksum: 1cb434fbc637d347be90e3a0c6cd05e33c38f941713c8786d3031faf1842c2c148ba91d2fac01e7276b0ae3249b8633f1660e32686cc7a8c6a8fd5361dc52c66
390+
checksum: 0e3fa814d454942a689daf4c00f82328d323e7ecd4077e3265d45375e64642611631f4c882a71be87774468ba03793e9b8ff4bccfac3018194a9e36d8f72c251
391391
languageName: node
392392
linkType: hard
393393

394394
"wrap-ansi@npm:^7.0.0":
395395
version: 7.0.0
396396
resolution: "wrap-ansi@npm:7.0.0"
397397
dependencies:
398-
ansi-styles: ^4.0.0
399-
string-width: ^4.1.0
400-
strip-ansi: ^6.0.0
401-
checksum: a790b846fd4505de962ba728a21aaeda189b8ee1c7568ca5e817d85930e06ef8d1689d49dbf0e881e8ef84436af3a88bc49115c2e2788d841ff1b8b5b51a608b
398+
ansi-styles: "npm:^4.0.0"
399+
string-width: "npm:^4.1.0"
400+
strip-ansi: "npm:^6.0.0"
401+
checksum: d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da
402402
languageName: node
403403
linkType: hard
404404

405405
"y18n@npm:^5.0.5":
406406
version: 5.0.8
407407
resolution: "y18n@npm:5.0.8"
408-
checksum: 54f0fb95621ee60898a38c572c515659e51cc9d9f787fb109cef6fde4befbe1c4602dc999d30110feee37456ad0f1660fa2edcfde6a9a740f86a290999550d30
408+
checksum: 4df2842c36e468590c3691c894bc9cdbac41f520566e76e24f59401ba7d8b4811eb1e34524d57e54bc6d864bcb66baab7ffd9ca42bf1eda596618f9162b91249
409409
languageName: node
410410
linkType: hard
411411

412412
"yargs-parser@npm:^21.0.0":
413413
version: 21.1.1
414414
resolution: "yargs-parser@npm:21.1.1"
415-
checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c
415+
checksum: f84b5e48169479d2f402239c59f084cfd1c3acc197a05c59b98bab067452e6b3ea46d4dd8ba2985ba7b3d32a343d77df0debd6b343e5dae3da2aab2cdf5886b2
416416
languageName: node
417417
linkType: hard
418418

419419
"yargs@npm:17.4.1":
420420
version: 17.4.1
421421
resolution: "yargs@npm:17.4.1"
422422
dependencies:
423-
cliui: ^7.0.2
424-
escalade: ^3.1.1
425-
get-caller-file: ^2.0.5
426-
require-directory: ^2.1.1
427-
string-width: ^4.2.3
428-
y18n: ^5.0.5
429-
yargs-parser: ^21.0.0
430-
checksum: e9012322870d7e4e912a6ae1f63b203e365f911c0cf158be92c36edefddfb3bd38ce17eb9ef0d18858a4777f047c50589ea22dacb44bd949169ba37dc6d34bee
423+
cliui: "npm:^7.0.2"
424+
escalade: "npm:^3.1.1"
425+
get-caller-file: "npm:^2.0.5"
426+
require-directory: "npm:^2.1.1"
427+
string-width: "npm:^4.2.3"
428+
y18n: "npm:^5.0.5"
429+
yargs-parser: "npm:^21.0.0"
430+
checksum: 0a96b9e6310014d333b8b0486e14f86a1e6a9a91763537ab27768df8ea48c0887b1b332ece1629e57d788770f95e096254b1f846004ad5cfc066b03d781e59ae
431431
languageName: node
432432
linkType: hard

0 commit comments

Comments
 (0)