Skip to content

Commit

Permalink
Revert "feat(repair): add lerna repair command" (#3313)
Browse files Browse the repository at this point in the history
Revert "feat(repair): add lerna repair command (#3302)"

This reverts commit aae1a2b.
  • Loading branch information
JamesHenry committed Aug 31, 2022
1 parent 8fe2220 commit d261112
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 296 deletions.
2 changes: 1 addition & 1 deletion commands/info/README.md
Expand Up @@ -6,7 +6,7 @@ Install [lerna](https://www.npmjs.com/package/lerna) for access to the `lerna` C

## Usage

The `info` command prints local environment information that proves to be useful especially while submitting bug reports.
The `info` prints local environment information that proves to be useful especially while submitting bug reports.

`lerna info`

Expand Down
18 changes: 0 additions & 18 deletions core/lerna/__tests__/repair-command.test.js

This file was deleted.

15 changes: 0 additions & 15 deletions core/lerna/commands/repair/command.js

This file was deleted.

51 changes: 0 additions & 51 deletions core/lerna/commands/repair/index.js

This file was deleted.

6 changes: 0 additions & 6 deletions core/lerna/index.js
@@ -1,5 +1,3 @@
// @ts-check

"use strict";

const cli = require("@lerna/cli");
Expand All @@ -20,8 +18,6 @@ const publishCmd = require("@lerna/publish/command");
const runCmd = require("@lerna/run/command");
const versionCmd = require("@lerna/version/command");

const repairCmd = require("./commands/repair/command");

const pkg = require("./package.json");

module.exports = main;
Expand All @@ -31,7 +27,6 @@ function main(argv) {
lernaVersion: pkg.version,
};

// @ts-ignore
return cli()
.command(addCmd)
.command(bootstrapCmd)
Expand All @@ -46,7 +41,6 @@ function main(argv) {
.command(linkCmd)
.command(listCmd)
.command(publishCmd)
.command(repairCmd)
.command(runCmd)
.command(versionCmd)
.parse(argv, context);
Expand Down
10 changes: 0 additions & 10 deletions core/lerna/migrations.json

This file was deleted.

6 changes: 0 additions & 6 deletions core/lerna/migrations/noop/noop.js

This file was deleted.

16 changes: 0 additions & 16 deletions core/lerna/migrations/noop/noop.test.js

This file was deleted.

12 changes: 2 additions & 10 deletions core/lerna/package.json
Expand Up @@ -19,10 +19,7 @@
"files": [
"index.js",
"cli.js",
"schemas/lerna-schema.json",
"migrations",
"commands",
"migrations.json"
"schemas/lerna-schema.json"
],
"engines": {
"node": "^14.15.0 || >=16.0.0"
Expand All @@ -35,16 +32,12 @@
"url": "git+https://github.com/lerna/lerna.git",
"directory": "core/lerna"
},
"nx-migrations": {
"migrations": "./migrations.json"
},
"scripts": {
"test": "echo \"Run tests from root\" && exit 1"
},
"dependencies": {
"@lerna/add": "file:../../commands/add",
"@lerna/bootstrap": "file:../../commands/bootstrap",
"@lerna/command": "file:../command",
"@lerna/changed": "file:../../commands/changed",
"@lerna/clean": "file:../../commands/clean",
"@lerna/cli": "file:../cli",
Expand All @@ -59,9 +52,8 @@
"@lerna/publish": "file:../../commands/publish",
"@lerna/run": "file:../../commands/run",
"@lerna/version": "file:../../commands/version",
"@nrwl/devkit": ">=14.5.8 < 16",
"import-local": "^3.0.2",
"npmlog": "^6.0.2",
"nx": ">=14.5.8 < 16"
"nx": ">=14.5.4 < 16"
}
}
36 changes: 0 additions & 36 deletions e2e/tests/lerna-repair/lerna-repair.spec.ts

This file was deleted.

0 comments on commit d261112

Please sign in to comment.