Skip to content

Commit 138b8b7

Browse files
committed
Upgrade to Yarn 4
1 parent 98bffb1 commit 138b8b7

File tree

7 files changed

+1732
-1635
lines changed

7 files changed

+1732
-1635
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sandboxes": ["vanilla", "vanilla-ts"],
3-
"node": "14",
3+
"node": "18",
44
"buildCommand": "build",
55
"packages": ["."]
66
}

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node: ['16.x']
15+
node: ['20.x']
1616

1717
steps:
1818
- name: Checkout repo
@@ -56,7 +56,7 @@ jobs:
5656
strategy:
5757
fail-fast: false
5858
matrix:
59-
node: ['16.x']
59+
node: ['20.x']
6060
ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2']
6161

6262
steps:
@@ -88,7 +88,7 @@ jobs:
8888
strategy:
8989
fail-fast: false
9090
matrix:
91-
node: ['16.x']
91+
node: ['20.x']
9292
example: ['cra4', 'cra5', 'next', 'vite', 'node-standard', 'node-esm']
9393
steps:
9494
- name: Checkout repo
@@ -143,7 +143,7 @@ jobs:
143143
strategy:
144144
fail-fast: false
145145
matrix:
146-
node: ['16.x']
146+
node: ['20.x']
147147
steps:
148148
- name: Checkout repo
149149
uses: actions/checkout@v3

.yarn/releases/yarn-3.2.4.cjs

Lines changed: 0 additions & 801 deletions
This file was deleted.

.yarn/releases/yarn-4.1.0.cjs

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

.yarnrc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
15
nodeLinker: node-modules
26

3-
yarnPath: .yarn/releases/yarn-3.2.4.cjs
7+
yarnPath: .yarn/releases/yarn-4.1.0.cjs

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@
5858
"tsup": "7.0.0",
5959
"typescript": "^5.0",
6060
"vitest": "^0.32.0"
61-
}
61+
},
62+
"packageManager": "[email protected]"
6263
}

0 commit comments

Comments
 (0)