lerna
Version:
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository
27 lines (25 loc) • 751 B
JavaScript
// libs/commands/diff/src/command.ts
var command = {
command: "diff [pkgName]",
describe: "Diff all packages or a single package since the last release",
builder(yargs) {
return 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."
);
},
async handler(argv) {
return (await import("./src-OYQDLHGM.js")).factory(argv);
}
};
var command_default = command;
export {
command_default
};