lerna
Version:
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository
28 lines (26 loc) • 665 B
JavaScript
// packages/lerna/src/commands/repair/command.ts
var command = {
command: "repair",
describe: "Runs automated migrations to repair the state of a lerna repo",
builder(yargs) {
yargs.options({
/**
* equivalent to --loglevel=verbose, but added explicitly here because the repair()
* output will potentially contain instructions to run with --verbose
*/
verbose: {
hidden: true,
type: "boolean"
}
});
return yargs;
},
async handler(argv) {
return (await import("./commands/repair/index.js")).factory(argv);
}
};
var command_default = command;
export {
command,
command_default
};