Skip to content

Commit adf89e0

Browse files
committed
build(yarn): migrate to yarn 3
1 parent 9c1f956 commit adf89e0

File tree

19 files changed

+12752
-8844
lines changed

19 files changed

+12752
-8844
lines changed

.gitignore

+19-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
1-
/.idea/workspace.xml
2-
/.idea/tasks.xml
3-
/.idea/shelf
4-
node_modules
5-
dist
6-
package-lock.json
7-
yarn-error.log
8-
npm-debug.log*
1+
# Build output
92
*.js
103
*.d.ts
114
*.js.map
125
!/types/*.d.ts
136
!/fix-types-for-back-compat.js
147
!/test-projects/**/webpack.config.js
158

9+
# Yarn 2
10+
node_modules
11+
.pnp.*
12+
/**/.yarn/*
13+
!/**/.yarn/patches
14+
!/**/.yarn/plugins
15+
!/**/.yarn/releases
16+
!/**/.yarn/sdks
17+
!/**/.yarn/versions
18+
yarn-error.log
19+
20+
/.idea/workspace.xml
21+
/.idea/tasks.xml
22+
/.idea/shelf
23+
dist
24+
package-lock.json
25+
npm-debug.log*
26+
1627
# macOS
1728
.DS_Store
1829
.AppleDouble

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

+9
Large diffs are not rendered by default.

.yarn/releases/yarn-3.2.4.cjs

+801
Large diffs are not rendered by default.

.yarnrc.yml

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

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,6 @@
8282
},
8383
"publishConfig": {
8484
"access": "public"
85-
}
85+
},
86+
"packageManager": "[email protected]"
8687
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
nodeLinker: node-modules
2+
3+
plugins:
4+
- path: ../../.yarn/plugins/@yarnpkg/plugin-typescript.cjs
5+
spec: "@yarnpkg/plugin-typescript"
6+
7+
yarnPath: ../../.yarn/releases/yarn-3.2.4.cjs

test-projects/backward-compatibility-pre-1.1.2-config-cjs/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"typescript": "4.6.3",
2020
"webpack": "5.72.0",
2121
"webpack-cli": "4.9.2"
22-
}
22+
},
23+
"packageManager": "[email protected]"
2324
}

test-projects/backward-compatibility-pre-1.1.2-config-cjs/yarn.lock

+1,318-924
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
nodeLinker: node-modules
2+
3+
plugins:
4+
- path: ../../.yarn/plugins/@yarnpkg/plugin-typescript.cjs
5+
spec: "@yarnpkg/plugin-typescript"
6+
7+
yarnPath: ../../.yarn/releases/yarn-3.2.4.cjs

test-projects/type-module-config-cjs-import-js/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"typescript": "4.6.3",
2020
"webpack": "5.72.0",
2121
"webpack-cli": "4.9.2"
22-
}
22+
},
23+
"packageManager": "[email protected]"
2324
}

0 commit comments

Comments
 (0)