Skip to content

Commit 02cd85f

Browse files
authored
chore: migrate from lerna to lerna-lite (#13097)
1 parent 37200eb commit 02cd85f

File tree

46 files changed

+1193
-2633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1193
-2633
lines changed

lerna.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
"packages/*"
44
],
55
"npmClient": "yarn",
6+
"command": {
7+
"version": {
8+
"syncWorkspaceLock": true
9+
}
10+
},
611
"version": "29.0.0-alpha.1"
712
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@crowdin/cli": "^3.5.2",
1313
"@jest/globals": "workspace:*",
1414
"@jest/test-utils": "workspace:*",
15+
"@lerna-lite/cli": "^1.9.1",
1516
"@microsoft/api-extractor": "^7.29.0",
1617
"@tsconfig/node14": "^1.0.3",
1718
"@tsd/typescript": "~4.7.4",
@@ -61,7 +62,6 @@
6162
"jest-watch-typeahead": "^2.0.0",
6263
"jquery": "^3.2.1",
6364
"js-yaml": "^4.1.0",
64-
"lerna": "^4.0.0",
6565
"micromatch": "^4.0.4",
6666
"mock-fs": "^5.1.2",
6767
"netlify-plugin-cache": "^1.0.3",

packages/babel-jest/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
"./package.json": "./package.json"
1919
},
2020
"dependencies": {
21-
"@jest/transform": "^29.0.0-alpha.1",
21+
"@jest/transform": "workspace:^",
2222
"@types/babel__core": "^7.1.14",
2323
"babel-plugin-istanbul": "^6.1.1",
24-
"babel-preset-jest": "^29.0.0-alpha.0",
24+
"babel-preset-jest": "workspace:^",
2525
"chalk": "^4.0.0",
2626
"graceful-fs": "^4.2.9",
2727
"slash": "^3.0.0"
2828
},
2929
"devDependencies": {
3030
"@babel/core": "^7.11.6",
31-
"@jest/test-utils": "^29.0.0-alpha.1",
31+
"@jest/test-utils": "workspace:^",
3232
"@types/graceful-fs": "^4.1.3"
3333
},
3434
"peerDependencies": {

packages/babel-preset-jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"./package.json": "./package.json"
1414
},
1515
"dependencies": {
16-
"babel-plugin-jest-hoist": "^29.0.0-alpha.0",
16+
"babel-plugin-jest-hoist": "workspace:^",
1717
"babel-preset-current-node-syntax": "^1.0.0"
1818
},
1919
"peerDependencies": {

packages/expect-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"./package.json": "./package.json"
1818
},
1919
"dependencies": {
20-
"jest-get-type": "^29.0.0-alpha.0"
20+
"jest-get-type": "workspace:^"
2121
},
2222
"devDependencies": {
2323
"immutable": "^4.0.0",
24-
"jest-matcher-utils": "^29.0.0-alpha.1"
24+
"jest-matcher-utils": "workspace:^"
2525
},
2626
"engines": {
2727
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"

packages/expect/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"./build/matchers": "./build/matchers.js"
1919
},
2020
"dependencies": {
21-
"@jest/expect-utils": "^29.0.0-alpha.1",
22-
"jest-get-type": "^29.0.0-alpha.0",
23-
"jest-matcher-utils": "^29.0.0-alpha.1",
24-
"jest-message-util": "^29.0.0-alpha.1",
25-
"jest-util": "^29.0.0-alpha.0"
21+
"@jest/expect-utils": "workspace:^",
22+
"jest-get-type": "workspace:^",
23+
"jest-matcher-utils": "workspace:^",
24+
"jest-message-util": "workspace:^",
25+
"jest-util": "workspace:^"
2626
},
2727
"devDependencies": {
28-
"@jest/test-utils": "^29.0.0-alpha.1",
28+
"@jest/test-utils": "workspace:^",
2929
"@tsd/typescript": "~4.7.4",
3030
"chalk": "^4.0.0",
3131
"fast-check": "^3.0.0",

packages/jest-circus/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@
1818
"./runner": "./runner.js"
1919
},
2020
"dependencies": {
21-
"@jest/environment": "^29.0.0-alpha.1",
22-
"@jest/expect": "^29.0.0-alpha.1",
23-
"@jest/test-result": "^29.0.0-alpha.1",
24-
"@jest/types": "^29.0.0-alpha.0",
21+
"@jest/environment": "workspace:^",
22+
"@jest/expect": "workspace:^",
23+
"@jest/test-result": "workspace:^",
24+
"@jest/types": "workspace:^",
2525
"@types/node": "*",
2626
"chalk": "^4.0.0",
2727
"co": "^4.6.0",
2828
"dedent": "^0.7.0",
2929
"is-generator-fn": "^2.0.0",
30-
"jest-each": "^29.0.0-alpha.1",
31-
"jest-matcher-utils": "^29.0.0-alpha.1",
32-
"jest-message-util": "^29.0.0-alpha.1",
33-
"jest-runtime": "^29.0.0-alpha.1",
34-
"jest-snapshot": "^29.0.0-alpha.1",
35-
"jest-util": "^29.0.0-alpha.0",
30+
"jest-each": "workspace:^",
31+
"jest-matcher-utils": "workspace:^",
32+
"jest-message-util": "workspace:^",
33+
"jest-runtime": "workspace:^",
34+
"jest-snapshot": "workspace:^",
35+
"jest-util": "workspace:^",
3636
"p-limit": "^3.1.0",
37-
"pretty-format": "^29.0.0-alpha.1",
37+
"pretty-format": "workspace:^",
3838
"slash": "^3.0.0",
3939
"stack-utils": "^2.0.3"
4040
},

packages/jest-cli/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
"./bin/jest": "./bin/jest.js"
1414
},
1515
"dependencies": {
16-
"@jest/core": "^29.0.0-alpha.1",
17-
"@jest/test-result": "^29.0.0-alpha.1",
18-
"@jest/types": "^29.0.0-alpha.0",
16+
"@jest/core": "workspace:^",
17+
"@jest/test-result": "workspace:^",
18+
"@jest/types": "workspace:^",
1919
"chalk": "^4.0.0",
2020
"exit": "^0.1.2",
2121
"graceful-fs": "^4.2.9",
2222
"import-local": "^3.0.2",
23-
"jest-config": "^29.0.0-alpha.1",
24-
"jest-util": "^29.0.0-alpha.0",
25-
"jest-validate": "^29.0.0-alpha.1",
23+
"jest-config": "workspace:^",
24+
"jest-util": "workspace:^",
25+
"jest-validate": "workspace:^",
2626
"prompts": "^2.0.1",
2727
"yargs": "^17.3.1"
2828
},

packages/jest-config/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@
3030
},
3131
"dependencies": {
3232
"@babel/core": "^7.11.6",
33-
"@jest/test-sequencer": "^29.0.0-alpha.1",
34-
"@jest/types": "^29.0.0-alpha.0",
35-
"babel-jest": "^29.0.0-alpha.1",
33+
"@jest/test-sequencer": "workspace:^",
34+
"@jest/types": "workspace:^",
35+
"babel-jest": "workspace:^",
3636
"chalk": "^4.0.0",
3737
"ci-info": "^3.2.0",
3838
"deepmerge": "^4.2.2",
3939
"glob": "^7.1.3",
4040
"graceful-fs": "^4.2.9",
41-
"jest-circus": "^29.0.0-alpha.1",
42-
"jest-environment-node": "^29.0.0-alpha.1",
43-
"jest-get-type": "^29.0.0-alpha.0",
44-
"jest-regex-util": "^29.0.0-alpha.0",
45-
"jest-resolve": "^29.0.0-alpha.1",
46-
"jest-runner": "^29.0.0-alpha.1",
47-
"jest-util": "^29.0.0-alpha.0",
48-
"jest-validate": "^29.0.0-alpha.1",
41+
"jest-circus": "workspace:^",
42+
"jest-environment-node": "workspace:^",
43+
"jest-get-type": "workspace:^",
44+
"jest-regex-util": "workspace:^",
45+
"jest-resolve": "workspace:^",
46+
"jest-runner": "workspace:^",
47+
"jest-util": "workspace:^",
48+
"jest-validate": "workspace:^",
4949
"micromatch": "^4.0.4",
5050
"parse-json": "^5.2.0",
51-
"pretty-format": "^29.0.0-alpha.1",
51+
"pretty-format": "workspace:^",
5252
"slash": "^3.0.0",
5353
"strip-json-comments": "^3.1.1"
5454
},

packages/jest-console/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"./package.json": "./package.json"
1818
},
1919
"dependencies": {
20-
"@jest/types": "^29.0.0-alpha.0",
20+
"@jest/types": "workspace:^",
2121
"@types/node": "*",
2222
"chalk": "^4.0.0",
23-
"jest-message-util": "^29.0.0-alpha.1",
24-
"jest-util": "^29.0.0-alpha.0",
23+
"jest-message-util": "workspace:^",
24+
"jest-util": "workspace:^",
2525
"slash": "^3.0.0"
2626
},
2727
"devDependencies": {
28-
"@jest/test-utils": "^29.0.0-alpha.1"
28+
"@jest/test-utils": "workspace:^"
2929
},
3030
"engines": {
3131
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"

0 commit comments

Comments
 (0)