Skip to content

Commit fe5afe6

Browse files
authored
chore: Upgrade to Lerna v7 (#12605)
1 parent b877493 commit fe5afe6

File tree

3 files changed

+623
-962
lines changed

3 files changed

+623
-962
lines changed

lerna.json

-24
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
11
{
22
"npmClient": "yarn",
3-
"useWorkspaces": true,
4-
"packages": [
5-
"packages/core",
6-
"packages/auth",
7-
"packages/analytics",
8-
"packages/predictions",
9-
"packages/storage",
10-
"packages/aws-amplify",
11-
"packages/adapter-nextjs",
12-
"packages/geo",
13-
"packages/api",
14-
"packages/api-rest",
15-
"packages/api-graphql",
16-
"packages/datastore",
17-
"packages/datastore-storage-adapter",
18-
"packages/interactions",
19-
"packages/pubsub",
20-
"packages/rtn-web-browser",
21-
"packages/notifications",
22-
"packages/rtn-push-notification",
23-
"packages/react-native",
24-
"packages/react-native/example",
25-
"scripts/tsc-compliance-test"
26-
],
273
"exact": true,
284
"version": "independent",
295
"useNx": false,

package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
"ts-coverage": "lerna run ts-coverage",
3636
"prepare": "./scripts/set-preid-versions.sh"
3737
},
38-
"husky": {
39-
"hooks": {
40-
"pre-commit": "pretty-quick --staged"
41-
}
42-
},
4338
"workspaces": {
4439
"packages": [
4540
"packages/core",
@@ -84,6 +79,7 @@
8479
"@babel/core": "7.17.2",
8580
"@babel/preset-env": "^7.0.0",
8681
"@babel/preset-react": "^7.0.0",
82+
"@lerna/legacy-package-management": "^7.4.2",
8783
"@size-limit/dual-publish": "^8.1.0",
8884
"@size-limit/file": "^8.1.0",
8985
"@size-limit/webpack": "^8.1.0",
@@ -96,14 +92,12 @@
9692
"babel-loader": "^8.3.0",
9793
"codecov": "^3.6.5",
9894
"glob": "^10.3.10",
99-
"husky": "^3.0.5",
10095
"jest": "^24.x.x",
10196
"jest-config": "24.8.0",
10297
"json-loader": "^0.5.7",
103-
"lerna": "^6.6.1",
98+
"lerna": "^7.4.2",
10499
"license-check-and-add": "^4.0.5",
105100
"prettier": "^2.4.1",
106-
"pretty-quick": "^1.11.1",
107101
"rimraf": "^2.6.2",
108102
"rollup": "^0.67.4",
109103
"rollup-plugin-commonjs": "^9.2.0",

0 commit comments

Comments
 (0)