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

+5
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

+1-1
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

+3-3
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

+1-1
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

+2-2
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

+6-6
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

+11-11
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

+6-6
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

+12-12
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

+4-4
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"

packages/jest-core/package.json

+21-21
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,39 @@
1212
"./package.json": "./package.json"
1313
},
1414
"dependencies": {
15-
"@jest/console": "^29.0.0-alpha.1",
16-
"@jest/reporters": "^29.0.0-alpha.1",
17-
"@jest/test-result": "^29.0.0-alpha.1",
18-
"@jest/transform": "^29.0.0-alpha.1",
19-
"@jest/types": "^29.0.0-alpha.0",
15+
"@jest/console": "workspace:^",
16+
"@jest/reporters": "workspace:^",
17+
"@jest/test-result": "workspace:^",
18+
"@jest/transform": "workspace:^",
19+
"@jest/types": "workspace:^",
2020
"@types/node": "*",
2121
"ansi-escapes": "^4.2.1",
2222
"chalk": "^4.0.0",
2323
"ci-info": "^3.2.0",
2424
"exit": "^0.1.2",
2525
"graceful-fs": "^4.2.9",
26-
"jest-changed-files": "^29.0.0-alpha.0",
27-
"jest-config": "^29.0.0-alpha.1",
28-
"jest-haste-map": "^29.0.0-alpha.1",
29-
"jest-message-util": "^29.0.0-alpha.1",
30-
"jest-regex-util": "^29.0.0-alpha.0",
31-
"jest-resolve": "^29.0.0-alpha.1",
32-
"jest-resolve-dependencies": "^29.0.0-alpha.1",
33-
"jest-runner": "^29.0.0-alpha.1",
34-
"jest-runtime": "^29.0.0-alpha.1",
35-
"jest-snapshot": "^29.0.0-alpha.1",
36-
"jest-util": "^29.0.0-alpha.0",
37-
"jest-validate": "^29.0.0-alpha.1",
38-
"jest-watcher": "^29.0.0-alpha.1",
26+
"jest-changed-files": "workspace:^",
27+
"jest-config": "workspace:^",
28+
"jest-haste-map": "workspace:^",
29+
"jest-message-util": "workspace:^",
30+
"jest-regex-util": "workspace:^",
31+
"jest-resolve": "workspace:^",
32+
"jest-resolve-dependencies": "workspace:^",
33+
"jest-runner": "workspace:^",
34+
"jest-runtime": "workspace:^",
35+
"jest-snapshot": "workspace:^",
36+
"jest-util": "workspace:^",
37+
"jest-validate": "workspace:^",
38+
"jest-watcher": "workspace:^",
3939
"micromatch": "^4.0.4",
40-
"pretty-format": "^29.0.0-alpha.1",
40+
"pretty-format": "workspace:^",
4141
"rimraf": "^3.0.0",
4242
"slash": "^3.0.0",
4343
"strip-ansi": "^6.0.0"
4444
},
4545
"devDependencies": {
46-
"@jest/test-sequencer": "^29.0.0-alpha.1",
47-
"@jest/test-utils": "^29.0.0-alpha.1",
46+
"@jest/test-sequencer": "workspace:^",
47+
"@jest/test-utils": "workspace:^",
4848
"@types/exit": "^0.1.30",
4949
"@types/graceful-fs": "^4.1.3",
5050
"@types/micromatch": "^4.0.1",

packages/jest-create-cache-key-function/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"directory": "packages/jest-create-cache-key-function"
88
},
99
"dependencies": {
10-
"@jest/types": "^29.0.0-alpha.0"
10+
"@jest/types": "workspace:^"
1111
},
1212
"devDependencies": {
1313
"@types/node": "*",
14-
"jest-util": "^29.0.0-alpha.0"
14+
"jest-util": "workspace:^"
1515
},
1616
"engines": {
1717
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"

packages/jest-diff/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
},
1919
"dependencies": {
2020
"chalk": "^4.0.0",
21-
"diff-sequences": "^29.0.0-alpha.0",
22-
"jest-get-type": "^29.0.0-alpha.0",
23-
"pretty-format": "^29.0.0-alpha.1"
21+
"diff-sequences": "workspace:^",
22+
"jest-get-type": "workspace:^",
23+
"pretty-format": "workspace:^"
2424
},
2525
"devDependencies": {
26-
"@jest/test-utils": "^29.0.0-alpha.1",
26+
"@jest/test-utils": "workspace:^",
2727
"strip-ansi": "^6.0.0"
2828
},
2929
"engines": {

packages/jest-each/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"author": "Matt Phillips (mattphillips)",
2626
"license": "MIT",
2727
"dependencies": {
28-
"@jest/types": "^29.0.0-alpha.0",
28+
"@jest/types": "workspace:^",
2929
"chalk": "^4.0.0",
30-
"jest-get-type": "^29.0.0-alpha.0",
31-
"jest-util": "^29.0.0-alpha.0",
32-
"pretty-format": "^29.0.0-alpha.1"
30+
"jest-get-type": "workspace:^",
31+
"jest-util": "workspace:^",
32+
"pretty-format": "workspace:^"
3333
},
3434
"engines": {
3535
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"

packages/jest-environment-jsdom/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
"./package.json": "./package.json"
1818
},
1919
"dependencies": {
20-
"@jest/environment": "^29.0.0-alpha.1",
21-
"@jest/fake-timers": "^29.0.0-alpha.1",
22-
"@jest/types": "^29.0.0-alpha.0",
20+
"@jest/environment": "workspace:^",
21+
"@jest/fake-timers": "workspace:^",
22+
"@jest/types": "workspace:^",
2323
"@types/jsdom": "^20.0.0",
2424
"@types/node": "*",
25-
"jest-mock": "^29.0.0-alpha.0",
26-
"jest-util": "^29.0.0-alpha.0",
25+
"jest-mock": "workspace:^",
26+
"jest-util": "workspace:^",
2727
"jsdom": "^20.0.0"
2828
},
2929
"devDependencies": {
30-
"@jest/test-utils": "^29.0.0-alpha.1"
30+
"@jest/test-utils": "workspace:^"
3131
},
3232
"engines": {
3333
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"

packages/jest-environment-node/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"./package.json": "./package.json"
1818
},
1919
"dependencies": {
20-
"@jest/environment": "^29.0.0-alpha.1",
21-
"@jest/fake-timers": "^29.0.0-alpha.1",
22-
"@jest/types": "^29.0.0-alpha.0",
20+
"@jest/environment": "workspace:^",
21+
"@jest/fake-timers": "workspace:^",
22+
"@jest/types": "workspace:^",
2323
"@types/node": "*",
24-
"jest-mock": "^29.0.0-alpha.0",
25-
"jest-util": "^29.0.0-alpha.0"
24+
"jest-mock": "workspace:^",
25+
"jest-util": "workspace:^"
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"

packages/jest-environment/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"./package.json": "./package.json"
1818
},
1919
"dependencies": {
20-
"@jest/fake-timers": "^29.0.0-alpha.1",
21-
"@jest/types": "^29.0.0-alpha.0",
20+
"@jest/fake-timers": "workspace:^",
21+
"@jest/types": "workspace:^",
2222
"@types/node": "*",
23-
"jest-mock": "^29.0.0-alpha.0"
23+
"jest-mock": "workspace:^"
2424
},
2525
"engines": {
2626
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"

packages/jest-expect/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"./package.json": "./package.json"
1818
},
1919
"dependencies": {
20-
"expect": "^29.0.0-alpha.1",
21-
"jest-snapshot": "^29.0.0-alpha.1"
20+
"expect": "workspace:^",
21+
"jest-snapshot": "workspace:^"
2222
},
2323
"devDependencies": {
2424
"@tsd/typescript": "~4.7.4",

0 commit comments

Comments
 (0)