Skip to content

Commit f50e652

Browse files
committed
chore: upgrade lerna to v8 and use yarn 4 as task runner
1 parent 7c05abf commit f50e652

File tree

5 files changed

+498
-1230
lines changed

5 files changed

+498
-1230
lines changed

examples/accounts-microservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@graphql-tools/merge": "9.0.1",
2525
"@graphql-tools/schema": "10.0.2",
2626
"@graphql-tools/stitch": "9.0.3",
27-
"@graphql-tools/utils": "10.0.10",
27+
"@graphql-tools/utils": "10.0.11",
2828
"@graphql-tools/wrap": "10.0.1",
2929
"graphql": "16.8.1",
3030
"graphql-modules": "3.0.0-alpha-20231106133212-0b04b56e",

lerna.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"lerna": "2.11.0",
32
"npmClient": "yarn",
4-
"useWorkspaces": true,
53
"version": "0.32.0"
64
}

modules/module-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"dependencies": {
4141
"@graphql-tools/merge": "9.0.1",
4242
"@graphql-tools/schema": "10.0.2",
43-
"@graphql-tools/utils": "10.0.10",
43+
"@graphql-tools/utils": "10.0.11",
4444
"graphql-tag": "2.12.6",
4545
"request-ip": "3.3.0"
4646
},

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,20 @@
44
"scripts": {
55
"start": "lerna exec -- yarn run start",
66
"clean": "lerna run clean; rm -rf node_modules; rm -rf packages/**/node_modules;",
7-
"compile": "lerna run compile",
7+
"compile": "yarn workspaces foreach -Ap --topological-dev run compile",
8+
"compile:lerna": "lerna run compile",
89
"publish": "lerna publish",
910
"publish:canary": "yarn run publish -- --canary",
1011
"test": "yarn run test:lint && yarn run compile && yarn run coverage",
12+
"test:lerna": "yarn run test:lint && yarn run compile:lerna && yarn run coverage:lerna",
1113
"testonly": "lerna run testonly",
1214
"fix": "eslint --fix '{packages,modules,examples}/*/{src,__tests__}/**/*.ts'",
1315
"prettier": "prettier --write '**/*.{json,md,js,ts,jsx,tsx,yml}'",
1416
"test:lint": "eslint 'packages/*/{src,__tests__}/**/*.ts'",
15-
"test:examples": "lerna run test --scope=\"@examples/*\"",
16-
"coverage": "lerna run coverage",
17+
"test:examples": "yarn workspaces foreach -Ap --include '@examples/*' run test",
18+
"test:examples:lerna": "lerna run test --scope=\"@examples/*\"",
19+
"coverage": "yarn workspaces foreach -Ap run coverage",
20+
"coverage:lerna": "lerna run coverage",
1721
"codecov": "codecov",
1822
"version": "yarn changeset version && yarn install --immutable",
1923
"release": "yarn run compile && yarn changeset publish",
@@ -68,7 +72,7 @@
6872
"husky": "8.0.3",
6973
"jest": "29.7.0",
7074
"jest-environment-jsdom": "29.7.0",
71-
"lerna": "6.6.2",
75+
"lerna": "8.0.0",
7276
"lint-staged": "15.1.0",
7377
"nodemon": "3.0.1",
7478
"prettier": "3.1.0",

0 commit comments

Comments
 (0)