@lerna/publish
Version:
Publish packages in the current project
32 lines (31 loc) • 817 B
JavaScript
function handler(argv) {
return require(".")(argv);
}
const command = {
command: "link",
describe: "Symlink together all packages that are dependencies of each other",
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
);
},
handler
};
module.exports = command;