Skip to content

Commit 0274794

Browse files
committed
chore: Upgrade to Yarn 4.x
1 parent e391aae commit 0274794

File tree

5 files changed

+14511
-10459
lines changed

5 files changed

+14511
-10459
lines changed

.github/workflows/continuous-integration.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9+
- run: corepack enable
910
- uses: actions/setup-node@v4
1011
with:
1112
node-version: '20'
1213
cache: 'yarn'
13-
- run: yarn install --frozen-lockfile
14+
- run: yarn install --immutable
1415
- run: yarn run test
1516
- run: yarn run lint
1617
- run: yarn run flow

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
index-dist.js
2-
node_modules/
1+
.yarn/
32
dist/
3+
node_modules/
4+
index-dist.js
45
npm-debug.log

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-element-to-jsx-string",
33
"version": "16.0.0",
44
"description": "Turn a ReactElement into the corresponding JSX string.",
5-
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
5+
"packageManager": "yarn@4.6.0",
66
"main": "dist/cjs/index.js",
77
"module": "dist/esm/index.js",
88
"browser": "dist/cjs/index.js",

0 commit comments

Comments
 (0)