Skip to content

Commit 03a51ba

Browse files
committed
Upgrade to Yarn 4
1 parent 1439923 commit 03a51ba

File tree

13 files changed

+7234
-7060
lines changed

13 files changed

+7234
-7060
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/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: '18.x'
17+
node-version: '20.x'
1818
registry-url: 'https://registry.npmjs.org'
1919
cache: 'yarn'
2020
- run: yarn install --frozen-lockfile
2121
- run: yarn test
2222
- run: npm publish --access public --provenance
2323
env:
24-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 18.x
22+
node-version: 20.x
2323
cache: 'yarn'
2424

2525
- name: Install dependencies
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
fail-fast: false
5252
matrix:
53-
node: ['18.x']
53+
node: ['20.x']
5454
ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3']
5555

5656
steps:
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
fail-fast: false
8484
matrix:
85-
node: ['18.x']
85+
node: ['20.x']
8686
steps:
8787
- name: Checkout repo
8888
uses: actions/checkout@v3
@@ -106,7 +106,7 @@ jobs:
106106
strategy:
107107
fail-fast: false
108108
matrix:
109-
node: ['18.x']
109+
node: ['20.x']
110110
example:
111111
[
112112
'cra4',
@@ -193,7 +193,7 @@ jobs:
193193
strategy:
194194
fail-fast: false
195195
matrix:
196-
node: ['18.x']
196+
node: ['20.x']
197197
example: ['rr-rsc-context']
198198
defaults:
199199
run:

.yarn/plugins/@yarnpkg/plugin-compat.cjs

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

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

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

.yarn/releases/yarn-3.4.1.cjs

Lines changed: 0 additions & 873 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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
nodeLinker: node-modules
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
24

3-
plugins:
4-
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
5-
spec: "@yarnpkg/plugin-workspace-tools"
6-
- path: .yarn/plugins/@yarnpkg/plugin-compat.cjs
7-
spec: "@yarnpkg/plugin-compat"
5+
nodeLinker: node-modules
86

9-
yarnPath: .yarn/releases/yarn-3.4.1.cjs
7+
yarnPath: .yarn/releases/yarn-4.1.0.cjs

0 commit comments

Comments
 (0)