Skip to content

Commit d38f9f5

Browse files
Update Yarn to v4 (#369)
* Update Yarn to v4 * Update workspaces scripts * Fix test script --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marks Polakovs <[email protected]>
1 parent d1bb629 commit d38f9f5

File tree

9 files changed

+6486
-7047
lines changed

9 files changed

+6486
-7047
lines changed

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

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

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

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

.yarn/releases/yarn-3.8.2.cjs

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

.yarn/releases/yarn-4.2.2.cjs

Lines changed: 894 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-version.cjs
7-
spec: "@yarnpkg/plugin-version"
5+
nodeLinker: node-modules
86

9-
yarnPath: .yarn/releases/yarn-3.8.2.cjs
7+
yarnPath: .yarn/releases/yarn-4.2.2.cjs

jobrunner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "badger-jobrunner",
33
"version": "1.0.3-canary.1",
4-
"packageManager": "yarn@3.8.2",
4+
"packageManager": "yarn@4.2.2",
55
"devDependencies": {
66
"@sentry/esbuild-plugin": "^2.7.0",
77
"@tsconfig/node18": "^18.2.0",

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"./jobrunner",
88
"./utility/*"
99
],
10-
"packageManager": "yarn@3.8.2",
10+
"packageManager": "yarn@4.2.2",
1111
"devDependencies": {
1212
"chalk": "^5.3.0",
1313
"danger": "^11.2.8",
@@ -20,11 +20,11 @@
2020
"undici": "^6.13.0"
2121
},
2222
"scripts": {
23-
"lint": "yarn workspaces foreach -p --exclude badger-root-workspace run lint",
24-
"prettify": "yarn workspaces foreach -p --exclude badger-root-workspace run prettify",
25-
"test": "yarn workspaces foreach --exclude badger-root-workspace run test",
26-
"test:integration": "yarn workspaces foreach --exclude badger-root-workspace run test:integration",
27-
"typecheck": "yarn workspaces foreach -p --include 'badger-{desktop,jobrunner,server}' run tsc --noEmit",
23+
"lint": "yarn workspaces foreach -Atp --exclude badger-root-workspace run lint",
24+
"prettify": "yarn workspaces foreach -Atp --exclude badger-root-workspace run prettify",
25+
"test": "yarn workspaces foreach -Atp --exclude badger-root-workspace run test",
26+
"test:integration": "yarn workspaces foreach -At --exclude badger-root-workspace run test:integration",
27+
"typecheck": "yarn workspaces foreach -Atp --include 'badger-{desktop,jobrunner,server}' run tsc --noEmit",
2828
"prepare": "husky install"
2929
},
3030
"lint-staged": {

utility/testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"vitest": "^1.6.0"
1717
},
1818
"scripts": {
19-
"test": "vitest"
19+
"test": "vitest run"
2020
},
2121
"dependencies": {
2222
"@jest/globals": "^29.7.0",

0 commit comments

Comments
 (0)