From fcab26acfd2b25a812bd837267a39be56bf0c063 Mon Sep 17 00:00:00 2001
From: Austin Fahsl
Date: Fri, 13 Jan 2023 08:47:50 -0700
Subject: [PATCH 01/21] chore(docs): update filter options docs to specify
quote necessity (#3496)
---
core/filter-options/README.md | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/core/filter-options/README.md b/core/filter-options/README.md
index 2453f55961..5164a7fc3e 100644
--- a/core/filter-options/README.md
+++ b/core/filter-options/README.md
@@ -12,20 +12,31 @@ Include only packages with names matching the given glob.
```sh
$ lerna exec --scope my-component -- ls -la
-$ lerna run --scope toolbar-* test
-$ lerna run --scope package-1 --scope *-2 lint
+$ lerna run --scope "toolbar-*" test
+$ lerna run --scope package-1 --scope "*-2" lint
```
**Note:** For certain globs, it may be necessary to quote the option argument to avoid premature shell expansion.
+### **Running with `npx`**
+
+When running `lerna` with `npx`, it is necessary to use an explicit "=" when passing glob arguments. This is to prevent `npx` from prematurely expanding the arguments.
+
+For example:
+
+```sh
+$ npx lerna run --scope="toolbar-*" test
+$ npx lerna run --scope="package-{1,2,5}" test
+```
+
### `--ignore `
Exclude packages with names matching the given glob.
```sh
-$ lerna exec --ignore package-{1,2,5} -- ls -la
-$ lerna run --ignore package-1 test
-$ lerna run --ignore package-@(1|2) --ignore package-3 lint
+$ lerna exec --ignore "package-{1,2,5}" -- ls -la
+$ lerna run --ignore package-1 test
+$ lerna run --ignore "package-@(1|2)" --ignore package-3 lint
```
More examples of filtering can be found [here](https://github.com/lerna/lerna/blob/c0a750e0f482c16dda2f922f235861283efbe94d/commands/list/__tests__/list-command.test.js#L305-L356).
From 510c3e993be09f8f070dd07ca3ee7d352d00e491 Mon Sep 17 00:00:00 2001
From: Austin Fahsl
Date: Fri, 13 Jan 2023 14:16:59 -0700
Subject: [PATCH 02/21] fix(repair): re-enable repair generators (#3497)
---
commands/run/package.json | 2 +-
commands/version/package.json | 2 +-
core/lerna/commands/repair/index.js | 8 +-
core/lerna/package.json | 4 +-
package-lock.json | 387 ++++++++++++++++------------
package.json | 12 +-
6 files changed, 240 insertions(+), 175 deletions(-)
diff --git a/commands/run/package.json b/commands/run/package.json
index 13e3202d2c..77e7500d65 100644
--- a/commands/run/package.json
+++ b/commands/run/package.json
@@ -42,7 +42,7 @@
"@lerna/timer": "file:../../utils/timer",
"@lerna/validation-error": "file:../../core/validation-error",
"fs-extra": "^9.1.0",
- "nx": ">=15.4.2 < 16",
+ "nx": ">=15.5.1 < 16",
"p-map": "^4.0.0"
}
}
diff --git a/commands/version/package.json b/commands/version/package.json
index 4daafcd971..de6dd24053 100644
--- a/commands/version/package.json
+++ b/commands/version/package.json
@@ -48,7 +48,7 @@
"@lerna/run-topologically": "file:../../utils/run-topologically",
"@lerna/temp-write": "file:../../utils/temp-write",
"@lerna/validation-error": "file:../../core/validation-error",
- "@nrwl/devkit": ">=15.4.2 < 16",
+ "@nrwl/devkit": ">=15.5.1 < 16",
"chalk": "^4.1.0",
"dedent": "^0.7.0",
"load-json-file": "^6.2.0",
diff --git a/core/lerna/commands/repair/index.js b/core/lerna/commands/repair/index.js
index 28b293aae9..d14561e34b 100644
--- a/core/lerna/commands/repair/index.js
+++ b/core/lerna/commands/repair/index.js
@@ -35,13 +35,7 @@ class RepairCommand extends Command {
});
});
- // await repair({ verbose }, lernaMigrations);
-
- // fake the success case until nx repair no longer depends on nx.json's existence
- // eslint-disable-next-line global-require
- require("nx/src/utils/output").output.success({
- title: `No changes were necessary. This workspace is up to date!`,
- });
+ await repair({ verbose }, lernaMigrations);
}
configureNxOutput() {
diff --git a/core/lerna/package.json b/core/lerna/package.json
index 5d69c632c6..9d89e12293 100644
--- a/core/lerna/package.json
+++ b/core/lerna/package.json
@@ -61,11 +61,11 @@
"@lerna/run": "file:../../commands/run",
"@lerna/validation-error": "file:../validation-error",
"@lerna/version": "file:../../commands/version",
- "@nrwl/devkit": ">=15.4.2 < 16",
+ "@nrwl/devkit": ">=15.5.1 < 16",
"import-local": "^3.0.2",
"inquirer": "^8.2.4",
"npmlog": "^6.0.2",
- "nx": ">=15.4.2 < 16",
+ "nx": ">=15.5.1 < 16",
"typescript": "^3 || ^4"
}
}
diff --git a/package-lock.json b/package-lock.json
index 6a78e8d387..33893c3f0e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -84,12 +84,12 @@
},
"devDependencies": {
"@lerna-test/helpers": "file:helpers",
- "@nrwl/devkit": "15.4.2",
- "@nrwl/eslint-plugin-nx": "15.4.2",
- "@nrwl/jest": "15.4.2",
- "@nrwl/js": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/eslint-plugin-nx": "15.5.1",
+ "@nrwl/jest": "15.5.1",
+ "@nrwl/js": "15.5.1",
"@nrwl/nx-cloud": "15.0.2",
- "@nrwl/nx-plugin": "15.4.2",
+ "@nrwl/nx-plugin": "15.5.1",
"@swc-node/register": "^1.4.2",
"@swc/cli": "~0.1.55",
"@swc/core": "^1.2.173",
@@ -122,7 +122,7 @@
"node-jq": "^2.3.3",
"normalize-newline": "^3.0.0",
"normalize-path": "^3.0.0",
- "nx": "15.4.2",
+ "nx": "15.5.1",
"path-key": "^3.1.1",
"prettier": "^2.2.1",
"tacks": "1.2.6",
@@ -408,7 +408,7 @@
"@lerna/timer": "file:../../utils/timer",
"@lerna/validation-error": "file:../../core/validation-error",
"fs-extra": "^9.1.0",
- "nx": ">=15.4.2 < 16",
+ "nx": ">=15.5.1 < 16",
"p-map": "^4.0.0"
},
"engines": {
@@ -434,7 +434,7 @@
"@lerna/run-topologically": "file:../../utils/run-topologically",
"@lerna/temp-write": "file:../../utils/temp-write",
"@lerna/validation-error": "file:../../core/validation-error",
- "@nrwl/devkit": ">=15.4.2 < 16",
+ "@nrwl/devkit": ">=15.5.1 < 16",
"chalk": "^4.1.0",
"dedent": "^0.7.0",
"load-json-file": "^6.2.0",
@@ -564,11 +564,11 @@
"@lerna/run": "file:../../commands/run",
"@lerna/validation-error": "file:../validation-error",
"@lerna/version": "file:../../commands/version",
- "@nrwl/devkit": ">=15.4.2 < 16",
+ "@nrwl/devkit": ">=15.5.1 < 16",
"import-local": "^3.0.2",
"inquirer": "^8.2.4",
"npmlog": "^6.0.2",
- "nx": ">=15.4.2 < 16",
+ "nx": ">=15.5.1 < 16",
"typescript": "^3 || ^4"
},
"bin": {
@@ -2952,17 +2952,17 @@
}
},
"node_modules/@nrwl/cli": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.4.2.tgz",
- "integrity": "sha512-k/sGhqHhXsZakJxaWLmbyDJkQd/klqBEBChax3IHXAgIO9kG0lVwXHzENRqbfw3Z8TdKEZQ4IFwBJt9Dao6bCg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.5.1.tgz",
+ "integrity": "sha512-JIypwCrNI7XfouS/9DNNtKPKX5kK6FMPrr8xN7sKfiRPdEwxJXUzFbMQODqudH/mRmUv9EFplA6H/iEeEzd92A==",
"dependencies": {
- "nx": "15.4.2"
+ "nx": "15.5.1"
}
},
"node_modules/@nrwl/devkit": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.4.2.tgz",
- "integrity": "sha512-dg+2xF+RAWCGF9eUoIa1NRSQqO4s3goFb3XvT0Xw7V91To6XC1NL7YIcYcsdphdYcOSXs4K4MXzd/oZAEZFZ1A==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.5.1.tgz",
+ "integrity": "sha512-SETS7nOr5ady18+rNBCz4bGW64uSYcGmVbMTrYtbl/IZHIAAaTxqd7MoOcOVWfIPWbf2SfhXb6xBiSfo6cbzOQ==",
"dependencies": {
"@phenomnomnominal/tsquery": "4.1.1",
"ejs": "^3.1.7",
@@ -2975,12 +2975,12 @@
}
},
"node_modules/@nrwl/eslint-plugin-nx": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-15.4.2.tgz",
- "integrity": "sha512-5Et+G1ZvIhk4KrcqpxKUqncXjP2ozygcArMk20C/TBcU/NLJewDdY7k/9daXs1Dp14CoSqhyDI7tV9DVyrsvCg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-15.5.1.tgz",
+ "integrity": "sha512-vZaMJKmIB+IK0RjTtSm66fNnY4NeufGmFM1V1qKvtu0EmEXGIE/Lpo0w8+9rZceXukdFJUGgH+8hdq8yTrQ1dQ==",
"dev": true,
"dependencies": {
- "@nrwl/devkit": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
"@typescript-eslint/utils": "^5.36.1",
"chalk": "4.1.0",
"confusing-browser-globals": "^1.0.9",
@@ -2997,14 +2997,14 @@
}
},
"node_modules/@nrwl/jest": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-15.4.2.tgz",
- "integrity": "sha512-4NL7RUMR+lkVQgJU3MSMDY0GdRjfWCwFPrhhcLi6+OFegNYtvgyHXYM3u5PvQupfChxYk8gc2c9eVunwU3B1hQ==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-15.5.1.tgz",
+ "integrity": "sha512-ys04Tb/8yyKbNptnYWLR7SrSR3TsX6M0fPuu0EOKiayclrMR9Sc4eFe/f7CTHfhf3q07OuYfY1g78qdqJ3nAtg==",
"dev": true,
"dependencies": {
"@jest/reporters": "28.1.1",
"@jest/test-result": "28.1.1",
- "@nrwl/devkit": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
"@phenomnomnominal/tsquery": "4.1.1",
"chalk": "4.1.0",
"dotenv": "~10.0.0",
@@ -3152,28 +3152,29 @@
}
},
"node_modules/@nrwl/js": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-15.4.2.tgz",
- "integrity": "sha512-L/uBjbuHRf3iylrczcFruVZDLgOfBHnHcoYAa9qBcEn3XuSGJYzxrBetO+MSobMTbUAzmysPdT2rj1v6Q4Qi8A==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-15.5.1.tgz",
+ "integrity": "sha512-q9h3fQiiKgduxPaGdY1G1gz5dhXqDwLuEn0VE6vnOOAxGD0tO7RcIAy1sXE97mv2pvZG5bLloOzn84fCfG6XLg==",
"dev": true,
"dependencies": {
- "@nrwl/devkit": "15.4.2",
- "@nrwl/linter": "15.4.2",
- "@nrwl/workspace": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/linter": "15.5.1",
+ "@nrwl/workspace": "15.5.1",
"chalk": "4.1.0",
"fast-glob": "3.2.7",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"ignore": "^5.0.4",
"js-tokens": "^4.0.0",
"minimatch": "3.0.5",
"source-map-support": "0.5.19",
- "tree-kill": "1.2.2"
+ "tree-kill": "1.2.2",
+ "tslib": "^2.3.0"
}
},
"node_modules/@nrwl/js/node_modules/fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dev": true,
"dependencies": {
"graceful-fs": "^4.2.0",
@@ -3181,16 +3182,16 @@
"universalify": "^2.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">=14.14"
}
},
"node_modules/@nrwl/linter": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/linter/-/linter-15.4.2.tgz",
- "integrity": "sha512-S5gSzqxTRLLzTOE5mY6FOu6MYC2v355lI0zyK02RLx29XoFrnggh74QaGJDZAVwqXvQHOXXBJwo6hXWosNn3/g==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/linter/-/linter-15.5.1.tgz",
+ "integrity": "sha512-r+AHmPVBVtPOjyPL3YDJUQ1xlUuORC6HS3gJb7gh9zM2qFGRMqDemycUCNjSncDwOAs/SZJmAKBhHeUTRDQXEw==",
"dev": true,
"dependencies": {
- "@nrwl/devkit": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
"@phenomnomnominal/tsquery": "4.1.1",
"tmp": "~0.2.1",
"tslib": "^2.3.0"
@@ -3247,24 +3248,24 @@
}
},
"node_modules/@nrwl/nx-plugin": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/nx-plugin/-/nx-plugin-15.4.2.tgz",
- "integrity": "sha512-WObYu+dEl8UZurLuGrtAY/qwxm5UstZhE2r5gb3CEqT3cWjpXas0HWNgbJTxdqhMLXU7GqR60tZl9ahxIim6gg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/nx-plugin/-/nx-plugin-15.5.1.tgz",
+ "integrity": "sha512-il533s8eQAVpBmhlCm3+If3ta6lnlOZQefLFdoBlWWHxv+8BHYeo2+oI2kdLFxsNDXjUGHhWJJIgul/kp+MzxA==",
"dev": true,
"dependencies": {
- "@nrwl/devkit": "15.4.2",
- "@nrwl/jest": "15.4.2",
- "@nrwl/js": "15.4.2",
- "@nrwl/linter": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/jest": "15.5.1",
+ "@nrwl/js": "15.5.1",
+ "@nrwl/linter": "15.5.1",
"dotenv": "~10.0.0",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"tslib": "^2.3.0"
}
},
"node_modules/@nrwl/nx-plugin/node_modules/fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dev": true,
"dependencies": {
"graceful-fs": "^4.2.0",
@@ -3272,28 +3273,28 @@
"universalify": "^2.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">=14.14"
}
},
"node_modules/@nrwl/tao": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.4.2.tgz",
- "integrity": "sha512-c/hYhWMjEBvucO9cGL2h2lqH7f+4gb8DJJiuNRPwfvF+sQITLXpl9wASHlpG2unDrtnLjGFo73u5XUUqGiSKvA==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.5.1.tgz",
+ "integrity": "sha512-MUaqIsbEXLF8l4qpk/5Q7o+1mzvyCTQOm0usVh96RGowU7SjOvoHErCA2aIQvRK4MKLK9AH8U0AlbpLVLI+5cQ==",
"dependencies": {
- "nx": "15.4.2"
+ "nx": "15.5.1"
},
"bin": {
"tao": "index.js"
}
},
"node_modules/@nrwl/workspace": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-15.4.2.tgz",
- "integrity": "sha512-5CgLiDeQnkaEy/kXv+Ba678dNfkKx2pDOrpiO2ZfT8MMYbrhOOKQ1xlXcUuC95YN0nMCKii+sApB/9R1BiKzyw==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-15.5.1.tgz",
+ "integrity": "sha512-UmivhlIzQa3zz+N+sKcwBte7T9caNbpCWRmoC0WDXWCVYE0Som6yo+EeX5oGABZsGxtfJUoRBULm89DNsvYdLQ==",
"dev": true,
"dependencies": {
- "@nrwl/devkit": "15.4.2",
- "@nrwl/linter": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/linter": "15.5.1",
"@parcel/watcher": "2.0.4",
"chalk": "4.1.0",
"chokidar": "^3.5.1",
@@ -3303,13 +3304,13 @@
"enquirer": "~2.3.6",
"figures": "3.2.0",
"flat": "^5.0.2",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"glob": "7.1.4",
"ignore": "^5.0.4",
"jsonc-parser": "3.2.0",
"minimatch": "3.0.5",
"npm-run-path": "^4.0.1",
- "nx": "15.4.2",
+ "nx": "15.5.1",
"open": "^8.4.0",
"rxjs": "^6.5.4",
"semver": "7.3.4",
@@ -3342,9 +3343,9 @@
}
},
"node_modules/@nrwl/workspace/node_modules/fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dev": true,
"dependencies": {
"graceful-fs": "^4.2.0",
@@ -3352,7 +3353,7 @@
"universalify": "^2.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">=14.14"
}
},
"node_modules/@nrwl/workspace/node_modules/glob": {
@@ -4268,7 +4269,8 @@
"node_modules/@types/json5": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
- "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4="
+ "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=",
+ "dev": true
},
"node_modules/@types/minimatch": {
"version": "3.0.3",
@@ -5113,6 +5115,7 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
+ "dev": true,
"dependencies": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
@@ -5793,6 +5796,7 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
+ "dev": true,
"engines": {
"node": ">=8"
}
@@ -6267,6 +6271,7 @@
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
+ "dev": true,
"funding": [
{
"type": "individual",
@@ -9191,6 +9196,7 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "dev": true,
"hasInstallScript": true,
"optional": true,
"os": [
@@ -10337,6 +10343,7 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
"dependencies": {
"binary-extensions": "^2.0.0"
},
@@ -12918,7 +12925,6 @@
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
"integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
- "dev": true,
"bin": {
"json5": "lib/cli.js"
},
@@ -14248,6 +14254,7 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -14569,20 +14576,19 @@
"dev": true
},
"node_modules/nx": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/nx/-/nx-15.4.2.tgz",
- "integrity": "sha512-np8eJfiBy2I8RZOWCKHr1oeUMHdqLQc7V6ihrzEQe2ZYUl9CSibtKvx0v8YGToHj/vYCiolRPhliFV5sFxgWlg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/nx/-/nx-15.5.1.tgz",
+ "integrity": "sha512-7yvcT6Dc/raLtO7bNK0POmavrV3R1YxfSUVzWylaEgCG6U+rrcDPE+iJMt0TL/ea6szBwvZPi4SmQSE++QMTIA==",
"hasInstallScript": true,
"dependencies": {
- "@nrwl/cli": "15.4.2",
- "@nrwl/tao": "15.4.2",
+ "@nrwl/cli": "15.5.1",
+ "@nrwl/tao": "15.5.1",
"@parcel/watcher": "2.0.4",
"@yarnpkg/lockfile": "^1.1.0",
"@yarnpkg/parsers": "^3.0.0-rc.18",
"@zkochan/js-yaml": "0.0.6",
"axios": "^1.0.0",
"chalk": "4.1.0",
- "chokidar": "^3.5.1",
"cli-cursor": "3.1.0",
"cli-spinners": "2.6.1",
"cliui": "^7.0.2",
@@ -14591,11 +14597,12 @@
"fast-glob": "3.2.7",
"figures": "3.2.0",
"flat": "^5.0.2",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"glob": "7.1.4",
"ignore": "^5.0.4",
"js-yaml": "4.1.0",
"jsonc-parser": "3.2.0",
+ "lines-and-columns": "~2.0.3",
"minimatch": "3.0.5",
"npm-run-path": "^4.0.1",
"open": "^8.4.0",
@@ -14604,7 +14611,7 @@
"strong-log-transformer": "^2.1.0",
"tar-stream": "~2.2.0",
"tmp": "~0.2.1",
- "tsconfig-paths": "^3.9.0",
+ "tsconfig-paths": "^4.1.2",
"tslib": "^2.3.0",
"v8-compile-cache": "2.3.0",
"yargs": "^17.6.2",
@@ -14650,16 +14657,16 @@
}
},
"node_modules/nx/node_modules/fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">=14.14"
}
},
"node_modules/nx/node_modules/glob": {
@@ -14678,6 +14685,14 @@
"node": "*"
}
},
+ "node_modules/nx/node_modules/lines-and-columns": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz",
+ "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
"node_modules/nx/node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
@@ -14689,6 +14704,27 @@
"node": ">=8"
}
},
+ "node_modules/nx/node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/nx/node_modules/tsconfig-paths": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz",
+ "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==",
+ "dependencies": {
+ "json5": "^2.2.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/nx/node_modules/yargs": {
"version": "17.6.2",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz",
@@ -16002,6 +16038,7 @@
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
"dependencies": {
"picomatch": "^2.2.1"
},
@@ -17501,6 +17538,7 @@
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz",
"integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==",
+ "dev": true,
"dependencies": {
"@types/json5": "^0.0.29",
"json5": "^1.0.1",
@@ -17512,6 +17550,7 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
"integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
+ "dev": true,
"dependencies": {
"minimist": "^1.2.0"
},
@@ -17523,6 +17562,7 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
"integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "dev": true,
"engines": {
"node": ">=4"
}
@@ -20856,7 +20896,7 @@
"@lerna/timer": "file:../../utils/timer",
"@lerna/validation-error": "file:../../core/validation-error",
"fs-extra": "^9.1.0",
- "nx": ">=15.4.2 < 16",
+ "nx": ">=15.5.1 < 16",
"p-map": "^4.0.0"
}
},
@@ -20932,7 +20972,7 @@
"@lerna/run-topologically": "file:../../utils/run-topologically",
"@lerna/temp-write": "file:../../utils/temp-write",
"@lerna/validation-error": "file:../../core/validation-error",
- "@nrwl/devkit": ">=15.4.2 < 16",
+ "@nrwl/devkit": ">=15.5.1 < 16",
"chalk": "^4.1.0",
"dedent": "^0.7.0",
"load-json-file": "^6.2.0",
@@ -21233,17 +21273,17 @@
}
},
"@nrwl/cli": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.4.2.tgz",
- "integrity": "sha512-k/sGhqHhXsZakJxaWLmbyDJkQd/klqBEBChax3IHXAgIO9kG0lVwXHzENRqbfw3Z8TdKEZQ4IFwBJt9Dao6bCg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.5.1.tgz",
+ "integrity": "sha512-JIypwCrNI7XfouS/9DNNtKPKX5kK6FMPrr8xN7sKfiRPdEwxJXUzFbMQODqudH/mRmUv9EFplA6H/iEeEzd92A==",
"requires": {
- "nx": "15.4.2"
+ "nx": "15.5.1"
}
},
"@nrwl/devkit": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.4.2.tgz",
- "integrity": "sha512-dg+2xF+RAWCGF9eUoIa1NRSQqO4s3goFb3XvT0Xw7V91To6XC1NL7YIcYcsdphdYcOSXs4K4MXzd/oZAEZFZ1A==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.5.1.tgz",
+ "integrity": "sha512-SETS7nOr5ady18+rNBCz4bGW64uSYcGmVbMTrYtbl/IZHIAAaTxqd7MoOcOVWfIPWbf2SfhXb6xBiSfo6cbzOQ==",
"requires": {
"@phenomnomnominal/tsquery": "4.1.1",
"ejs": "^3.1.7",
@@ -21253,12 +21293,12 @@
}
},
"@nrwl/eslint-plugin-nx": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-15.4.2.tgz",
- "integrity": "sha512-5Et+G1ZvIhk4KrcqpxKUqncXjP2ozygcArMk20C/TBcU/NLJewDdY7k/9daXs1Dp14CoSqhyDI7tV9DVyrsvCg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-15.5.1.tgz",
+ "integrity": "sha512-vZaMJKmIB+IK0RjTtSm66fNnY4NeufGmFM1V1qKvtu0EmEXGIE/Lpo0w8+9rZceXukdFJUGgH+8hdq8yTrQ1dQ==",
"dev": true,
"requires": {
- "@nrwl/devkit": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
"@typescript-eslint/utils": "^5.36.1",
"chalk": "4.1.0",
"confusing-browser-globals": "^1.0.9",
@@ -21266,14 +21306,14 @@
}
},
"@nrwl/jest": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-15.4.2.tgz",
- "integrity": "sha512-4NL7RUMR+lkVQgJU3MSMDY0GdRjfWCwFPrhhcLi6+OFegNYtvgyHXYM3u5PvQupfChxYk8gc2c9eVunwU3B1hQ==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-15.5.1.tgz",
+ "integrity": "sha512-ys04Tb/8yyKbNptnYWLR7SrSR3TsX6M0fPuu0EOKiayclrMR9Sc4eFe/f7CTHfhf3q07OuYfY1g78qdqJ3nAtg==",
"dev": true,
"requires": {
"@jest/reporters": "28.1.1",
"@jest/test-result": "28.1.1",
- "@nrwl/devkit": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
"@phenomnomnominal/tsquery": "4.1.1",
"chalk": "4.1.0",
"dotenv": "~10.0.0",
@@ -21394,28 +21434,29 @@
}
},
"@nrwl/js": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-15.4.2.tgz",
- "integrity": "sha512-L/uBjbuHRf3iylrczcFruVZDLgOfBHnHcoYAa9qBcEn3XuSGJYzxrBetO+MSobMTbUAzmysPdT2rj1v6Q4Qi8A==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-15.5.1.tgz",
+ "integrity": "sha512-q9h3fQiiKgduxPaGdY1G1gz5dhXqDwLuEn0VE6vnOOAxGD0tO7RcIAy1sXE97mv2pvZG5bLloOzn84fCfG6XLg==",
"dev": true,
"requires": {
- "@nrwl/devkit": "15.4.2",
- "@nrwl/linter": "15.4.2",
- "@nrwl/workspace": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/linter": "15.5.1",
+ "@nrwl/workspace": "15.5.1",
"chalk": "4.1.0",
"fast-glob": "3.2.7",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"ignore": "^5.0.4",
"js-tokens": "^4.0.0",
"minimatch": "3.0.5",
"source-map-support": "0.5.19",
- "tree-kill": "1.2.2"
+ "tree-kill": "1.2.2",
+ "tslib": "^2.3.0"
},
"dependencies": {
"fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
@@ -21426,12 +21467,12 @@
}
},
"@nrwl/linter": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/linter/-/linter-15.4.2.tgz",
- "integrity": "sha512-S5gSzqxTRLLzTOE5mY6FOu6MYC2v355lI0zyK02RLx29XoFrnggh74QaGJDZAVwqXvQHOXXBJwo6hXWosNn3/g==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/linter/-/linter-15.5.1.tgz",
+ "integrity": "sha512-r+AHmPVBVtPOjyPL3YDJUQ1xlUuORC6HS3gJb7gh9zM2qFGRMqDemycUCNjSncDwOAs/SZJmAKBhHeUTRDQXEw==",
"dev": true,
"requires": {
- "@nrwl/devkit": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
"@phenomnomnominal/tsquery": "4.1.1",
"tmp": "~0.2.1",
"tslib": "^2.3.0"
@@ -21473,24 +21514,24 @@
}
},
"@nrwl/nx-plugin": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/nx-plugin/-/nx-plugin-15.4.2.tgz",
- "integrity": "sha512-WObYu+dEl8UZurLuGrtAY/qwxm5UstZhE2r5gb3CEqT3cWjpXas0HWNgbJTxdqhMLXU7GqR60tZl9ahxIim6gg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/nx-plugin/-/nx-plugin-15.5.1.tgz",
+ "integrity": "sha512-il533s8eQAVpBmhlCm3+If3ta6lnlOZQefLFdoBlWWHxv+8BHYeo2+oI2kdLFxsNDXjUGHhWJJIgul/kp+MzxA==",
"dev": true,
"requires": {
- "@nrwl/devkit": "15.4.2",
- "@nrwl/jest": "15.4.2",
- "@nrwl/js": "15.4.2",
- "@nrwl/linter": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/jest": "15.5.1",
+ "@nrwl/js": "15.5.1",
+ "@nrwl/linter": "15.5.1",
"dotenv": "~10.0.0",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"tslib": "^2.3.0"
},
"dependencies": {
"fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
@@ -21501,21 +21542,21 @@
}
},
"@nrwl/tao": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.4.2.tgz",
- "integrity": "sha512-c/hYhWMjEBvucO9cGL2h2lqH7f+4gb8DJJiuNRPwfvF+sQITLXpl9wASHlpG2unDrtnLjGFo73u5XUUqGiSKvA==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.5.1.tgz",
+ "integrity": "sha512-MUaqIsbEXLF8l4qpk/5Q7o+1mzvyCTQOm0usVh96RGowU7SjOvoHErCA2aIQvRK4MKLK9AH8U0AlbpLVLI+5cQ==",
"requires": {
- "nx": "15.4.2"
+ "nx": "15.5.1"
}
},
"@nrwl/workspace": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-15.4.2.tgz",
- "integrity": "sha512-5CgLiDeQnkaEy/kXv+Ba678dNfkKx2pDOrpiO2ZfT8MMYbrhOOKQ1xlXcUuC95YN0nMCKii+sApB/9R1BiKzyw==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-15.5.1.tgz",
+ "integrity": "sha512-UmivhlIzQa3zz+N+sKcwBte7T9caNbpCWRmoC0WDXWCVYE0Som6yo+EeX5oGABZsGxtfJUoRBULm89DNsvYdLQ==",
"dev": true,
"requires": {
- "@nrwl/devkit": "15.4.2",
- "@nrwl/linter": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/linter": "15.5.1",
"@parcel/watcher": "2.0.4",
"chalk": "4.1.0",
"chokidar": "^3.5.1",
@@ -21525,13 +21566,13 @@
"enquirer": "~2.3.6",
"figures": "3.2.0",
"flat": "^5.0.2",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"glob": "7.1.4",
"ignore": "^5.0.4",
"jsonc-parser": "3.2.0",
"minimatch": "3.0.5",
"npm-run-path": "^4.0.1",
- "nx": "15.4.2",
+ "nx": "15.5.1",
"open": "^8.4.0",
"rxjs": "^6.5.4",
"semver": "7.3.4",
@@ -21553,9 +21594,9 @@
}
},
"fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
@@ -22272,7 +22313,8 @@
"@types/json5": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
- "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4="
+ "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=",
+ "dev": true
},
"@types/minimatch": {
"version": "3.0.3",
@@ -22878,6 +22920,7 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
+ "dev": true,
"requires": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
@@ -23405,7 +23448,8 @@
"binary-extensions": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
- "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
+ "dev": true
},
"bl": {
"version": "4.1.0",
@@ -23781,6 +23825,7 @@
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
+ "dev": true,
"requires": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
@@ -26069,6 +26114,7 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "dev": true,
"optional": true
},
"function-bind": {
@@ -26938,6 +26984,7 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
"requires": {
"binary-extensions": "^2.0.0"
}
@@ -28946,8 +28993,7 @@
"json5": {
"version": "2.2.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
- "dev": true
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="
},
"jsonc-eslint-parser": {
"version": "2.1.0",
@@ -29126,11 +29172,11 @@
"@lerna/run": "file:../../commands/run",
"@lerna/validation-error": "file:../validation-error",
"@lerna/version": "file:../../commands/version",
- "@nrwl/devkit": ">=15.4.2 < 16",
+ "@nrwl/devkit": ">=15.5.1 < 16",
"import-local": "^3.0.2",
"inquirer": "^8.2.4",
"npmlog": "^6.0.2",
- "nx": ">=15.4.2 < 16",
+ "nx": ">=15.5.1 < 16",
"typescript": "^3 || ^4"
}
},
@@ -29998,7 +30044,8 @@
"normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true
},
"npm-bundled": {
"version": "1.1.2",
@@ -30250,19 +30297,18 @@
"dev": true
},
"nx": {
- "version": "15.4.2",
- "resolved": "https://registry.npmjs.org/nx/-/nx-15.4.2.tgz",
- "integrity": "sha512-np8eJfiBy2I8RZOWCKHr1oeUMHdqLQc7V6ihrzEQe2ZYUl9CSibtKvx0v8YGToHj/vYCiolRPhliFV5sFxgWlg==",
+ "version": "15.5.1",
+ "resolved": "https://registry.npmjs.org/nx/-/nx-15.5.1.tgz",
+ "integrity": "sha512-7yvcT6Dc/raLtO7bNK0POmavrV3R1YxfSUVzWylaEgCG6U+rrcDPE+iJMt0TL/ea6szBwvZPi4SmQSE++QMTIA==",
"requires": {
- "@nrwl/cli": "15.4.2",
- "@nrwl/tao": "15.4.2",
+ "@nrwl/cli": "15.5.1",
+ "@nrwl/tao": "15.5.1",
"@parcel/watcher": "2.0.4",
"@yarnpkg/lockfile": "^1.1.0",
"@yarnpkg/parsers": "^3.0.0-rc.18",
"@zkochan/js-yaml": "0.0.6",
"axios": "^1.0.0",
"chalk": "4.1.0",
- "chokidar": "^3.5.1",
"cli-cursor": "3.1.0",
"cli-spinners": "2.6.1",
"cliui": "^7.0.2",
@@ -30271,11 +30317,12 @@
"fast-glob": "3.2.7",
"figures": "3.2.0",
"flat": "^5.0.2",
- "fs-extra": "^10.1.0",
+ "fs-extra": "^11.1.0",
"glob": "7.1.4",
"ignore": "^5.0.4",
"js-yaml": "4.1.0",
"jsonc-parser": "3.2.0",
+ "lines-and-columns": "~2.0.3",
"minimatch": "3.0.5",
"npm-run-path": "^4.0.1",
"open": "^8.4.0",
@@ -30284,7 +30331,7 @@
"strong-log-transformer": "^2.1.0",
"tar-stream": "~2.2.0",
"tmp": "~0.2.1",
- "tsconfig-paths": "^3.9.0",
+ "tsconfig-paths": "^4.1.2",
"tslib": "^2.3.0",
"v8-compile-cache": "2.3.0",
"yargs": "^17.6.2",
@@ -30312,9 +30359,9 @@
}
},
"fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz",
+ "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==",
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
@@ -30334,6 +30381,11 @@
"path-is-absolute": "^1.0.0"
}
},
+ "lines-and-columns": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz",
+ "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w=="
+ },
"strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
@@ -30342,6 +30394,21 @@
"ansi-regex": "^5.0.1"
}
},
+ "strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA=="
+ },
+ "tsconfig-paths": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz",
+ "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==",
+ "requires": {
+ "json5": "^2.2.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ }
+ },
"yargs": {
"version": "17.6.2",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz",
@@ -31314,6 +31381,7 @@
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
"requires": {
"picomatch": "^2.2.1"
}
@@ -32443,6 +32511,7 @@
"version": "3.14.1",
"resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz",
"integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==",
+ "dev": true,
"requires": {
"@types/json5": "^0.0.29",
"json5": "^1.0.1",
@@ -32454,6 +32523,7 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
"integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
+ "dev": true,
"requires": {
"minimist": "^1.2.0"
}
@@ -32461,7 +32531,8 @@
"strip-bom": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM="
+ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "dev": true
}
}
},
diff --git a/package.json b/package.json
index de05763a01..315c410841 100644
--- a/package.json
+++ b/package.json
@@ -114,12 +114,12 @@
},
"devDependencies": {
"@lerna-test/helpers": "file:helpers",
- "@nrwl/devkit": "15.4.2",
- "@nrwl/eslint-plugin-nx": "15.4.2",
- "@nrwl/jest": "15.4.2",
- "@nrwl/js": "15.4.2",
+ "@nrwl/devkit": "15.5.1",
+ "@nrwl/eslint-plugin-nx": "15.5.1",
+ "@nrwl/jest": "15.5.1",
+ "@nrwl/js": "15.5.1",
"@nrwl/nx-cloud": "15.0.2",
- "@nrwl/nx-plugin": "15.4.2",
+ "@nrwl/nx-plugin": "15.5.1",
"@swc-node/register": "^1.4.2",
"@swc/cli": "~0.1.55",
"@swc/core": "^1.2.173",
@@ -152,7 +152,7 @@
"node-jq": "^2.3.3",
"normalize-newline": "^3.0.0",
"normalize-path": "^3.0.0",
- "nx": "15.4.2",
+ "nx": "15.5.1",
"path-key": "^3.1.1",
"prettier": "^2.2.1",
"tacks": "1.2.6",
From fc094da83472a703ba67f1b0ad0f6e14eb2ee57e Mon Sep 17 00:00:00 2001
From: James Henry
Date: Tue, 31 Jan 2023 16:20:52 +0400
Subject: [PATCH 03/21] chore: initial codebase refactor (#3517)
---
.eslintignore | 2 +
.github/workflows/ci.yml | 142 +-
.github/workflows/other-node-versions.yml | 146 +
.npmrc | 3 +
.prettierignore | 3 +-
CONTRIBUTING.md | 67 +-
FAQ.md | 85 -
README.md | 4 +-
commands/add/command.js | 74 -
commands/add/package.json | 47 -
commands/bootstrap/command.js | 87 -
commands/bootstrap/package.json | 59 -
commands/changed/command.js | 50 -
commands/clean/command.js | 27 -
commands/clean/package.json | 44 -
commands/create/command.js | 91 -
commands/diff/command.js | 28 -
commands/exec/command.js | 77 -
commands/exec/package.json | 43 -
.../__fixtures__/multi-packages/lerna.json | 7 -
commands/import/command.js | 39 -
commands/import/package.json | 44 -
commands/info/README.md | 28 -
commands/info/__tests__/info-command.test.js | 26 -
commands/info/command.js | 12 -
commands/init/command.js | 24 -
commands/link/command.js | 36 -
.../__tests__/__fixtures__/extra/lerna.json | 7 -
commands/list/command.js | 23 -
commands/list/index.js | 45 -
.../publish/__tests__/get-current-sha.test.js | 10 -
commands/publish/command.js | 181 -
.../publish/lib/__mocks__/get-npm-username.js | 6 -
.../__mocks__/get-packages-without-license.js | 4 -
.../__mocks__/get-two-factor-auth-required.js | 6 -
.../lib/__mocks__/get-unpublished-packages.js | 3 -
.../__mocks__/verify-npm-package-access.js | 6 -
commands/publish/package.json | 67 -
.../__fixtures__/powered-by-nx/nx.json | 11 -
.../__fixtures__/powered-by-nx/package.json | 3 -
.../packages/package-1/package.json | 9 -
commands/run/command.js | 93 -
commands/run/package.json | 48 -
.../__tests__/version-ignore-changes.test.js | 77 -
.../version/__tests__/version-message.test.js | 45 -
commands/version/command.js | 313 -
commands/version/lib/__mocks__/git-add.js | 4 -
commands/version/lib/__mocks__/git-commit.js | 4 -
commands/version/lib/__mocks__/git-push.js | 4 -
commands/version/lib/__mocks__/git-tag.js | 4 -
.../lib/__mocks__/is-anything-committed.js | 4 -
.../lib/__mocks__/is-behind-upstream.js | 4 -
.../lib/__mocks__/remote-branch-exists.js | 4 -
commands/version/package.json | 65 -
core/cli/CHANGELOG.md | 481 -
core/cli/README.md | 9 -
core/cli/index.js | 49 -
core/command/CHANGELOG.md | 534 -
core/command/README.md | 9 -
core/command/package.json | 46 -
core/conventional-commits/CHANGELOG.md | 355 -
core/conventional-commits/README.md | 9 -
core/conventional-commits/index.js | 17 -
core/conventional-commits/lib/constants.js | 18 -
.../lib/read-existing-changelog.js | 37 -
core/conventional-commits/package.json | 46 -
core/filter-options/CHANGELOG.md | 351 -
core/filter-options/README.md | 105 -
core/filter-options/index.js | 109 -
.../lib/get-filtered-packages.js | 86 -
core/filter-options/package.json | 40 -
core/global-options/CHANGELOG.md | 245 -
core/global-options/README.md | 48 -
core/global-options/index.js | 57 -
core/global-options/package.json | 33 -
.../node_modules/@lerna/cli/index.js | 9 -
.../local-install/node_modules/lerna/cli.js | 5 -
core/lerna/__tests__/cli.test.js | 46 -
core/lerna/commands/add-caching/command.js | 19 -
core/lerna/commands/repair/command.js | 29 -
core/lerna/commands/repair/index.js | 56 -
core/lerna/commands/watch/command.js | 39 -
core/lerna/index.js | 58 -
core/lerna/package.json | 71 -
core/otplease/CHANGELOG.md | 191 -
core/otplease/README.md | 7 -
core/package-graph/CHANGELOG.md | 320 -
core/package-graph/README.md | 9 -
.../__tests__/package-graph.test.js | 719 -
core/package-graph/package.json | 41 -
core/package/CHANGELOG.md | 281 -
core/package/README.md | 9 -
core/project/CHANGELOG.md | 388 -
core/project/README.md | 47 -
core/project/package.json | 49 -
core/prompt/CHANGELOG.md | 225 -
core/prompt/README.md | 9 -
core/prompt/package.json | 37 -
core/validation-error/CHANGELOG.md | 213 -
core/validation-error/README.md | 9 -
core/validation-error/package.json | 36 -
e2e/changed/project.json | 6 +-
e2e/clean/project.json | 6 +-
e2e/create/project.json | 6 +-
e2e/diff/project.json | 6 +-
e2e/exec/project.json | 6 +-
e2e/info/project.json | 6 +-
e2e/init/project.json | 6 +-
e2e/list/project.json | 6 +-
e2e/publish/project.json | 6 +-
e2e/repair/project.json | 4 +-
e2e/run/legacy-task-runner/project.json | 6 +-
e2e/run/task-runner/project.json | 2 +-
e2e/run/task-runner/src/utils.sh | 2 +-
e2e/version/project.json | 6 +-
e2e/watch/project.json | 4 +-
helpers/fixtures.js | 83 -
helpers/index.js | 47 -
helpers/package.json | 13 -
helpers/setup-integration-timeout.js | 4 -
helpers/setup-unit-test-timeout.js | 4 -
integration/.babelrc | 3 +
integration/.eslintrc.json | 18 +
integration/README.md | 5 +
.../{ => __tests__}/__fixtures__/exec-test | 0
.../__fixtures__/exec-test.cmd | 0
.../{ => __tests__}/__fixtures__/exec-test.js | 0
.../__fixtures__/lerna-add}/lerna.json | 0
.../__fixtures__/lerna-add}/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../__fixtures__/lerna-bootstrap/lerna.json | 0
.../lerna-bootstrap/package-1/.gitignore | 0
.../lerna-bootstrap/package-1/build.js | 0
.../lerna-bootstrap/package-1/index.src.js | 0
.../lerna-bootstrap/package-1/package.json | 0
.../lerna-bootstrap/package-2/cli.js | 0
.../lerna-bootstrap/package-2/index.js | 0
.../lerna-bootstrap/package-2/package.json | 0
.../lerna-bootstrap/package-3/cli1.js | 0
.../lerna-bootstrap/package-3/cli2.js | 0
.../lerna-bootstrap/package-3/package.json | 0
.../lerna-bootstrap/package-4/package.json | 0
.../__fixtures__/lerna-bootstrap/package.json | 0
.../__fixtures__/lerna-clean}/lerna.json | 0
.../__fixtures__/lerna-clean}/package.json | 0
.../packages/package-1/node_modules/.gitkeep | 0
.../packages/package-1/package.json | 0
.../packages/package-2/node_modules/.gitkeep | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../__fixtures__/lerna-exec}/lerna.json | 0
.../__fixtures__/lerna-exec}/package.json | 0
.../lerna-exec}/packages/package-1/file-1.js | 0
.../packages/package-1/package.json | 0
.../lerna-exec}/packages/package-2/file-2.js | 0
.../packages/package-2/package.json | 0
.../lerna-generated-build-tool/.gitignore | 0
.../lerna-generated-build-tool}/lerna.json | 0
.../lerna-generated-build-tool/package.json | 0
.../build-tool/generate-build-tool.js | 0
.../packages/build-tool/package.json | 0
.../packages/buildable/package.json | 0
.../lerna-import-external}/old-file | 0
.../lerna-import-external}/package.json | 0
.../__fixtures__/lerna-import}/lerna.json | 0
.../__fixtures__/lerna-import}/package.json | 0
.../__fixtures__/lerna-import}/packages/.keep | 0
.../__fixtures__/lerna-init/.gitignore | 0
.../__fixtures__/lerna-init}/lerna.json | 0
.../__fixtures__/lerna-init}/package.json | 0
.../__fixtures__/lerna-ls}/lerna.json | 0
.../__fixtures__/lerna-ls/package.json | 0
.../lerna-ls/packages/pkg-1/package.json | 0
.../lerna-ls/packages/pkg-2/package.json | 0
.../lerna-ls/packages/pkg-3/package.json | 0
.../lerna-ls/packages/pkg-4/package.json | 0
.../__fixtures__/lerna-run}/lerna.json | 0
.../__fixtures__/lerna-run/package.json | 0
.../lerna-run/packages/package-1/package.json | 0
.../lerna-run/packages/package-2/package.json | 0
.../lerna-run/packages/package-3/package.json | 0
.../lerna-run/packages/package-4/package.json | 0
integration/__tests__/lerna-add.spec.ts | 46 +
.../lerna-bootstrap-ci.spec.ts} | 9 +-
.../lerna-bootstrap-hoist.spec.ts} | 10 +-
.../lerna-bootstrap-legacy.spec.ts} | 10 +-
.../lerna-bootstrap-yarn.spec.ts} | 10 +-
.../lerna-changed.spec.ts} | 7 +-
.../lerna-clean.spec.ts} | 8 +-
.../lerna-exec-since.spec.ts} | 21 +-
.../lerna-exec.spec.ts} | 12 +-
.../lerna-import.spec.ts} | 6 +-
.../lerna-init.spec.ts} | 18 +-
.../lerna-link-sibling-bins.spec.ts} | 5 +-
.../lerna-ls.spec.ts} | 7 +-
.../lerna-publish-auth.spec.ts} | 10 +-
.../lerna-publish-canary.spec.ts} | 22 +-
...ish-conventional-fixed-prerelease.spec.ts} | 23 +-
.../lerna-publish-conventional-fixed.spec.ts} | 20 +-
...nventional-independent-prerelease.spec.ts} | 23 +-
...-publish-conventional-independent.spec.ts} | 20 +-
.../lerna-publish-custom-tag.spec.ts} | 14 +-
.../lerna-publish-error.spec.ts} | 10 +-
.../lerna-publish-fixed.spec.ts} | 14 +-
.../lerna-publish-independent.spec.ts} | 14 +-
.../lerna-publish-lifecycle-errors.spec.ts} | 14 +-
.../lerna-publish-lifecycle-silent.spec.ts} | 10 +-
.../lerna-publish-lifecycle.spec.ts} | 10 +-
.../lerna-publish-relative-file-spec.spec.ts} | 22 +-
.../lerna-publish-skip-npm.spec.ts} | 15 +-
.../lerna-publish-transitive.spec.ts} | 22 +-
.../lerna-publish-validation.spec.ts} | 21 +-
.../lerna-run-since.spec.ts} | 21 +-
.../lerna-run.spec.ts} | 6 +-
integration/jest.config.ts | 22 +
integration/lerna-add.test.js | 36 -
integration/project.json | 24 +
integration/tsconfig.json | 20 +
integration/tsconfig.lib.json | 10 +
integration/tsconfig.spec.json | 20 +
jest.config.js | 41 -
jest.config.ts | 5 +
jest.integration.js | 19 -
jest.preset.js | 7 +-
lerna.json | 2 +-
libs/commands/add/.babelrc | 3 +
libs/commands/add/.eslintrc.json | 18 +
{commands => libs/commands}/add/README.md | 0
.../add/__fixtures__/basic}/lerna.json | 0
.../add/__fixtures__/basic}/package.json | 0
.../basic}/packages/package-1/package.json | 0
.../basic}/packages/package-2/package.json | 0
.../basic}/packages/package-3/package.json | 0
.../basic}/packages/package-4/package.json | 0
.../add/__fixtures__/existing}/lerna.json | 0
.../add}/__fixtures__/existing/package.json | 0
.../existing/packages/package-1/package.json | 0
.../existing/packages/package-2/package.json | 0
.../existing/packages/package-3/package.json | 0
.../add}/__fixtures__/pnpm/lerna.json | 0
.../add}/__fixtures__/pnpm/package.json | 0
.../pnpm/packages/package-1/package.json | 0
.../pnpm/packages/package-2/package.json | 0
.../__fixtures__/pnpm/pnpm-workspace.yaml | 0
.../add/__fixtures__/unchanged}/lerna.json | 0
.../add/__fixtures__/unchanged}/package.json | 0
.../unchanged/packages/package-1/package.json | 6 +-
.../unchanged/packages/package-2/package.json | 0
.../unspecified-version}/lerna.json | 0
.../unspecified-version/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
libs/commands/add/jest.config.ts | 12 +
libs/commands/add/project.json | 24 +
libs/commands/add/src/command.ts | 78 +
.../commands/add/src/index.ts | 35 +-
.../commands/add/src/lib/add-command.spec.ts | 38 +-
.../add/src/lib/get-range-to-reference.ts | 8 +-
libs/commands/add/tsconfig.json | 13 +
libs/commands/add/tsconfig.lib.json | 10 +
libs/commands/add/tsconfig.spec.json | 9 +
libs/commands/bootstrap/.babelrc | 3 +
libs/commands/bootstrap/.eslintrc.json | 18 +
.../commands}/bootstrap/README.md | 3 +-
.../bootstrap}/__fixtures__/basic/lerna.json | 0
.../__fixtures__/basic}/package.json | 0
.../basic/packages/package-1/package.json | 0
.../basic/packages/package-2/cli.js | 0
.../basic/packages/package-2/package.json | 0
.../basic/packages/package-3/cli1.js | 0
.../basic/packages/package-3/cli2.js | 0
.../basic/packages/package-3/package.json | 0
.../basic/packages/package-4/package.json | 0
.../bootstrap/__fixtures__/ci}/lerna.json | 0
.../bootstrap}/__fixtures__/ci/package.json | 0
.../ci/packages/package-1/package-lock.json | 0
.../ci/packages/package-1/package.json | 0
.../bootstrap/__fixtures__/cold}/lerna.json | 0
.../bootstrap}/__fixtures__/cold/package.json | 0
.../cold/packages/package-1/package.json | 0
.../cold/packages/package-2/package.json | 0
.../cold/packages/package-3/package.json | 0
.../duplicate-package-names}/lerna.json | 0
.../duplicate-package-names/package.json | 0
.../packages/package-1}/package.json | 0
.../packages/package-2}/package.json | 0
.../bootstrap/__fixtures__/extra/lerna.json | 4 +
.../__fixtures__/extra/package-3/cli1.js | 0
.../__fixtures__/extra/package-3/cli2.js | 0
.../__fixtures__/extra/package-3/package.json | 0
.../__fixtures__/extra}/package.json | 0
.../extra/packages/package-1/index.src.js | 0
.../extra/packages/package-1/package.json | 0
.../extra/packages/package-2/cli.js | 0
.../extra/packages/package-2/package.json | 0
.../extra/packages/package-4/package.json | 0
.../__fixtures__/force-local/lerna.json | 0
.../__fixtures__/force-local}/package.json | 0
.../packages/package-1/package.json | 0
.../force-local/packages/package-2/cli.js | 0
.../packages/package-2/package.json | 0
.../force-local/packages/package-3/cli1.js | 0
.../force-local/packages/package-3/cli2.js | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../__fixtures__/ignored-scripts}/lerna.json | 0
.../__fixtures__/ignored-scripts/package.json | 0
.../packages/package-postinstall/package.json | 0
.../packages/package-preinstall/package.json | 0
.../packages/package-prepare/package.json | 0
.../packages/package-prepublish/package.json | 0
.../lifecycle-scripts}/lerna.json | 0
.../lifecycle-scripts/package.json | 0
.../packages/package-postinstall/package.json | 0
.../packages/package-preinstall/package.json | 0
.../packages/package-prepublish/package.json | 0
.../npm-client-args-1}/lerna.json | 0
.../__fixtures__/npm-client-args-1/npm | 0
.../npm-client-args-1}/package.json | 0
.../packages/package-1/package.json | 0
.../__fixtures__/npm-client-args-2/lerna.json | 0
.../__fixtures__/npm-client-args-2/npm | 0
.../npm-client-args-2}/package.json | 0
.../packages/package-1/package.json | 0
.../bootstrap/__fixtures__/peer}/lerna.json | 0
.../bootstrap/__fixtures__/peer}/package.json | 0
.../peer/packages/package-1/package.json | 0
.../peer}/packages/package-2/package.json | 0
.../bootstrap}/__fixtures__/pnpm/lerna.json | 0
.../bootstrap}/__fixtures__/pnpm/package.json | 0
.../__fixtures__/pnpm/pnpm-workspace.yaml | 0
.../__fixtures__/registries/lerna.json | 0
.../__fixtures__/registries/package.json | 0
.../packages/package-1/package.json | 0
.../relative-file-specs/.gitignore | 0
.../__fixtures__/relative-file-specs/.npmrc | 0
.../relative-file-specs}/lerna.json | 0
.../relative-file-specs/package-lock.json | 0
.../relative-file-specs/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../bootstrap/__fixtures__/tepid}/lerna.json | 0
.../__fixtures__/tepid}/package.json | 0
.../node_modules/external-1/package.json | 0
.../tepid/packages/package-1/package.json | 0
.../bootstrap/__fixtures__/warm}/lerna.json | 0
.../bootstrap/__fixtures__/warm}/package.json | 0
.../node_modules/external/package.json | 0
.../warm/packages/package-1/package.json | 0
.../node_modules/external/package.json | 0
.../warm/packages/package-2/package.json | 0
.../__fixtures__/yarn-hoist/lerna.json | 0
.../__fixtures__/yarn-hoist/package.json | 0
.../yarn-workspaces-cyclic/.yarnrc | 0
.../yarn-workspaces-cyclic/lerna.json | 0
.../yarn-workspaces-cyclic/package.json | 0
.../workspaces/package-1/package.json | 0
.../workspaces/package-2/package.json | 0
.../__fixtures__/yarn-workspaces/.yarnrc | 0
.../__fixtures__/yarn-workspaces/lerna.json | 0
.../__fixtures__/yarn-workspaces/package.json | 0
.../workspaces/package-1/package.json | 0
.../workspaces/package-2/package.json | 5 +
.../__fixtures__/zero-pkgs}/lerna.json | 0
.../__fixtures__/zero-pkgs/package.json | 0
libs/commands/bootstrap/jest.config.ts | 12 +
libs/commands/bootstrap/project.json | 24 +
libs/commands/bootstrap/src/command.ts | 89 +
.../commands/bootstrap/src/index.ts | 64 +-
.../bootstrap-command.spec.ts.snap | 0
.../src/lib/bootstrap-command.spec.ts | 81 +-
.../src/lib/has-dependency-installed.ts | 11 +-
.../bootstrap/src/lib/is-hoisted-package.ts | 4 +-
libs/commands/bootstrap/tsconfig.json | 13 +
libs/commands/bootstrap/tsconfig.lib.json | 10 +
libs/commands/bootstrap/tsconfig.spec.json | 9 +
libs/commands/changed/.babelrc | 3 +
libs/commands/changed/.eslintrc.json | 18 +
{commands => libs/commands}/changed/README.md | 0
.../changed/__fixtures__/basic}/lerna.json | 0
.../changed/__fixtures__/basic}/package.json | 0
.../basic}/packages/package-1/package.json | 0
.../basic/packages/package-2/package.json | 0
.../basic/packages/package-3/package.json | 0
.../basic/packages/package-4/package.json | 0
.../basic/packages/package-5/package.json | 0
.../changed/__fixtures__/circular}/lerna.json | 0
.../__fixtures__/circular}/package.json | 0
.../circular}/packages/package-1/package.json | 0
.../circular/packages/package-2/package.json | 0
.../circular/packages/package-3/package.json | 0
.../circular/packages/package-4/package.json | 0
.../circular/packages/package-5/package.json | 0
libs/commands/changed/jest.config.ts | 12 +
libs/commands/changed/project.json | 24 +
libs/commands/changed/src/command.ts | 53 +
.../commands/changed/src/index.ts | 21 +-
.../changed/src/lib/changed-command.spec.ts | 25 +-
libs/commands/changed/tsconfig.json | 13 +
libs/commands/changed/tsconfig.lib.json | 10 +
libs/commands/changed/tsconfig.spec.json | 9 +
libs/commands/clean/.babelrc | 3 +
libs/commands/clean/.eslintrc.json | 18 +
{commands => libs/commands}/clean/README.md | 1 -
.../clean}/__fixtures__/basic/lerna.json | 0
.../clean}/__fixtures__/basic/package.json | 0
.../packages/package-1/node_modules/.gitkeep | 0
.../basic/packages/package-1/package.json | 0
.../packages/package-2/node_modules/.gitkeep | 0
.../basic}/packages/package-2/package.json | 0
.../basic}/packages/package-3/package.json | 0
.../include-filtered-dependencies}/lerna.json | 0
.../package.json | 0
.../packages/package-1}/node_modules/.gitkeep | 0
.../packages/package-1/package.json | 0
.../packages/package-2}/node_modules/.gitkeep | 0
.../packages/package-2/package.json | 2 +-
.../packages/package-3}/node_modules/.gitkeep | 0
.../packages/package-3/package.json | 0
.../__fixtures__/integration}/lerna.json | 0
.../__fixtures__/integration/package.json | 0
.../packages/package-1}/node_modules/.gitkeep | 0
.../packages/package-1/package.json | 0
.../packages/package-2}/node_modules/.gitkeep | 0
.../packages/package-2/package.json | 2 +-
.../packages/package-3}/node_modules/.gitkeep | 0
.../packages/package-3/package.json | 0
libs/commands/clean/jest.config.ts | 12 +
libs/commands/clean/project.json | 24 +
libs/commands/clean/src/command.ts | 28 +
.../commands/clean/src/index.ts | 25 +-
.../clean/src/lib/clean-command.spec.ts | 26 +-
libs/commands/clean/tsconfig.json | 13 +
libs/commands/clean/tsconfig.lib.json | 10 +
libs/commands/clean/tsconfig.spec.json | 9 +
libs/commands/create/.babelrc | 3 +
libs/commands/create/.eslintrc.json | 18 +
{commands => libs/commands}/create/README.md | 0
libs/commands/create/project.json | 16 +
libs/commands/create/src/command.ts | 93 +
.../commands/create/src/index.ts | 43 +-
.../commands/create/src/lib/builtin-npmrc.ts | 6 +-
.../commands/create/src/lib/cat-file.ts | 6 +-
.../create/src}/lib/lerna-module-data.js | 0
libs/commands/create/tsconfig.json | 10 +
libs/commands/create/tsconfig.lib.json | 10 +
libs/commands/diff/.babelrc | 3 +
libs/commands/diff/.eslintrc.json | 18 +
{commands => libs/commands}/diff/README.md | 0
.../diff}/__fixtures__/basic/lerna.json | 0
.../diff}/__fixtures__/basic/package.json | 0
.../basic/packages/package-1/package.json | 0
.../basic/packages/package-2/package.json | 0
libs/commands/diff/jest.config.ts | 12 +
libs/commands/diff/project.json | 24 +
libs/commands/diff/src/command.ts | 31 +
.../commands/diff/src/index.ts | 16 +-
.../__snapshots__/diff-command.spec.ts.snap | 0
.../diff/src/lib/diff-command.spec.ts | 60 +-
.../commands/diff/src/lib/get-last-commit.ts | 13 +-
.../commands/diff/src/lib/has-commit.ts | 7 +-
libs/commands/diff/tsconfig.json | 13 +
libs/commands/diff/tsconfig.lib.json | 10 +
libs/commands/diff/tsconfig.spec.json | 9 +
libs/commands/exec/.babelrc | 3 +
libs/commands/exec/.eslintrc.json | 18 +
{commands => libs/commands}/exec/README.md | 0
.../exec/__fixtures__/basic}/lerna.json | 0
.../exec/__fixtures__/basic}/package.json | 0
.../basic}/packages/package-1/file-1.js | 0
.../basic}/packages/package-1/package.json | 0
.../basic}/packages/package-2/file-2.js | 0
.../basic}/packages/package-2/package.json | 0
.../include-filtered-dependencies}/lerna.json | 0
.../package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 2 +-
.../packages/package-3/package.json | 0
libs/commands/exec/jest.config.ts | 12 +
libs/commands/exec/project.json | 24 +
libs/commands/exec/src/command.ts | 78 +
.../commands/exec/src/index.ts | 23 +-
.../exec/src/lib/exec-command.spec.ts | 26 +-
libs/commands/exec/tsconfig.json | 13 +
libs/commands/exec/tsconfig.lib.json | 10 +
libs/commands/exec/tsconfig.spec.json | 9 +
libs/commands/import/.babelrc | 3 +
libs/commands/import/.eslintrc.json | 18 +
{commands => libs/commands}/import/README.md | 2 +-
.../import/__fixtures__/basic}/lerna.json | 0
.../import/__fixtures__/basic}/package.json | 0
.../import/__fixtures__/basic}/packages/.keep | 0
.../import/__fixtures__/external}/old-file | 0
.../__fixtures__/external}/package.json | 0
.../files-with-non-ascii-char/package.json | 0
.../\346\252\224\346\241\210" | 0
.../files-with-spaces/file with spaces | 0
.../files-with-spaces/package.json | 0
.../files-with-spaces/subfolder b/file | 0
.../lerna-not-in-root/subdir}/lerna.json | 0
.../lerna-not-in-root/subdir}/package.json | 0
.../lerna-not-in-root/subdir}/packages/.keep | 0
.../__fixtures__/multi-packages/lerna.json | 4 +
.../__fixtures__/multi-packages/package.json | 2 +-
.../__fixtures__/root-packages/lerna.json | 0
.../__fixtures__/root-packages/package.json | 0
libs/commands/import/jest.config.ts | 12 +
libs/commands/import/project.json | 24 +
libs/commands/import/src/command.ts | 42 +
.../commands/import/src/index.ts | 30 +-
.../import/src/lib/import-command.spec.ts | 42 +-
libs/commands/import/tsconfig.json | 13 +
libs/commands/import/tsconfig.lib.json | 10 +
libs/commands/import/tsconfig.spec.json | 9 +
libs/commands/info/.babelrc | 3 +
libs/commands/info/.eslintrc.json | 18 +
libs/commands/info/README.md | 25 +
.../info/__fixtures__/basic}/lerna.json | 0
.../info/__fixtures__/basic/package.json | 3 +
libs/commands/info/jest.config.ts | 12 +
libs/commands/info/project.json | 24 +
libs/commands/info/src/command.ts | 15 +
.../commands/info/src/index.ts | 20 +-
.../info/src/lib/info-command.spec.ts | 42 +
libs/commands/info/tsconfig.json | 19 +
libs/commands/info/tsconfig.lib.json | 10 +
libs/commands/info/tsconfig.spec.json | 9 +
libs/commands/init/.babelrc | 3 +
libs/commands/init/.eslintrc.json | 18 +
{commands => libs/commands}/init/README.md | 0
.../init}/__fixtures__/empty/DELETE_ME | 0
.../init}/__fixtures__/has-lerna/lerna.json | 0
.../__fixtures__/has-package/package.json | 0
.../init/__fixtures__/updates}/lerna.json | 0
.../init/__fixtures__/updates}/package.json | 0
libs/commands/init/jest.config.ts | 12 +
libs/commands/init/project.json | 24 +
libs/commands/init/src/command.ts | 26 +
.../commands/init/src/index.ts | 48 +-
.../init/src/lib/init-command.spec.ts | 29 +-
libs/commands/init/tsconfig.json | 13 +
libs/commands/init/tsconfig.lib.json | 10 +
libs/commands/init/tsconfig.spec.json | 9 +
libs/commands/link/.babelrc | 3 +
libs/commands/link/.eslintrc.json | 18 +
{commands => libs/commands}/link/README.md | 2 +-
.../link/__fixtures__/basic}/lerna.json | 0
.../link}/__fixtures__/basic/package.json | 0
.../basic}/packages/package-1/package.json | 0
.../basic/packages/package-2/cli.js | 0
.../basic/packages/package-2/package.json | 0
.../basic/packages/package-3/cli1.js | 0
.../basic/packages/package-3/cli2.js | 0
.../basic/packages/package-3/package.json | 0
.../basic/packages/package-4/package.json | 0
.../link}/__fixtures__/force-local/lerna.json | 0
.../__fixtures__/force-local}/package.json | 0
.../packages/package-1/package.json | 0
.../force-local/packages/package-2/cli.js | 0
.../packages/package-2/package.json | 0
.../force-local/packages/package-3/cli1.js | 0
.../force-local/packages/package-3/cli2.js | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../link}/__fixtures__/pnpm/lerna.json | 0
.../link}/__fixtures__/pnpm/package.json | 0
.../__fixtures__/pnpm/pnpm-workspace.yaml | 0
.../__fixtures__/with-contents}/lerna.json | 0
.../__fixtures__/with-contents}/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-2/src/cli.ts | 0
.../packages/package-3/package.json | 2 +-
.../packages/package-3/src/cli1.ts | 0
.../packages/package-3/src/cli2.ts | 0
.../packages/package-4/package.json | 0
libs/commands/link/jest.config.ts | 12 +
libs/commands/link/project.json | 24 +
libs/commands/link/src/command.ts | 39 +
.../commands/link/src/index.ts | 39 +-
.../link/src/lib/link-command.spec.ts | 19 +-
libs/commands/link/tsconfig.json | 13 +
libs/commands/link/tsconfig.lib.json | 10 +
libs/commands/link/tsconfig.spec.json | 9 +
libs/commands/list/.babelrc | 3 +
libs/commands/list/.eslintrc.json | 18 +
{commands => libs/commands}/list/README.md | 2 +-
.../list/__fixtures__/basic}/lerna.json | 0
.../list/__fixtures__/basic}/package.json | 0
.../basic/packages}/package-1/package.json | 0
.../basic/packages/package-2/package.json | 0
.../basic/packages/package-3/package.json | 0
.../basic/packages/package-4/package.json | 0
.../basic/packages/package-5/package.json | 0
.../cycles-and-repeated-deps}/lerna.json | 0
.../cycles-and-repeated-deps}/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../packages/package-6/package.json | 0
.../packages/package-7/package.json | 0
.../explicit-node-modules/lerna.json | 0
.../node_modules/fail/package.json | 0
.../explicit-node-modules/package.json | 0
.../package-5/node_modules/fail/package.json | 0
.../@scoped/package-5/package.json | 0
.../node_modules}/package-1/package.json | 0
.../node_modules/package-2/package.json | 0
.../node_modules/package-3/package.json | 0
.../package-4/node_modules/fail/package.json | 0
.../node_modules/package-4/package.json | 0
.../list}/__fixtures__/extra/lerna.json | 0
.../__fixtures__/extra/package-3/package.json | 0
.../list/__fixtures__/extra}/package.json | 0
.../extra/packages}/package-1/package.json | 0
.../extra/packages/package-2/package.json | 0
.../list/__fixtures__/filtering}/lerna.json | 0
.../list/__fixtures__/filtering}/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-a-1/package.json | 0
.../packages/package-a-2/package.json | 0
.../list}/__fixtures__/globstar/lerna.json | 0
.../globstar/node_modules/fail/package.json | 0
.../list}/__fixtures__/globstar/package.json | 0
.../globstar/src/even/package-2/package.json | 0
.../package-4/node_modules/fail/package.json | 0
.../globstar/src/even/package-4/package.json | 0
.../globstar/src/odd}/package-1/package.json | 0
.../globstar/src/odd/package-3/package.json | 0
.../package-5/node_modules/fail/package.json | 0
.../globstar/src/package-5/package.json | 0
.../include-filtered-dependencies}/lerna.json | 0
.../package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../__fixtures__/mixed-globstar/lerna.json | 0
.../__fixtures__/mixed-globstar/package.json | 0
.../node_modules}/package-1/package.json | 0
.../node_modules/package-2/package.json | 0
.../node_modules/package-3/package.json | 0
.../package-4/node_modules/fail/package.json | 0
.../node_modules/package-4/package.json | 0
.../package-5/node_modules/fail/package.json | 0
.../mixed-globstar/src/package-5/package.json | 0
.../undefined-version}/lerna.json | 0
.../undefined-version}/package.json | 0
.../packages/package-1/package.json | 0
.../__fixtures__/yarn-workspaces/.yarnrc | 0
.../__fixtures__/yarn-workspaces/lerna.json | 0
.../__fixtures__/yarn-workspaces/package.json | 0
.../workspaces/package-1/package.json | 0
.../workspaces/package-2/package.json | 0
libs/commands/list/jest.config.ts | 12 +
libs/commands/list/project.json | 24 +
libs/commands/list/src/command.ts | 21 +
libs/commands/list/src/index.ts | 49 +
.../list/src/lib/list-command.spec.ts | 180 +-
libs/commands/list/tsconfig.json | 13 +
libs/commands/list/tsconfig.lib.json | 10 +
libs/commands/list/tsconfig.spec.json | 9 +
libs/commands/publish/.babelrc | 3 +
libs/commands/publish/.eslintrc.json | 18 +
{commands => libs/commands}/publish/README.md | 0
.../allow-branch-lerna/lerna.json | 0
.../allow-branch-lerna/package.json | 0
.../packages/package-1/package.json | 0
.../git-hosted-sibling-committish}/lerna.json | 0
.../package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../git-hosted-sibling-gitlab}/lerna.json | 0
.../git-hosted-sibling-gitlab/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../git-hosted-sibling-semver}/lerna.json | 0
.../git-hosted-sibling-semver/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../__fixtures__/integration/lerna.json | 0
.../integration/package-1/package.json | 0
.../integration/package-2/package.json | 0
.../__fixtures__/integration/package.json | 0
.../no-interdependencies/.gitignore | 0
.../no-interdependencies}/lerna.json | 0
.../no-interdependencies/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../not-versioned-private}/lerna.json | 0
.../not-versioned-private/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../__fixtures__/not-versioned}/lerna.json | 0
.../__fixtures__/not-versioned/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../__fixtures__/public-private/LICENSE | 0
.../__fixtures__/public-private}/lerna.json | 0
.../__fixtures__/public-private/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../__fixtures__/registries/lerna.json | 0
.../__fixtures__/registries/package.json | 0
.../packages/package-1/package.json | 0
.../relative-file-specs/.gitignore | 0
.../__fixtures__/relative-file-specs/.npmrc | 0
.../relative-file-specs}/lerna.json | 0
.../relative-file-specs/package-lock.json | 0
.../relative-file-specs/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../packages/package-6/package.json | 0
.../packages/package-7/package.json | 0
.../relative-independent/.gitignore | 0
.../__fixtures__/relative-independent/.npmrc | 0
.../relative-independent}/lerna.json | 0
.../relative-independent/package-lock.json | 0
.../relative-independent/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../packages/package-6/package.json | 0
.../republish-prereleased/lerna.json | 0
.../republish-prereleased/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../__fixtures__/snake-graph}/lerna.json | 0
.../__fixtures__/snake-graph/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
.../snake-independent}/lerna.json | 0
.../snake-independent/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
.../packages/package-4/package.json | 0
.../packages/package-5/package.json | 0
libs/commands/publish/jest.config.ts | 14 +
libs/commands/publish/project.json | 24 +
libs/commands/publish/src/command.ts | 189 +
.../commands/publish/src/index.ts | 80 +-
.../src/lib/create-temp-licenses.spec.ts | 14 +-
.../publish/src/lib/create-temp-licenses.ts | 11 +-
.../commands/publish/src/lib/fetch-config.ts | 4 +-
.../publish/src/lib/get-current-sha.spec.ts | 12 +
.../publish/src/lib/get-current-sha.ts | 7 +-
.../publish/src/lib/get-current-tags.ts | 6 +-
.../publish/src/lib/get-npm-username.spec.ts | 20 +-
.../publish/src/lib/get-npm-username.ts | 6 +-
.../lib/get-packages-without-license.spec.ts | 10 +-
.../src/lib/get-packages-without-license.ts | 4 +-
.../publish/src/lib/get-profile-data.ts | 9 +-
.../publish/src/lib/get-tagged-packages.ts | 12 +-
.../lib/get-two-factor-auth-required.spec.ts | 17 +-
.../src/lib/get-two-factor-auth-required.ts | 5 +-
.../src/lib/get-unpublished-packages.spec.ts | 20 +-
.../src/lib/get-unpublished-packages.ts | 17 +-
.../commands/publish/src/lib/get-whoami.ts | 9 +-
.../publish/src/lib/git-checkout.spec.ts | 14 +-
.../commands/publish/src/lib/git-checkout.ts | 4 +-
.../publish/src/lib/publish-canary.spec.ts | 78 +-
.../publish/src/lib/publish-command.spec.ts | 101 +-
.../publish/src/lib/publish-from-git.spec.ts | 77 +-
.../src/lib/publish-from-package.spec.ts | 85 +-
.../publish/src/lib/publish-licenses.spec.ts | 66 +-
.../src/lib/publish-lifecycle-scripts.spec.ts | 61 +-
.../publish-relative-file-specifiers.spec.ts | 72 +-
.../publish/src/lib/publish-tagging.spec.ts | 87 +-
.../src/lib/remove-temp-licenses.spec.ts | 26 +-
.../publish/src/lib/remove-temp-licenses.ts | 9 +-
.../src/lib/verify-npm-package-access.spec.ts | 17 +-
.../src/lib/verify-npm-package-access.ts | 10 +-
libs/commands/publish/tsconfig.json | 13 +
libs/commands/publish/tsconfig.lib.json | 10 +
libs/commands/publish/tsconfig.spec.json | 9 +
libs/commands/run/.babelrc | 3 +
libs/commands/run/.eslintrc.json | 18 +
{commands => libs/commands}/run/README.md | 0
.../run}/__fixtures__/basic/lerna.json | 0
.../run}/__fixtures__/basic/package.json | 0
.../basic/packages/package-1/package.json | 0
.../basic/packages/package-2/package.json | 0
.../basic/packages/package-3/package.json | 0
.../basic/packages/package-4/package.json | 0
.../include-filtered-dependencies/lerna.json | 0
.../package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 2 +-
.../packages/package-3/package.json | 0
.../run}/__fixtures__/pnpm/lerna.json | 0
.../run}/__fixtures__/pnpm/package.json | 0
.../pnpm/packages/package-1/package.json | 0
.../pnpm/packages/package-2/package.json | 0
.../__fixtures__/pnpm/pnpm-workspace.yaml | 0
libs/commands/run/jest.config.ts | 12 +
libs/commands/run/project.json | 24 +
libs/commands/run/src/command.ts | 94 +
.../commands/run/src/index.ts | 60 +-
.../__snapshots__/run-command.spec.ts.snap | 0
.../commands/run/src/lib/run-command.spec.ts | 119 +-
libs/commands/run/tsconfig.json | 13 +
libs/commands/run/tsconfig.lib.json | 10 +
libs/commands/run/tsconfig.spec.json | 9 +
libs/commands/version/.babelrc | 3 +
libs/commands/version/.eslintrc.json | 18 +
{commands => libs/commands}/version/README.md | 0
.../version/__fixtures__/basic}/lerna.json | 0
.../version/__fixtures__/basic}/package.json | 0
.../basic}/packages/package-1/package.json | 0
.../basic/packages/package-2/package.json | 0
.../basic/packages/package-3/package.json | 0
.../basic/packages/package-4/package.json | 0
.../basic/packages/package-5/package.json | 0
.../lockfile-v2-missing-local-deps/.gitignore | 0
.../lerna.json | 0
.../package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package-lock.json | 0
.../packages/package-2/package.json | 0
.../packages/package-3/package.json | 0
libs/commands/version/jest.config.ts | 13 +
libs/commands/version/project.json | 24 +
libs/commands/version/src/command.ts | 318 +
.../commands/version/src/index.ts | 75 +-
.../version-bump-prerelease.spec.ts.snap | 0
.../version-command.spec.ts.snap | 0
.../version-conventional-commits.spec.ts.snap | 0
.../version-ignore-changes.spec.ts.snap | 0
.../version/src/lib/create-release.ts | 9 +-
.../src/lib/get-current-branch.spec.ts | 8 +-
.../version/src/lib/get-current-branch.ts | 7 +-
.../commands/version/src/lib/git-add.spec.ts | 18 +-
.../commands/version/src/lib/git-add.ts | 17 +-
.../version/src/lib/git-commit.spec.ts | 19 +-
.../commands/version/src/lib/git-commit.ts | 11 +-
.../commands/version/src/lib/git-push.spec.ts | 20 +-
.../commands/version/src/lib/git-push.ts | 4 +-
.../commands/version/src/lib/git-tag.spec.ts | 9 +-
.../commands/version/src/lib/git-tag.ts | 7 +-
.../src/lib/is-anything-committed.spec.ts | 10 +-
.../version/src/lib/is-anything-committed.ts | 7 +-
.../src/lib/is-behind-upstream.spec.ts | 10 +-
.../version/src/lib/is-behind-upstream.ts | 7 +-
.../version/src/lib/is-breaking-change.ts | 4 +-
.../version/src/lib/prompt-version.spec.ts | 24 +-
.../version/src/lib/prompt-version.ts | 6 +-
.../src/lib/remote-branch-exists.spec.ts | 10 +-
.../version/src/lib/remote-branch-exists.ts | 7 +-
.../src/lib/update-lockfile-version.spec.ts | 21 +-
.../src/lib/update-lockfile-version.ts | 14 +-
.../src/lib/version-allow-branch.spec.ts | 49 +-
.../src/lib/version-bump-prerelease.spec.ts | 85 +-
.../version/src/lib/version-bump.spec.ts | 40 +-
.../version/src/lib/version-command.spec.ts | 104 +-
.../lib/version-conventional-commits.spec.ts | 58 +-
.../src/lib/version-create-release.spec.ts | 50 +-
.../lib/version-git-hosted-siblings.spec.ts | 37 +-
.../src/lib/version-ignore-changes.spec.ts | 93 +
.../lib/version-include-merged-tags.spec.ts | 50 +-
.../src/lib/version-lifecycle-scripts.spec.ts | 37 +-
.../version/src/lib/version-message.spec.ts | 50 +
libs/commands/version/tsconfig.json | 13 +
libs/commands/version/tsconfig.lib.json | 10 +
libs/commands/version/tsconfig.spec.json | 9 +
libs/core/.babelrc | 3 +
libs/core/.eslintrc.json | 18 +
libs/core/README.md | 11 +
.../core}/__fixtures__/basic/lerna.json | 0
.../core}/__fixtures__/basic/package.json | 0
.../core/__fixtures__/filtering}/lerna.json | 0
.../core}/__fixtures__/filtering/package.json | 0
.../packages/package-1/package.json | 0
.../filtering/packages/package-2/package.json | 0
.../filtering/packages/package-3/package.json | 0
.../filtering/packages/package-4/package.json | 0
.../filtering/packages/package-5/package.json | 0
.../core}/__fixtures__/legacy/lerna.json | 0
.../core}/__fixtures__/legacy/package.json | 0
.../legacy/packages/pkg-1/package.json | 0
.../legacy/packages/pkg-2/package.json | 0
.../core}/__fixtures__/pnpm/lerna.json | 0
.../core}/__fixtures__/pnpm/package.json | 0
.../pnpm/packages/package-1/package.json | 0
.../pnpm/packages/package-2/package.json | 0
libs/core/jest.config.ts | 18 +
libs/core/project.json | 25 +
libs/core/src/index.ts | 40 +
.../core/src/lib/check-working-tree.spec.ts | 21 +-
.../core/src/lib/check-working-tree.ts | 26 +-
.../core/src/lib/cli.spec.ts | 28 +-
libs/core/src/lib/cli.ts | 100 +
.../core/src/lib/collect-uncommitted.spec.ts | 27 +-
libs/core/src/lib/collect-uncommitted.ts | 53 +
.../__helpers__/build-graph.ts | 11 +-
.../lib/collect-updates/__mocks__/index.ts | 28 +
.../collect-dependents.spec.ts | 20 +-
.../lib/collect-updates/collect-dependents.ts | 27 +-
.../collect-updates/collect-packages.spec.ts | 19 +-
.../lib/collect-updates/collect-packages.ts | 43 +
.../get-packages-for-option.spec.ts | 5 +-
.../get-packages-for-option.ts | 9 +-
.../src/lib/collect-updates/has-tags.spec.ts | 3 +-
libs/core/src/lib/collect-updates/has-tags.ts | 32 +
.../src/lib/collect-updates/index.spec.ts | 20 +-
.../core/src/lib/collect-updates/index.ts | 91 +-
.../make-diff-predicate.spec.ts | 17 +-
.../collect-updates/make-diff-predicate.ts | 25 +-
.../lib/command/__fixtures__/basic/lerna.json | 14 +
.../command/__fixtures__/basic/package.json | 3 +
.../__fixtures__/filtering}/lerna.json | 0
.../__fixtures__/filtering/package.json | 4 +
.../packages/package-1}/package.json | 2 +-
.../packages}/package-2/package.json | 1 +
.../packages/package-3/package.json | 3 -
.../packages/package-4/package.json | 3 -
.../filtering/packages/package-5/package.json | 8 +
.../command/__fixtures__/legacy/lerna.json | 10 +
.../command/__fixtures__/legacy/package.json | 3 +
.../legacy/packages/pkg-1/package.json | 4 +
.../legacy/packages/pkg-2/package.json | 4 +
.../lib/command}/__fixtures__/pnpm/lerna.json | 0
.../command/__fixtures__/pnpm/package.json | 10 +
.../pnpm/packages/package-1/package.json | 8 +
.../pnpm}/packages/package-2/package.json | 3 +-
.../core/src/lib/command/clean-stack.ts | 10 +-
.../core/src/lib/command/default-options.ts | 12 +-
.../core/src/lib/command/index.spec.ts | 46 +-
.../core/src/lib/command/index.ts | 106 +-
.../core/src/lib/command/log-package-error.ts | 16 +-
.../core/src/lib/command/warn-if-hanging.ts | 8 +-
.../__fixtures__/changelog-missing/lerna.json | 0
.../changelog-missing/package.json | 0
.../packages/package-1/package.json | 0
.../packages/package-2/package.json | 0
.../__fixtures__/fixed/CHANGELOG.md | 0
.../__fixtures__/fixed/lerna.json | 0
.../__fixtures__/fixed/package.json | 0
.../fixed/packages/package-1/CHANGELOG.md | 0
.../fixed/packages/package-1/package.json | 0
.../fixed/packages/package-2/CHANGELOG.md | 0
.../fixed/packages/package-2/package.json | 0
.../fixed/scripts/config-builder-preset.js | 0
.../fixed/scripts/erroring-preset.js | 0
.../fixed/scripts/legacy-callback-preset.js | 0
.../fixed/scripts/local-preset.js | 0
.../__fixtures__/fixed/scripts/null-preset.js | 0
.../fixed/scripts/null-what-bump.js | 0
.../fixed/scripts/old-api-preset.js | 0
.../__fixtures__/fixed/scripts/parser-opts.js | 0
.../__fixtures__/fixed/scripts/what-bump.js | 0
.../__fixtures__/fixed/scripts/writer-opts.js | 0
.../__fixtures__/independent/lerna.json | 0
.../__fixtures__/independent/package.json | 0
.../packages/package-1/CHANGELOG.md | 0
.../packages/package-1/package.json | 0
.../packages/package-2/CHANGELOG.md | 0
.../packages/package-2/package.json | 0
.../__fixtures__/major-zero/lerna.json | 0
.../__fixtures__/major-zero/package.json | 0
.../packages/package-0/CHANGELOG.md | 0
.../packages/package-0/package.json | 0
.../packages/package-1/CHANGELOG.md | 0
.../packages/package-1/package.json | 0
.../prerelease-independent/lerna.json | 0
.../prerelease-independent/package.json | 0
.../packages/package-1/CHANGELOG.md | 0
.../packages/package-1/package.json | 0
.../packages/package-2/CHANGELOG.md | 0
.../packages/package-2/package.json | 0
.../packages/package-3/CHANGELOG.md | 0
.../packages/package-3/package.json | 0
.../__snapshots__/index.spec.ts.snap | 0
.../src/lib/conventional-commits/constants.ts | 24 +
.../get-changelog-config.ts | 47 +-
.../lib/conventional-commits/index.spec.ts | 28 +-
.../src/lib/conventional-commits/index.ts | 2 +
.../make-bump-only-filter.ts | 15 +-
.../read-existing-changelog.ts | 48 +
.../conventional-commits/recommend-version.ts | 45 +-
.../conventional-commits/update-changelog.ts | 38 +-
.../core/src/lib/create-symlink.spec.ts | 27 +-
.../core/src/lib/create-symlink.ts | 31 +-
.../core/src/lib/describe-ref.spec.ts | 8 +-
.../core/src/lib/describe-ref.ts | 82 +-
.../core/src/lib/filter-options.spec.ts | 68 +-
libs/core/src/lib/filter-options.ts | 212 +
.../core/src/lib/filter-packages.ts | 47 +-
.../core/src/lib/get-npm-exec-opts.ts | 10 +-
.../core/src/lib/get-packed.ts | 16 +-
.../core/src/lib/has-npm-version.spec.ts | 4 +-
.../core/src/lib/has-npm-version.ts | 10 +-
.../src/lib/listable/listable-format.spec.ts | 34 +-
.../core/src/lib/listable/listable-format.ts | 100 +-
.../src/lib/listable/listable-options.spec.ts | 10 +-
.../core/src/lib/listable/listable-options.ts | 29 +-
.../core/src/lib/log-packed.spec.ts | 11 +-
.../core/src/lib/log-packed.ts | 54 +-
.../core/src/lib/map-to-registry.spec.ts | 8 +-
.../core/src/lib/map-to-registry.ts | 47 +-
.../core/src/lib/npm-conf/conf.ts | 151 +-
.../core/src/lib/npm-conf/defaults.ts | 40 +-
.../core/src/lib/npm-conf/env-replace.ts | 9 +-
.../core/src/lib/npm-conf/find-prefix.ts | 15 +-
.../core/src/lib/npm-conf/index.spec.ts | 7 +-
.../core/src/lib/npm-conf/index.ts | 36 +-
.../core/src/lib/npm-conf/nerf-dart.ts | 10 +-
.../core/src/lib/npm-conf/parse-field.ts | 27 +-
.../core/src/lib/npm-conf/types.ts | 9 +-
.../core/src/lib/npm-dist-tag.spec.ts | 39 +-
.../core/src/lib/npm-dist-tag.ts | 53 +-
.../core/src/lib/npm-install.spec.ts | 39 +-
.../core/src/lib/npm-install.ts | 40 +-
.../core/src/lib/npm-publish.test.ts | 59 +-
.../core/src/lib/npm-publish.ts | 82 +-
.../core/src/lib/npm-run-script.spec.ts | 7 +-
.../core/src/lib/npm-run-script.ts | 19 +-
.../core/src/lib/otplease.test.ts | 16 +-
.../core/src/lib/otplease.ts | 46 +-
libs/core/src/lib/output.ts | 8 +
.../core/src/lib/pack-directory.spec.ts | 57 +-
.../core/src/lib/pack-directory.ts | 68 +-
.../cyclic-package-graph-node.ts | 58 +-
.../core/src/lib/package-graph/index.ts | 127 +-
.../lib/package-graph/package-graph-node.ts | 31 +-
.../src/lib/package-graph/report-cycles.ts | 10 +-
.../core/src/lib/package.spec.ts | 39 +-
.../index.js => libs/core/src/lib/package.ts | 140 +-
.../lib/prerelease-id-from-version.spec.ts | 12 +-
.../src/lib/prerelease-id-from-version.ts | 8 +
.../core/src/lib/profiler.ts | 60 +-
.../project/__fixtures__/basic}/lerna.json | 0
.../basic/node_modules/external/package.json | 0
.../project/__fixtures__/basic/package.json | 0
.../basic/packages/pkg-1/package.json | 0
.../basic/packages/pkg-2/package.json | 0
.../__fixtures__/extends-circular/base.json | 0
.../extends-circular/circular.json | 0
.../__fixtures__/extends-circular/lerna.json | 0
.../__fixtures__/extends-deprecated/base.json | 0
.../extends-deprecated/lerna.json | 0
.../extends-deprecated/recursive.json | 0
.../__fixtures__/extends-recursive/base.json | 0
.../__fixtures__/extends-recursive/lerna.json | 0
.../extends-recursive/recursive.json | 0
.../extends-unresolved/lerna.json | 0
.../project/__fixtures__/extends/lerna.json | 0
.../node_modules/local-package/config.js | 0
.../node_modules/local-package/package.json | 0
.../node_modules/local-package/subpath.js | 0
.../project/__fixtures__/extends/package.json | 0
.../__fixtures__/invalid-json/lerna.json | 0
.../__fixtures__/invalid-json/package.json | 0
.../__fixtures__/no-lerna-config/package.json | 0
.../pkg-prop-syntax-error/package.json | 0
.../__fixtures__/pkg-prop/package.json | 0
.../lib/project/__fixtures__/pnpm/lerna.json | 7 +
.../project/__fixtures__/pnpm/package.json | 0
.../__fixtures__/pnpm/pnpm-workspace.yaml | 0
.../__fixtures__/yarn-workspaces/lerna.json | 0
.../__fixtures__/yarn-workspaces/package.json | 0
.../core/src/lib/project/apply-extends.ts | 23 +-
.../core/src/lib/project/deprecate-config.ts | 60 +-
.../core/src/lib/project/index.spec.ts | 30 +-
.../core/src/lib/project/index.ts | 172 +-
.../core/src/lib/project/make-file-finder.ts | 40 +-
.../core/src/lib/project/shallow-extend.ts | 12 +-
.../index.js => libs/core/src/lib/prompt.ts | 40 +-
.../core/src/lib/pulse-till-done.ts | 14 +-
.../core/src/lib/query-graph.ts | 52 +-
.../core/src/lib/resolve-symlink.spec.ts | 25 +-
.../core/src/lib/resolve-symlink.ts | 25 +-
.../core/src/lib/rimraf-dir.spec.ts | 12 +-
.../core/src/lib/rimraf-dir.ts | 11 +-
.../core/src/lib/run-lifecycle.spec.ts | 47 +-
.../core/src/lib/run-lifecycle.ts | 70 +-
.../core/src/lib/run-topologically.ts | 26 +-
.../github/create-github-client.spec.ts | 10 +-
.../github/create-github-client.ts | 27 +-
.../gitlab/create-gitlab-client.spec.ts | 8 +-
.../gitlab/create-gitlab-client.ts | 16 +-
.../scm-clients/gitlab/gitlab-client.test.ts | 9 +-
.../lib/scm-clients/gitlab/gitlab-client.ts | 29 +-
libs/core/src/lib/scm-clients/index.ts | 2 +
.../__fixtures__/links/lerna.json | 1 -
.../__fixtures__/links/package.json | 0
.../links/packages/package-1/package.json | 0
.../links/packages/package-2/cli.js | 0
.../links/packages/package-2/package.json | 0
.../links/packages/package-3/cli1.js | 0
.../links/packages/package-3/cli2.js | 0
.../links/packages/package-3/package.json | 0
.../links/packages/package-4/package.json | 0
.../core/src/lib/symlink-binary/index.spec.ts | 34 +-
.../core/src/lib/symlink-binary/index.ts | 29 +-
.../core/src/lib/symlink-dependencies.ts | 69 +-
.../core/src/lib/temp-write.spec.ts | 10 +-
.../core/src/lib/temp-write.ts | 31 +-
.../timer.js => libs/core/src/lib/timer.ts | 8 +-
.../core/src/lib/validation-error.ts | 10 +-
.../core/src/lib/write-log-file.ts | 17 +-
libs/core/tsconfig.json | 19 +
libs/core/tsconfig.lib.json | 10 +
libs/core/tsconfig.spec.json | 21 +
libs/e2e-utils/README.md | 6 +-
libs/e2e-utils/jest.config.ts | 2 +-
libs/e2e-utils/project.json | 2 +-
libs/nx-plugin/generators.json | 5 +
libs/nx-plugin/project.json | 2 +-
.../src/generators/command/generator.ts | 200 +
.../src/generators/command/schema.d.ts | 3 +
.../src/generators/command/schema.json | 19 +
.../generators/e2e-project/generator.spec.ts | 4 +-
.../src/generators/e2e-project/generator.ts | 4 +-
libs/test-helpers/.babelrc | 3 +
libs/test-helpers/.eslintrc.json | 18 +
libs/test-helpers/README.md | 11 +
.../@lerna/core/check-working-tree.ts | 0
.../__mocks__/@lerna/core/collect-updates.ts | 5 +-
.../@lerna/core/conventional-commits.ts | 4 +-
.../__mocks__/@lerna/core/github-client.ts | 3 +-
.../__mocks__/@lerna/core/gitlab-client.ts | 3 +-
.../__mocks__/@lerna/core/has-npm-version.ts | 2 -
.../__mocks__/@lerna/core/index.ts | 42 +
.../__mocks__/@lerna/core/npm-dist-tag.ts | 0
.../__mocks__/@lerna/core/npm-publish.ts | 3 +-
.../__mocks__/@lerna/core/output.ts | 18 +
.../__mocks__/@lerna/core/pack-directory.ts | 3 +-
.../__mocks__/@lerna/core/prompt.ts | 3 +-
.../__mocks__/@lerna/core/run-lifecycle.ts | 3 +-
.../test-helpers}/__mocks__/load-json-file.js | 0
.../test-helpers}/__mocks__/write-pkg.js | 0
libs/test-helpers/jest.config.ts | 15 +
libs/test-helpers/project.json | 25 +
libs/test-helpers/src/index.ts | 29 +
.../test-helpers/src/lib/cli.ts | 54 +-
libs/test-helpers/src/lib/fixtures.ts | 101 +
.../test-helpers/src/lib/git/index.ts | 68 +-
.../test-helpers/src/lib}/git/template/config | 0
.../src/lib}/git/template/description | 0
.../src/lib}/git/template/info/exclude | 0
.../test-helpers/src/lib/logging-output.ts | 12 +-
.../src/lib/multi-line-trim-right.ts | 11 +
.../test-helpers/src/lib/npm/index.ts | 10 +-
.../src/lib}/npm/set-npm-userconfig.js | 0
.../test-helpers/src/lib}/npm/test-user.ini | 0
.../test-helpers/src/lib}/pkg-matchers.js | 3 +-
.../lib}/serializers/serialize-changelog.js | 0
.../src/lib}/serializers/serialize-git-sha.js | 0
.../serializers/serialize-placeholders.js | 5 +-
.../src/lib}/serializers/serialize-tempdir.js | 0
.../serializers/serialize-windows-paths.js | 0
.../test-helpers/src/lib}/silence-logging.js | 1 +
libs/test-helpers/tsconfig.json | 19 +
libs/test-helpers/tsconfig.lib.json | 10 +
libs/test-helpers/tsconfig.spec.json | 20 +
nx.json | 48 +-
package-lock.json | 39923 +++++++++-------
package.json | 104 +-
{core => packages}/child-process/CHANGELOG.md | 0
{core => packages}/child-process/README.md | 0
.../__tests__/child-process.test.js | 0
{core => packages}/child-process/index.js | 0
{core => packages}/child-process/package.json | 2 +-
.../@lerna/core/check-working-tree.ts | 9 +
.../__mocks__/@lerna/core/collect-updates.ts | 27 +
.../@lerna/core/conventional-commits.ts | 25 +
.../__mocks__/@lerna/core/github-client.ts | 25 +
.../__mocks__/@lerna/core/gitlab-client.ts | 21 +
.../__mocks__/@lerna/core/has-npm-version.ts | 3 +
.../__mocks__/@lerna/core/index.ts | 42 +
.../__mocks__/@lerna/core/npm-dist-tag.ts | 9 +
.../__mocks__/@lerna/core/npm-publish.ts | 25 +
.../__mocks__/@lerna/core/output.ts | 7 +-
.../__mocks__/@lerna/core/pack-directory.ts | 21 +
.../__mocks__/@lerna/core/prompt.ts | 31 +
.../__mocks__/@lerna/core/run-lifecycle.ts | 20 +
.../__mocks__/load-json-file.js | 41 +
.../legacy-structure/__mocks__/write-pkg.js | 34 +
.../legacy-structure/commands/add/.gitignore | 4 +
.../commands}/add/CHANGELOG.md | 0
.../commands/add}/package.json | 27 +-
.../commands/add/project.json | 47 +
.../commands/add/src/command.ts | 1 +
.../commands/add/src/index.ts | 5 +
.../add/src/lib/get-range-to-reference.ts | 1 +
.../commands/add/tsconfig.json | 6 +
.../commands/add/tsconfig.lib.json | 10 +
.../commands/bootstrap/.gitignore | 4 +
.../commands}/bootstrap/CHANGELOG.md | 0
.../commands/bootstrap/package.json | 40 +
.../commands/bootstrap/project.json | 47 +
.../commands/bootstrap/src/command.ts | 1 +
.../commands/bootstrap/src/index.ts | 5 +
.../src/lib/has-dependency-installed.ts | 1 +
.../bootstrap/src/lib/is-hoisted-package.ts | 1 +
.../commands/bootstrap/tsconfig.json | 6 +
.../commands/bootstrap/tsconfig.lib.json | 10 +
.../commands/changed/.gitignore | 4 +
.../commands}/changed/CHANGELOG.md | 0
.../commands}/changed/package.json | 20 +-
.../commands/changed/project.json | 47 +
.../commands/changed/src/command.ts | 1 +
.../commands/changed/src/index.ts | 5 +
.../commands/changed/tsconfig.json | 6 +
.../commands/changed/tsconfig.lib.json | 10 +
.../commands/clean/.gitignore | 4 +
.../commands}/clean/CHANGELOG.md | 0
.../commands/clean/package.json | 40 +
.../commands/clean/project.json | 47 +
.../commands/clean/src/command.ts | 1 +
.../commands/clean/src/index.ts | 5 +
.../commands/clean/tsconfig.json | 6 +
.../commands/clean/tsconfig.lib.json | 10 +
.../legacy-structure/commands/create/.babelrc | 3 +
.../commands/create/.eslintrc.json | 18 +
.../commands/create/.gitignore | 4 +
.../commands}/create/CHANGELOG.md | 0
.../__tests__/__fixtures__/basic/lerna.json | 0
.../__tests__/__fixtures__/basic/package.json | 0
.../basic/packages/sibling-pkg/package.json | 0
.../__fixtures__/custom-location/lerna.json | 0
.../modules/sibling-pkg/package.json | 0
.../__fixtures__/custom-location/package.json | 0
.../packages/lonely-pkg/package.json | 0
.../__fixtures__/independent/lerna.json | 0
.../__fixtures__/independent/package.json | 0
.../packages/cousin-pkg/package.json | 0
.../packages/sibling-pkg/package.json | 0
.../relative-file-spec/lerna.json | 0
.../relative-file-spec/package.json | 0
.../packages/cousin-pkg/package.json | 0
.../packages/sibling-pkg/package.json | 0
.../__snapshots__/create-command.spec.ts.snap | 0
.../create/__tests__/create-command.spec.ts | 42 +-
.../commands/create/jest.config.ts | 16 +
.../commands}/create/package.json | 40 +-
.../commands/create/project.json | 71 +
.../commands/create/src/command.ts | 4 +
.../commands/create/src/index.ts | 5 +
.../commands/create/src/lib/builtin-npmrc.ts | 4 +
.../commands/create/src/lib/cat-file.ts | 4 +
.../create/src/lib/lerna-module-data.js | 206 +
.../commands/create/tsconfig.json | 13 +
.../commands/create/tsconfig.lib.json | 10 +
.../commands/create/tsconfig.spec.json | 21 +
.../legacy-structure/commands/diff/.gitignore | 4 +
.../commands}/diff/CHANGELOG.md | 0
.../commands}/diff/package.json | 23 +-
.../commands/diff/project.json | 47 +
.../commands/diff/src/command.ts | 1 +
.../commands/diff/src/index.ts | 5 +
.../commands/diff/src/lib/get-last-commit.ts | 1 +
.../commands/diff/src/lib/has-commit.ts | 1 +
.../commands/diff/tsconfig.json | 6 +
.../commands/diff/tsconfig.lib.json | 10 +
.../legacy-structure/commands/exec/.gitignore | 4 +
.../commands}/exec/CHANGELOG.md | 0
.../commands/exec}/package.json | 26 +-
.../commands/exec/project.json | 47 +
.../commands/exec/src/command.ts | 1 +
.../commands/exec/src/index.ts | 5 +
.../commands/exec/tsconfig.json | 6 +
.../commands/exec/tsconfig.lib.json | 10 +
.../commands/import/.gitignore | 4 +
.../commands}/import/CHANGELOG.md | 0
.../commands/import/package.json | 40 +
.../commands/import/project.json | 47 +
.../commands/import/src/command.ts | 1 +
.../commands/import/src/index.ts | 5 +
.../commands/import/tsconfig.json | 6 +
.../commands/import/tsconfig.lib.json | 10 +
.../legacy-structure/commands/info/.gitignore | 4 +
.../commands}/info/CHANGELOG.md | 0
.../commands}/info/package.json | 21 +-
.../commands/info/project.json | 47 +
.../commands/info/src/command.ts | 1 +
.../commands/info/src/index.ts | 5 +
.../commands/info/tsconfig.json | 6 +
.../commands/info/tsconfig.lib.json | 10 +
.../legacy-structure/commands/init/.gitignore | 4 +
.../commands}/init/CHANGELOG.md | 0
.../commands}/init/package.json | 24 +-
.../commands/init/project.json | 47 +
.../commands/init/src/command.ts | 1 +
.../commands/init/src/index.ts | 5 +
.../commands/init/tsconfig.json | 6 +
.../commands/init/tsconfig.lib.json | 10 +
.../legacy-structure/commands/link/.gitignore | 7 +
.../commands}/link/CHANGELOG.md | 0
.../packages/package-2/dist/cli.js | 0
.../packages/package-3/dist/cli1.js | 0
.../packages/package-3/dist/cli2.js | 0
.../commands}/link/package.json | 24 +-
.../commands/link/project.json | 47 +
.../commands/link/src/command.ts | 1 +
.../commands/link/src/index.ts | 5 +
.../commands/link/tsconfig.json | 6 +
.../commands/link/tsconfig.lib.json | 10 +
.../legacy-structure/commands/list/.gitignore | 4 +
.../commands}/list/CHANGELOG.md | 0
.../commands}/list/package.json | 20 +-
.../commands/list/project.json | 47 +
.../commands/list/src/command.ts | 1 +
.../commands/list/src/index.ts | 5 +
.../commands/list/tsconfig.json | 6 +
.../commands/list/tsconfig.lib.json | 10 +
.../commands/publish/.gitignore | 4 +
.../commands}/publish/CHANGELOG.md | 0
.../commands/publish}/package.json | 24 +-
.../commands/publish/project.json | 46 +
.../commands/publish/src/command.ts | 4 +
.../commands/publish/src/index.ts | 5 +
.../publish/src/lib/create-temp-licenses.ts | 1 +
.../commands/publish/src/lib/fetch-config.ts | 1 +
.../publish/src/lib/get-current-sha.ts | 1 +
.../publish/src/lib/get-current-tags.ts | 1 +
.../publish/src/lib/get-npm-username.ts | 1 +
.../src/lib/get-packages-without-license.ts | 1 +
.../publish/src/lib/get-profile-data.ts | 1 +
.../publish/src/lib/get-tagged-packages.ts | 1 +
.../src/lib/get-two-factor-auth-required.ts | 1 +
.../src/lib/get-unpublished-packages.ts | 1 +
.../commands/publish/src/lib/get-whoami.ts | 1 +
.../commands/publish/src/lib/git-checkout.ts | 1 +
.../publish/src/lib/remove-temp-licenses.ts | 1 +
.../src/lib/verify-npm-package-access.ts | 1 +
.../commands/publish/tsconfig.json | 10 +
.../commands/publish/tsconfig.lib.json | 9 +
.../legacy-structure/commands/run/.gitignore | 4 +
.../commands}/run/CHANGELOG.md | 0
.../commands/run/package.json | 40 +
.../commands/run/project.json | 47 +
.../commands/run/src/command.ts | 1 +
.../commands/run/src/index.ts | 5 +
.../commands/run/tsconfig.json | 6 +
.../commands/run/tsconfig.lib.json | 10 +
.../commands/version/.gitignore | 4 +
.../commands}/version/CHANGELOG.md | 0
.../commands/version/package.json | 40 +
.../commands/version/project.json | 47 +
.../commands/version/src/command.ts | 1 +
.../commands/version/src/index.ts | 5 +
.../version/src/lib/create-release.ts | 1 +
.../version/src/lib/get-current-branch.ts | 1 +
.../commands/version/src/lib/git-add.ts | 1 +
.../commands/version/src/lib/git-commit.ts | 1 +
.../commands/version/src/lib/git-push.ts | 1 +
.../commands/version/src/lib/git-tag.ts | 1 +
.../version/src/lib/is-anything-committed.ts | 1 +
.../version/src/lib/is-behind-upstream.ts | 1 +
.../version/src/lib/is-breaking-change.ts | 1 +
.../version/src/lib/prompt-version.ts | 1 +
.../version/src/lib/remote-branch-exists.ts | 1 +
.../src/lib/update-lockfile-version.ts | 2 +
.../commands/version/tsconfig.json | 6 +
.../commands/version/tsconfig.lib.json | 10 +
packages/lerna/.eslintrc.json | 18 +
{core => packages}/lerna/CHANGELOG.md | 0
{core => packages}/lerna/README.md | 2 +-
packages/lerna/jest.config.ts | 15 +
{core => packages}/lerna/migrations.json | 2 +-
packages/lerna/package.json | 131 +
packages/lerna/project.json | 118 +
.../lerna/schemas/lerna-schema.json | 0
.../lerna/cli.js => packages/lerna/src/cli.ts | 1 +
.../lerna/src}/commands/add-caching/README.md | 8 +-
.../lerna/src/commands/add-caching/command.ts | 18 +
.../lerna/src/commands/add-caching/index.ts | 76 +-
packages/lerna/src/commands/add/command.ts | 1 +
packages/lerna/src/commands/add/index.ts | 5 +
.../add/lib/get-range-to-reference.ts | 1 +
.../lerna/src/commands/bootstrap/command.ts | 1 +
.../lerna/src/commands/bootstrap/index.ts | 5 +
.../bootstrap/lib/has-dependency-installed.ts | 1 +
.../bootstrap/lib/is-hoisted-package.ts | 1 +
.../lerna/src/commands/changed/command.ts | 1 +
packages/lerna/src/commands/changed/index.ts | 5 +
packages/lerna/src/commands/clean/command.ts | 1 +
packages/lerna/src/commands/clean/index.ts | 5 +
packages/lerna/src/commands/diff/command.ts | 1 +
packages/lerna/src/commands/diff/index.ts | 5 +
.../src/commands/diff/lib/get-last-commit.ts | 1 +
.../lerna/src/commands/diff/lib/has-commit.ts | 1 +
packages/lerna/src/commands/exec/command.ts | 1 +
packages/lerna/src/commands/exec/index.ts | 5 +
packages/lerna/src/commands/import/command.ts | 1 +
packages/lerna/src/commands/import/index.ts | 5 +
packages/lerna/src/commands/info/command.ts | 1 +
packages/lerna/src/commands/info/index.ts | 5 +
packages/lerna/src/commands/init/command.ts | 1 +
packages/lerna/src/commands/init/index.ts | 5 +
packages/lerna/src/commands/link/command.ts | 1 +
packages/lerna/src/commands/link/index.ts | 5 +
packages/lerna/src/commands/list/command.ts | 1 +
packages/lerna/src/commands/list/index.ts | 5 +
.../lerna/src/commands/publish/command.ts | 1 +
packages/lerna/src/commands/publish/index.ts | 5 +
.../publish/lib/create-temp-licenses.ts | 1 +
.../src/commands/publish/lib/fetch-config.ts | 1 +
.../commands/publish/lib/get-current-sha.ts | 1 +
.../commands/publish/lib/get-current-tags.ts | 1 +
.../commands/publish/lib/get-npm-username.ts | 1 +
.../lib/get-packages-without-license.ts | 1 +
.../commands/publish/lib/get-profile-data.ts | 1 +
.../publish/lib/get-tagged-packages.ts | 1 +
.../lib/get-two-factor-auth-required.ts | 1 +
.../publish/lib/get-unpublished-packages.ts | 1 +
.../src/commands/publish/lib/get-whoami.ts | 1 +
.../src/commands/publish/lib/git-checkout.ts | 1 +
.../publish/lib/remove-temp-licenses.ts | 1 +
.../publish/lib/verify-npm-package-access.ts | 1 +
.../lerna/src}/commands/repair/README.md | 0
packages/lerna/src/commands/repair/command.ts | 28 +
packages/lerna/src/commands/repair/index.ts | 56 +
packages/lerna/src/commands/run/command.ts | 1 +
packages/lerna/src/commands/run/index.ts | 5 +
.../lerna/src/commands/version/command.ts | 1 +
packages/lerna/src/commands/version/index.ts | 5 +
.../commands/version/lib/create-release.ts | 1 +
.../version/lib/get-current-branch.ts | 1 +
.../lerna/src/commands/version/lib/git-add.ts | 1 +
.../src/commands/version/lib/git-commit.ts | 1 +
.../src/commands/version/lib/git-push.ts | 1 +
.../lerna/src/commands/version/lib/git-tag.ts | 1 +
.../version/lib/is-anything-committed.ts | 1 +
.../version/lib/is-behind-upstream.ts | 1 +
.../version/lib/is-breaking-change.ts | 1 +
.../commands/version/lib/prompt-version.ts | 1 +
.../version/lib/remote-branch-exists.ts | 1 +
.../version/lib/update-lockfile-version.ts | 2 +
.../lerna/src}/commands/watch/README.md | 0
packages/lerna/src/commands/watch/command.ts | 37 +
.../lerna/src/commands/watch/index.ts | 50 +-
packages/lerna/src/index.ts | 55 +
.../remove-unnecessary-use-nx.test.ts | 9 +-
.../remove-unnecessary-use-nx.ts | 7 +-
packages/lerna/tsconfig.json | 22 +
packages/lerna/tsconfig.lib.json | 10 +
packages/lerna/tsconfig.spec.json | 9 +
scripts/update_dependency.sh | 49 -
tools/patches/@nrwl+esbuild+15.5.2.patch | 26 +
{scripts => tools/scripts}/build.sh | 4 +
.../scripts}/e2e-build-package-publish.ts | 2 +-
.../scripts}/e2e-start-local-registry.js | 2 +-
.../scripts/lerna-release.ts | 25 +-
{scripts => tools/scripts}/local-registry.sh | 0
.../scripts}/local-registry/config.yml | 2 +-
{scripts => tools/scripts}/set-e2e-root.ts | 0
{scripts => tools/scripts}/tsconfig.e2e.json | 4 +-
.../scripts}/tsconfig.scripts.json | 4 +-
tsconfig.base.json | 37 +-
utils/check-working-tree/CHANGELOG.md | 246 -
utils/check-working-tree/README.md | 25 -
utils/check-working-tree/package.json | 37 -
utils/collect-uncommitted/CHANGELOG.md | 199 -
utils/collect-uncommitted/README.md | 26 -
.../lib/collect-uncommitted.js | 56 -
utils/collect-uncommitted/package.json | 40 -
utils/collect-updates/CHANGELOG.md | 418 -
utils/collect-updates/README.md | 9 -
utils/collect-updates/lib/collect-packages.js | 47 -
utils/collect-updates/lib/has-tags.js | 26 -
utils/collect-updates/package.json | 41 -
utils/create-symlink/CHANGELOG.md | 241 -
utils/create-symlink/README.md | 9 -
utils/create-symlink/package.json | 38 -
utils/describe-ref/CHANGELOG.md | 249 -
utils/describe-ref/README.md | 31 -
utils/describe-ref/package.json | 36 -
utils/filter-packages/CHANGELOG.md | 265 -
utils/filter-packages/README.md | 9 -
utils/filter-packages/package.json | 38 -
utils/get-npm-exec-opts/CHANGELOG.md | 218 -
utils/get-npm-exec-opts/README.md | 9 -
utils/get-npm-exec-opts/package.json | 36 -
utils/get-packed/CHANGELOG.md | 192 -
utils/get-packed/README.md | 9 -
utils/get-packed/__tests__/get-packed.test.js | 9 -
utils/get-packed/package.json | 37 -
utils/github-client/CHANGELOG.md | 220 -
utils/github-client/README.md | 9 -
utils/github-client/package.json | 40 -
utils/gitlab-client/CHANGELOG.md | 184 -
utils/gitlab-client/README.md | 9 -
utils/gitlab-client/package.json | 37 -
utils/has-npm-version/CHANGELOG.md | 214 -
utils/has-npm-version/README.md | 20 -
utils/has-npm-version/package.json | 34 -
utils/listable/CHANGELOG.md | 239 -
utils/listable/README.md | 27 -
utils/listable/index.js | 4 -
utils/listable/package.json | 36 -
utils/log-packed/CHANGELOG.md | 218 -
utils/log-packed/README.md | 19 -
utils/log-packed/package.json | 38 -
utils/map-to-registry/CHANGELOG.md | 194 -
utils/map-to-registry/README.md | 21 -
utils/map-to-registry/package.json | 43 -
utils/npm-conf/CHANGELOG.md | 233 -
utils/npm-conf/README.md | 9 -
utils/npm-conf/package.json | 42 -
utils/npm-dist-tag/CHANGELOG.md | 298 -
utils/npm-dist-tag/README.md | 9 -
utils/npm-dist-tag/package.json | 40 -
utils/npm-install/CHANGELOG.md | 321 -
utils/npm-install/README.md | 9 -
utils/npm-install/package.json | 42 -
utils/npm-publish/CHANGELOG.md | 403 -
utils/npm-publish/README.md | 9 -
utils/npm-publish/package.json | 43 -
utils/npm-run-script/CHANGELOG.md | 270 -
utils/npm-run-script/README.md | 9 -
utils/npm-run-script/package.json | 38 -
utils/output/CHANGELOG.md | 207 -
utils/output/README.md | 9 -
utils/output/output.js | 13 -
utils/output/package.json | 36 -
utils/pack-directory/CHANGELOG.md | 266 -
utils/pack-directory/README.md | 11 -
utils/pack-directory/package.json | 41 -
utils/prerelease-id-from-version/CHANGELOG.md | 185 -
utils/prerelease-id-from-version/README.md | 17 -
.../lib/prerelease-id-from-version.js | 13 -
utils/prerelease-id-from-version/package.json | 33 -
utils/profiler/CHANGELOG.md | 185 -
utils/profiler/README.md | 9 -
utils/profiler/package.json | 38 -
utils/pulse-till-done/CHANGELOG.md | 195 -
utils/pulse-till-done/README.md | 10 -
utils/pulse-till-done/package.json | 36 -
utils/query-graph/CHANGELOG.md | 200 -
utils/query-graph/README.md | 9 -
utils/query-graph/package.json | 36 -
utils/resolve-symlink/CHANGELOG.md | 227 -
utils/resolve-symlink/README.md | 9 -
utils/resolve-symlink/package.json | 38 -
utils/rimraf-dir/CHANGELOG.md | 270 -
utils/rimraf-dir/README.md | 15 -
utils/rimraf-dir/package.json | 39 -
utils/run-lifecycle/CHANGELOG.md | 303 -
utils/run-lifecycle/README.md | 9 -
utils/run-lifecycle/package.json | 39 -
utils/run-topologically/CHANGELOG.md | 198 -
utils/run-topologically/README.md | 9 -
utils/run-topologically/package.json | 37 -
utils/symlink-binary/CHANGELOG.md | 289 -
utils/symlink-binary/README.md | 9 -
utils/symlink-binary/package.json | 39 -
utils/symlink-dependencies/CHANGELOG.md | 290 -
utils/symlink-dependencies/README.md | 9 -
utils/symlink-dependencies/package.json | 41 -
utils/temp-write/CHANGELOG.md | 142 -
utils/temp-write/README.md | 9 -
utils/temp-write/package.json | 32 -
utils/timer/CHANGELOG.md | 182 -
utils/timer/README.md | 9 -
utils/timer/package.json | 33 -
utils/write-log-file/CHANGELOG.md | 208 -
utils/write-log-file/README.md | 9 -
utils/write-log-file/package.json | 37 -
website/docs/api-reference/commands.md | 142 +-
website/docs/faq.md | 6 +-
website/src/components/hero-lerna.tsx | 2 +-
website/src/pages/index.tsx | 2 +-
1593 files changed, 33162 insertions(+), 40120 deletions(-)
create mode 100644 .eslintignore
create mode 100644 .github/workflows/other-node-versions.yml
delete mode 100644 FAQ.md
delete mode 100644 commands/add/command.js
delete mode 100644 commands/add/package.json
delete mode 100644 commands/bootstrap/command.js
delete mode 100644 commands/bootstrap/package.json
delete mode 100644 commands/changed/command.js
delete mode 100644 commands/clean/command.js
delete mode 100644 commands/clean/package.json
delete mode 100644 commands/create/command.js
delete mode 100644 commands/diff/command.js
delete mode 100644 commands/exec/command.js
delete mode 100644 commands/exec/package.json
delete mode 100644 commands/import/__tests__/__fixtures__/multi-packages/lerna.json
delete mode 100644 commands/import/command.js
delete mode 100644 commands/import/package.json
delete mode 100644 commands/info/README.md
delete mode 100644 commands/info/__tests__/info-command.test.js
delete mode 100644 commands/info/command.js
delete mode 100644 commands/init/command.js
delete mode 100644 commands/link/command.js
delete mode 100644 commands/list/__tests__/__fixtures__/extra/lerna.json
delete mode 100644 commands/list/command.js
delete mode 100644 commands/list/index.js
delete mode 100644 commands/publish/__tests__/get-current-sha.test.js
delete mode 100644 commands/publish/command.js
delete mode 100644 commands/publish/lib/__mocks__/get-npm-username.js
delete mode 100644 commands/publish/lib/__mocks__/get-packages-without-license.js
delete mode 100644 commands/publish/lib/__mocks__/get-two-factor-auth-required.js
delete mode 100644 commands/publish/lib/__mocks__/get-unpublished-packages.js
delete mode 100644 commands/publish/lib/__mocks__/verify-npm-package-access.js
delete mode 100644 commands/publish/package.json
delete mode 100644 commands/run/__tests__/__fixtures__/powered-by-nx/nx.json
delete mode 100644 commands/run/__tests__/__fixtures__/powered-by-nx/package.json
delete mode 100644 commands/run/__tests__/__fixtures__/powered-by-nx/packages/package-1/package.json
delete mode 100644 commands/run/command.js
delete mode 100644 commands/run/package.json
delete mode 100644 commands/version/__tests__/version-ignore-changes.test.js
delete mode 100644 commands/version/__tests__/version-message.test.js
delete mode 100644 commands/version/command.js
delete mode 100644 commands/version/lib/__mocks__/git-add.js
delete mode 100644 commands/version/lib/__mocks__/git-commit.js
delete mode 100644 commands/version/lib/__mocks__/git-push.js
delete mode 100644 commands/version/lib/__mocks__/git-tag.js
delete mode 100644 commands/version/lib/__mocks__/is-anything-committed.js
delete mode 100644 commands/version/lib/__mocks__/is-behind-upstream.js
delete mode 100644 commands/version/lib/__mocks__/remote-branch-exists.js
delete mode 100644 commands/version/package.json
delete mode 100644 core/cli/CHANGELOG.md
delete mode 100644 core/cli/README.md
delete mode 100644 core/cli/index.js
delete mode 100644 core/command/CHANGELOG.md
delete mode 100644 core/command/README.md
delete mode 100644 core/command/package.json
delete mode 100644 core/conventional-commits/CHANGELOG.md
delete mode 100644 core/conventional-commits/README.md
delete mode 100644 core/conventional-commits/index.js
delete mode 100644 core/conventional-commits/lib/constants.js
delete mode 100644 core/conventional-commits/lib/read-existing-changelog.js
delete mode 100644 core/conventional-commits/package.json
delete mode 100644 core/filter-options/CHANGELOG.md
delete mode 100644 core/filter-options/README.md
delete mode 100644 core/filter-options/index.js
delete mode 100644 core/filter-options/lib/get-filtered-packages.js
delete mode 100644 core/filter-options/package.json
delete mode 100644 core/global-options/CHANGELOG.md
delete mode 100644 core/global-options/README.md
delete mode 100644 core/global-options/index.js
delete mode 100644 core/global-options/package.json
delete mode 100644 core/lerna/__fixtures__/local-install/node_modules/@lerna/cli/index.js
delete mode 100644 core/lerna/__fixtures__/local-install/node_modules/lerna/cli.js
delete mode 100644 core/lerna/__tests__/cli.test.js
delete mode 100644 core/lerna/commands/add-caching/command.js
delete mode 100644 core/lerna/commands/repair/command.js
delete mode 100644 core/lerna/commands/repair/index.js
delete mode 100644 core/lerna/commands/watch/command.js
delete mode 100644 core/lerna/index.js
delete mode 100644 core/lerna/package.json
delete mode 100644 core/otplease/CHANGELOG.md
delete mode 100644 core/otplease/README.md
delete mode 100644 core/package-graph/CHANGELOG.md
delete mode 100644 core/package-graph/README.md
delete mode 100644 core/package-graph/__tests__/package-graph.test.js
delete mode 100644 core/package-graph/package.json
delete mode 100644 core/package/CHANGELOG.md
delete mode 100644 core/package/README.md
delete mode 100644 core/project/CHANGELOG.md
delete mode 100644 core/project/README.md
delete mode 100644 core/project/package.json
delete mode 100644 core/prompt/CHANGELOG.md
delete mode 100644 core/prompt/README.md
delete mode 100644 core/prompt/package.json
delete mode 100644 core/validation-error/CHANGELOG.md
delete mode 100644 core/validation-error/README.md
delete mode 100644 core/validation-error/package.json
delete mode 100644 helpers/fixtures.js
delete mode 100644 helpers/index.js
delete mode 100644 helpers/package.json
delete mode 100644 helpers/setup-integration-timeout.js
delete mode 100644 helpers/setup-unit-test-timeout.js
create mode 100644 integration/.babelrc
create mode 100644 integration/.eslintrc.json
create mode 100644 integration/README.md
rename integration/{ => __tests__}/__fixtures__/exec-test (100%)
rename integration/{ => __tests__}/__fixtures__/exec-test.cmd (100%)
rename integration/{ => __tests__}/__fixtures__/exec-test.js (100%)
rename {commands/version/__tests__/__fixtures__/lockfile-v2-missing-local-deps => integration/__tests__/__fixtures__/lerna-add}/lerna.json (100%)
rename {commands/add/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-add}/package.json (100%)
rename {commands/add/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-add}/packages/package-1/package.json (100%)
rename {commands/add/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-add}/packages/package-2/package.json (100%)
rename {commands/add/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-add}/packages/package-3/package.json (100%)
rename {commands/add/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-add}/packages/package-4/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/lerna.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-1/.gitignore (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-1/build.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-1/index.src.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-1/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-2/cli.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-2/index.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-2/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-3/cli1.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-3/cli2.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-3/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package-4/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-bootstrap/package.json (100%)
rename integration/{__fixtures__/lerna-add => __tests__/__fixtures__/lerna-clean}/lerna.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/extra => integration/__tests__/__fixtures__/lerna-clean}/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-clean}/packages/package-1/node_modules/.gitkeep (100%)
rename {commands/bootstrap/__tests__/__fixtures__/duplicate-package-names => integration/__tests__/__fixtures__/lerna-clean}/packages/package-1/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-clean}/packages/package-2/node_modules/.gitkeep (100%)
rename {commands/bootstrap/__tests__/__fixtures__/peer => integration/__tests__/__fixtures__/lerna-clean}/packages/package-2/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-clean}/packages/package-3/package.json (100%)
rename {commands/add/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-exec}/lerna.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/npm-client-args-1 => integration/__tests__/__fixtures__/lerna-exec}/package.json (100%)
rename {commands/exec/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-exec}/packages/package-1/file-1.js (100%)
rename {commands/exec/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-exec}/packages/package-1/package.json (100%)
rename {commands/exec/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-exec}/packages/package-2/file-2.js (100%)
rename {commands/exec/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-exec}/packages/package-2/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-generated-build-tool/.gitignore (100%)
rename {commands/add/__tests__/__fixtures__/existing => integration/__tests__/__fixtures__/lerna-generated-build-tool}/lerna.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-generated-build-tool/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-generated-build-tool/packages/build-tool/generate-build-tool.js (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-generated-build-tool/packages/build-tool/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-generated-build-tool/packages/buildable/package.json (100%)
rename {commands/import/__tests__/__fixtures__/external => integration/__tests__/__fixtures__/lerna-import-external}/old-file (100%)
rename {commands/import/__tests__/__fixtures__/external => integration/__tests__/__fixtures__/lerna-import-external}/package.json (100%)
rename {commands/add/__tests__/__fixtures__/unchanged => integration/__tests__/__fixtures__/lerna-import}/lerna.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/npm-client-args-2 => integration/__tests__/__fixtures__/lerna-import}/package.json (100%)
rename {commands/import/__tests__/__fixtures__/basic => integration/__tests__/__fixtures__/lerna-import}/packages/.keep (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-init/.gitignore (100%)
rename {commands/init/__tests__/__fixtures__/updates => integration/__tests__/__fixtures__/lerna-init}/lerna.json (100%)
rename {commands/init/__tests__/__fixtures__/updates => integration/__tests__/__fixtures__/lerna-init}/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/relative-independent => integration/__tests__/__fixtures__/lerna-ls}/lerna.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-ls/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-ls/packages/pkg-1/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-ls/packages/pkg-2/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-ls/packages/pkg-3/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-ls/packages/pkg-4/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/ci => integration/__tests__/__fixtures__/lerna-run}/lerna.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-run/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-run/packages/package-1/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-run/packages/package-2/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-run/packages/package-3/package.json (100%)
rename integration/{ => __tests__}/__fixtures__/lerna-run/packages/package-4/package.json (100%)
create mode 100644 integration/__tests__/lerna-add.spec.ts
rename integration/{lerna-bootstrap-ci.test.js => __tests__/lerna-bootstrap-ci.spec.ts} (71%)
rename integration/{lerna-bootstrap-hoist.test.js => __tests__/lerna-bootstrap-hoist.spec.ts} (92%)
rename integration/{lerna-bootstrap-legacy.test.js => __tests__/lerna-bootstrap-legacy.spec.ts} (90%)
rename integration/{lerna-bootstrap-yarn.test.js => __tests__/lerna-bootstrap-yarn.spec.ts} (84%)
rename integration/{lerna-changed.test.js => __tests__/lerna-changed.spec.ts} (88%)
rename integration/{lerna-clean.test.js => __tests__/lerna-clean.spec.ts} (79%)
rename integration/{lerna-exec-since.test.js => __tests__/lerna-exec-since.spec.ts} (88%)
rename integration/{lerna-exec.test.js => __tests__/lerna-exec.spec.ts} (95%)
rename integration/{lerna-import.test.js => __tests__/lerna-import.spec.ts} (71%)
rename integration/{lerna-init.test.js => __tests__/lerna-init.spec.ts} (83%)
rename integration/{lerna-link-sibling-bins.test.js => __tests__/lerna-link-sibling-bins.spec.ts} (78%)
rename integration/{lerna-ls.test.js => __tests__/lerna-ls.spec.ts} (92%)
rename integration/{lerna-publish-auth.test.js => __tests__/lerna-publish-auth.spec.ts} (78%)
rename integration/{lerna-publish-canary.test.js => __tests__/lerna-publish-canary.spec.ts} (78%)
rename integration/{lerna-publish-conventional-fixed-prerelease.test.js => __tests__/lerna-publish-conventional-fixed-prerelease.spec.ts} (94%)
rename integration/{lerna-publish-conventional-fixed.test.js => __tests__/lerna-publish-conventional-fixed.spec.ts} (90%)
rename integration/{lerna-publish-conventional-independent-prerelease.test.js => __tests__/lerna-publish-conventional-independent-prerelease.spec.ts} (94%)
rename integration/{lerna-publish-conventional-independent.test.js => __tests__/lerna-publish-conventional-independent.spec.ts} (89%)
rename integration/{lerna-publish-custom-tag.test.js => __tests__/lerna-publish-custom-tag.spec.ts} (60%)
rename integration/{lerna-publish-error.test.js => __tests__/lerna-publish-error.spec.ts} (62%)
rename integration/{lerna-publish-fixed.test.js => __tests__/lerna-publish-fixed.spec.ts} (86%)
rename integration/{lerna-publish-independent.test.js => __tests__/lerna-publish-independent.spec.ts} (86%)
rename integration/{lerna-publish-lifecycle-errors.test.js => __tests__/lerna-publish-lifecycle-errors.spec.ts} (73%)
rename integration/{lerna-publish-lifecycle-silent.test.js => __tests__/lerna-publish-lifecycle-silent.spec.ts} (79%)
rename integration/{lerna-publish-lifecycle.test.js => __tests__/lerna-publish-lifecycle.spec.ts} (93%)
rename integration/{lerna-publish-relative-file-spec.test.js => __tests__/lerna-publish-relative-file-spec.spec.ts} (83%)
rename integration/{lerna-publish-skip-npm.test.js => __tests__/lerna-publish-skip-npm.spec.ts} (60%)
rename integration/{lerna-publish-transitive.test.js => __tests__/lerna-publish-transitive.spec.ts} (82%)
rename integration/{lerna-publish-validation.test.js => __tests__/lerna-publish-validation.spec.ts} (68%)
rename integration/{lerna-run-since.test.js => __tests__/lerna-run-since.spec.ts} (88%)
rename integration/{lerna-run.test.js => __tests__/lerna-run.spec.ts} (95%)
create mode 100644 integration/jest.config.ts
delete mode 100644 integration/lerna-add.test.js
create mode 100644 integration/project.json
create mode 100644 integration/tsconfig.json
create mode 100644 integration/tsconfig.lib.json
create mode 100644 integration/tsconfig.spec.json
delete mode 100644 jest.config.js
create mode 100644 jest.config.ts
delete mode 100644 jest.integration.js
create mode 100644 libs/commands/add/.babelrc
create mode 100644 libs/commands/add/.eslintrc.json
rename {commands => libs/commands}/add/README.md (100%)
rename {commands/add/__tests__/__fixtures__/unspecified-version => libs/commands/add/__fixtures__/basic}/lerna.json (100%)
rename {commands/add/__tests__/__fixtures__/unchanged => libs/commands/add/__fixtures__/basic}/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/force-local => libs/commands/add/__fixtures__/basic}/packages/package-1/package.json (100%)
rename {commands/add/__tests__/__fixtures__/unspecified-version => libs/commands/add/__fixtures__/basic}/packages/package-2/package.json (100%)
rename {commands/list/__tests__/__fixtures__/filtering => libs/commands/add/__fixtures__/basic}/packages/package-3/package.json (100%)
rename {commands/list/__tests__/__fixtures__/filtering => libs/commands/add/__fixtures__/basic}/packages/package-4/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/cold => libs/commands/add/__fixtures__/existing}/lerna.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/existing/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/existing/packages/package-1/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/existing/packages/package-2/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/existing/packages/package-3/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/pnpm/lerna.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/pnpm/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/pnpm/packages/package-1/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/pnpm/packages/package-2/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/pnpm/pnpm-workspace.yaml (100%)
rename {commands/bootstrap/__tests__/__fixtures__/duplicate-package-names => libs/commands/add/__fixtures__/unchanged}/lerna.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/basic => libs/commands/add/__fixtures__/unchanged}/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/unchanged/packages/package-1/package.json (51%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/unchanged/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/ignored-scripts => libs/commands/add/__fixtures__/unspecified-version}/lerna.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/unspecified-version/package.json (100%)
rename {commands/add/__tests__ => libs/commands/add}/__fixtures__/unspecified-version/packages/package-1/package.json (100%)
rename {integration/__fixtures__/lerna-add => libs/commands/add/__fixtures__/unspecified-version}/packages/package-2/package.json (100%)
create mode 100644 libs/commands/add/jest.config.ts
create mode 100644 libs/commands/add/project.json
create mode 100644 libs/commands/add/src/command.ts
rename commands/add/index.js => libs/commands/add/src/index.ts (90%)
rename commands/add/__tests__/add-command.test.js => libs/commands/add/src/lib/add-command.spec.ts (88%)
rename commands/add/lib/get-range-to-reference.js => libs/commands/add/src/lib/get-range-to-reference.ts (88%)
create mode 100644 libs/commands/add/tsconfig.json
create mode 100644 libs/commands/add/tsconfig.lib.json
create mode 100644 libs/commands/add/tsconfig.spec.json
create mode 100644 libs/commands/bootstrap/.babelrc
create mode 100644 libs/commands/bootstrap/.eslintrc.json
rename {commands => libs/commands}/bootstrap/README.md (99%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/lerna.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/force-local => libs/commands/bootstrap/__fixtures__/basic}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-2/cli.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-3/cli1.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-3/cli2.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-3/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/basic/packages/package-4/package.json (100%)
rename {integration/__fixtures__/lerna-run => libs/commands/bootstrap/__fixtures__/ci}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ci/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ci/packages/package-1/package-lock.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ci/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/lifecycle-scripts => libs/commands/bootstrap/__fixtures__/cold}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/cold/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/cold/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/cold/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/cold/packages/package-3/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/npm-client-args-1 => libs/commands/bootstrap/__fixtures__/duplicate-package-names}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/duplicate-package-names/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/duplicate-package-names/packages/package-2 => libs/commands/bootstrap/__fixtures__/duplicate-package-names/packages/package-1}/package.json (100%)
rename {commands/changed/__tests__/__fixtures__/basic/packages/package-1 => libs/commands/bootstrap/__fixtures__/duplicate-package-names/packages/package-2}/package.json (100%)
create mode 100644 libs/commands/bootstrap/__fixtures__/extra/lerna.json
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/package-3/cli1.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/package-3/cli2.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/package-3/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/peer => libs/commands/bootstrap/__fixtures__/extra}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/packages/package-1/index.src.js (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/packages/package-2/cli.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/extra/packages/package-4/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/lerna.json (100%)
rename {integration/__fixtures__/lerna-add => libs/commands/bootstrap/__fixtures__/force-local}/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/bootstrap/__fixtures__/force-local}/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/packages/package-2/cli.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/packages/package-3/cli1.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/packages/package-3/cli2.js (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/packages/package-3/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/force-local/packages/package-4/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/peer => libs/commands/bootstrap/__fixtures__/ignored-scripts}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ignored-scripts/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ignored-scripts/packages/package-postinstall/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ignored-scripts/packages/package-preinstall/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ignored-scripts/packages/package-prepare/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/ignored-scripts/packages/package-prepublish/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/relative-file-specs => libs/commands/bootstrap/__fixtures__/lifecycle-scripts}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/lifecycle-scripts/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/lifecycle-scripts/packages/package-postinstall/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/lifecycle-scripts/packages/package-preinstall/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/lifecycle-scripts/packages/package-prepublish/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/tepid => libs/commands/bootstrap/__fixtures__/npm-client-args-1}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/npm-client-args-1/npm (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__/__fixtures__/tepid => libs/commands/bootstrap/__fixtures__/npm-client-args-1}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/npm-client-args-1/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/npm-client-args-2/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/npm-client-args-2/npm (100%)
mode change 100755 => 100644
rename {commands/bootstrap/__tests__/__fixtures__/warm => libs/commands/bootstrap/__fixtures__/npm-client-args-2}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/npm-client-args-2/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__/__fixtures__/warm => libs/commands/bootstrap/__fixtures__/peer}/lerna.json (100%)
rename {commands/changed/__tests__/__fixtures__/basic => libs/commands/bootstrap/__fixtures__/peer}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/peer/packages/package-1/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/basic => libs/commands/bootstrap/__fixtures__/peer}/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/pnpm/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/pnpm/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/pnpm/pnpm-workspace.yaml (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/registries/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/registries/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/registries/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/relative-file-specs/.gitignore (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/relative-file-specs/.npmrc (100%)
rename {commands/bootstrap/__tests__/__fixtures__/zero-pkgs => libs/commands/bootstrap/__fixtures__/relative-file-specs}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/relative-file-specs/package-lock.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/relative-file-specs/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/relative-file-specs/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/relative-file-specs/packages/package-2/package.json (100%)
rename {commands/changed/__tests__/__fixtures__/basic => libs/commands/bootstrap/__fixtures__/tepid}/lerna.json (100%)
rename {commands/changed/__tests__/__fixtures__/circular => libs/commands/bootstrap/__fixtures__/tepid}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/tepid/packages/package-1/node_modules/external-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/tepid/packages/package-1/package.json (100%)
rename {commands/changed/__tests__/__fixtures__/circular => libs/commands/bootstrap/__fixtures__/warm}/lerna.json (100%)
rename {commands/clean/__tests__/__fixtures__/basic => libs/commands/bootstrap/__fixtures__/warm}/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/warm/packages/package-1/node_modules/external/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/warm/packages/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/warm/packages/package-2/node_modules/external/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/warm/packages/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-hoist/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-hoist/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces-cyclic/.yarnrc (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces-cyclic/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces-cyclic/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces-cyclic/workspaces/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces-cyclic/workspaces/package-2/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces/.yarnrc (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/yarn-workspaces/workspaces/package-1/package.json (100%)
create mode 100644 libs/commands/bootstrap/__fixtures__/yarn-workspaces/workspaces/package-2/package.json
rename {commands/clean/__tests__/__fixtures__/basic => libs/commands/bootstrap/__fixtures__/zero-pkgs}/lerna.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/bootstrap}/__fixtures__/zero-pkgs/package.json (100%)
create mode 100644 libs/commands/bootstrap/jest.config.ts
create mode 100644 libs/commands/bootstrap/project.json
create mode 100644 libs/commands/bootstrap/src/command.ts
rename commands/bootstrap/index.js => libs/commands/bootstrap/src/index.ts (94%)
rename commands/bootstrap/__tests__/__snapshots__/bootstrap-command.test.js.snap => libs/commands/bootstrap/src/lib/__snapshots__/bootstrap-command.spec.ts.snap (100%)
rename commands/bootstrap/__tests__/bootstrap-command.test.js => libs/commands/bootstrap/src/lib/bootstrap-command.spec.ts (92%)
rename commands/bootstrap/lib/has-dependency-installed.js => libs/commands/bootstrap/src/lib/has-dependency-installed.ts (85%)
rename commands/bootstrap/lib/is-hoisted-package.js => libs/commands/bootstrap/src/lib/is-hoisted-package.ts (78%)
create mode 100644 libs/commands/bootstrap/tsconfig.json
create mode 100644 libs/commands/bootstrap/tsconfig.lib.json
create mode 100644 libs/commands/bootstrap/tsconfig.spec.json
create mode 100644 libs/commands/changed/.babelrc
create mode 100644 libs/commands/changed/.eslintrc.json
rename {commands => libs/commands}/changed/README.md (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/changed/__fixtures__/basic}/lerna.json (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/changed/__fixtures__/basic}/package.json (100%)
rename {commands/changed/__tests__/__fixtures__/circular => libs/commands/changed/__fixtures__/basic}/packages/package-1/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/basic/packages/package-2/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/basic/packages/package-3/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/basic/packages/package-4/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/basic/packages/package-5/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/integration => libs/commands/changed/__fixtures__/circular}/lerna.json (100%)
rename {commands/diff/__tests__/__fixtures__/basic => libs/commands/changed/__fixtures__/circular}/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/basic => libs/commands/changed/__fixtures__/circular}/packages/package-1/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/circular/packages/package-2/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/circular/packages/package-3/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/circular/packages/package-4/package.json (100%)
rename {commands/changed/__tests__ => libs/commands/changed}/__fixtures__/circular/packages/package-5/package.json (100%)
create mode 100644 libs/commands/changed/jest.config.ts
create mode 100644 libs/commands/changed/project.json
create mode 100644 libs/commands/changed/src/command.ts
rename commands/changed/index.js => libs/commands/changed/src/index.ts (77%)
rename commands/changed/__tests__/changed-command.test.js => libs/commands/changed/src/lib/changed-command.spec.ts (84%)
create mode 100644 libs/commands/changed/tsconfig.json
create mode 100644 libs/commands/changed/tsconfig.lib.json
create mode 100644 libs/commands/changed/tsconfig.spec.json
create mode 100644 libs/commands/clean/.babelrc
create mode 100644 libs/commands/clean/.eslintrc.json
rename {commands => libs/commands}/clean/README.md (99%)
rename {commands/diff/__tests__ => libs/commands/clean}/__fixtures__/basic/lerna.json (100%)
rename {commands/exec/__tests__ => libs/commands/clean}/__fixtures__/basic/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/basic}/packages/package-1/node_modules/.gitkeep (100%)
rename {commands/list/__tests__ => libs/commands/clean}/__fixtures__/basic/packages/package-1/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/basic}/packages/package-2/node_modules/.gitkeep (100%)
rename {commands/publish/__tests__/__fixtures__/no-interdependencies => libs/commands/clean/__fixtures__/basic}/packages/package-2/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/basic}/packages/package-3/package.json (100%)
rename {commands/exec/__tests__/__fixtures__/basic => libs/commands/clean/__fixtures__/include-filtered-dependencies}/lerna.json (100%)
rename {commands/exec/__tests__ => libs/commands/clean}/__fixtures__/include-filtered-dependencies/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/include-filtered-dependencies/packages/package-3 => libs/commands/clean/__fixtures__/include-filtered-dependencies/packages/package-1}/node_modules/.gitkeep (100%)
rename {commands/clean/__tests__/__fixtures__/integration => libs/commands/clean/__fixtures__/include-filtered-dependencies}/packages/package-1/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/integration/packages/package-1 => libs/commands/clean/__fixtures__/include-filtered-dependencies/packages/package-2}/node_modules/.gitkeep (100%)
rename {commands/clean/__tests__/__fixtures__/integration => libs/commands/clean/__fixtures__/include-filtered-dependencies}/packages/package-2/package.json (71%)
rename {commands/clean/__tests__/__fixtures__/integration/packages/package-2 => libs/commands/clean/__fixtures__/include-filtered-dependencies/packages/package-3}/node_modules/.gitkeep (100%)
rename {commands/clean/__tests__/__fixtures__/integration => libs/commands/clean/__fixtures__/include-filtered-dependencies}/packages/package-3/package.json (100%)
rename {commands/exec/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/integration}/lerna.json (100%)
rename {commands/clean/__tests__ => libs/commands/clean}/__fixtures__/integration/package.json (100%)
rename {commands/clean/__tests__/__fixtures__/integration/packages/package-3 => libs/commands/clean/__fixtures__/integration/packages/package-1}/node_modules/.gitkeep (100%)
rename {commands/exec/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/integration}/packages/package-1/package.json (100%)
rename {integration/__fixtures__/lerna-clean/packages/package-1 => libs/commands/clean/__fixtures__/integration/packages/package-2}/node_modules/.gitkeep (100%)
rename {commands/exec/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/integration}/packages/package-2/package.json (71%)
rename {integration/__fixtures__/lerna-clean/packages/package-2 => libs/commands/clean/__fixtures__/integration/packages/package-3}/node_modules/.gitkeep (100%)
rename {commands/exec/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/clean/__fixtures__/integration}/packages/package-3/package.json (100%)
create mode 100644 libs/commands/clean/jest.config.ts
create mode 100644 libs/commands/clean/project.json
create mode 100644 libs/commands/clean/src/command.ts
rename commands/clean/index.js => libs/commands/clean/src/index.ts (74%)
rename commands/clean/__tests__/clean-command.test.js => libs/commands/clean/src/lib/clean-command.spec.ts (82%)
create mode 100644 libs/commands/clean/tsconfig.json
create mode 100644 libs/commands/clean/tsconfig.lib.json
create mode 100644 libs/commands/clean/tsconfig.spec.json
create mode 100644 libs/commands/create/.babelrc
create mode 100644 libs/commands/create/.eslintrc.json
rename {commands => libs/commands}/create/README.md (100%)
create mode 100644 libs/commands/create/project.json
create mode 100644 libs/commands/create/src/command.ts
rename commands/create/index.js => libs/commands/create/src/index.ts (94%)
rename commands/create/lib/builtin-npmrc.js => libs/commands/create/src/lib/builtin-npmrc.ts (82%)
rename commands/create/lib/cat-file.js => libs/commands/create/src/lib/cat-file.ts (81%)
rename {commands/create => libs/commands/create/src}/lib/lerna-module-data.js (100%)
create mode 100644 libs/commands/create/tsconfig.json
create mode 100644 libs/commands/create/tsconfig.lib.json
create mode 100644 libs/commands/diff/.babelrc
create mode 100644 libs/commands/diff/.eslintrc.json
rename {commands => libs/commands}/diff/README.md (100%)
rename {commands/import/__tests__ => libs/commands/diff}/__fixtures__/basic/lerna.json (100%)
rename {commands/import/__tests__ => libs/commands/diff}/__fixtures__/basic/package.json (100%)
rename {commands/diff/__tests__ => libs/commands/diff}/__fixtures__/basic/packages/package-1/package.json (100%)
rename {commands/diff/__tests__ => libs/commands/diff}/__fixtures__/basic/packages/package-2/package.json (100%)
create mode 100644 libs/commands/diff/jest.config.ts
create mode 100644 libs/commands/diff/project.json
create mode 100644 libs/commands/diff/src/command.ts
rename commands/diff/index.js => libs/commands/diff/src/index.ts (80%)
rename commands/diff/__tests__/__snapshots__/diff-command.test.js.snap => libs/commands/diff/src/lib/__snapshots__/diff-command.spec.ts.snap (100%)
rename commands/diff/__tests__/diff-command.test.js => libs/commands/diff/src/lib/diff-command.spec.ts (61%)
rename commands/diff/lib/get-last-commit.js => libs/commands/diff/src/lib/get-last-commit.ts (64%)
rename commands/diff/lib/has-commit.js => libs/commands/diff/src/lib/has-commit.ts (65%)
create mode 100644 libs/commands/diff/tsconfig.json
create mode 100644 libs/commands/diff/tsconfig.lib.json
create mode 100644 libs/commands/diff/tsconfig.spec.json
create mode 100644 libs/commands/exec/.babelrc
create mode 100644 libs/commands/exec/.eslintrc.json
rename {commands => libs/commands}/exec/README.md (100%)
rename {commands/import/__tests__/__fixtures__/lerna-not-in-root/subdir => libs/commands/exec/__fixtures__/basic}/lerna.json (100%)
rename {commands/import/__tests__/__fixtures__/lerna-not-in-root/subdir => libs/commands/exec/__fixtures__/basic}/package.json (100%)
rename {integration/__fixtures__/lerna-exec => libs/commands/exec/__fixtures__/basic}/packages/package-1/file-1.js (100%)
rename {integration/__fixtures__/lerna-exec => libs/commands/exec/__fixtures__/basic}/packages/package-1/package.json (100%)
rename {integration/__fixtures__/lerna-exec => libs/commands/exec/__fixtures__/basic}/packages/package-2/file-2.js (100%)
rename {integration/__fixtures__/lerna-exec => libs/commands/exec/__fixtures__/basic}/packages/package-2/package.json (100%)
rename {commands/link/__tests__/__fixtures__/basic => libs/commands/exec/__fixtures__/include-filtered-dependencies}/lerna.json (100%)
rename {commands/link/__tests__/__fixtures__/basic => libs/commands/exec/__fixtures__/include-filtered-dependencies}/package.json (100%)
rename {commands/link/__tests__/__fixtures__/basic => libs/commands/exec/__fixtures__/include-filtered-dependencies}/packages/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/exec}/__fixtures__/include-filtered-dependencies/packages/package-2/package.json (71%)
rename {commands/list/__tests__ => libs/commands/exec}/__fixtures__/include-filtered-dependencies/packages/package-3/package.json (100%)
create mode 100644 libs/commands/exec/jest.config.ts
create mode 100644 libs/commands/exec/project.json
create mode 100644 libs/commands/exec/src/command.ts
rename commands/exec/index.js => libs/commands/exec/src/index.ts (91%)
rename commands/exec/__tests__/exec-command.test.js => libs/commands/exec/src/lib/exec-command.spec.ts (92%)
create mode 100644 libs/commands/exec/tsconfig.json
create mode 100644 libs/commands/exec/tsconfig.lib.json
create mode 100644 libs/commands/exec/tsconfig.spec.json
create mode 100644 libs/commands/import/.babelrc
create mode 100644 libs/commands/import/.eslintrc.json
rename {commands => libs/commands}/import/README.md (97%)
rename {commands/link/__tests__/__fixtures__/with-contents => libs/commands/import/__fixtures__/basic}/lerna.json (100%)
rename {commands/link/__tests__/__fixtures__/force-local => libs/commands/import/__fixtures__/basic}/package.json (100%)
rename {commands/import/__tests__/__fixtures__/lerna-not-in-root/subdir => libs/commands/import/__fixtures__/basic}/packages/.keep (100%)
rename {integration/__fixtures__/lerna-import-external => libs/commands/import/__fixtures__/external}/old-file (100%)
rename {integration/__fixtures__/lerna-import-external => libs/commands/import/__fixtures__/external}/package.json (100%)
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/files-with-non-ascii-char/package.json (100%)
rename "commands/import/__tests__/__fixtures__/files-with-non-ascii-char/\346\252\224\346\241\210" => "libs/commands/import/__fixtures__/files-with-non-ascii-char/\346\252\224\346\241\210" (100%)
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/files-with-spaces/file with spaces (100%)
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/files-with-spaces/package.json (100%)
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/files-with-spaces/subfolder b/file (100%)
rename {commands/list/__tests__/__fixtures__/basic => libs/commands/import/__fixtures__/lerna-not-in-root/subdir}/lerna.json (100%)
rename {commands/link/__tests__/__fixtures__/with-contents => libs/commands/import/__fixtures__/lerna-not-in-root/subdir}/package.json (100%)
rename {integration/__fixtures__/lerna-import => libs/commands/import/__fixtures__/lerna-not-in-root/subdir}/packages/.keep (100%)
create mode 100644 libs/commands/import/__fixtures__/multi-packages/lerna.json
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/multi-packages/package.json (93%)
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/root-packages/lerna.json (100%)
rename {commands/import/__tests__ => libs/commands/import}/__fixtures__/root-packages/package.json (100%)
create mode 100644 libs/commands/import/jest.config.ts
create mode 100644 libs/commands/import/project.json
create mode 100644 libs/commands/import/src/command.ts
rename commands/import/index.js => libs/commands/import/src/index.ts (93%)
rename commands/import/__tests__/import-command.test.js => libs/commands/import/src/lib/import-command.spec.ts (94%)
create mode 100644 libs/commands/import/tsconfig.json
create mode 100644 libs/commands/import/tsconfig.lib.json
create mode 100644 libs/commands/import/tsconfig.spec.json
create mode 100644 libs/commands/info/.babelrc
create mode 100644 libs/commands/info/.eslintrc.json
create mode 100644 libs/commands/info/README.md
rename {commands/list/__tests__/__fixtures__/cycles-and-repeated-deps => libs/commands/info/__fixtures__/basic}/lerna.json (100%)
create mode 100644 libs/commands/info/__fixtures__/basic/package.json
create mode 100644 libs/commands/info/jest.config.ts
create mode 100644 libs/commands/info/project.json
create mode 100644 libs/commands/info/src/command.ts
rename commands/info/index.js => libs/commands/info/src/index.ts (54%)
create mode 100644 libs/commands/info/src/lib/info-command.spec.ts
create mode 100644 libs/commands/info/tsconfig.json
create mode 100644 libs/commands/info/tsconfig.lib.json
create mode 100644 libs/commands/info/tsconfig.spec.json
create mode 100644 libs/commands/init/.babelrc
create mode 100644 libs/commands/init/.eslintrc.json
rename {commands => libs/commands}/init/README.md (100%)
rename {commands/init/__tests__ => libs/commands/init}/__fixtures__/empty/DELETE_ME (100%)
rename {commands/init/__tests__ => libs/commands/init}/__fixtures__/has-lerna/lerna.json (100%)
rename {commands/init/__tests__ => libs/commands/init}/__fixtures__/has-package/package.json (100%)
rename {integration/__fixtures__/lerna-init => libs/commands/init/__fixtures__/updates}/lerna.json (100%)
rename {integration/__fixtures__/lerna-init => libs/commands/init/__fixtures__/updates}/package.json (100%)
create mode 100644 libs/commands/init/jest.config.ts
create mode 100644 libs/commands/init/project.json
create mode 100644 libs/commands/init/src/command.ts
rename commands/init/index.js => libs/commands/init/src/index.ts (78%)
rename commands/init/__tests__/init-command.test.js => libs/commands/init/src/lib/init-command.spec.ts (93%)
create mode 100644 libs/commands/init/tsconfig.json
create mode 100644 libs/commands/init/tsconfig.lib.json
create mode 100644 libs/commands/init/tsconfig.spec.json
create mode 100644 libs/commands/link/.babelrc
create mode 100644 libs/commands/link/.eslintrc.json
rename {commands => libs/commands}/link/README.md (97%)
rename {commands/list/__tests__/__fixtures__/filtering => libs/commands/link/__fixtures__/basic}/lerna.json (100%)
rename {commands/list/__tests__ => libs/commands/link}/__fixtures__/basic/package.json (100%)
rename {commands/link/__tests__/__fixtures__/force-local => libs/commands/link/__fixtures__/basic}/packages/package-1/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/basic/packages/package-2/cli.js (100%)
mode change 100755 => 100644
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/basic/packages/package-2/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/basic/packages/package-3/cli1.js (100%)
mode change 100755 => 100644
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/basic/packages/package-3/cli2.js (100%)
mode change 100755 => 100644
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/basic/packages/package-3/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/basic/packages/package-4/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/lerna.json (100%)
rename {commands/list/__tests__/__fixtures__/cycles-and-repeated-deps => libs/commands/link/__fixtures__/force-local}/package.json (100%)
rename {commands/list/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/link/__fixtures__/force-local}/packages/package-1/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/packages/package-2/cli.js (100%)
mode change 100755 => 100644
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/packages/package-2/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/packages/package-3/cli1.js (100%)
mode change 100755 => 100644
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/packages/package-3/cli2.js (100%)
mode change 100755 => 100644
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/packages/package-3/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/force-local/packages/package-4/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/pnpm/lerna.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/pnpm/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/pnpm/pnpm-workspace.yaml (100%)
rename {commands/list/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/link/__fixtures__/with-contents}/lerna.json (100%)
rename {commands/list/__tests__/__fixtures__/extra => libs/commands/link/__fixtures__/with-contents}/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-1/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-2/package.json (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-2/src/cli.ts (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-3/package.json (91%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-3/src/cli1.ts (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-3/src/cli2.ts (100%)
rename {commands/link/__tests__ => libs/commands/link}/__fixtures__/with-contents/packages/package-4/package.json (100%)
create mode 100644 libs/commands/link/jest.config.ts
create mode 100644 libs/commands/link/project.json
create mode 100644 libs/commands/link/src/command.ts
rename commands/link/index.js => libs/commands/link/src/index.ts (73%)
rename commands/link/__tests__/link-command.test.js => libs/commands/link/src/lib/link-command.spec.ts (92%)
create mode 100644 libs/commands/link/tsconfig.json
create mode 100644 libs/commands/link/tsconfig.lib.json
create mode 100644 libs/commands/link/tsconfig.spec.json
create mode 100644 libs/commands/list/.babelrc
create mode 100644 libs/commands/list/.eslintrc.json
rename {commands => libs/commands}/list/README.md (99%)
rename {commands/list/__tests__/__fixtures__/undefined-version => libs/commands/list/__fixtures__/basic}/lerna.json (100%)
rename {commands/list/__tests__/__fixtures__/filtering => libs/commands/list/__fixtures__/basic}/package.json (100%)
rename {commands/list/__tests__/__fixtures__/explicit-node-modules/packages/node_modules => libs/commands/list/__fixtures__/basic/packages}/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/basic/packages/package-2/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/basic/packages/package-3/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/basic/packages/package-4/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/basic/packages/package-5/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/git-hosted-sibling-committish => libs/commands/list/__fixtures__/cycles-and-repeated-deps}/lerna.json (100%)
rename {commands/list/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/list/__fixtures__/cycles-and-repeated-deps}/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-2/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-3/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-4/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-5/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-6/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/cycles-and-repeated-deps/packages/package-7/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/lerna.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/packages/node_modules/@scoped/package-5/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/packages/node_modules/@scoped/package-5/package.json (100%)
rename {commands/list/__tests__/__fixtures__/extra/packages => libs/commands/list/__fixtures__/explicit-node-modules/packages/node_modules}/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/packages/node_modules/package-2/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/packages/node_modules/package-3/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/packages/node_modules/package-4/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/explicit-node-modules/packages/node_modules/package-4/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/list}/__fixtures__/extra/lerna.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/extra/package-3/package.json (100%)
rename {commands/list/__tests__/__fixtures__/undefined-version => libs/commands/list/__fixtures__/extra}/package.json (100%)
rename {commands/list/__tests__/__fixtures__/globstar/src/odd => libs/commands/list/__fixtures__/extra/packages}/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/extra/packages/package-2/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/git-hosted-sibling-gitlab => libs/commands/list/__fixtures__/filtering}/lerna.json (100%)
rename {commands/run/__tests__/__fixtures__/include-filtered-dependencies => libs/commands/list/__fixtures__/filtering}/package.json (100%)
rename {commands/version/__tests__/__fixtures__/lockfile-v2-missing-local-deps => libs/commands/list/__fixtures__/filtering}/packages/package-3/package.json (100%)
rename {integration/__fixtures__/lerna-add => libs/commands/list/__fixtures__/filtering}/packages/package-4/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/filtering/packages/package-a-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/filtering/packages/package-a-2/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/lerna.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/src/even/package-2/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/src/even/package-4/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/src/even/package-4/package.json (100%)
rename {commands/list/__tests__/__fixtures__/mixed-globstar/packages/node_modules => libs/commands/list/__fixtures__/globstar/src/odd}/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/src/odd/package-3/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/src/package-5/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/globstar/src/package-5/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/git-hosted-sibling-semver => libs/commands/list/__fixtures__/include-filtered-dependencies}/lerna.json (100%)
rename {commands/version/__tests__/__fixtures__/basic => libs/commands/list/__fixtures__/include-filtered-dependencies}/package.json (100%)
rename {integration/__fixtures__/lerna-add => libs/commands/list/__fixtures__/include-filtered-dependencies}/packages/package-1/package.json (100%)
rename {commands/clean/__tests__ => libs/commands/list}/__fixtures__/include-filtered-dependencies/packages/package-2/package.json (100%)
rename {integration/__fixtures__/lerna-clean => libs/commands/list/__fixtures__/include-filtered-dependencies}/packages/package-3/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/lerna.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/allow-branch-lerna/packages => libs/commands/list/__fixtures__/mixed-globstar/packages/node_modules}/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/packages/node_modules/package-2/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/packages/node_modules/package-3/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/packages/node_modules/package-4/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/packages/node_modules/package-4/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/src/package-5/node_modules/fail/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/mixed-globstar/src/package-5/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/no-interdependencies => libs/commands/list/__fixtures__/undefined-version}/lerna.json (100%)
rename {integration/__fixtures__/lerna-clean => libs/commands/list/__fixtures__/undefined-version}/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/undefined-version/packages/package-1/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/yarn-workspaces/.yarnrc (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/yarn-workspaces/lerna.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/yarn-workspaces/package.json (100%)
rename {commands/list/__tests__ => libs/commands/list}/__fixtures__/yarn-workspaces/workspaces/package-1/package.json (100%)
rename {commands/bootstrap/__tests__ => libs/commands/list}/__fixtures__/yarn-workspaces/workspaces/package-2/package.json (100%)
create mode 100644 libs/commands/list/jest.config.ts
create mode 100644 libs/commands/list/project.json
create mode 100644 libs/commands/list/src/command.ts
create mode 100644 libs/commands/list/src/index.ts
rename commands/list/__tests__/list-command.test.js => libs/commands/list/src/lib/list-command.spec.ts (72%)
create mode 100644 libs/commands/list/tsconfig.json
create mode 100644 libs/commands/list/tsconfig.lib.json
create mode 100644 libs/commands/list/tsconfig.spec.json
create mode 100644 libs/commands/publish/.babelrc
create mode 100644 libs/commands/publish/.eslintrc.json
rename {commands => libs/commands}/publish/README.md (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/allow-branch-lerna/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/allow-branch-lerna/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/git-hosted-sibling-committish => libs/commands/publish/__fixtures__/allow-branch-lerna}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/not-versioned-private => libs/commands/publish/__fixtures__/git-hosted-sibling-committish}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-committish/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/git-hosted-sibling-gitlab => libs/commands/publish/__fixtures__/git-hosted-sibling-committish}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-committish/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-committish/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-committish/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-committish/packages/package-5/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/not-versioned => libs/commands/publish/__fixtures__/git-hosted-sibling-gitlab}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-gitlab/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/git-hosted-sibling-semver => libs/commands/publish/__fixtures__/git-hosted-sibling-gitlab}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-gitlab/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-gitlab/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-gitlab/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-gitlab/packages/package-5/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/public-private => libs/commands/publish/__fixtures__/git-hosted-sibling-semver}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-semver/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/no-interdependencies => libs/commands/publish/__fixtures__/git-hosted-sibling-semver}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-semver/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-semver/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-semver/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/git-hosted-sibling-semver/packages/package-5/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/integration/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/integration/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/integration/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/integration/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/no-interdependencies/.gitignore (100%)
rename {commands/publish/__tests__/__fixtures__/relative-file-specs => libs/commands/publish/__fixtures__/no-interdependencies}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/no-interdependencies/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/not-versioned-private => libs/commands/publish/__fixtures__/no-interdependencies}/packages/package-1/package.json (100%)
rename {integration/__fixtures__/lerna-clean => libs/commands/publish/__fixtures__/no-interdependencies}/packages/package-2/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/snake-graph => libs/commands/publish/__fixtures__/not-versioned-private}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned-private/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/not-versioned => libs/commands/publish/__fixtures__/not-versioned-private}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned-private/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned-private/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned-private/packages/package-4/package.json (100%)
rename {commands/run/__tests__/__fixtures__/powered-by-nx => libs/commands/publish/__fixtures__/not-versioned}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/public-private => libs/commands/publish/__fixtures__/not-versioned}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/not-versioned/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/public-private/LICENSE (100%)
rename {commands/version/__tests__/__fixtures__/basic => libs/commands/publish/__fixtures__/public-private}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/public-private/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/registries => libs/commands/publish/__fixtures__/public-private}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/public-private/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/registries/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/registries/package.json (100%)
rename {commands/publish/__tests__/__fixtures__/republish-prereleased => libs/commands/publish/__fixtures__/registries}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/.gitignore (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/.npmrc (100%)
rename {core/command/__fixtures__/filtering => libs/commands/publish/__fixtures__/relative-file-specs}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/package-lock.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-5/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-6/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-file-specs/packages/package-7/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/.gitignore (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/.npmrc (100%)
rename {commands/publish/__tests__/__fixtures__/snake-independent => libs/commands/publish/__fixtures__/relative-independent}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/package-lock.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/packages/package-5/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/relative-independent/packages/package-6/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/republish-prereleased/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/republish-prereleased/package.json (100%)
rename {commands/version/__tests__/__fixtures__/basic => libs/commands/publish/__fixtures__/republish-prereleased}/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/republish-prereleased/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/republish-prereleased/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/republish-prereleased/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/republish-prereleased/packages/package-5/package.json (100%)
rename {core/project/__fixtures__/basic => libs/commands/publish/__fixtures__/snake-graph}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-graph/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-graph/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-graph/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-graph/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-graph/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-graph/packages/package-5/package.json (100%)
rename {integration/__fixtures__/lerna-ls => libs/commands/publish/__fixtures__/snake-independent}/lerna.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-independent/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-independent/packages/package-1/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-independent/packages/package-2/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-independent/packages/package-3/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-independent/packages/package-4/package.json (100%)
rename {commands/publish/__tests__ => libs/commands/publish}/__fixtures__/snake-independent/packages/package-5/package.json (100%)
create mode 100644 libs/commands/publish/jest.config.ts
create mode 100644 libs/commands/publish/project.json
create mode 100644 libs/commands/publish/src/command.ts
rename commands/publish/index.js => libs/commands/publish/src/index.ts (95%)
rename commands/publish/__tests__/create-temp-licenses.test.js => libs/commands/publish/src/lib/create-temp-licenses.spec.ts (89%)
rename commands/publish/lib/create-temp-licenses.js => libs/commands/publish/src/lib/create-temp-licenses.ts (82%)
rename commands/publish/lib/fetch-config.js => libs/commands/publish/src/lib/fetch-config.ts (91%)
create mode 100644 libs/commands/publish/src/lib/get-current-sha.spec.ts
rename commands/publish/lib/get-current-sha.js => libs/commands/publish/src/lib/get-current-sha.ts (65%)
rename commands/publish/lib/get-current-tags.js => libs/commands/publish/src/lib/get-current-tags.ts (90%)
rename commands/publish/__tests__/get-npm-username.test.js => libs/commands/publish/src/lib/get-npm-username.spec.ts (87%)
rename commands/publish/lib/get-npm-username.js => libs/commands/publish/src/lib/get-npm-username.ts (90%)
rename commands/publish/__tests__/get-packages-without-license.test.js => libs/commands/publish/src/lib/get-packages-without-license.spec.ts (52%)
rename commands/publish/lib/get-packages-without-license.js => libs/commands/publish/src/lib/get-packages-without-license.ts (93%)
rename commands/publish/lib/get-profile-data.js => libs/commands/publish/src/lib/get-profile-data.ts (82%)
rename commands/publish/lib/get-tagged-packages.js => libs/commands/publish/src/lib/get-tagged-packages.ts (74%)
rename commands/publish/__tests__/get-two-factor-auth-required.test.js => libs/commands/publish/src/lib/get-two-factor-auth-required.spec.ts (83%)
rename commands/publish/lib/get-two-factor-auth-required.js => libs/commands/publish/src/lib/get-two-factor-auth-required.ts (89%)
rename commands/publish/__tests__/get-unpublished-packages.test.js => libs/commands/publish/src/lib/get-unpublished-packages.spec.ts (79%)
rename commands/publish/lib/get-unpublished-packages.js => libs/commands/publish/src/lib/get-unpublished-packages.ts (72%)
rename commands/publish/lib/get-whoami.js => libs/commands/publish/src/lib/get-whoami.ts (70%)
rename commands/publish/__tests__/git-checkout.test.js => libs/commands/publish/src/lib/git-checkout.spec.ts (79%)
rename commands/publish/lib/git-checkout.js => libs/commands/publish/src/lib/git-checkout.ts (85%)
rename commands/publish/__tests__/publish-canary.test.js => libs/commands/publish/src/lib/publish-canary.spec.ts (87%)
rename commands/publish/__tests__/publish-command.test.js => libs/commands/publish/src/lib/publish-command.spec.ts (87%)
rename commands/publish/__tests__/publish-from-git.test.js => libs/commands/publish/src/lib/publish-from-git.spec.ts (67%)
rename commands/publish/__tests__/publish-from-package.test.js => libs/commands/publish/src/lib/publish-from-package.spec.ts (62%)
rename commands/publish/__tests__/publish-licenses.test.js => libs/commands/publish/src/lib/publish-licenses.spec.ts (62%)
rename commands/publish/__tests__/publish-lifecycle-scripts.test.js => libs/commands/publish/src/lib/publish-lifecycle-scripts.spec.ts (73%)
rename commands/publish/__tests__/publish-relative-file-specifiers.test.js => libs/commands/publish/src/lib/publish-relative-file-specifiers.spec.ts (66%)
rename commands/publish/__tests__/publish-tagging.test.js => libs/commands/publish/src/lib/publish-tagging.spec.ts (70%)
rename commands/publish/__tests__/remove-temp-licenses.test.js => libs/commands/publish/src/lib/remove-temp-licenses.spec.ts (53%)
rename commands/publish/lib/remove-temp-licenses.js => libs/commands/publish/src/lib/remove-temp-licenses.ts (66%)
rename commands/publish/__tests__/verify-npm-package-access.test.js => libs/commands/publish/src/lib/verify-npm-package-access.spec.ts (90%)
rename commands/publish/lib/verify-npm-package-access.js => libs/commands/publish/src/lib/verify-npm-package-access.ts (88%)
create mode 100644 libs/commands/publish/tsconfig.json
create mode 100644 libs/commands/publish/tsconfig.lib.json
create mode 100644 libs/commands/publish/tsconfig.spec.json
create mode 100644 libs/commands/run/.babelrc
create mode 100644 libs/commands/run/.eslintrc.json
rename {commands => libs/commands}/run/README.md (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/basic/lerna.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/basic/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/basic/packages/package-1/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/basic/packages/package-2/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/basic/packages/package-3/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/basic/packages/package-4/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/include-filtered-dependencies/lerna.json (100%)
rename {integration/__fixtures__/lerna-exec => libs/commands/run/__fixtures__/include-filtered-dependencies}/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/include-filtered-dependencies/packages/package-1/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/include-filtered-dependencies/packages/package-2/package.json (81%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/include-filtered-dependencies/packages/package-3/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/pnpm/lerna.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/pnpm/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/pnpm/packages/package-1/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/pnpm/packages/package-2/package.json (100%)
rename {commands/run/__tests__ => libs/commands/run}/__fixtures__/pnpm/pnpm-workspace.yaml (100%)
create mode 100644 libs/commands/run/jest.config.ts
create mode 100644 libs/commands/run/project.json
create mode 100644 libs/commands/run/src/command.ts
rename commands/run/index.js => libs/commands/run/src/index.ts (91%)
rename commands/run/__tests__/__snapshots__/run-command.test.js.snap => libs/commands/run/src/lib/__snapshots__/run-command.spec.ts.snap (100%)
rename commands/run/__tests__/run-command.test.js => libs/commands/run/src/lib/run-command.spec.ts (73%)
create mode 100644 libs/commands/run/tsconfig.json
create mode 100644 libs/commands/run/tsconfig.lib.json
create mode 100644 libs/commands/run/tsconfig.spec.json
create mode 100644 libs/commands/version/.babelrc
create mode 100644 libs/commands/version/.eslintrc.json
rename {commands => libs/commands}/version/README.md (100%)
rename {integration/__fixtures__/lerna-exec => libs/commands/version/__fixtures__/basic}/lerna.json (100%)
rename {integration/__fixtures__/lerna-import => libs/commands/version/__fixtures__/basic}/package.json (100%)
rename {commands/version/__tests__/__fixtures__/lockfile-v2-missing-local-deps => libs/commands/version/__fixtures__/basic}/packages/package-1/package.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/basic/packages/package-2/package.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/basic/packages/package-3/package.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/basic/packages/package-4/package.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/basic/packages/package-5/package.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/lockfile-v2-missing-local-deps/.gitignore (100%)
rename {integration/__fixtures__/lerna-clean => libs/commands/version/__fixtures__/lockfile-v2-missing-local-deps}/lerna.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/lockfile-v2-missing-local-deps/package.json (100%)
rename {core/command/__fixtures__/filtering => libs/commands/version/__fixtures__/lockfile-v2-missing-local-deps}/packages/package-1/package.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/lockfile-v2-missing-local-deps/packages/package-2/package-lock.json (100%)
rename {commands/version/__tests__ => libs/commands/version}/__fixtures__/lockfile-v2-missing-local-deps/packages/package-2/package.json (100%)
rename {integration/__fixtures__/lerna-add => libs/commands/version/__fixtures__/lockfile-v2-missing-local-deps}/packages/package-3/package.json (100%)
create mode 100644 libs/commands/version/jest.config.ts
create mode 100644 libs/commands/version/project.json
create mode 100644 libs/commands/version/src/command.ts
rename commands/version/index.js => libs/commands/version/src/index.ts (93%)
rename commands/version/__tests__/__snapshots__/version-bump-prerelease.test.js.snap => libs/commands/version/src/lib/__snapshots__/version-bump-prerelease.spec.ts.snap (100%)
rename commands/version/__tests__/__snapshots__/version-command.test.js.snap => libs/commands/version/src/lib/__snapshots__/version-command.spec.ts.snap (100%)
rename commands/version/__tests__/__snapshots__/version-conventional-commits.test.js.snap => libs/commands/version/src/lib/__snapshots__/version-conventional-commits.spec.ts.snap (100%)
rename commands/version/__tests__/__snapshots__/version-ignore-changes.test.js.snap => libs/commands/version/src/lib/__snapshots__/version-ignore-changes.spec.ts.snap (100%)
rename commands/version/lib/create-release.js => libs/commands/version/src/lib/create-release.ts (84%)
rename commands/version/__tests__/get-current-branch.test.js => libs/commands/version/src/lib/get-current-branch.spec.ts (61%)
rename commands/version/lib/get-current-branch.js => libs/commands/version/src/lib/get-current-branch.ts (65%)
rename commands/version/__tests__/git-add.test.js => libs/commands/version/src/lib/git-add.spec.ts (86%)
rename commands/version/lib/git-add.js => libs/commands/version/src/lib/git-add.ts (86%)
rename commands/version/__tests__/git-commit.test.js => libs/commands/version/src/lib/git-commit.spec.ts (82%)
rename commands/version/lib/git-commit.js => libs/commands/version/src/lib/git-commit.ts (77%)
rename commands/version/__tests__/git-push.test.js => libs/commands/version/src/lib/git-push.spec.ts (92%)
rename commands/version/lib/git-push.js => libs/commands/version/src/lib/git-push.ts (94%)
rename commands/version/__tests__/git-tag.test.js => libs/commands/version/src/lib/git-tag.spec.ts (84%)
rename commands/version/lib/git-tag.js => libs/commands/version/src/lib/git-tag.ts (77%)
rename commands/version/__tests__/is-anything-committed.test.js => libs/commands/version/src/lib/is-anything-committed.spec.ts (63%)
rename commands/version/lib/is-anything-committed.js => libs/commands/version/src/lib/is-anything-committed.ts (68%)
rename commands/version/__tests__/is-behind-upstream.test.js => libs/commands/version/src/lib/is-behind-upstream.spec.ts (62%)
rename commands/version/lib/is-behind-upstream.js => libs/commands/version/src/lib/is-behind-upstream.ts (84%)
rename commands/version/lib/is-breaking-change.js => libs/commands/version/src/lib/is-breaking-change.ts (93%)
rename commands/version/__tests__/prompt-version.test.js => libs/commands/version/src/lib/prompt-version.spec.ts (85%)
rename commands/version/lib/prompt-version.js => libs/commands/version/src/lib/prompt-version.ts (95%)
rename commands/version/__tests__/remote-branch-exists.test.js => libs/commands/version/src/lib/remote-branch-exists.spec.ts (59%)
rename commands/version/lib/remote-branch-exists.js => libs/commands/version/src/lib/remote-branch-exists.ts (71%)
rename commands/version/__tests__/update-lockfile-version.test.js => libs/commands/version/src/lib/update-lockfile-version.spec.ts (82%)
rename commands/version/lib/update-lockfile-version.js => libs/commands/version/src/lib/update-lockfile-version.ts (84%)
rename commands/version/__tests__/version-allow-branch.test.js => libs/commands/version/src/lib/version-allow-branch.spec.ts (58%)
rename commands/version/__tests__/version-bump-prerelease.test.js => libs/commands/version/src/lib/version-bump-prerelease.spec.ts (75%)
rename commands/version/__tests__/version-bump.test.js => libs/commands/version/src/lib/version-bump.spec.ts (78%)
rename commands/version/__tests__/version-command.test.js => libs/commands/version/src/lib/version-command.spec.ts (91%)
rename commands/version/__tests__/version-conventional-commits.test.js => libs/commands/version/src/lib/version-conventional-commits.spec.ts (88%)
rename commands/version/__tests__/version-create-release.test.js => libs/commands/version/src/lib/version-create-release.spec.ts (78%)
rename commands/version/__tests__/version-git-hosted-siblings.test.js => libs/commands/version/src/lib/version-git-hosted-siblings.spec.ts (76%)
create mode 100644 libs/commands/version/src/lib/version-ignore-changes.spec.ts
rename commands/version/__tests__/version-include-merged-tags.test.js => libs/commands/version/src/lib/version-include-merged-tags.spec.ts (69%)
rename commands/version/__tests__/version-lifecycle-scripts.test.js => libs/commands/version/src/lib/version-lifecycle-scripts.spec.ts (71%)
create mode 100644 libs/commands/version/src/lib/version-message.spec.ts
create mode 100644 libs/commands/version/tsconfig.json
create mode 100644 libs/commands/version/tsconfig.lib.json
create mode 100644 libs/commands/version/tsconfig.spec.json
create mode 100644 libs/core/.babelrc
create mode 100644 libs/core/.eslintrc.json
create mode 100644 libs/core/README.md
rename {core/command => libs/core}/__fixtures__/basic/lerna.json (100%)
rename {core/command => libs/core}/__fixtures__/basic/package.json (100%)
rename {integration/__fixtures__/lerna-generated-build-tool => libs/core/__fixtures__/filtering}/lerna.json (100%)
rename {core/command => libs/core}/__fixtures__/filtering/package.json (100%)
rename {integration/__fixtures__/lerna-clean => libs/core/__fixtures__/filtering}/packages/package-1/package.json (100%)
rename {core/command => libs/core}/__fixtures__/filtering/packages/package-2/package.json (100%)
rename {core/command => libs/core}/__fixtures__/filtering/packages/package-3/package.json (100%)
rename {core/command => libs/core}/__fixtures__/filtering/packages/package-4/package.json (100%)
rename {core/command => libs/core}/__fixtures__/filtering/packages/package-5/package.json (100%)
rename {core/command => libs/core}/__fixtures__/legacy/lerna.json (100%)
rename {core/command => libs/core}/__fixtures__/legacy/package.json (100%)
rename {core/command => libs/core}/__fixtures__/legacy/packages/pkg-1/package.json (100%)
rename {core/command => libs/core}/__fixtures__/legacy/packages/pkg-2/package.json (100%)
rename {core/command => libs/core}/__fixtures__/pnpm/lerna.json (100%)
rename {core/command => libs/core}/__fixtures__/pnpm/package.json (100%)
rename {core/command => libs/core}/__fixtures__/pnpm/packages/package-1/package.json (100%)
rename {core/command => libs/core}/__fixtures__/pnpm/packages/package-2/package.json (100%)
create mode 100644 libs/core/jest.config.ts
create mode 100644 libs/core/project.json
create mode 100644 libs/core/src/index.ts
rename utils/check-working-tree/__tests__/check-working-tree.test.js => libs/core/src/lib/check-working-tree.spec.ts (61%)
rename utils/check-working-tree/lib/check-working-tree.js => libs/core/src/lib/check-working-tree.ts (65%)
rename core/cli/__tests__/core-cli.test.js => libs/core/src/lib/cli.spec.ts (82%)
create mode 100644 libs/core/src/lib/cli.ts
rename utils/collect-uncommitted/__tests__/collect-uncommitted.test.js => libs/core/src/lib/collect-uncommitted.spec.ts (84%)
create mode 100644 libs/core/src/lib/collect-uncommitted.ts
rename utils/collect-updates/__helpers__/build-graph.js => libs/core/src/lib/collect-updates/__helpers__/build-graph.ts (88%)
create mode 100644 libs/core/src/lib/collect-updates/__mocks__/index.ts
rename utils/collect-updates/__tests__/lib-collect-dependents.test.js => libs/core/src/lib/collect-updates/collect-dependents.spec.ts (79%)
rename utils/collect-updates/lib/collect-dependents.js => libs/core/src/lib/collect-updates/collect-dependents.ts (57%)
rename utils/collect-updates/__tests__/lib-collect-packages.test.js => libs/core/src/lib/collect-updates/collect-packages.spec.ts (67%)
create mode 100644 libs/core/src/lib/collect-updates/collect-packages.ts
rename utils/collect-updates/__tests__/lib-get-packages-for-option.test.js => libs/core/src/lib/collect-updates/get-packages-for-option.spec.ts (88%)
rename utils/collect-updates/lib/get-packages-for-option.js => libs/core/src/lib/collect-updates/get-packages-for-option.ts (72%)
rename utils/collect-updates/__tests__/lib-has-tags.test.js => libs/core/src/lib/collect-updates/has-tags.spec.ts (89%)
create mode 100644 libs/core/src/lib/collect-updates/has-tags.ts
rename utils/collect-updates/__tests__/collect-updates.test.js => libs/core/src/lib/collect-updates/index.spec.ts (96%)
rename utils/collect-updates/collect-updates.js => libs/core/src/lib/collect-updates/index.ts (55%)
rename utils/collect-updates/__tests__/lib-make-diff-predicate.test.js => libs/core/src/lib/collect-updates/make-diff-predicate.spec.ts (89%)
rename utils/collect-updates/lib/make-diff-predicate.js => libs/core/src/lib/collect-updates/make-diff-predicate.ts (71%)
create mode 100644 libs/core/src/lib/command/__fixtures__/basic/lerna.json
create mode 100644 libs/core/src/lib/command/__fixtures__/basic/package.json
rename {integration/__fixtures__/lerna-import => libs/core/src/lib/command/__fixtures__/filtering}/lerna.json (100%)
create mode 100644 libs/core/src/lib/command/__fixtures__/filtering/package.json
rename {core/lerna/__fixtures__/local-install/node_modules/@lerna/cli => libs/core/src/lib/command/__fixtures__/filtering/packages/package-1}/package.json (51%)
rename {commands/list/__tests__/__fixtures__/yarn-workspaces/workspaces => libs/core/src/lib/command/__fixtures__/filtering/packages}/package-2/package.json (73%)
rename {commands/run/__tests__/__fixtures__/powered-by-nx => libs/core/src/lib/command/__fixtures__/filtering}/packages/package-3/package.json (65%)
rename {commands/run/__tests__/__fixtures__/powered-by-nx => libs/core/src/lib/command/__fixtures__/filtering}/packages/package-4/package.json (60%)
create mode 100644 libs/core/src/lib/command/__fixtures__/filtering/packages/package-5/package.json
create mode 100644 libs/core/src/lib/command/__fixtures__/legacy/lerna.json
create mode 100644 libs/core/src/lib/command/__fixtures__/legacy/package.json
create mode 100644 libs/core/src/lib/command/__fixtures__/legacy/packages/pkg-1/package.json
create mode 100644 libs/core/src/lib/command/__fixtures__/legacy/packages/pkg-2/package.json
rename {core/project => libs/core/src/lib/command}/__fixtures__/pnpm/lerna.json (100%)
create mode 100644 libs/core/src/lib/command/__fixtures__/pnpm/package.json
create mode 100644 libs/core/src/lib/command/__fixtures__/pnpm/packages/package-1/package.json
rename {commands/run/__tests__/__fixtures__/powered-by-nx => libs/core/src/lib/command/__fixtures__/pnpm}/packages/package-2/package.json (68%)
rename core/command/lib/clean-stack.js => libs/core/src/lib/command/clean-stack.ts (67%)
rename core/command/lib/default-options.js => libs/core/src/lib/command/default-options.ts (51%)
rename core/command/__tests__/command.test.js => libs/core/src/lib/command/index.spec.ts (90%)
rename core/command/index.js => libs/core/src/lib/command/index.ts (71%)
rename core/command/lib/log-package-error.js => libs/core/src/lib/command/log-package-error.ts (64%)
rename core/command/lib/warn-if-hanging.js => libs/core/src/lib/command/warn-if-hanging.ts (74%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/changelog-missing/lerna.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/changelog-missing/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/changelog-missing/packages/package-1/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/changelog-missing/packages/package-2/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/lerna.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/packages/package-1/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/packages/package-1/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/packages/package-2/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/packages/package-2/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/config-builder-preset.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/erroring-preset.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/legacy-callback-preset.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/local-preset.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/null-preset.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/null-what-bump.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/old-api-preset.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/parser-opts.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/what-bump.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/fixed/scripts/writer-opts.js (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/independent/lerna.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/independent/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/independent/packages/package-1/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/independent/packages/package-1/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/independent/packages/package-2/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/independent/packages/package-2/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/major-zero/lerna.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/major-zero/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/major-zero/packages/package-0/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/major-zero/packages/package-0/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/major-zero/packages/package-1/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/major-zero/packages/package-1/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/lerna.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/packages/package-1/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/packages/package-1/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/packages/package-2/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/packages/package-2/package.json (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/packages/package-3/CHANGELOG.md (100%)
rename {core/conventional-commits/__tests__ => libs/core/src/lib/conventional-commits}/__fixtures__/prerelease-independent/packages/package-3/package.json (100%)
rename core/conventional-commits/__tests__/__snapshots__/conventional-commits.test.js.snap => libs/core/src/lib/conventional-commits/__snapshots__/index.spec.ts.snap (100%)
create mode 100644 libs/core/src/lib/conventional-commits/constants.ts
rename core/conventional-commits/lib/get-changelog-config.js => libs/core/src/lib/conventional-commits/get-changelog-config.ts (70%)
rename core/conventional-commits/__tests__/conventional-commits.test.js => libs/core/src/lib/conventional-commits/index.spec.ts (96%)
create mode 100644 libs/core/src/lib/conventional-commits/index.ts
rename core/conventional-commits/lib/make-bump-only-filter.js => libs/core/src/lib/conventional-commits/make-bump-only-filter.ts (67%)
create mode 100644 libs/core/src/lib/conventional-commits/read-existing-changelog.ts
rename core/conventional-commits/lib/recommend-version.js => libs/core/src/lib/conventional-commits/recommend-version.ts (71%)
rename core/conventional-commits/lib/update-changelog.js => libs/core/src/lib/conventional-commits/update-changelog.ts (69%)
rename utils/create-symlink/__tests__/create-symlink.test.js => libs/core/src/lib/create-symlink.spec.ts (80%)
rename utils/create-symlink/create-symlink.js => libs/core/src/lib/create-symlink.ts (67%)
rename utils/describe-ref/__tests__/describe-ref.test.js => libs/core/src/lib/describe-ref.spec.ts (94%)
rename utils/describe-ref/lib/describe-ref.js => libs/core/src/lib/describe-ref.ts (57%)
rename core/filter-options/__tests__/get-filtered-packages.test.js => libs/core/src/lib/filter-options.spec.ts (80%)
create mode 100644 libs/core/src/lib/filter-options.ts
rename utils/filter-packages/filter-packages.js => libs/core/src/lib/filter-packages.ts (55%)
rename utils/get-npm-exec-opts/get-npm-exec-opts.js => libs/core/src/lib/get-npm-exec-opts.ts (63%)
rename utils/get-packed/lib/get-packed.js => libs/core/src/lib/get-packed.ts (85%)
rename utils/has-npm-version/__tests__/has-npm-version.test.js => libs/core/src/lib/has-npm-version.spec.ts (77%)
rename utils/has-npm-version/lib/has-npm-version.js => libs/core/src/lib/has-npm-version.ts (55%)
rename utils/listable/__tests__/listable-format.test.js => libs/core/src/lib/listable/listable-format.spec.ts (86%)
rename utils/listable/lib/listable-format.js => libs/core/src/lib/listable/listable-format.ts (65%)
rename utils/listable/__tests__/listable-options.test.js => libs/core/src/lib/listable/listable-options.spec.ts (83%)
rename utils/listable/lib/listable-options.js => libs/core/src/lib/listable/listable-options.ts (66%)
rename utils/log-packed/__tests__/log-packed.test.js => libs/core/src/lib/log-packed.spec.ts (89%)
rename utils/log-packed/lib/log-packed.js => libs/core/src/lib/log-packed.ts (57%)
rename utils/map-to-registry/__tests__/map-to-registry.test.js => libs/core/src/lib/map-to-registry.spec.ts (95%)
rename utils/map-to-registry/lib/map-to-registry.js => libs/core/src/lib/map-to-registry.ts (74%)
rename utils/npm-conf/lib/conf.js => libs/core/src/lib/npm-conf/conf.ts (57%)
rename utils/npm-conf/lib/defaults.js => libs/core/src/lib/npm-conf/defaults.ts (79%)
rename utils/npm-conf/lib/env-replace.js => libs/core/src/lib/npm-conf/env-replace.ts (78%)
rename utils/npm-conf/lib/find-prefix.js => libs/core/src/lib/npm-conf/find-prefix.ts (76%)
rename utils/npm-conf/__tests__/npm-conf.test.js => libs/core/src/lib/npm-conf/index.spec.ts (91%)
rename utils/npm-conf/lib/npm-conf.js => libs/core/src/lib/npm-conf/index.ts (50%)
rename utils/npm-conf/lib/nerf-dart.js => libs/core/src/lib/npm-conf/nerf-dart.ts (63%)
rename utils/npm-conf/lib/parse-field.js => libs/core/src/lib/npm-conf/parse-field.ts (60%)
rename utils/npm-conf/lib/types.js => libs/core/src/lib/npm-conf/types.ts (96%)
rename utils/npm-dist-tag/__tests__/npm-dist-tag.test.js => libs/core/src/lib/npm-dist-tag.spec.ts (83%)
rename utils/npm-dist-tag/npm-dist-tag.js => libs/core/src/lib/npm-dist-tag.ts (76%)
rename utils/npm-install/__tests__/npm-install.test.js => libs/core/src/lib/npm-install.spec.ts (94%)
rename utils/npm-install/npm-install.js => libs/core/src/lib/npm-install.ts (82%)
rename utils/npm-publish/__tests__/npm-publish.test.js => libs/core/src/lib/npm-publish.test.ts (77%)
rename utils/npm-publish/npm-publish.js => libs/core/src/lib/npm-publish.ts (62%)
rename utils/npm-run-script/__tests__/npm-run-script.test.js => libs/core/src/lib/npm-run-script.spec.ts (96%)
rename utils/npm-run-script/npm-run-script.js => libs/core/src/lib/npm-run-script.ts (51%)
rename core/otplease/__tests__/otplease.test.js => libs/core/src/lib/otplease.test.ts (94%)
rename core/otplease/otplease.js => libs/core/src/lib/otplease.ts (78%)
create mode 100644 libs/core/src/lib/output.ts
rename utils/pack-directory/__tests__/pack-directory.test.js => libs/core/src/lib/pack-directory.spec.ts (74%)
rename utils/pack-directory/lib/pack-directory.js => libs/core/src/lib/pack-directory.ts (52%)
rename core/package-graph/lib/cyclic-package-graph-node.js => libs/core/src/lib/package-graph/cyclic-package-graph-node.ts (56%)
rename core/package-graph/index.js => libs/core/src/lib/package-graph/index.ts (72%)
rename core/package-graph/lib/package-graph-node.js => libs/core/src/lib/package-graph/package-graph-node.ts (64%)
rename core/package-graph/lib/report-cycles.js => libs/core/src/lib/package-graph/report-cycles.ts (56%)
rename core/package/__tests__/core-package.test.js => libs/core/src/lib/package.spec.ts (89%)
rename core/package/index.js => libs/core/src/lib/package.ts (64%)
rename utils/prerelease-id-from-version/__tests__/prerelease-id-from-version.test.js => libs/core/src/lib/prerelease-id-from-version.spec.ts (59%)
create mode 100644 libs/core/src/lib/prerelease-id-from-version.ts
rename utils/profiler/profiler.js => libs/core/src/lib/profiler.ts (61%)
rename {utils/symlink-binary/__fixtures__/links => libs/core/src/lib/project/__fixtures__/basic}/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/basic/node_modules/external/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/basic/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/basic/packages/pkg-1/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/basic/packages/pkg-2/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-circular/base.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-circular/circular.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-circular/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-deprecated/base.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-deprecated/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-deprecated/recursive.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-recursive/base.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-recursive/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-recursive/recursive.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends-unresolved/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends/node_modules/local-package/config.js (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends/node_modules/local-package/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends/node_modules/local-package/subpath.js (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/extends/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/invalid-json/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/invalid-json/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/no-lerna-config/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/pkg-prop-syntax-error/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/pkg-prop/package.json (100%)
create mode 100644 libs/core/src/lib/project/__fixtures__/pnpm/lerna.json
rename {core => libs/core/src/lib}/project/__fixtures__/pnpm/package.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/pnpm/pnpm-workspace.yaml (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/yarn-workspaces/lerna.json (100%)
rename {core => libs/core/src/lib}/project/__fixtures__/yarn-workspaces/package.json (100%)
rename core/project/lib/apply-extends.js => libs/core/src/lib/project/apply-extends.ts (63%)
rename core/project/lib/deprecate-config.js => libs/core/src/lib/project/deprecate-config.ts (69%)
rename core/project/__tests__/project.test.js => libs/core/src/lib/project/index.spec.ts (94%)
rename core/project/index.js => libs/core/src/lib/project/index.ts (60%)
rename core/project/lib/make-file-finder.js => libs/core/src/lib/project/make-file-finder.ts (65%)
rename core/project/lib/shallow-extend.js => libs/core/src/lib/project/shallow-extend.ts (56%)
rename core/prompt/index.js => libs/core/src/lib/prompt.ts (55%)
rename utils/pulse-till-done/pulse-till-done.js => libs/core/src/lib/pulse-till-done.ts (68%)
rename utils/query-graph/query-graph.js => libs/core/src/lib/query-graph.ts (55%)
rename utils/resolve-symlink/__tests__/resolve-symlink.test.js => libs/core/src/lib/resolve-symlink.spec.ts (85%)
rename utils/resolve-symlink/resolve-symlink.js => libs/core/src/lib/resolve-symlink.ts (58%)
rename utils/rimraf-dir/__tests__/rimraf-dir.test.js => libs/core/src/lib/rimraf-dir.spec.ts (80%)
rename utils/rimraf-dir/rimraf-dir.js => libs/core/src/lib/rimraf-dir.ts (83%)
rename utils/run-lifecycle/__tests__/run-lifecycle.test.js => libs/core/src/lib/run-lifecycle.spec.ts (79%)
rename utils/run-lifecycle/run-lifecycle.js => libs/core/src/lib/run-lifecycle.ts (73%)
rename utils/run-topologically/run-topologically.js => libs/core/src/lib/run-topologically.ts (63%)
rename utils/github-client/__tests__/github-client.test.js => libs/core/src/lib/scm-clients/github/create-github-client.spec.ts (90%)
rename utils/github-client/lib/github-client.js => libs/core/src/lib/scm-clients/github/create-github-client.ts (52%)
rename utils/gitlab-client/__tests__/gitlab-client.test.js => libs/core/src/lib/scm-clients/gitlab/create-gitlab-client.spec.ts (84%)
rename utils/gitlab-client/index.js => libs/core/src/lib/scm-clients/gitlab/create-gitlab-client.ts (55%)
rename utils/gitlab-client/__tests__/GitLabClient.test.js => libs/core/src/lib/scm-clients/gitlab/gitlab-client.test.ts (89%)
rename utils/gitlab-client/lib/GitLabClient.js => libs/core/src/lib/scm-clients/gitlab/gitlab-client.ts (57%)
create mode 100644 libs/core/src/lib/scm-clients/index.ts
rename core/lerna/__fixtures__/local-install/node_modules/lerna/package.json => libs/core/src/lib/symlink-binary/__fixtures__/links/lerna.json (56%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/package.json (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-1/package.json (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-2/cli.js (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-2/package.json (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-3/cli1.js (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-3/cli2.js (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-3/package.json (100%)
rename {utils => libs/core/src/lib}/symlink-binary/__fixtures__/links/packages/package-4/package.json (100%)
rename utils/symlink-binary/__tests__/symlink-binary.test.js => libs/core/src/lib/symlink-binary/index.spec.ts (74%)
rename utils/symlink-binary/symlink-binary.js => libs/core/src/lib/symlink-binary/index.ts (66%)
rename utils/symlink-dependencies/symlink-dependencies.js => libs/core/src/lib/symlink-dependencies.ts (56%)
rename utils/temp-write/__tests__/temp-write.test.js => libs/core/src/lib/temp-write.spec.ts (89%)
rename utils/temp-write/lib/temp-write.js => libs/core/src/lib/temp-write.ts (66%)
rename utils/timer/timer.js => libs/core/src/lib/timer.ts (55%)
rename core/validation-error/validation-error.js => libs/core/src/lib/validation-error.ts (50%)
rename utils/write-log-file/write-log-file.js => libs/core/src/lib/write-log-file.ts (65%)
create mode 100644 libs/core/tsconfig.json
create mode 100644 libs/core/tsconfig.lib.json
create mode 100644 libs/core/tsconfig.spec.json
create mode 100644 libs/nx-plugin/src/generators/command/generator.ts
create mode 100644 libs/nx-plugin/src/generators/command/schema.d.ts
create mode 100644 libs/nx-plugin/src/generators/command/schema.json
create mode 100644 libs/test-helpers/.babelrc
create mode 100644 libs/test-helpers/.eslintrc.json
create mode 100644 libs/test-helpers/README.md
rename commands/__mocks__/@lerna/check-working-tree.js => libs/test-helpers/__mocks__/@lerna/core/check-working-tree.ts (100%)
rename commands/__mocks__/@lerna/collect-updates.js => libs/test-helpers/__mocks__/@lerna/core/collect-updates.ts (88%)
rename commands/__mocks__/@lerna/conventional-commits.js => libs/test-helpers/__mocks__/@lerna/core/conventional-commits.ts (85%)
rename commands/__mocks__/@lerna/github-client.js => libs/test-helpers/__mocks__/@lerna/core/github-client.ts (85%)
rename commands/__mocks__/@lerna/gitlab-client.js => libs/test-helpers/__mocks__/@lerna/core/gitlab-client.ts (82%)
rename commands/__mocks__/@lerna/has-npm-version.js => libs/test-helpers/__mocks__/@lerna/core/has-npm-version.ts (86%)
create mode 100644 libs/test-helpers/__mocks__/@lerna/core/index.ts
rename commands/__mocks__/@lerna/npm-dist-tag.js => libs/test-helpers/__mocks__/@lerna/core/npm-dist-tag.ts (100%)
rename commands/__mocks__/@lerna/npm-publish.js => libs/test-helpers/__mocks__/@lerna/core/npm-publish.ts (86%)
create mode 100644 libs/test-helpers/__mocks__/@lerna/core/output.ts
rename commands/__mocks__/@lerna/pack-directory.js => libs/test-helpers/__mocks__/@lerna/core/pack-directory.ts (83%)
rename commands/__mocks__/@lerna/prompt.js => libs/test-helpers/__mocks__/@lerna/core/prompt.ts (91%)
rename commands/__mocks__/@lerna/run-lifecycle.js => libs/test-helpers/__mocks__/@lerna/core/run-lifecycle.ts (88%)
rename {commands => libs/test-helpers}/__mocks__/load-json-file.js (100%)
rename {commands => libs/test-helpers}/__mocks__/write-pkg.js (100%)
create mode 100644 libs/test-helpers/jest.config.ts
create mode 100644 libs/test-helpers/project.json
create mode 100644 libs/test-helpers/src/index.ts
rename helpers/cli.js => libs/test-helpers/src/lib/cli.ts (60%)
create mode 100644 libs/test-helpers/src/lib/fixtures.ts
rename helpers/git/index.js => libs/test-helpers/src/lib/git/index.ts (54%)
rename {helpers => libs/test-helpers/src/lib}/git/template/config (100%)
rename {helpers => libs/test-helpers/src/lib}/git/template/description (100%)
rename {helpers => libs/test-helpers/src/lib}/git/template/info/exclude (100%)
rename helpers/logging-output.js => libs/test-helpers/src/lib/logging-output.ts (58%)
create mode 100644 libs/test-helpers/src/lib/multi-line-trim-right.ts
rename helpers/npm/index.js => libs/test-helpers/src/lib/npm/index.ts (69%)
rename {helpers => libs/test-helpers/src/lib}/npm/set-npm-userconfig.js (100%)
rename {helpers => libs/test-helpers/src/lib}/npm/test-user.ini (100%)
rename {helpers => libs/test-helpers/src/lib}/pkg-matchers.js (97%)
rename {helpers => libs/test-helpers/src/lib}/serializers/serialize-changelog.js (100%)
rename {helpers => libs/test-helpers/src/lib}/serializers/serialize-git-sha.js (100%)
rename {helpers => libs/test-helpers/src/lib}/serializers/serialize-placeholders.js (87%)
rename {helpers => libs/test-helpers/src/lib}/serializers/serialize-tempdir.js (100%)
rename {helpers => libs/test-helpers/src/lib}/serializers/serialize-windows-paths.js (100%)
rename {helpers => libs/test-helpers/src/lib}/silence-logging.js (87%)
create mode 100644 libs/test-helpers/tsconfig.json
create mode 100644 libs/test-helpers/tsconfig.lib.json
create mode 100644 libs/test-helpers/tsconfig.spec.json
rename {core => packages}/child-process/CHANGELOG.md (100%)
rename {core => packages}/child-process/README.md (100%)
rename {core => packages}/child-process/__tests__/child-process.test.js (100%)
rename {core => packages}/child-process/index.js (100%)
rename {core => packages}/child-process/package.json (93%)
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/check-working-tree.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/collect-updates.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/conventional-commits.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/github-client.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/gitlab-client.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/has-npm-version.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/index.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/npm-dist-tag.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/npm-publish.ts
rename commands/__mocks__/@lerna/output.js => packages/legacy-structure/__mocks__/@lerna/core/output.ts (67%)
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/pack-directory.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/prompt.ts
create mode 100644 packages/legacy-structure/__mocks__/@lerna/core/run-lifecycle.ts
create mode 100644 packages/legacy-structure/__mocks__/load-json-file.js
create mode 100644 packages/legacy-structure/__mocks__/write-pkg.js
create mode 100644 packages/legacy-structure/commands/add/.gitignore
rename {commands => packages/legacy-structure/commands}/add/CHANGELOG.md (100%)
rename {core/cli => packages/legacy-structure/commands/add}/package.json (54%)
create mode 100644 packages/legacy-structure/commands/add/project.json
create mode 100644 packages/legacy-structure/commands/add/src/command.ts
create mode 100644 packages/legacy-structure/commands/add/src/index.ts
create mode 100644 packages/legacy-structure/commands/add/src/lib/get-range-to-reference.ts
create mode 100644 packages/legacy-structure/commands/add/tsconfig.json
create mode 100644 packages/legacy-structure/commands/add/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/bootstrap/.gitignore
rename {commands => packages/legacy-structure/commands}/bootstrap/CHANGELOG.md (100%)
create mode 100644 packages/legacy-structure/commands/bootstrap/package.json
create mode 100644 packages/legacy-structure/commands/bootstrap/project.json
create mode 100644 packages/legacy-structure/commands/bootstrap/src/command.ts
create mode 100644 packages/legacy-structure/commands/bootstrap/src/index.ts
create mode 100644 packages/legacy-structure/commands/bootstrap/src/lib/has-dependency-installed.ts
create mode 100644 packages/legacy-structure/commands/bootstrap/src/lib/is-hoisted-package.ts
create mode 100644 packages/legacy-structure/commands/bootstrap/tsconfig.json
create mode 100644 packages/legacy-structure/commands/bootstrap/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/changed/.gitignore
rename {commands => packages/legacy-structure/commands}/changed/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/changed/package.json (61%)
create mode 100644 packages/legacy-structure/commands/changed/project.json
create mode 100644 packages/legacy-structure/commands/changed/src/command.ts
create mode 100644 packages/legacy-structure/commands/changed/src/index.ts
create mode 100644 packages/legacy-structure/commands/changed/tsconfig.json
create mode 100644 packages/legacy-structure/commands/changed/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/clean/.gitignore
rename {commands => packages/legacy-structure/commands}/clean/CHANGELOG.md (100%)
create mode 100644 packages/legacy-structure/commands/clean/package.json
create mode 100644 packages/legacy-structure/commands/clean/project.json
create mode 100644 packages/legacy-structure/commands/clean/src/command.ts
create mode 100644 packages/legacy-structure/commands/clean/src/index.ts
create mode 100644 packages/legacy-structure/commands/clean/tsconfig.json
create mode 100644 packages/legacy-structure/commands/clean/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/create/.babelrc
create mode 100644 packages/legacy-structure/commands/create/.eslintrc.json
create mode 100644 packages/legacy-structure/commands/create/.gitignore
rename {commands => packages/legacy-structure/commands}/create/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/basic/lerna.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/basic/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/basic/packages/sibling-pkg/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/custom-location/lerna.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/custom-location/modules/sibling-pkg/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/custom-location/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/custom-location/packages/lonely-pkg/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/independent/lerna.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/independent/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/independent/packages/cousin-pkg/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/independent/packages/sibling-pkg/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/relative-file-spec/lerna.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/relative-file-spec/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/relative-file-spec/packages/cousin-pkg/package.json (100%)
rename {commands => packages/legacy-structure/commands}/create/__tests__/__fixtures__/relative-file-spec/packages/sibling-pkg/package.json (100%)
rename commands/create/__tests__/__snapshots__/create-command.test.js.snap => packages/legacy-structure/commands/create/__tests__/__snapshots__/create-command.spec.ts.snap (100%)
rename commands/create/__tests__/create-command.test.js => packages/legacy-structure/commands/create/__tests__/create-command.spec.ts (90%)
create mode 100644 packages/legacy-structure/commands/create/jest.config.ts
rename {commands => packages/legacy-structure/commands}/create/package.json (53%)
create mode 100644 packages/legacy-structure/commands/create/project.json
create mode 100644 packages/legacy-structure/commands/create/src/command.ts
create mode 100644 packages/legacy-structure/commands/create/src/index.ts
create mode 100644 packages/legacy-structure/commands/create/src/lib/builtin-npmrc.ts
create mode 100644 packages/legacy-structure/commands/create/src/lib/cat-file.ts
create mode 100644 packages/legacy-structure/commands/create/src/lib/lerna-module-data.js
create mode 100644 packages/legacy-structure/commands/create/tsconfig.json
create mode 100644 packages/legacy-structure/commands/create/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/create/tsconfig.spec.json
create mode 100644 packages/legacy-structure/commands/diff/.gitignore
rename {commands => packages/legacy-structure/commands}/diff/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/diff/package.json (61%)
create mode 100644 packages/legacy-structure/commands/diff/project.json
create mode 100644 packages/legacy-structure/commands/diff/src/command.ts
create mode 100644 packages/legacy-structure/commands/diff/src/index.ts
create mode 100644 packages/legacy-structure/commands/diff/src/lib/get-last-commit.ts
create mode 100644 packages/legacy-structure/commands/diff/src/lib/has-commit.ts
create mode 100644 packages/legacy-structure/commands/diff/tsconfig.json
create mode 100644 packages/legacy-structure/commands/diff/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/exec/.gitignore
rename {commands => packages/legacy-structure/commands}/exec/CHANGELOG.md (100%)
rename {core/package => packages/legacy-structure/commands/exec}/package.json (54%)
create mode 100644 packages/legacy-structure/commands/exec/project.json
create mode 100644 packages/legacy-structure/commands/exec/src/command.ts
create mode 100644 packages/legacy-structure/commands/exec/src/index.ts
create mode 100644 packages/legacy-structure/commands/exec/tsconfig.json
create mode 100644 packages/legacy-structure/commands/exec/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/import/.gitignore
rename {commands => packages/legacy-structure/commands}/import/CHANGELOG.md (100%)
create mode 100644 packages/legacy-structure/commands/import/package.json
create mode 100644 packages/legacy-structure/commands/import/project.json
create mode 100644 packages/legacy-structure/commands/import/src/command.ts
create mode 100644 packages/legacy-structure/commands/import/src/index.ts
create mode 100644 packages/legacy-structure/commands/import/tsconfig.json
create mode 100644 packages/legacy-structure/commands/import/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/info/.gitignore
rename {commands => packages/legacy-structure/commands}/info/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/info/package.json (66%)
create mode 100644 packages/legacy-structure/commands/info/project.json
create mode 100644 packages/legacy-structure/commands/info/src/command.ts
create mode 100644 packages/legacy-structure/commands/info/src/index.ts
create mode 100644 packages/legacy-structure/commands/info/tsconfig.json
create mode 100644 packages/legacy-structure/commands/info/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/init/.gitignore
rename {commands => packages/legacy-structure/commands}/init/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/init/package.json (60%)
create mode 100644 packages/legacy-structure/commands/init/project.json
create mode 100644 packages/legacy-structure/commands/init/src/command.ts
create mode 100644 packages/legacy-structure/commands/init/src/index.ts
create mode 100644 packages/legacy-structure/commands/init/tsconfig.json
create mode 100644 packages/legacy-structure/commands/init/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/link/.gitignore
rename {commands => packages/legacy-structure/commands}/link/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/link/__tests__/__fixtures__/with-contents/packages/package-2/dist/cli.js (100%)
rename {commands => packages/legacy-structure/commands}/link/__tests__/__fixtures__/with-contents/packages/package-3/dist/cli1.js (100%)
rename {commands => packages/legacy-structure/commands}/link/__tests__/__fixtures__/with-contents/packages/package-3/dist/cli2.js (100%)
rename {commands => packages/legacy-structure/commands}/link/package.json (56%)
create mode 100644 packages/legacy-structure/commands/link/project.json
create mode 100644 packages/legacy-structure/commands/link/src/command.ts
create mode 100644 packages/legacy-structure/commands/link/src/index.ts
create mode 100644 packages/legacy-structure/commands/link/tsconfig.json
create mode 100644 packages/legacy-structure/commands/link/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/list/.gitignore
rename {commands => packages/legacy-structure/commands}/list/CHANGELOG.md (100%)
rename {commands => packages/legacy-structure/commands}/list/package.json (59%)
create mode 100644 packages/legacy-structure/commands/list/project.json
create mode 100644 packages/legacy-structure/commands/list/src/command.ts
create mode 100644 packages/legacy-structure/commands/list/src/index.ts
create mode 100644 packages/legacy-structure/commands/list/tsconfig.json
create mode 100644 packages/legacy-structure/commands/list/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/publish/.gitignore
rename {commands => packages/legacy-structure/commands}/publish/CHANGELOG.md (100%)
rename {core/otplease => packages/legacy-structure/commands/publish}/package.json (53%)
create mode 100644 packages/legacy-structure/commands/publish/project.json
create mode 100644 packages/legacy-structure/commands/publish/src/command.ts
create mode 100644 packages/legacy-structure/commands/publish/src/index.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/create-temp-licenses.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/fetch-config.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-current-sha.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-current-tags.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-npm-username.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-packages-without-license.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-profile-data.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-tagged-packages.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-two-factor-auth-required.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-unpublished-packages.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/get-whoami.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/git-checkout.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/remove-temp-licenses.ts
create mode 100644 packages/legacy-structure/commands/publish/src/lib/verify-npm-package-access.ts
create mode 100644 packages/legacy-structure/commands/publish/tsconfig.json
create mode 100644 packages/legacy-structure/commands/publish/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/run/.gitignore
rename {commands => packages/legacy-structure/commands}/run/CHANGELOG.md (100%)
create mode 100644 packages/legacy-structure/commands/run/package.json
create mode 100644 packages/legacy-structure/commands/run/project.json
create mode 100644 packages/legacy-structure/commands/run/src/command.ts
create mode 100644 packages/legacy-structure/commands/run/src/index.ts
create mode 100644 packages/legacy-structure/commands/run/tsconfig.json
create mode 100644 packages/legacy-structure/commands/run/tsconfig.lib.json
create mode 100644 packages/legacy-structure/commands/version/.gitignore
rename {commands => packages/legacy-structure/commands}/version/CHANGELOG.md (100%)
create mode 100644 packages/legacy-structure/commands/version/package.json
create mode 100644 packages/legacy-structure/commands/version/project.json
create mode 100644 packages/legacy-structure/commands/version/src/command.ts
create mode 100644 packages/legacy-structure/commands/version/src/index.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/create-release.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/get-current-branch.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/git-add.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/git-commit.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/git-push.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/git-tag.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/is-anything-committed.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/is-behind-upstream.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/is-breaking-change.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/prompt-version.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/remote-branch-exists.ts
create mode 100644 packages/legacy-structure/commands/version/src/lib/update-lockfile-version.ts
create mode 100644 packages/legacy-structure/commands/version/tsconfig.json
create mode 100644 packages/legacy-structure/commands/version/tsconfig.lib.json
create mode 100644 packages/lerna/.eslintrc.json
rename {core => packages}/lerna/CHANGELOG.md (100%)
rename {core => packages}/lerna/README.md (85%)
create mode 100644 packages/lerna/jest.config.ts
rename {core => packages}/lerna/migrations.json (69%)
create mode 100644 packages/lerna/package.json
create mode 100644 packages/lerna/project.json
rename {core => packages}/lerna/schemas/lerna-schema.json (100%)
rename core/lerna/cli.js => packages/lerna/src/cli.ts (83%)
rename {core/lerna => packages/lerna/src}/commands/add-caching/README.md (77%)
create mode 100644 packages/lerna/src/commands/add-caching/command.ts
rename core/lerna/commands/add-caching/index.js => packages/lerna/src/commands/add-caching/index.ts (69%)
create mode 100644 packages/lerna/src/commands/add/command.ts
create mode 100644 packages/lerna/src/commands/add/index.ts
create mode 100644 packages/lerna/src/commands/add/lib/get-range-to-reference.ts
create mode 100644 packages/lerna/src/commands/bootstrap/command.ts
create mode 100644 packages/lerna/src/commands/bootstrap/index.ts
create mode 100644 packages/lerna/src/commands/bootstrap/lib/has-dependency-installed.ts
create mode 100644 packages/lerna/src/commands/bootstrap/lib/is-hoisted-package.ts
create mode 100644 packages/lerna/src/commands/changed/command.ts
create mode 100644 packages/lerna/src/commands/changed/index.ts
create mode 100644 packages/lerna/src/commands/clean/command.ts
create mode 100644 packages/lerna/src/commands/clean/index.ts
create mode 100644 packages/lerna/src/commands/diff/command.ts
create mode 100644 packages/lerna/src/commands/diff/index.ts
create mode 100644 packages/lerna/src/commands/diff/lib/get-last-commit.ts
create mode 100644 packages/lerna/src/commands/diff/lib/has-commit.ts
create mode 100644 packages/lerna/src/commands/exec/command.ts
create mode 100644 packages/lerna/src/commands/exec/index.ts
create mode 100644 packages/lerna/src/commands/import/command.ts
create mode 100644 packages/lerna/src/commands/import/index.ts
create mode 100644 packages/lerna/src/commands/info/command.ts
create mode 100644 packages/lerna/src/commands/info/index.ts
create mode 100644 packages/lerna/src/commands/init/command.ts
create mode 100644 packages/lerna/src/commands/init/index.ts
create mode 100644 packages/lerna/src/commands/link/command.ts
create mode 100644 packages/lerna/src/commands/link/index.ts
create mode 100644 packages/lerna/src/commands/list/command.ts
create mode 100644 packages/lerna/src/commands/list/index.ts
create mode 100644 packages/lerna/src/commands/publish/command.ts
create mode 100644 packages/lerna/src/commands/publish/index.ts
create mode 100644 packages/lerna/src/commands/publish/lib/create-temp-licenses.ts
create mode 100644 packages/lerna/src/commands/publish/lib/fetch-config.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-current-sha.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-current-tags.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-npm-username.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-packages-without-license.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-profile-data.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-tagged-packages.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-two-factor-auth-required.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-unpublished-packages.ts
create mode 100644 packages/lerna/src/commands/publish/lib/get-whoami.ts
create mode 100644 packages/lerna/src/commands/publish/lib/git-checkout.ts
create mode 100644 packages/lerna/src/commands/publish/lib/remove-temp-licenses.ts
create mode 100644 packages/lerna/src/commands/publish/lib/verify-npm-package-access.ts
rename {core/lerna => packages/lerna/src}/commands/repair/README.md (100%)
create mode 100644 packages/lerna/src/commands/repair/command.ts
create mode 100644 packages/lerna/src/commands/repair/index.ts
create mode 100644 packages/lerna/src/commands/run/command.ts
create mode 100644 packages/lerna/src/commands/run/index.ts
create mode 100644 packages/lerna/src/commands/version/command.ts
create mode 100644 packages/lerna/src/commands/version/index.ts
create mode 100644 packages/lerna/src/commands/version/lib/create-release.ts
create mode 100644 packages/lerna/src/commands/version/lib/get-current-branch.ts
create mode 100644 packages/lerna/src/commands/version/lib/git-add.ts
create mode 100644 packages/lerna/src/commands/version/lib/git-commit.ts
create mode 100644 packages/lerna/src/commands/version/lib/git-push.ts
create mode 100644 packages/lerna/src/commands/version/lib/git-tag.ts
create mode 100644 packages/lerna/src/commands/version/lib/is-anything-committed.ts
create mode 100644 packages/lerna/src/commands/version/lib/is-behind-upstream.ts
create mode 100644 packages/lerna/src/commands/version/lib/is-breaking-change.ts
create mode 100644 packages/lerna/src/commands/version/lib/prompt-version.ts
create mode 100644 packages/lerna/src/commands/version/lib/remote-branch-exists.ts
create mode 100644 packages/lerna/src/commands/version/lib/update-lockfile-version.ts
rename {core/lerna => packages/lerna/src}/commands/watch/README.md (100%)
create mode 100644 packages/lerna/src/commands/watch/command.ts
rename core/lerna/commands/watch/index.js => packages/lerna/src/commands/watch/index.ts (63%)
create mode 100644 packages/lerna/src/index.ts
rename core/lerna/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.test.js => packages/lerna/src/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.test.ts (73%)
rename core/lerna/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.js => packages/lerna/src/migrations/remove-unnecessary-use-nx/remove-unnecessary-use-nx.ts (57%)
create mode 100644 packages/lerna/tsconfig.json
create mode 100644 packages/lerna/tsconfig.lib.json
create mode 100644 packages/lerna/tsconfig.spec.json
delete mode 100755 scripts/update_dependency.sh
create mode 100644 tools/patches/@nrwl+esbuild+15.5.2.patch
rename {scripts => tools/scripts}/build.sh (86%)
rename {scripts => tools/scripts}/e2e-build-package-publish.ts (97%)
rename {scripts => tools/scripts}/e2e-start-local-registry.js (86%)
rename scripts/local-release.ts => tools/scripts/lerna-release.ts (90%)
rename {scripts => tools/scripts}/local-registry.sh (100%)
rename {scripts => tools/scripts}/local-registry/config.yml (91%)
rename {scripts => tools/scripts}/set-e2e-root.ts (100%)
rename {scripts => tools/scripts}/tsconfig.e2e.json (59%)
rename {scripts => tools/scripts}/tsconfig.scripts.json (55%)
delete mode 100644 utils/check-working-tree/CHANGELOG.md
delete mode 100644 utils/check-working-tree/README.md
delete mode 100644 utils/check-working-tree/package.json
delete mode 100644 utils/collect-uncommitted/CHANGELOG.md
delete mode 100644 utils/collect-uncommitted/README.md
delete mode 100644 utils/collect-uncommitted/lib/collect-uncommitted.js
delete mode 100644 utils/collect-uncommitted/package.json
delete mode 100644 utils/collect-updates/CHANGELOG.md
delete mode 100644 utils/collect-updates/README.md
delete mode 100644 utils/collect-updates/lib/collect-packages.js
delete mode 100644 utils/collect-updates/lib/has-tags.js
delete mode 100644 utils/collect-updates/package.json
delete mode 100644 utils/create-symlink/CHANGELOG.md
delete mode 100644 utils/create-symlink/README.md
delete mode 100644 utils/create-symlink/package.json
delete mode 100644 utils/describe-ref/CHANGELOG.md
delete mode 100644 utils/describe-ref/README.md
delete mode 100644 utils/describe-ref/package.json
delete mode 100644 utils/filter-packages/CHANGELOG.md
delete mode 100644 utils/filter-packages/README.md
delete mode 100644 utils/filter-packages/package.json
delete mode 100644 utils/get-npm-exec-opts/CHANGELOG.md
delete mode 100644 utils/get-npm-exec-opts/README.md
delete mode 100644 utils/get-npm-exec-opts/package.json
delete mode 100644 utils/get-packed/CHANGELOG.md
delete mode 100644 utils/get-packed/README.md
delete mode 100644 utils/get-packed/__tests__/get-packed.test.js
delete mode 100644 utils/get-packed/package.json
delete mode 100644 utils/github-client/CHANGELOG.md
delete mode 100644 utils/github-client/README.md
delete mode 100644 utils/github-client/package.json
delete mode 100644 utils/gitlab-client/CHANGELOG.md
delete mode 100644 utils/gitlab-client/README.md
delete mode 100644 utils/gitlab-client/package.json
delete mode 100644 utils/has-npm-version/CHANGELOG.md
delete mode 100644 utils/has-npm-version/README.md
delete mode 100644 utils/has-npm-version/package.json
delete mode 100644 utils/listable/CHANGELOG.md
delete mode 100644 utils/listable/README.md
delete mode 100644 utils/listable/index.js
delete mode 100644 utils/listable/package.json
delete mode 100644 utils/log-packed/CHANGELOG.md
delete mode 100644 utils/log-packed/README.md
delete mode 100644 utils/log-packed/package.json
delete mode 100644 utils/map-to-registry/CHANGELOG.md
delete mode 100644 utils/map-to-registry/README.md
delete mode 100644 utils/map-to-registry/package.json
delete mode 100644 utils/npm-conf/CHANGELOG.md
delete mode 100644 utils/npm-conf/README.md
delete mode 100644 utils/npm-conf/package.json
delete mode 100644 utils/npm-dist-tag/CHANGELOG.md
delete mode 100644 utils/npm-dist-tag/README.md
delete mode 100644 utils/npm-dist-tag/package.json
delete mode 100644 utils/npm-install/CHANGELOG.md
delete mode 100644 utils/npm-install/README.md
delete mode 100644 utils/npm-install/package.json
delete mode 100644 utils/npm-publish/CHANGELOG.md
delete mode 100644 utils/npm-publish/README.md
delete mode 100644 utils/npm-publish/package.json
delete mode 100644 utils/npm-run-script/CHANGELOG.md
delete mode 100644 utils/npm-run-script/README.md
delete mode 100644 utils/npm-run-script/package.json
delete mode 100644 utils/output/CHANGELOG.md
delete mode 100644 utils/output/README.md
delete mode 100644 utils/output/output.js
delete mode 100644 utils/output/package.json
delete mode 100644 utils/pack-directory/CHANGELOG.md
delete mode 100644 utils/pack-directory/README.md
delete mode 100644 utils/pack-directory/package.json
delete mode 100644 utils/prerelease-id-from-version/CHANGELOG.md
delete mode 100644 utils/prerelease-id-from-version/README.md
delete mode 100644 utils/prerelease-id-from-version/lib/prerelease-id-from-version.js
delete mode 100644 utils/prerelease-id-from-version/package.json
delete mode 100644 utils/profiler/CHANGELOG.md
delete mode 100644 utils/profiler/README.md
delete mode 100644 utils/profiler/package.json
delete mode 100644 utils/pulse-till-done/CHANGELOG.md
delete mode 100644 utils/pulse-till-done/README.md
delete mode 100644 utils/pulse-till-done/package.json
delete mode 100644 utils/query-graph/CHANGELOG.md
delete mode 100644 utils/query-graph/README.md
delete mode 100644 utils/query-graph/package.json
delete mode 100644 utils/resolve-symlink/CHANGELOG.md
delete mode 100644 utils/resolve-symlink/README.md
delete mode 100644 utils/resolve-symlink/package.json
delete mode 100644 utils/rimraf-dir/CHANGELOG.md
delete mode 100644 utils/rimraf-dir/README.md
delete mode 100644 utils/rimraf-dir/package.json
delete mode 100644 utils/run-lifecycle/CHANGELOG.md
delete mode 100644 utils/run-lifecycle/README.md
delete mode 100644 utils/run-lifecycle/package.json
delete mode 100644 utils/run-topologically/CHANGELOG.md
delete mode 100644 utils/run-topologically/README.md
delete mode 100644 utils/run-topologically/package.json
delete mode 100644 utils/symlink-binary/CHANGELOG.md
delete mode 100644 utils/symlink-binary/README.md
delete mode 100644 utils/symlink-binary/package.json
delete mode 100644 utils/symlink-dependencies/CHANGELOG.md
delete mode 100644 utils/symlink-dependencies/README.md
delete mode 100644 utils/symlink-dependencies/package.json
delete mode 100644 utils/temp-write/CHANGELOG.md
delete mode 100644 utils/temp-write/README.md
delete mode 100644 utils/temp-write/package.json
delete mode 100644 utils/timer/CHANGELOG.md
delete mode 100644 utils/timer/README.md
delete mode 100644 utils/timer/package.json
delete mode 100644 utils/write-log-file/CHANGELOG.md
delete mode 100644 utils/write-log-file/README.md
delete mode 100644 utils/write-log-file/package.json
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000000..5c9cc1e65f
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,2 @@
+dist
+__fixtures__
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c7ee4553b4..f7f1369e5e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,7 +5,6 @@ on:
branches:
- main
- next
- - "test/*"
pull_request:
types: [assigned, opened, synchronize, reopened, labeled]
@@ -17,6 +16,7 @@ env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_CLOUD_DISTRIBUTED_EXECUTION: true
NX_BRANCH: ${{ github.event.number || github.ref_name }}
+ NX_VERBOSE_LOGGING: false
jobs:
main:
@@ -38,15 +38,14 @@ jobs:
with:
cmd1: npx nx-cloud record -- npx nx format:check
cmd2: npx nx-cloud record -- npx nx workspace-lint
- cmd3: npx nx-cloud record -- npm run ci:lint
- cmd4: npx nx run-many --target=lint --all --parallel=3
- # TODO: update this once project targets are converted
- cmd5: npx nx run-many --target=test --projects=\"libs-*,nx-*\" --parallel=3
+ cmd3: npx nx run-many -t lint --parallel=3
+ cmd4: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
+ cmd5: npx nx run integration:integration --ci --maxWorkers=2
# e2e tests for everything except the primary task runner
- run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --target=run-e2e-tests-process --parallel=1
- - name: Stop all running agents for this CI run
+ - name: Stop all running agents for Nx Run Group ${{ env.NX_RUN_GROUP }}
# It's important that we always run this step, otherwise in the case of any failures in preceding non-Nx steps, the agents will keep running and waste billable minutes
if: ${{ always() }}
run: npx nx-cloud stop-all-agents
@@ -70,12 +69,92 @@ jobs:
- run: npm run e2e-start-local-registry
- - run: PUBLISHED_VERSION=999.9.9-e2e.0 npm run e2e-build-package-publish
+ - run: NX_VERBOSE_LOGGING=true PUBLISHED_VERSION=999.9.9-e2e.0 npm run e2e-build-package-publish
- name: Start Nx Agent ${{ matrix.agent }}
run: npx nx-cloud start-agent
env:
- NX_AGENT_NAME: ${{matrix.agent}}
+ NX_AGENT_NAME: ${{ matrix.agent }}
+
+ windows-main:
+ name: Nx Cloud - Windows Main Job
+ runs-on: windows-latest
+ env:
+ LERNA_OS_TYPE: windows
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Derive appropriate SHAs for base and head for `nx affected` commands
+ uses: nrwl/nx-set-shas@v3
+
+ - name: Set NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP=$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-windows" >> $GITHUB_ENV
+
+ - name: Log NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP is ${{ env.NX_RUN_GROUP }}"
+
+ - name: Install primary node version (see volta config in package.json) and dependencies
+ uses: ./.github/actions/install-node-and-dependencies
+
+ - name: Run parallel distributed unit and integration tests on windows
+ shell: bash
+ # From old maintainer regarding integration tests: "import is NOT TESTED in windows because pain and suffering"
+ run: |
+ pids=()
+ npx nx run integration:integration --ci --maxWorkers=2 --testPathIgnorePatterns=lerna-import.spec.ts &
+ pids+=($!)
+
+ # Ignored specs currently failing on windows
+ # TODO: investigate why
+ npx nx run-many -t test --parallel=3 --ci --maxWorkers=2 --testTimeout=45000 --testPathIgnorePatterns=create-symlink.spec.ts --testPathIgnorePatterns=get-two-factor-auth-required.spec.ts --testPathIgnorePatterns=version-lifecycle-scripts.spec.ts --testPathIgnorePatterns=version-allow-branch.spec.ts --testPathIgnorePatterns=version-message.spec.ts --testPathIgnorePatterns=version-conventional-commits.spec.ts --testPathIgnorePatterns=version-bump-prerelease.spec.ts --testPathIgnorePatterns=version-bump.spec.ts --testPathIgnorePatterns=version-git-hosted-siblings.spec.ts --testPathIgnorePatterns=version-command.spec.ts --testPathIgnorePatterns=bootstrap-command.spec.ts --testPathIgnorePatterns=import-command.spec.ts --testPathIgnorePatterns=publish-command.spec.ts --testPathIgnorePatterns=publish-licenses.spec.ts --testPathIgnorePatterns=publish-lifecycle-scripts.spec.ts --testPathIgnorePatterns=publish-tagging.spec.ts --testPathIgnorePatterns=publish-relative-file-specifiers.spec.ts &
+
+ pids+=($!)
+
+ for pid in "${pids[@]}"; do
+ wait "$pid"
+ done
+
+ - name: Stop all running agents for Nx Run Group ${{ env.NX_RUN_GROUP }}
+ # It's important that we always run this step, otherwise in the case of any failures in preceding non-Nx steps, the agents will keep running and waste billable minutes
+ if: ${{ always() }}
+ run: npx nx-cloud stop-all-agents
+
+ windows-agents:
+ name: Nx Cloud - Windows Agent ${{ matrix.agent }}
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ agent: [1, 2, 3, 4]
+ env:
+ LERNA_OS_TYPE: windows
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Set NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP=$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-windows" >> $GITHUB_ENV
+
+ - name: Log NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP is ${{ env.NX_RUN_GROUP }}"
+
+ - name: Configure git metadata
+ run: |
+ git config --global user.email test@example.com
+ git config --global user.name "Tester McPerson"
+
+ - name: Install primary node version (see volta config in package.json) and dependencies
+ uses: ./.github/actions/install-node-and-dependencies
+
+ - name: Start Nx Agent ${{ matrix.agent }}
+ run: npx nx-cloud start-agent
+ env:
+ NX_AGENT_NAME: ${{ matrix.agent }}
+ NX_RUN_GROUP: ${{ env.NX_RUN_GROUP }}
# Isolated e2e tests for the task runner which become too flaky if nested through further node child processes
task-runner-e2e:
@@ -125,50 +204,3 @@ jobs:
if: ${{ steps.check_affected.outputs.is_affected }}
run: e2e/run/task-runner/src/run-tests.sh
shell: bash
-
- # TODO: migrate to cacheable/distributable targets
- test:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- node: [14, "16.15.0", 18]
- script: ["ci:test:unit", "ci:test:integration"]
- steps:
- - uses: actions/checkout@v3
-
- - name: Configure git metadata
- run: |
- git config --global user.email test@example.com
- git config --global user.name "Tester McPerson"
-
- - name: Install node version ${{ matrix.node }} and dependencies
- uses: ./.github/actions/install-node-and-dependencies
- with:
- node-version: ${{ matrix.node }}
-
- - run: npm run ${{ matrix.script }}
-
- # TODO: migrate to cacheable/distributable targets
- windows:
- runs-on: windows-latest
- strategy:
- fail-fast: false
- matrix:
- script: ["ci:test:unit", "ci:test:integration"]
- subset: [publish, non-publish]
- steps:
- - uses: actions/checkout@v3
-
- - name: Configure git metadata
- run: |
- git config --global user.email test@example.com
- git config --global user.name "Tester McPerson"
-
- - name: Install primary node version (see volta config in package.json) and dependencies
- uses: ./.github/actions/install-node-and-dependencies
-
- - run: npm run ${{ matrix.script }}
- env:
- LERNA_CI_TYPE: ${{ matrix.subset }}
- LERNA_OS_TYPE: windows
diff --git a/.github/workflows/other-node-versions.yml b/.github/workflows/other-node-versions.yml
new file mode 100644
index 0000000000..2f0fb029c0
--- /dev/null
+++ b/.github/workflows/other-node-versions.yml
@@ -0,0 +1,146 @@
+name: Other Node Versions
+
+on:
+ workflow_dispatch:
+ schedule:
+ # Every day at 7:30am UTC
+ - cron: "30 7 * * *"
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
+ cancel-in-progress: true
+
+env:
+ NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
+ NX_CLOUD_DISTRIBUTED_EXECUTION: true
+ NX_BRANCH: ${{ github.event.number || github.ref_name }}
+ NX_VERBOSE_LOGGING: true
+
+jobs:
+ set-node-versions:
+ name: Set Node Versions
+ runs-on: ubuntu-latest
+ outputs:
+ node-versions: ${{ steps.node-matrix.outputs.node-versions }}
+ steps:
+ - name: Set node matrix
+ id: node-matrix
+ # These versions intentionally do not contain our primary major version because that has already been tested by ci.yml
+ # 19 is included so that we can test npm v9
+ #
+ # TODO: Investigate unit test failure on v19
+ # TODO: ^14.15.0 is currently failing e2e because of later JS usage in our e2e-utils, so we need to address that
+ run: |
+ NODE_VERSIONS_JSON_ARRAY=$(node -e "console.log(JSON.stringify(['18']));")
+ echo $NODE_VERSIONS_JSON_ARRAY
+ echo "node-versions=$NODE_VERSIONS_JSON_ARRAY" >> $GITHUB_OUTPUT
+
+ main:
+ name: Nx Cloud - Main Job - node-${{ matrix.node }}
+ needs: set-node-versions
+ runs-on: ubuntu-latest
+ strategy:
+ # Do not kill all versions of node just because one version failed
+ fail-fast: false
+ matrix:
+ node: ${{ fromJson(needs.set-node-versions.outputs.node-versions) }}
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - name: Derive appropriate SHAs for base and head for `nx affected` commands
+ uses: nrwl/nx-set-shas@v3
+
+ - name: Set NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP=$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-node-${{ matrix.node }}" >> $GITHUB_ENV
+
+ - name: Log NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP is ${{ env.NX_RUN_GROUP }}"
+
+ - name: Install node v${{ matrix.node }} and dependencies
+ uses: ./.github/actions/install-node-and-dependencies
+ with:
+ node-version: ${{ matrix.node }}
+
+ - name: Install pnpm
+ run: npm install -g pnpm
+ shell: bash
+
+ - run: pnpm --version
+ shell: bash
+
+ - name: Run parallel distributed tests on each node version
+ uses: jameshenry/parallel-bash-commands@v1
+ with:
+ cmd1: npx nx run-many -t test --parallel=3 --ci --maxWorkers=2
+ cmd2: npx nx run integration:integration --ci --maxWorkers=2
+
+ # e2e tests for everything except the primary task runner
+ - run: PUBLISHED_VERSION=999.9.9-e2e.0 npx nx run-many --target=run-e2e-tests-process --parallel=1
+
+ - name: Configure git metadata
+ run: |
+ git config --global user.email test@example.com
+ git config --global user.name "Tester McPerson"
+
+ - name: Prepare e2e tests for task-runner
+ run: npx nx prepare-for-e2e e2e-run-task-runner
+ shell: bash
+ env:
+ NX_CLOUD_DISTRIBUTED_EXECUTION: false
+
+ - name: Run e2e tests for task-runner
+ run: e2e/run/task-runner/src/run-tests.sh
+ shell: bash
+ env:
+ NX_CLOUD_DISTRIBUTED_EXECUTION: false
+
+ - name: Stop all running agents for Nx Run Group ${{ env.NX_RUN_GROUP }}
+ # It's important that we always run this step, otherwise in the case of any failures in preceding non-Nx steps, the agents will keep running and waste billable minutes
+ if: ${{ always() }}
+ run: npx nx-cloud stop-all-agents
+
+ agents:
+ name: Nx Cloud - Agent - node-${{ matrix.node }}-agent-${{ matrix.agent }}
+ needs: set-node-versions
+ runs-on: ubuntu-latest
+ strategy:
+ # Do not kill all versions of node just because one version failed
+ fail-fast: false
+ matrix:
+ node: ${{ fromJson(needs.set-node-versions.outputs.node-versions) }}
+ # Create 2 agents per node version
+ agent: [1, 2]
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Configure git metadata
+ run: |
+ git config --global user.email test@example.com
+ git config --global user.name "Tester McPerson"
+
+ - name: Set NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP=$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-node-${{ matrix.node }}" >> $GITHUB_ENV
+
+ - name: Log NX_RUN_GROUP
+ shell: bash
+ run: echo "NX_RUN_GROUP is ${{ env.NX_RUN_GROUP }}"
+
+ - name: Install node v${{ matrix.node }} and dependencies
+ uses: ./.github/actions/install-node-and-dependencies
+ with:
+ node-version: ${{ matrix.node }}
+
+ - run: npm run e2e-start-local-registry
+
+ - run: NX_VERBOSE_LOGGING=true PUBLISHED_VERSION=999.9.9-e2e.0 npm run e2e-build-package-publish
+
+ - name: Start Nx Agent node-${{ matrix.node }}-agent-${{ matrix.agent }}
+ run: npx nx-cloud start-agent
+ env:
+ NX_AGENT_NAME: node-${{ matrix.node }}-agent-${{ matrix.agent }}
+ NX_RUN_GROUP: ${{ env.NX_RUN_GROUP }}
diff --git a/.npmrc b/.npmrc
index 7102ef60ff..3625ccdb59 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1,2 +1,5 @@
# just in case a private registry is configured in ~/.npmrc
registry = https://registry.npmjs.org/
+
+# TODO: remove this once esbuild 0.17 is officially supported in @nrwl/esbuild
+legacy-peer-deps = true
diff --git a/.prettierignore b/.prettierignore
index c0ee904502..71e89c5276 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,5 +1,6 @@
-# Ignore json configuration files in fixtures, sometimes they are intentonally malformed
+# Ignore relevant files in fixtures, sometimes they are intentonally malformed
**/__fixtures__/**/*.json
+**/__fixtures__/**/*.md
dist
tmp
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ed26137949..9f02d39230 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -24,10 +24,12 @@ npm ci # given this is a clean install on an existing project, npm ci can be use
Currently, the [source](https://github.com/lerna/lerna/tree/main) is split up into a few categories:
-- [utils](https://github.com/lerna/lerna/tree/main/utils): shared packages to run git, npm, fs, and more.
-- [core](https://github.com/lerna/lerna/tree/main/core): basic building blocks, including Package-related abstractions and the command superclass.
-- [commands](https://github.com/lerna/lerna/tree/main/commands): each command has an `initialize` and `execute` function.
- - These commands are consumed as yargs subcommands in [core/cli/index.js](https://github.com/lerna/lerna/blob/main/core/cli/index.js), which is required from the executable [`core/lerna/cli.js`](https://github.com/lerna/lerna/blob/main/core/lerna/cli.js).
+- [e2e](https://github.com/lerna/lerna/tree/main/e2e): latest test code which runs the `lerna` CLI as close to how a user does as possible
+- [integration](https://github.com/lerna/lerna/tree/main/integration): legacy test code which exists somewhere between unit and e2e testing in terms of abstraction. New e2e tests should be preferred over new tests here because they are higher value.
+- [libs](https://github.com/lerna/lerna/tree/main/libs): source code which gets composed into packages for publishing, or which assists with other things such as unit and e2e testing
+- [packages](https://github.com/lerna/lerna/tree/main/packages): the packages which get published to npm
+- [tools](https://github.com/lerna/lerna/tree/main/tools): utility scripts, node_module patches etc which help with maintaining the repository
+- [website](https://github.com/lerna/lerna/tree/main/website): source code for https://lerna.js.org, which ultimately gets published to Github pages from https://github.com/lerna/website for historical reasons
## Submission Guidelines
@@ -56,67 +58,50 @@ This project follows [GitHub's standard forking model](https://guides.github.com
### Run Unit Tests
```sh
-$ npm test
+# Run all unit tests
+npm test
-# watch for changes
-$ npm test -- --watch
-
-# For a specific file (e.g., in core/command/__tests__/command.test.js)
-$ npm test -- --watch core/command
-```
+# Watch all unit tests for changes
+npm test -- --watch
-By default, `npm test` also runs the linter.
-You can skip this by calling `jest` directly:
-
-```sh
-$ npx jest
-$ npx jest --watch
-$ npx jest --config jest.integration.js
+# Test a specific project or package
+npx nx test core
+npx nx test lerna
# etc
-```
-### Coverage
-
-If you would like to check test coverage, run the coverage script, then open
-`coverage/lcov-report/index.html` in your favorite browser.
-
-```sh
-$ npm test -- --coverage
-
-# OS X
-$ open coverage/lcov-report/index.html
-
-# Linux
-$ xdg-open coverage/lcov-report/index.html
+# Watch a specific project or package's tests
+npx nx test core --watch
+npx nx test lerna --watch
+# etc
```
### Run Integration Tests
```sh
-$ npm run integration
+npm run integration
# test a specific file
-$ npm run integration -- lerna-publish
+npm run integration -- --testFile lerna-add.spec.ts
# watch for changes
-$ npm run integration -- --watch
+npm run integration -- --watch
# watch a specific file
-$ npm run integration -- --watch lerna-publish
+npm run integration -- --testFile lerna-add.spec.ts --watch
```
### Linting
```sh
-$ npm run lint
+npm run lint
```
-It's also a good idea to hook up your editor to an eslint plugin.
+It's also a good idea to hook up your editor to an ESLint extension (such as `vscode-eslint`).
To fix lint errors from the command line:
```sh
-$ npm run lint -- --fix
+npm run lint -- --fix
```
### Local CLI Testing
@@ -129,7 +114,7 @@ You will need two different terminal windows for this as one of them will contai
- Run `npm adduser --registry http://localhost:4873` in Terminal 2 (real credentials are not required, you just need to
be logged in. You can use test/test/test@test.io.)
- Run `npm run local-registry enable` in Terminal 2
-- Run `npm run local-release 999.9.9 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use something which is different from the current major
+- Run `npm run lerna-release 999.9.9 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use something which is different from the current major
You can then install your local version of lerna wherever you want by leveraging the `--registry` flag on the npm/npx client.
@@ -217,5 +202,5 @@ The root `.env` file is _never_ placed under version control.
Once that's done, run the release script and await glory:
```sh
-npm run release
+npx env-cmd npm run lerna-release -- --local false
```
diff --git a/FAQ.md b/FAQ.md
deleted file mode 100644
index 6ccf368b24..0000000000
--- a/FAQ.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# Frequently asked questions
-
-_This document is a work in progress._
-
-## How do I add a package to my Lerna repository?
-
-For any packages that you add to your Lerna repository, instead of running
-`npm install` you should run [`lerna bootstrap`][bootstrap]. This will take into
-account the existing projects in the `packages` folder as well as
-external dependencies.
-
-### New packages
-
-Create a directory for your package in the `packages` folder, and run `npm init`
-as normal to create the `package.json` for your new package.
-
-### Existing packages
-
-You can use [`lerna import `][import] to transfer an existing package
-into your Lerna repository; this command will preserve the commit history.
-
-[`lerna import `][import] takes a local path rather than a URL. In this
-case you will need to have the repo you wish to link to on your file system.
-
-[bootstrap]: https://github.com/lerna/lerna/blob/main/commands/bootstrap/README.md
-[import]: https://github.com/lerna/lerna/blob/main/commands/import/README.md
-
-## How do I retry publishing if `publish` fails?
-
-Sometimes, `lerna publish` does not work. Your network may have had a hiccup, you may have not been logged on to npm, etc.
-
-If the `lerna.json` has not yet been updated, simply try `lerna publish` again.
-
-If it has been updated, you can force re-publish. `lerna publish --force-publish $(ls packages/)`
-
-## The bootstrap process is really slow, what can I do?
-
-Projects having many packages inside them could take a very long time to bootstrap.
-
-You can significantly reduce the time spent in `lerna bootstrap` if you turn
-on hoisting, see the [hoisting docs](./doc/hoist.md) for more information.
-
-In combination with that you may increase the bootstrap performance even more by
-[using yarn as an npm client](https://github.com/lerna/lerna/blob/main/commands/bootstrap/README.md#usage) instead of `npm`.
-
-## Root `package.json`
-
-The root `package.json`, at the very least, is how you install `lerna` locally during a CI build.
-You should also put your testing, linting and similar tasks there to run them from root
-as running them separately from each package is slower. The root can also hold all the "hoisted" packages,
-which speeds up bootstrapping when using the [`--hoist`][hoist] flag.
-
-[hoist]: https://github.com/lerna/lerna/blob/main/doc/hoist.md
-
-## CI setup
-
-As mentioned above root `package.json` is responsible for installing `lerna` locally. You need to automate `bootstrap` though.
-This can be achieved by putting it as npm script to use it during CI phases.
-
-Example root `package.json`:
-
-```json
-{
- "name": "my-monorepo",
- "private": true,
- "devDependencies": {
- "eslint": "^3.19.0",
- "jest": "^20.0.4",
- "lerna": "^2.0.0"
- },
- "scripts": {
- "bootstrap": "lerna bootstrap --hoist",
- "pretest": "eslint packages",
- "test": "jest"
- }
-}
-```
-
-Example CircleCI's configuration file (`circle.yml`):
-
-```yml
-dependencies:
- post:
- - npm run bootstrap
-```
diff --git a/README.md b/README.md
index 53265391f9..273c15c8e3 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@
-Lerna is a fast modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
+Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
@@ -106,4 +106,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
-This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
\ No newline at end of file
+This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
diff --git a/commands/add/command.js b/commands/add/command.js
deleted file mode 100644
index 3c982c0806..0000000000
--- a/commands/add/command.js
+++ /dev/null
@@ -1,74 +0,0 @@
-"use strict";
-
-const { filterOptions } = require("@lerna/filter-options");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "add [globs..]";
-
-exports.describe = "Add a single dependency to matched packages";
-
-exports.builder = (yargs) => {
- yargs
- .positional("pkg", {
- describe: "Package name to add as a dependency",
- type: "string",
- })
- .positional("globs", {
- describe: "Optional package directory globs to match",
- type: "array",
- })
- .options({
- D: {
- group: "Command Options:",
- type: "boolean",
- alias: "dev",
- describe: "Save to devDependencies",
- },
- E: {
- group: "Command Options:",
- type: "boolean",
- alias: "exact",
- describe: "Save version exactly",
- },
- P: {
- group: "Command Options:",
- type: "boolean",
- alias: "peer",
- describe: "Save to peerDependencies",
- },
- registry: {
- group: "Command Options:",
- describe: "Use the specified registry for all npm client operations.",
- type: "string",
- requiresArg: true,
- },
- "no-bootstrap": {
- group: "Command Options:",
- describe: "Do not automatically chain `lerna bootstrap` after changes are made.",
- type: "boolean",
- },
- bootstrap: {
- // proxy for --no-bootstrap
- hidden: true,
- type: "boolean",
- },
- })
- .example(
- "$0 add module-1 packages/prefix-*",
- "Adds the module-1 package to the packages in the 'prefix-' prefixed folders"
- )
- .example("$0 add module-1 --scope=module-2", "Install module-1 to module-2")
- .example("$0 add module-1 --scope=module-2 --dev", "Install module-1 to module-2 in devDependencies")
- .example("$0 add module-1 --scope=module-2 --peer", "Install module-1 to module-2 in peerDependencies")
- .example("$0 add module-1", "Install module-1 in all modules except module-1")
- .example("$0 add module-1 --no-bootstrap", "Skip automatic `lerna bootstrap`")
- .example("$0 add babel-core", "Install babel-core in all modules");
-
- return filterOptions(yargs);
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/add/package.json b/commands/add/package.json
deleted file mode 100644
index 393929b28d..0000000000
--- a/commands/add/package.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "name": "@lerna/add",
- "version": "6.4.1",
- "description": "Add a dependency to matched packages",
- "keywords": [
- "lerna",
- "command"
- ],
- "homepage": "https://lerna.js.org",
- "license": "MIT",
- "author": {
- "name": "Daniel Stockman",
- "url": "https://github.com/evocateur"
- },
- "files": [
- "command.js",
- "index.js",
- "lib"
- ],
- "main": "index.js",
- "engines": {
- "node": "^14.15.0 || >=16.0.0"
- },
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/lerna/lerna.git",
- "directory": "commands/add"
- },
- "scripts": {
- "test": "echo \"Run tests from root\" && exit 1"
- },
- "dependencies": {
- "@lerna/bootstrap": "file:../bootstrap",
- "@lerna/command": "file:../../core/command",
- "@lerna/filter-options": "file:../../core/filter-options",
- "@lerna/npm-conf": "file:../../utils/npm-conf",
- "@lerna/validation-error": "file:../../core/validation-error",
- "dedent": "^0.7.0",
- "npm-package-arg": "8.1.1",
- "p-map": "^4.0.0",
- "pacote": "^13.6.1",
- "semver": "^7.3.4"
- }
-}
diff --git a/commands/bootstrap/command.js b/commands/bootstrap/command.js
deleted file mode 100644
index 3d25c65231..0000000000
--- a/commands/bootstrap/command.js
+++ /dev/null
@@ -1,87 +0,0 @@
-"use strict";
-
-const { filterOptions } = require("@lerna/filter-options");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "bootstrap";
-
-exports.describe = "Link local packages together and install remaining package dependencies";
-
-exports.builder = (yargs) => {
- yargs
- .example(
- "$0 bootstrap -- --no-optional",
- "# execute `npm install --no-optional` in bootstrapped packages"
- )
- .parserConfiguration({
- "populate--": true,
- })
- .options({
- hoist: {
- group: "Command Options:",
- describe: "Install external dependencies matching [glob] to the repo root",
- defaultDescription: "'**'",
- },
- nohoist: {
- group: "Command Options:",
- describe: "Don't hoist external dependencies matching [glob] to the repo root",
- type: "string",
- requiresArg: true,
- },
- mutex: {
- hidden: true,
- // untyped and hidden on purpose
- },
- "ignore-prepublish": {
- group: "Command Options:",
- describe: "Don't run prepublish lifecycle scripts in bootstrapped packages.",
- type: "boolean",
- },
- "ignore-scripts": {
- group: "Command Options:",
- describe: "Don't run _any_ lifecycle scripts in bootstrapped packages",
- type: "boolean",
- },
- "npm-client": {
- group: "Command Options:",
- describe: "Executable used to install dependencies (npm, yarn, pnpm, ...)",
- type: "string",
- requiresArg: true,
- },
- registry: {
- group: "Command Options:",
- describe: "Use the specified registry for all npm client operations.",
- type: "string",
- requiresArg: true,
- },
- strict: {
- group: "Command Options:",
- describe: "Don't allow warnings when hoisting as it causes longer bootstrap times and other issues.",
- type: "boolean",
- },
- "use-workspaces": {
- group: "Command Options:",
- describe: "Enable integration with Yarn workspaces.",
- type: "boolean",
- },
- "force-local": {
- group: "Command Options:",
- describe: "Force local sibling links regardless of version range match",
- type: "boolean",
- },
- contents: {
- group: "Command Options:",
- describe: "Subdirectory to use as the source of any links. Must apply to ALL packages.",
- type: "string",
- defaultDescription: ".",
- },
- });
-
- return filterOptions(yargs);
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/bootstrap/package.json b/commands/bootstrap/package.json
deleted file mode 100644
index bd0cc4415c..0000000000
--- a/commands/bootstrap/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "@lerna/bootstrap",
- "version": "6.4.1",
- "description": "Link local packages together and install remaining package dependencies",
- "keywords": [
- "lerna",
- "command"
- ],
- "homepage": "https://lerna.js.org",
- "license": "MIT",
- "author": {
- "name": "Daniel Stockman",
- "url": "https://github.com/evocateur"
- },
- "files": [
- "command.js",
- "index.js",
- "lib"
- ],
- "main": "index.js",
- "engines": {
- "node": "^14.15.0 || >=16.0.0"
- },
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/lerna/lerna.git",
- "directory": "commands/bootstrap"
- },
- "scripts": {
- "test": "echo \"Run tests from root\" && exit 1"
- },
- "dependencies": {
- "@lerna/command": "file:../../core/command",
- "@lerna/filter-options": "file:../../core/filter-options",
- "@lerna/has-npm-version": "file:../../utils/has-npm-version",
- "@lerna/npm-install": "file:../../utils/npm-install",
- "@lerna/package-graph": "file:../../core/package-graph",
- "@lerna/pulse-till-done": "file:../../utils/pulse-till-done",
- "@lerna/rimraf-dir": "file:../../utils/rimraf-dir",
- "@lerna/run-lifecycle": "file:../../utils/run-lifecycle",
- "@lerna/run-topologically": "file:../../utils/run-topologically",
- "@lerna/symlink-binary": "file:../../utils/symlink-binary",
- "@lerna/symlink-dependencies": "file:../../utils/symlink-dependencies",
- "@lerna/validation-error": "file:../../core/validation-error",
- "@npmcli/arborist": "5.3.0",
- "dedent": "^0.7.0",
- "get-port": "^5.1.1",
- "multimatch": "^5.0.0",
- "npm-package-arg": "8.1.1",
- "npmlog": "^6.0.2",
- "p-map": "^4.0.0",
- "p-map-series": "^2.1.0",
- "p-waterfall": "^2.1.1",
- "semver": "^7.3.4"
- }
-}
diff --git a/commands/changed/command.js b/commands/changed/command.js
deleted file mode 100644
index baf92c6422..0000000000
--- a/commands/changed/command.js
+++ /dev/null
@@ -1,50 +0,0 @@
-"use strict";
-
-const listable = require("@lerna/listable");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "changed";
-
-exports.aliases = ["updated"];
-
-exports.describe = "List local packages that have changed since the last tagged release";
-
-exports.builder = (yargs) => {
- const opts = {
- // only the relevant bits from `lerna version`
- "conventional-commits": {
- // fallback for overzealous --conventional-graduate
- hidden: true,
- type: "boolean",
- },
- "conventional-graduate": {
- describe: "Detect currently prereleased packages that would change to a non-prerelease version.",
- // type must remain ambiguous because it is overloaded (boolean _or_ string _or_ array)
- },
- "force-publish": {
- describe: "Always include targeted packages when detecting changed packages, skipping default logic.",
- // type must remain ambiguous because it is overloaded (boolean _or_ string _or_ array)
- },
- "ignore-changes": {
- describe: [
- "Ignore changes in files matched by glob(s) when detecting changed packages.",
- "Pass --no-ignore-changes to completely disable.",
- ].join("\n"),
- type: "array",
- },
- "include-merged-tags": {
- describe: "Include tags from merged branches when detecting changed packages.",
- type: "boolean",
- },
- };
-
- yargs.options(opts).group(Object.keys(opts), "Command Options:");
-
- return listable.options(yargs, "Output Options:");
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/clean/command.js b/commands/clean/command.js
deleted file mode 100644
index bf10cf2c2b..0000000000
--- a/commands/clean/command.js
+++ /dev/null
@@ -1,27 +0,0 @@
-"use strict";
-
-const { filterOptions } = require("@lerna/filter-options");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "clean";
-
-exports.describe = "Remove the node_modules directory from all packages";
-
-exports.builder = (yargs) => {
- yargs.options({
- y: {
- group: "Command Options:",
- describe: "Skip all confirmation prompts",
- alias: "yes",
- type: "boolean",
- },
- });
-
- return filterOptions(yargs);
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/clean/package.json b/commands/clean/package.json
deleted file mode 100644
index afd772a625..0000000000
--- a/commands/clean/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@lerna/clean",
- "version": "6.4.1",
- "description": "Remove the node_modules directory from all packages",
- "keywords": [
- "lerna",
- "command"
- ],
- "homepage": "https://lerna.js.org",
- "license": "MIT",
- "author": {
- "name": "Daniel Stockman",
- "url": "https://github.com/evocateur"
- },
- "files": [
- "command.js",
- "index.js"
- ],
- "main": "index.js",
- "engines": {
- "node": "^14.15.0 || >=16.0.0"
- },
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/lerna/lerna.git",
- "directory": "commands/clean"
- },
- "scripts": {
- "test": "echo \"Run tests from root\" && exit 1"
- },
- "dependencies": {
- "@lerna/command": "file:../../core/command",
- "@lerna/filter-options": "file:../../core/filter-options",
- "@lerna/prompt": "file:../../core/prompt",
- "@lerna/pulse-till-done": "file:../../utils/pulse-till-done",
- "@lerna/rimraf-dir": "file:../../utils/rimraf-dir",
- "p-map": "^4.0.0",
- "p-map-series": "^2.1.0",
- "p-waterfall": "^2.1.1"
- }
-}
diff --git a/commands/create/command.js b/commands/create/command.js
deleted file mode 100644
index 9a367fe4eb..0000000000
--- a/commands/create/command.js
+++ /dev/null
@@ -1,91 +0,0 @@
-"use strict";
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "create [loc]";
-
-exports.describe = "Create a new lerna-managed package";
-
-exports.builder = (yargs) => {
- yargs
- .positional("name", {
- describe: "The package name (including scope), which must be locally unique _and_ publicly available",
- type: "string",
- })
- .positional("loc", {
- describe: "A custom package location, defaulting to the first configured package location",
- type: "string",
- })
- .options({
- access: {
- group: "Command Options:",
- defaultDescription: "public",
- describe: "When using a scope, set publishConfig.access value",
- choices: ["public", "restricted"],
- },
- bin: {
- group: "Command Options:",
- defaultDescription: "",
- describe: "Package has an executable. Customize with --bin ",
- },
- description: {
- group: "Command Options:",
- describe: "Package description",
- type: "string",
- },
- dependencies: {
- group: "Command Options:",
- describe: "A list of package dependencies",
- type: "array",
- },
- "es-module": {
- group: "Command Options:",
- describe: "Initialize a transpiled ES Module",
- type: "boolean",
- },
- homepage: {
- group: "Command Options:",
- describe: "The package homepage, defaulting to a subpath of the root pkg.homepage",
- type: "string",
- },
- keywords: {
- group: "Command Options:",
- describe: "A list of package keywords",
- type: "array",
- },
- license: {
- group: "Command Options:",
- defaultDescription: "ISC",
- describe: "The desired package license (SPDX identifier)",
- type: "string",
- },
- private: {
- group: "Command Options:",
- describe: "Make the new package private, never published to any external registry",
- type: "boolean",
- },
- registry: {
- group: "Command Options:",
- describe: "Configure the package's publishConfig.registry",
- type: "string",
- },
- tag: {
- group: "Command Options:",
- describe: "Configure the package's publishConfig.tag",
- type: "string",
- },
- y: {
- group: "Command Options:",
- describe: "Skip all prompts, accepting default values",
- alias: "yes",
- type: "boolean",
- },
- });
-
- return yargs;
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/diff/command.js b/commands/diff/command.js
deleted file mode 100644
index 37e80aeb39..0000000000
--- a/commands/diff/command.js
+++ /dev/null
@@ -1,28 +0,0 @@
-"use strict";
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "diff [pkgName]";
-
-exports.describe = "Diff all packages or a single package since the last release";
-
-exports.builder = (yargs) =>
- yargs
- .positional("pkgName", {
- describe: "An optional package name to filter the diff output",
- })
- .options({
- "ignore-changes": {
- group: "Command Options:",
- describe: "Ignore changes in files matched by glob(s).",
- type: "array",
- },
- })
- .epilogue(
- "When ignoreChanges is configured in lerna.json, pass --no-ignore-changes to include ignored files."
- );
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/exec/command.js b/commands/exec/command.js
deleted file mode 100644
index 5e97dd2ca6..0000000000
--- a/commands/exec/command.js
+++ /dev/null
@@ -1,77 +0,0 @@
-"use strict";
-
-const { filterOptions } = require("@lerna/filter-options");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "exec [cmd] [args..]";
-
-exports.describe = "Execute an arbitrary command in each package";
-
-exports.builder = (yargs) => {
- yargs
- .example("$0 exec ls -- --la", "# execute `ls -la` in all packages")
- .example("$0 exec -- ls --la", "# execute `ls -la` in all packages, keeping cmd outside")
- .parserConfiguration({
- "populate--": true,
- })
- .positional("cmd", {
- describe: "The command to execute. Any command flags must be passed after --",
- type: "string",
- })
- .positional("args", {
- describe: "Positional arguments (not recognized by lerna) to send to command",
- type: "string",
- })
- .options({
- stream: {
- group: "Command Options:",
- describe: "Stream output with lines prefixed by originating package name.",
- type: "boolean",
- },
- parallel: {
- group: "Command Options:",
- describe: "Execute command with unlimited concurrency, streaming prefixed output.",
- type: "boolean",
- },
- "no-bail": {
- group: "Command Options:",
- describe: "Continue executing command despite non-zero exit in a given package.",
- type: "boolean",
- },
- bail: {
- // proxy for --no-bail
- hidden: true,
- type: "boolean",
- },
- // This option controls prefix for stream output so that it can be disabled to be friendly
- // to tools like Visual Studio Code to highlight the raw results
- "no-prefix": {
- group: "Command Options:",
- describe: "Do not prefix streaming output.",
- type: "boolean",
- },
- prefix: {
- // proxy for --no-prefix
- hidden: true,
- type: "boolean",
- },
- profile: {
- group: "Command Options:",
- describe: "Profile command executions and output performance profile to default location.",
- type: "boolean",
- },
- "profile-location": {
- group: "Command Options:",
- describe: "Output performance profile to custom location instead of default project root.",
- type: "string",
- },
- });
-
- return filterOptions(yargs);
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/exec/package.json b/commands/exec/package.json
deleted file mode 100644
index a1924596df..0000000000
--- a/commands/exec/package.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "@lerna/exec",
- "version": "6.4.1",
- "description": "Execute an arbitrary command in each package",
- "keywords": [
- "lerna",
- "command"
- ],
- "homepage": "https://lerna.js.org",
- "license": "MIT",
- "author": {
- "name": "Daniel Stockman",
- "url": "https://github.com/evocateur"
- },
- "files": [
- "command.js",
- "index.js"
- ],
- "main": "index.js",
- "engines": {
- "node": "^14.15.0 || >=16.0.0"
- },
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/lerna/lerna.git",
- "directory": "commands/exec"
- },
- "scripts": {
- "test": "echo \"Run tests from root\" && exit 1"
- },
- "dependencies": {
- "@lerna/child-process": "file:../../core/child-process",
- "@lerna/command": "file:../../core/command",
- "@lerna/filter-options": "file:../../core/filter-options",
- "@lerna/profiler": "file:../../utils/profiler",
- "@lerna/run-topologically": "file:../../utils/run-topologically",
- "@lerna/validation-error": "file:../../core/validation-error",
- "p-map": "^4.0.0"
- }
-}
diff --git a/commands/import/__tests__/__fixtures__/multi-packages/lerna.json b/commands/import/__tests__/__fixtures__/multi-packages/lerna.json
deleted file mode 100644
index b5a2f7f9c2..0000000000
--- a/commands/import/__tests__/__fixtures__/multi-packages/lerna.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "version": "1.0.0",
- "packages": [
- "core/*",
- "packages/*"
- ]
-}
\ No newline at end of file
diff --git a/commands/import/command.js b/commands/import/command.js
deleted file mode 100644
index 9ee07a5648..0000000000
--- a/commands/import/command.js
+++ /dev/null
@@ -1,39 +0,0 @@
-"use strict";
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "import ";
-
-exports.describe = "Import a package into the monorepo with commit history";
-
-exports.builder = (yargs) =>
- yargs
- .positional("dir", { describe: "The path to an external git repository that contains an npm package" })
- .options({
- flatten: {
- group: "Command Options:",
- describe: "Import each merge commit as a single change the merge introduced",
- type: "boolean",
- },
- dest: {
- group: "Command Options:",
- describe: "Import destination directory for the external git repository",
- type: "string",
- },
- "preserve-commit": {
- group: "Command Options:",
- describe: "Preserve original committer in addition to original author",
- type: "boolean",
- },
- y: {
- group: "Command Options:",
- describe: "Skip all confirmation prompts",
- alias: "yes",
- type: "boolean",
- },
- });
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/import/package.json b/commands/import/package.json
deleted file mode 100644
index c98a1b44ef..0000000000
--- a/commands/import/package.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "name": "@lerna/import",
- "version": "6.4.1",
- "description": "Import a package into the monorepo with commit history",
- "keywords": [
- "lerna",
- "command"
- ],
- "homepage": "https://lerna.js.org",
- "license": "MIT",
- "author": {
- "name": "Daniel Stockman",
- "url": "https://github.com/evocateur"
- },
- "files": [
- "command.js",
- "index.js"
- ],
- "main": "index.js",
- "engines": {
- "node": "^14.15.0 || >=16.0.0"
- },
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/lerna/lerna.git",
- "directory": "commands/import"
- },
- "scripts": {
- "test": "echo \"Run tests from root\" && exit 1"
- },
- "dependencies": {
- "@lerna/child-process": "file:../../core/child-process",
- "@lerna/command": "file:../../core/command",
- "@lerna/prompt": "file:../../core/prompt",
- "@lerna/pulse-till-done": "file:../../utils/pulse-till-done",
- "@lerna/validation-error": "file:../../core/validation-error",
- "dedent": "^0.7.0",
- "fs-extra": "^9.1.0",
- "p-map-series": "^2.1.0"
- }
-}
diff --git a/commands/info/README.md b/commands/info/README.md
deleted file mode 100644
index d75ad8d325..0000000000
--- a/commands/info/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# `@lerna/info`
-
-> Print local environment information
-
-Install [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` CLI.
-
-## Usage
-
-The `info` command prints local environment information that proves to be useful especially while submitting bug reports.
-
-`lerna info`
-
-```bash
-Environment Info:
-
- System:
- OS: Linux 4.18 Ubuntu 18.10 (Cosmic Cuttlefish)
- CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
- Binaries:
- Node: 8.11.4 - /usr/bin/node
- Yarn: 1.17.0-0 - /usr/local/bin/yarn
- npm: 6.9.0 - /usr/local/bin/npm
- Browsers:
- Chrome: 74.0.3729.157
- Firefox: 66.0.5
- npmPackages:
- lerna: 3.14.1
-```
diff --git a/commands/info/__tests__/info-command.test.js b/commands/info/__tests__/info-command.test.js
deleted file mode 100644
index 954953d640..0000000000
--- a/commands/info/__tests__/info-command.test.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-
-jest.mock("envinfo");
-
-const path = require("path");
-const envinfo = require("envinfo");
-
-envinfo.run.mockResolvedValue("MOCK_ENVINFO");
-
-// helper
-const { output } = require("@lerna/output");
-
-// file under test
-const lernaInfo = require("@lerna-test/helpers").commandRunner(require("../command"));
-
-it("outputs result of envinfo()", async () => {
- // project fixture is irrelevant, no actual changes are made
- await lernaInfo(path.resolve(__dirname, "../../.."))();
-
- expect(envinfo.run).toHaveBeenLastCalledWith(
- expect.objectContaining({
- npmPackages: ["lerna"],
- })
- );
- expect(output.logged()).toMatch("MOCK_ENVINFO");
-});
diff --git a/commands/info/command.js b/commands/info/command.js
deleted file mode 100644
index 9c2e16bd5e..0000000000
--- a/commands/info/command.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "info";
-
-exports.describe = "Prints debugging information about the local environment";
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/init/command.js b/commands/init/command.js
deleted file mode 100644
index 832b846889..0000000000
--- a/commands/init/command.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "init";
-
-exports.describe = "Create a new Lerna repo or upgrade an existing repo to the current version of Lerna.";
-
-exports.builder = {
- exact: {
- describe: "Specify lerna dependency version in package.json without a caret (^)",
- type: "boolean",
- },
- independent: {
- describe: "Version packages independently",
- alias: "i",
- type: "boolean",
- },
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/link/command.js b/commands/link/command.js
deleted file mode 100644
index 2a8c851ac1..0000000000
--- a/commands/link/command.js
+++ /dev/null
@@ -1,36 +0,0 @@
-"use strict";
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "link";
-
-exports.describe = "Symlink together all packages that are dependencies of each other";
-
-exports.builder = (yargs) => {
- yargs.options({
- "force-local": {
- group: "Command Options:",
- describe: "Force local sibling links regardless of version range match",
- type: "boolean",
- },
- contents: {
- group: "Command Options:",
- describe: "Subdirectory to use as the source of the symlink. Must apply to ALL packages.",
- type: "string",
- defaultDescription: ".",
- },
- });
-
- return yargs.command(
- "convert",
- "Replace local sibling version ranges with relative file: specifiers",
- () => {},
- handler
- );
-};
-
-exports.handler = handler;
-function handler(argv) {
- return require(".")(argv);
-}
diff --git a/commands/list/__tests__/__fixtures__/extra/lerna.json b/commands/list/__tests__/__fixtures__/extra/lerna.json
deleted file mode 100644
index 96bf167b81..0000000000
--- a/commands/list/__tests__/__fixtures__/extra/lerna.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "version": "1.0.0",
- "packages": [
- "packages/*",
- "package-3"
- ]
-}
diff --git a/commands/list/command.js b/commands/list/command.js
deleted file mode 100644
index b672e3debb..0000000000
--- a/commands/list/command.js
+++ /dev/null
@@ -1,23 +0,0 @@
-"use strict";
-
-const { filterOptions } = require("@lerna/filter-options");
-const listable = require("@lerna/listable");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "list";
-
-exports.aliases = ["ls", "la", "ll"];
-
-exports.describe = "List local packages";
-
-exports.builder = (yargs) => {
- listable.options(yargs);
-
- return filterOptions(yargs);
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
diff --git a/commands/list/index.js b/commands/list/index.js
deleted file mode 100644
index d6dc750c83..0000000000
--- a/commands/list/index.js
+++ /dev/null
@@ -1,45 +0,0 @@
-"use strict";
-
-const { Command } = require("@lerna/command");
-const listable = require("@lerna/listable");
-const { output } = require("@lerna/output");
-const { getFilteredPackages } = require("@lerna/filter-options");
-
-module.exports = factory;
-
-function factory(argv) {
- return new ListCommand(argv);
-}
-
-class ListCommand extends Command {
- get requiresGit() {
- return false;
- }
-
- initialize() {
- let chain = Promise.resolve();
-
- chain = chain.then(() => getFilteredPackages(this.packageGraph, this.execOpts, this.options));
- chain = chain.then((filteredPackages) => {
- this.result = listable.format(filteredPackages, this.options);
- });
-
- return chain;
- }
-
- execute() {
- // piping to `wc -l` should not yield 1 when no packages matched
- if (this.result.text.length) {
- output(this.result.text);
- }
-
- this.logger.success(
- "found",
- "%d %s",
- this.result.count,
- this.result.count === 1 ? "package" : "packages"
- );
- }
-}
-
-module.exports.ListCommand = ListCommand;
diff --git a/commands/publish/__tests__/get-current-sha.test.js b/commands/publish/__tests__/get-current-sha.test.js
deleted file mode 100644
index 57a19ffe41..0000000000
--- a/commands/publish/__tests__/get-current-sha.test.js
+++ /dev/null
@@ -1,10 +0,0 @@
-"use strict";
-
-const initFixture = require("@lerna-test/helpers").initFixtureFactory(__dirname);
-const { getCurrentSHA } = require("../lib/get-current-sha");
-
-test("getCurrentSHA", async () => {
- const cwd = await initFixture("root-manifest-only");
-
- expect(getCurrentSHA({ cwd })).toMatch(/^[0-9a-f]{40}$/);
-});
diff --git a/commands/publish/command.js b/commands/publish/command.js
deleted file mode 100644
index 586c774f71..0000000000
--- a/commands/publish/command.js
+++ /dev/null
@@ -1,181 +0,0 @@
-"use strict";
-
-const log = require("npmlog");
-const versionCommand = require("@lerna/version/command");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "publish [bump]";
-
-exports.describe = "Publish packages in the current project.";
-
-exports.builder = (yargs) => {
- const opts = {
- c: {
- describe: "Publish packages after every successful merge using the sha as part of the tag.",
- alias: "canary",
- type: "boolean",
- },
- // preid is copied from ../version/command because a whitelist for one option isn't worth it
- preid: {
- describe: "Specify the prerelease identifier when publishing a prerelease",
- type: "string",
- requiresArg: true,
- defaultDescription: "alpha",
- },
- contents: {
- describe: "Subdirectory to publish. Must apply to ALL packages.",
- type: "string",
- requiresArg: true,
- defaultDescription: ".",
- },
- "dist-tag": {
- describe: "Publish packages with the specified npm dist-tag",
- type: "string",
- requiresArg: true,
- },
- "legacy-auth": {
- describe: "Legacy Base64 Encoded username and password.",
- type: "string",
- },
- "pre-dist-tag": {
- describe: "Publish prerelease packages with the specified npm dist-tag",
- type: "string",
- requiresArg: true,
- },
- "git-head": {
- describe:
- "Explicit SHA to set as gitHead when packing tarballs, only allowed with 'from-package' positional.",
- type: "string",
- requiresArg: true,
- },
- "graph-type": {
- describe: "Type of dependency to use when determining package hierarchy.",
- choices: ["all", "dependencies"],
- defaultDescription: "dependencies",
- },
- "ignore-prepublish": {
- describe: "Disable deprecated 'prepublish' lifecycle script",
- type: "boolean",
- },
- "ignore-scripts": {
- describe: "Disable all lifecycle scripts",
- type: "boolean",
- },
- // TODO: (major) make --no-granular-pathspec the default
- "no-granular-pathspec": {
- describe: "Do not reset changes file-by-file, but globally.",
- type: "boolean",
- },
- "granular-pathspec": {
- // proxy for --no-granular-pathspec
- hidden: true,
- // describe: "Reset changes file-by-file, not globally.",
- type: "boolean",
- },
- otp: {
- describe: "Supply a one-time password for publishing with two-factor authentication.",
- type: "string",
- requiresArg: true,
- },
- registry: {
- describe: "Use the specified registry for all npm client operations.",
- type: "string",
- requiresArg: true,
- },
- "require-scripts": {
- describe: "Execute ./scripts/prepublish.js and ./scripts/postpublish.js, relative to package root.",
- type: "boolean",
- },
- "no-git-reset": {
- describe: "Do not reset changes to working tree after publishing is complete.",
- type: "boolean",
- },
- "git-reset": {
- // proxy for --no-git-reset
- hidden: true,
- type: "boolean",
- },
- "temp-tag": {
- describe: "Create a temporary tag while publishing.",
- type: "boolean",
- },
- "no-verify-access": {
- // proxy for --verify-access
- describe: "Do not verify package read-write access for current npm user.",
- type: "boolean",
- },
- "verify-access": {
- describe: "Verify package read-write access for current npm user.",
- type: "boolean",
- },
- "summary-file": {
- // generate lerna publish json output.
- describe:
- "Generate a json summary report after all packages have been successfully published, you can pass an optional path for where to save the file.",
- type: "string",
- },
- };
-
- composeVersionOptions(yargs);
-
- yargs.options(opts);
-
- // "unhide" duplicate options
- const { hiddenOptions } = yargs.getOptions();
- const sharedKeys = ["preid", "y", "ignore-scripts"];
-
- for (const sharedKey of sharedKeys) {
- hiddenOptions.splice(
- hiddenOptions.findIndex((k) => k === sharedKey),
- 1
- );
- }
-
- yargs.group(Object.keys(opts).concat(sharedKeys), "Command Options:");
-
- return yargs
- .option("npm-tag", {
- // TODO: remove in next major release
- hidden: true,
- conflicts: "dist-tag",
- type: "string",
- requiresArg: true,
- })
- .option("verify-registry", {
- // TODO: remove in next major release
- hidden: true,
- type: "boolean",
- })
- .option("skip-npm", {
- // TODO: remove in next major release
- // deprecation notice handled in initialize()
- hidden: true,
- type: "boolean",
- })
- .check((argv) => {
- /* eslint-disable no-param-reassign */
- if (argv.npmTag) {
- argv.distTag = argv.npmTag;
- argv["dist-tag"] = argv.npmTag;
- delete argv.npmTag;
- delete argv["npm-tag"];
- log.warn("deprecated", "--npm-tag has been renamed --dist-tag");
- }
- /* eslint-enable no-param-reassign */
-
- return argv;
- });
-};
-
-exports.handler = function handler(argv) {
- return require(".")(argv);
-};
-
-function composeVersionOptions(yargs) {
- versionCommand.addBumpPositional(yargs, ["from-git", "from-package"]);
- versionCommand.builder(yargs, "publish");
-
- return yargs;
-}
diff --git a/commands/publish/lib/__mocks__/get-npm-username.js b/commands/publish/lib/__mocks__/get-npm-username.js
deleted file mode 100644
index fd0fb26d7f..0000000000
--- a/commands/publish/lib/__mocks__/get-npm-username.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-
-// to mock user modules, you _must_ call `jest.mock('./path/to/module')`
-const mockGetNpmUsername = jest.fn(() => Promise.resolve("lerna-test"));
-
-module.exports.getNpmUsername = mockGetNpmUsername;
diff --git a/commands/publish/lib/__mocks__/get-packages-without-license.js b/commands/publish/lib/__mocks__/get-packages-without-license.js
deleted file mode 100644
index b9a63fb8b4..0000000000
--- a/commands/publish/lib/__mocks__/get-packages-without-license.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-
-// to mock user modules, you _must_ call `jest.mock('./path/to/module')`
-module.exports.getPackagesWithoutLicense = jest.fn(() => Promise.resolve([]));
diff --git a/commands/publish/lib/__mocks__/get-two-factor-auth-required.js b/commands/publish/lib/__mocks__/get-two-factor-auth-required.js
deleted file mode 100644
index b4cbd449c3..0000000000
--- a/commands/publish/lib/__mocks__/get-two-factor-auth-required.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-
-// to mock user modules, you _must_ call `jest.mock('./path/to/module')`
-const mockGetTwoFactorAuthRequired = jest.fn(() => Promise.resolve(false));
-
-module.exports.getTwoFactorAuthRequired = mockGetTwoFactorAuthRequired;
diff --git a/commands/publish/lib/__mocks__/get-unpublished-packages.js b/commands/publish/lib/__mocks__/get-unpublished-packages.js
deleted file mode 100644
index a0390d5120..0000000000
--- a/commands/publish/lib/__mocks__/get-unpublished-packages.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-
-module.exports.getUnpublishedPackages = jest.fn(() => Promise.resolve([]));
diff --git a/commands/publish/lib/__mocks__/verify-npm-package-access.js b/commands/publish/lib/__mocks__/verify-npm-package-access.js
deleted file mode 100644
index d83c769b1d..0000000000
--- a/commands/publish/lib/__mocks__/verify-npm-package-access.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-
-// to mock user modules, you _must_ call `jest.mock('./path/to/module')`
-const mockVerifyNpmPackageAccess = jest.fn(() => Promise.resolve());
-
-module.exports.verifyNpmPackageAccess = mockVerifyNpmPackageAccess;
diff --git a/commands/publish/package.json b/commands/publish/package.json
deleted file mode 100644
index aee3a32d89..0000000000
--- a/commands/publish/package.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "name": "@lerna/publish",
- "version": "6.4.1",
- "description": "Publish packages in the current project",
- "keywords": [
- "lerna",
- "command"
- ],
- "homepage": "https://lerna.js.org",
- "license": "MIT",
- "author": {
- "name": "Daniel Stockman",
- "url": "https://github.com/evocateur"
- },
- "files": [
- "command.js",
- "index.js",
- "lib",
- "!lib/__mocks__"
- ],
- "main": "index.js",
- "engines": {
- "node": "^14.15.0 || >=16.0.0"
- },
- "publishConfig": {
- "access": "public"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/lerna/lerna.git",
- "directory": "commands/publish"
- },
- "scripts": {
- "test": "echo \"Run tests from root\" && exit 1",
- "work": "sleep 3 && echo publish && exit 1"
- },
- "dependencies": {
- "@lerna/check-working-tree": "file:../../utils/check-working-tree",
- "@lerna/child-process": "file:../../core/child-process",
- "@lerna/collect-updates": "file:../../utils/collect-updates",
- "@lerna/command": "file:../../core/command",
- "@lerna/describe-ref": "file:../../utils/describe-ref",
- "@lerna/log-packed": "file:../../utils/log-packed",
- "@lerna/npm-conf": "file:../../utils/npm-conf",
- "@lerna/npm-dist-tag": "file:../../utils/npm-dist-tag",
- "@lerna/npm-publish": "file:../../utils/npm-publish",
- "@lerna/otplease": "file:../../core/otplease",
- "@lerna/output": "file:../../utils/output",
- "@lerna/pack-directory": "file:../../utils/pack-directory",
- "@lerna/prerelease-id-from-version": "file:../../utils/prerelease-id-from-version",
- "@lerna/prompt": "file:../../core/prompt",
- "@lerna/pulse-till-done": "file:../../utils/pulse-till-done",
- "@lerna/run-lifecycle": "file:../../utils/run-lifecycle",
- "@lerna/run-topologically": "file:../../utils/run-topologically",
- "@lerna/validation-error": "file:../../core/validation-error",
- "@lerna/version": "file:../version",
- "fs-extra": "^9.1.0",
- "libnpmaccess": "^6.0.3",
- "npm-package-arg": "8.1.1",
- "npm-registry-fetch": "^13.3.0",
- "npmlog": "^6.0.2",
- "p-map": "^4.0.0",
- "p-pipe": "^3.1.0",
- "pacote": "^13.6.1",
- "semver": "^7.3.4"
- }
-}
diff --git a/commands/run/__tests__/__fixtures__/powered-by-nx/nx.json b/commands/run/__tests__/__fixtures__/powered-by-nx/nx.json
deleted file mode 100644
index 964c2eaa9d..0000000000
--- a/commands/run/__tests__/__fixtures__/powered-by-nx/nx.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "tasksRunnerOptions": {
- "default": {
- "runner": "nx/tasks-runners/default",
- "options": {
- "useDaemonProcess": false,
- "cacheableOperations": ["my-cacheable-script"]
- }
- }
- }
-}
diff --git a/commands/run/__tests__/__fixtures__/powered-by-nx/package.json b/commands/run/__tests__/__fixtures__/powered-by-nx/package.json
deleted file mode 100644
index c8f00f0d0a..0000000000
--- a/commands/run/__tests__/__fixtures__/powered-by-nx/package.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "name": "powered-by-nx"
-}
diff --git a/commands/run/__tests__/__fixtures__/powered-by-nx/packages/package-1/package.json b/commands/run/__tests__/__fixtures__/powered-by-nx/packages/package-1/package.json
deleted file mode 100644
index 9978bcb211..0000000000
--- a/commands/run/__tests__/__fixtures__/powered-by-nx/packages/package-1/package.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "name": "package-1",
- "version": "1.0.0",
- "scripts": {
- "fail": "exit 1",
- "my-script": "echo package-1",
- "another-script:but-with-colons": "echo package-1-script-with-colons"
- }
-}
\ No newline at end of file
diff --git a/commands/run/command.js b/commands/run/command.js
deleted file mode 100644
index 95864d6139..0000000000
--- a/commands/run/command.js
+++ /dev/null
@@ -1,93 +0,0 @@
-"use strict";
-
-const { filterOptions } = require("@lerna/filter-options");
-
-/**
- * @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
- */
-exports.command = "run