Skip to content

Commit

Permalink
Migrate from Yarn Classic to Yarn Berry
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Sep 28, 2024
1 parent 15ad6a9 commit 9741069
Show file tree
Hide file tree
Showing 9 changed files with 10,826 additions and 7,392 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
2 changes: 2 additions & 0 deletions .github/workflows/high-depends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
node-version: ${{matrix.node-versions}}

- run: corepack enable

- name: Remove Lock File
run: rm yarn.lock

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/low-depends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
node-version: ${{matrix.node-versions}}

- run: corepack enable

- name: Remove Lock File
run: rm yarn.lock

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stable-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
node-version: ${{matrix.node-versions}}

- run: corepack enable

- name: Install Yarn Dependencies
run: yarn install

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/testing_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
with:
node-version: '22'

- run: corepack enable

- if: ${{ contains(matrix.app.name, 'pnpm') }}
name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down
14 changes: 12 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
node_modules/
npm-debug.log*
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

node_modules
yarn-error.log

/test_tmp
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "4.7.0",
"description": "Webpack Encore is a simpler way to integrate Webpack into your application",
"main": "index.js",
"packageManager": "[email protected]",
"scripts": {
"test": "yarn run test:main && yarn run test:persistent-cache",
"test:main": "mocha --reporter spec test --recursive --ignore test/persistent-cache/*",
Expand Down Expand Up @@ -223,6 +224,5 @@
"lib/",
"bin/",
"index.js"
],
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
]
}
18,187 changes: 10,799 additions & 7,388 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 9741069

Please sign in to comment.