Skip to content

Commit 918080a

Browse files
committed
Migrate from Yarn Classic to Yarn Berry
1 parent 060a6e9 commit 918080a

File tree

5 files changed

+10818
-7392
lines changed

5 files changed

+10818
-7392
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.yarn/** linguist-vendored
2+
/.yarn/releases/* binary
3+
/.yarn/plugins/**/* binary
4+
/.pnp.* binary linguist-generated

.gitignore

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1-
node_modules/
2-
npm-debug.log*
1+
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
2+
.yarn/*
3+
!.yarn/cache
4+
!.yarn/patches
5+
!.yarn/plugins
6+
!.yarn/releases
7+
!.yarn/sdks
8+
!.yarn/versions
9+
10+
node_modules
11+
yarn-error.log
12+
313
/test_tmp

.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "4.7.0",
44
"description": "Webpack Encore is a simpler way to integrate Webpack into your application",
55
"main": "index.js",
6+
"packageManager": "[email protected]",
67
"scripts": {
78
"test": "yarn run test:main && yarn run test:persistent-cache",
89
"test:main": "mocha --reporter spec test --recursive --ignore test/persistent-cache/*",
@@ -223,6 +224,5 @@
223224
"lib/",
224225
"bin/",
225226
"index.js"
226-
],
227-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
227+
]
228228
}

0 commit comments

Comments
 (0)