Skip to content

Commit

Permalink
chore: upgrade lerna to v8 and use yarn 4 as task runner
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic committed Nov 23, 2023
1 parent 7c05abf commit f50e652
Show file tree
Hide file tree
Showing 5 changed files with 498 additions and 1,230 deletions.
2 changes: 1 addition & 1 deletion examples/accounts-microservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@graphql-tools/merge": "9.0.1",
"@graphql-tools/schema": "10.0.2",
"@graphql-tools/stitch": "9.0.3",
"@graphql-tools/utils": "10.0.10",
"@graphql-tools/utils": "10.0.11",
"@graphql-tools/wrap": "10.0.1",
"graphql": "16.8.1",
"graphql-modules": "3.0.0-alpha-20231106133212-0b04b56e",
Expand Down
2 changes: 0 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"lerna": "2.11.0",
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.32.0"
}
2 changes: 1 addition & 1 deletion modules/module-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"dependencies": {
"@graphql-tools/merge": "9.0.1",
"@graphql-tools/schema": "10.0.2",
"@graphql-tools/utils": "10.0.10",
"@graphql-tools/utils": "10.0.11",
"graphql-tag": "2.12.6",
"request-ip": "3.3.0"
},
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@
"scripts": {
"start": "lerna exec -- yarn run start",
"clean": "lerna run clean; rm -rf node_modules; rm -rf packages/**/node_modules;",
"compile": "lerna run compile",
"compile": "yarn workspaces foreach -Ap --topological-dev run compile",
"compile:lerna": "lerna run compile",
"publish": "lerna publish",
"publish:canary": "yarn run publish -- --canary",
"test": "yarn run test:lint && yarn run compile && yarn run coverage",
"test:lerna": "yarn run test:lint && yarn run compile:lerna && yarn run coverage:lerna",
"testonly": "lerna run testonly",
"fix": "eslint --fix '{packages,modules,examples}/*/{src,__tests__}/**/*.ts'",
"prettier": "prettier --write '**/*.{json,md,js,ts,jsx,tsx,yml}'",
"test:lint": "eslint 'packages/*/{src,__tests__}/**/*.ts'",
"test:examples": "lerna run test --scope=\"@examples/*\"",
"coverage": "lerna run coverage",
"test:examples": "yarn workspaces foreach -Ap --include '@examples/*' run test",
"test:examples:lerna": "lerna run test --scope=\"@examples/*\"",
"coverage": "yarn workspaces foreach -Ap run coverage",
"coverage:lerna": "lerna run coverage",
"codecov": "codecov",
"version": "yarn changeset version && yarn install --immutable",
"release": "yarn run compile && yarn changeset publish",
Expand Down Expand Up @@ -68,7 +72,7 @@
"husky": "8.0.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lerna": "6.6.2",
"lerna": "8.0.0",
"lint-staged": "15.1.0",
"nodemon": "3.0.1",
"prettier": "3.1.0",
Expand Down
Loading

0 comments on commit f50e652

Please sign in to comment.