Skip to content

Commit

Permalink
chore: migrate from lerna to lerna-lite (#13097)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Aug 5, 2022
1 parent 37200eb commit 02cd85f
Show file tree
Hide file tree
Showing 46 changed files with 1,193 additions and 2,633 deletions.
5 changes: 5 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"packages/*"
],
"npmClient": "yarn",
"command": {
"version": {
"syncWorkspaceLock": true
}
},
"version": "29.0.0-alpha.1"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@crowdin/cli": "^3.5.2",
"@jest/globals": "workspace:*",
"@jest/test-utils": "workspace:*",
"@lerna-lite/cli": "^1.9.1",
"@microsoft/api-extractor": "^7.29.0",
"@tsconfig/node14": "^1.0.3",
"@tsd/typescript": "~4.7.4",
Expand Down Expand Up @@ -61,7 +62,6 @@
"jest-watch-typeahead": "^2.0.0",
"jquery": "^3.2.1",
"js-yaml": "^4.1.0",
"lerna": "^4.0.0",
"micromatch": "^4.0.4",
"mock-fs": "^5.1.2",
"netlify-plugin-cache": "^1.0.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/babel-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"./package.json": "./package.json"
},
"dependencies": {
"@jest/transform": "^29.0.0-alpha.1",
"@jest/transform": "workspace:^",
"@types/babel__core": "^7.1.14",
"babel-plugin-istanbul": "^6.1.1",
"babel-preset-jest": "^29.0.0-alpha.0",
"babel-preset-jest": "workspace:^",
"chalk": "^4.0.0",
"graceful-fs": "^4.2.9",
"slash": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@jest/test-utils": "^29.0.0-alpha.1",
"@jest/test-utils": "workspace:^",
"@types/graceful-fs": "^4.1.3"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"./package.json": "./package.json"
},
"dependencies": {
"babel-plugin-jest-hoist": "^29.0.0-alpha.0",
"babel-plugin-jest-hoist": "workspace:^",
"babel-preset-current-node-syntax": "^1.0.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/expect-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"./package.json": "./package.json"
},
"dependencies": {
"jest-get-type": "^29.0.0-alpha.0"
"jest-get-type": "workspace:^"
},
"devDependencies": {
"immutable": "^4.0.0",
"jest-matcher-utils": "^29.0.0-alpha.1"
"jest-matcher-utils": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"./build/matchers": "./build/matchers.js"
},
"dependencies": {
"@jest/expect-utils": "^29.0.0-alpha.1",
"jest-get-type": "^29.0.0-alpha.0",
"jest-matcher-utils": "^29.0.0-alpha.1",
"jest-message-util": "^29.0.0-alpha.1",
"jest-util": "^29.0.0-alpha.0"
"@jest/expect-utils": "workspace:^",
"jest-get-type": "workspace:^",
"jest-matcher-utils": "workspace:^",
"jest-message-util": "workspace:^",
"jest-util": "workspace:^"
},
"devDependencies": {
"@jest/test-utils": "^29.0.0-alpha.1",
"@jest/test-utils": "workspace:^",
"@tsd/typescript": "~4.7.4",
"chalk": "^4.0.0",
"fast-check": "^3.0.0",
Expand Down
22 changes: 11 additions & 11 deletions packages/jest-circus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
"./runner": "./runner.js"
},
"dependencies": {
"@jest/environment": "^29.0.0-alpha.1",
"@jest/expect": "^29.0.0-alpha.1",
"@jest/test-result": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"@jest/environment": "workspace:^",
"@jest/expect": "workspace:^",
"@jest/test-result": "workspace:^",
"@jest/types": "workspace:^",
"@types/node": "*",
"chalk": "^4.0.0",
"co": "^4.6.0",
"dedent": "^0.7.0",
"is-generator-fn": "^2.0.0",
"jest-each": "^29.0.0-alpha.1",
"jest-matcher-utils": "^29.0.0-alpha.1",
"jest-message-util": "^29.0.0-alpha.1",
"jest-runtime": "^29.0.0-alpha.1",
"jest-snapshot": "^29.0.0-alpha.1",
"jest-util": "^29.0.0-alpha.0",
"jest-each": "workspace:^",
"jest-matcher-utils": "workspace:^",
"jest-message-util": "workspace:^",
"jest-runtime": "workspace:^",
"jest-snapshot": "workspace:^",
"jest-util": "workspace:^",
"p-limit": "^3.1.0",
"pretty-format": "^29.0.0-alpha.1",
"pretty-format": "workspace:^",
"slash": "^3.0.0",
"stack-utils": "^2.0.3"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/jest-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"./bin/jest": "./bin/jest.js"
},
"dependencies": {
"@jest/core": "^29.0.0-alpha.1",
"@jest/test-result": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"@jest/core": "workspace:^",
"@jest/test-result": "workspace:^",
"@jest/types": "workspace:^",
"chalk": "^4.0.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.9",
"import-local": "^3.0.2",
"jest-config": "^29.0.0-alpha.1",
"jest-util": "^29.0.0-alpha.0",
"jest-validate": "^29.0.0-alpha.1",
"jest-config": "workspace:^",
"jest-util": "workspace:^",
"jest-validate": "workspace:^",
"prompts": "^2.0.1",
"yargs": "^17.3.1"
},
Expand Down
24 changes: 12 additions & 12 deletions packages/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@
},
"dependencies": {
"@babel/core": "^7.11.6",
"@jest/test-sequencer": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"babel-jest": "^29.0.0-alpha.1",
"@jest/test-sequencer": "workspace:^",
"@jest/types": "workspace:^",
"babel-jest": "workspace:^",
"chalk": "^4.0.0",
"ci-info": "^3.2.0",
"deepmerge": "^4.2.2",
"glob": "^7.1.3",
"graceful-fs": "^4.2.9",
"jest-circus": "^29.0.0-alpha.1",
"jest-environment-node": "^29.0.0-alpha.1",
"jest-get-type": "^29.0.0-alpha.0",
"jest-regex-util": "^29.0.0-alpha.0",
"jest-resolve": "^29.0.0-alpha.1",
"jest-runner": "^29.0.0-alpha.1",
"jest-util": "^29.0.0-alpha.0",
"jest-validate": "^29.0.0-alpha.1",
"jest-circus": "workspace:^",
"jest-environment-node": "workspace:^",
"jest-get-type": "workspace:^",
"jest-regex-util": "workspace:^",
"jest-resolve": "workspace:^",
"jest-runner": "workspace:^",
"jest-util": "workspace:^",
"jest-validate": "workspace:^",
"micromatch": "^4.0.4",
"parse-json": "^5.2.0",
"pretty-format": "^29.0.0-alpha.1",
"pretty-format": "workspace:^",
"slash": "^3.0.0",
"strip-json-comments": "^3.1.1"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/jest-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"./package.json": "./package.json"
},
"dependencies": {
"@jest/types": "^29.0.0-alpha.0",
"@jest/types": "workspace:^",
"@types/node": "*",
"chalk": "^4.0.0",
"jest-message-util": "^29.0.0-alpha.1",
"jest-util": "^29.0.0-alpha.0",
"jest-message-util": "workspace:^",
"jest-util": "workspace:^",
"slash": "^3.0.0"
},
"devDependencies": {
"@jest/test-utils": "^29.0.0-alpha.1"
"@jest/test-utils": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
42 changes: 21 additions & 21 deletions packages/jest-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,39 @@
"./package.json": "./package.json"
},
"dependencies": {
"@jest/console": "^29.0.0-alpha.1",
"@jest/reporters": "^29.0.0-alpha.1",
"@jest/test-result": "^29.0.0-alpha.1",
"@jest/transform": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"@jest/console": "workspace:^",
"@jest/reporters": "workspace:^",
"@jest/test-result": "workspace:^",
"@jest/transform": "workspace:^",
"@jest/types": "workspace:^",
"@types/node": "*",
"ansi-escapes": "^4.2.1",
"chalk": "^4.0.0",
"ci-info": "^3.2.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.9",
"jest-changed-files": "^29.0.0-alpha.0",
"jest-config": "^29.0.0-alpha.1",
"jest-haste-map": "^29.0.0-alpha.1",
"jest-message-util": "^29.0.0-alpha.1",
"jest-regex-util": "^29.0.0-alpha.0",
"jest-resolve": "^29.0.0-alpha.1",
"jest-resolve-dependencies": "^29.0.0-alpha.1",
"jest-runner": "^29.0.0-alpha.1",
"jest-runtime": "^29.0.0-alpha.1",
"jest-snapshot": "^29.0.0-alpha.1",
"jest-util": "^29.0.0-alpha.0",
"jest-validate": "^29.0.0-alpha.1",
"jest-watcher": "^29.0.0-alpha.1",
"jest-changed-files": "workspace:^",
"jest-config": "workspace:^",
"jest-haste-map": "workspace:^",
"jest-message-util": "workspace:^",
"jest-regex-util": "workspace:^",
"jest-resolve": "workspace:^",
"jest-resolve-dependencies": "workspace:^",
"jest-runner": "workspace:^",
"jest-runtime": "workspace:^",
"jest-snapshot": "workspace:^",
"jest-util": "workspace:^",
"jest-validate": "workspace:^",
"jest-watcher": "workspace:^",
"micromatch": "^4.0.4",
"pretty-format": "^29.0.0-alpha.1",
"pretty-format": "workspace:^",
"rimraf": "^3.0.0",
"slash": "^3.0.0",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
"@jest/test-sequencer": "^29.0.0-alpha.1",
"@jest/test-utils": "^29.0.0-alpha.1",
"@jest/test-sequencer": "workspace:^",
"@jest/test-utils": "workspace:^",
"@types/exit": "^0.1.30",
"@types/graceful-fs": "^4.1.3",
"@types/micromatch": "^4.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-create-cache-key-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"directory": "packages/jest-create-cache-key-function"
},
"dependencies": {
"@jest/types": "^29.0.0-alpha.0"
"@jest/types": "workspace:^"
},
"devDependencies": {
"@types/node": "*",
"jest-util": "^29.0.0-alpha.0"
"jest-util": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/jest-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
},
"dependencies": {
"chalk": "^4.0.0",
"diff-sequences": "^29.0.0-alpha.0",
"jest-get-type": "^29.0.0-alpha.0",
"pretty-format": "^29.0.0-alpha.1"
"diff-sequences": "workspace:^",
"jest-get-type": "workspace:^",
"pretty-format": "workspace:^"
},
"devDependencies": {
"@jest/test-utils": "^29.0.0-alpha.1",
"@jest/test-utils": "workspace:^",
"strip-ansi": "^6.0.0"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/jest-each/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"author": "Matt Phillips (mattphillips)",
"license": "MIT",
"dependencies": {
"@jest/types": "^29.0.0-alpha.0",
"@jest/types": "workspace:^",
"chalk": "^4.0.0",
"jest-get-type": "^29.0.0-alpha.0",
"jest-util": "^29.0.0-alpha.0",
"pretty-format": "^29.0.0-alpha.1"
"jest-get-type": "workspace:^",
"jest-util": "workspace:^",
"pretty-format": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"./package.json": "./package.json"
},
"dependencies": {
"@jest/environment": "^29.0.0-alpha.1",
"@jest/fake-timers": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"@jest/environment": "workspace:^",
"@jest/fake-timers": "workspace:^",
"@jest/types": "workspace:^",
"@types/jsdom": "^20.0.0",
"@types/node": "*",
"jest-mock": "^29.0.0-alpha.0",
"jest-util": "^29.0.0-alpha.0",
"jest-mock": "workspace:^",
"jest-util": "workspace:^",
"jsdom": "^20.0.0"
},
"devDependencies": {
"@jest/test-utils": "^29.0.0-alpha.1"
"@jest/test-utils": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/jest-environment-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"./package.json": "./package.json"
},
"dependencies": {
"@jest/environment": "^29.0.0-alpha.1",
"@jest/fake-timers": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"@jest/environment": "workspace:^",
"@jest/fake-timers": "workspace:^",
"@jest/types": "workspace:^",
"@types/node": "*",
"jest-mock": "^29.0.0-alpha.0",
"jest-util": "^29.0.0-alpha.0"
"jest-mock": "workspace:^",
"jest-util": "workspace:^"
},
"devDependencies": {
"@jest/test-utils": "^29.0.0-alpha.1"
"@jest/test-utils": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/jest-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"./package.json": "./package.json"
},
"dependencies": {
"@jest/fake-timers": "^29.0.0-alpha.1",
"@jest/types": "^29.0.0-alpha.0",
"@jest/fake-timers": "workspace:^",
"@jest/types": "workspace:^",
"@types/node": "*",
"jest-mock": "^29.0.0-alpha.0"
"jest-mock": "workspace:^"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"./package.json": "./package.json"
},
"dependencies": {
"expect": "^29.0.0-alpha.1",
"jest-snapshot": "^29.0.0-alpha.1"
"expect": "workspace:^",
"jest-snapshot": "workspace:^"
},
"devDependencies": {
"@tsd/typescript": "~4.7.4",
Expand Down
Loading

0 comments on commit 02cd85f

Please sign in to comment.