UNPKG

@lerna/publish

Version:

Publish packages in the current project

22 lines (21 loc) 643 B
const 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." ); }, handler(argv) { return require(".")(argv); } }; module.exports = command;