lerna
Version:
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository
1,571 lines (1,540 loc) • 62.6 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://lerna.js.org/docs/getting-started#adding-lerna",
"title": "JSON schema for Lerna configuration",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"description": "The JSON schema version used to validate this configuration file"
},
"extends": {
"type": "string",
"description": "A shareable configuration preset that will be used as the base for this configuration"
},
"version": {
"type": "string",
"description": "The version of the repository, or \"independent\" for a repository with independently versioned packages.",
"default": "0.0.0"
},
"packages": {
"type": "array",
"items": {
"type": "string",
"uniqueItems": true
},
"description": "An array of globs where packages can be located.",
"default": ["packages/*"]
},
"useNx": {
"type": "boolean",
"description": "By setting `useNx` to `false` you can use the legacy task running implementations in `lerna` (`p-map` and `p-queue`) instead of using the default modern task runner implementation powered by [Nx](https://nx.dev).",
"default": true
},
"command": {
"type": "object",
"additionalProperties": false,
"description": "Options for individual Lerna commands.",
"properties": {
"add": {
"type": "object",
"description": "Options for the `add` command.",
"properties": {
"dev": {
"$ref": "#/$defs/commandOptions/add/dev"
},
"exact": {
"$ref": "#/$defs/commandOptions/shared/exact"
},
"peer": {
"$ref": "#/$defs/commandOptions/add/peer"
},
"registry": {
"$ref": "#/$defs/commandOptions/shared/registry"
},
"bootstrap": {
"$ref": "#/$defs/commandOptions/add/bootstrap"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"bootstrap": {
"type": "object",
"description": "Options for the `bootstrap` command.",
"properties": {
"hoist": {
"$ref": "#/$defs/commandOptions/bootstrap/hoist"
},
"mutex": {
"$ref": "#/$defs/commandOptions/bootstrap/mutex"
},
"ignorePrepublish": {
"$ref": "#/$defs/commandOptions/shared/ignorePrepublish"
},
"ignoreScripts": {
"$ref": "#/$defs/commandOptions/shared/ignoreScripts"
},
"registry": {
"$ref": "#/$defs/commandOptions/shared/registry"
},
"strict": {
"$ref": "#/$defs/commandOptions/bootstrap/strict"
},
"forceLocal": {
"$ref": "#/$defs/commandOptions/shared/forceLocal"
},
"contents": {
"$ref": "#/$defs/commandOptions/shared/contents"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"changed": {
"type": "object",
"description": "Options for the `changed` command.",
"properties": {
"conventionalCommits": {
"$ref": "#/$defs/commandOptions/shared/conventionalCommits"
},
"conventionalGraduate": {
"$ref": "#/$defs/commandOptions/shared/conventionalGraduate"
},
"forceConventionalGraduate": {
"$ref": "#/$defs/commandOptions/shared/forceConventionalGraduate"
},
"forcePublish": {
"$ref": "#/$defs/commandOptions/shared/forcePublish"
},
"ignoreChanges": {
"$ref": "#/$defs/commandOptions/shared/ignoreChanges"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"clean": {
"type": "object",
"description": "Options for the `clean` command.",
"properties": {
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"create": {
"type": "object",
"description": "Options for the `create` command.",
"properties": {
"access": {
"$ref": "#/$defs/commandOptions/create/access"
},
"bin": {
"$ref": "#/$defs/commandOptions/create/bin"
},
"description": {
"$ref": "#/$defs/commandOptions/create/description"
},
"dependencies": {
"$ref": "#/$defs/commandOptions/create/dependencies"
},
"esModule": {
"$ref": "#/$defs/commandOptions/create/esModule"
},
"homepage": {
"$ref": "#/$defs/commandOptions/create/homepage"
},
"keywords": {
"$ref": "#/$defs/commandOptions/create/keywords"
},
"license": {
"$ref": "#/$defs/commandOptions/create/license"
},
"registry": {
"$ref": "#/$defs/commandOptions/shared/registry"
},
"tag": {
"$ref": "#/$defs/commandOptions/create/tag"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"diff": {
"type": "object",
"description": "Options for the `diff` command.",
"properties": {
"ignoreChanges": {
"$ref": "#/$defs/commandOptions/shared/ignoreChanges"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"exec": {
"type": "object",
"description": "Options for the `exec` command.",
"properties": {
"stream": {
"$ref": "#/$defs/commandOptions/shared/stream"
},
"parallel": {
"$ref": "#/$defs/commandOptions/shared/parallel"
},
"bail": {
"$ref": "#/$defs/commandOptions/shared/bail"
},
"prefix": {
"$ref": "#/$defs/commandOptions/shared/prefix"
},
"profile": {
"$ref": "#/$defs/commandOptions/shared/profile"
},
"profileLocation": {
"$ref": "#/$defs/commandOptions/shared/profileLocation"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"import": {
"type": "object",
"description": "Options for the `import` command.",
"properties": {
"flatten": {
"$ref": "#/$defs/commandOptions/import/flatten"
},
"dest": {
"$ref": "#/$defs/commandOptions/import/dest"
},
"preserveCommit": {
"$ref": "#/$defs/commandOptions/import/preserveCommit"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"link": {
"type": "object",
"description": "Options for the `link` command.",
"properties": {
"forceLocal": {
"$ref": "#/$defs/commandOptions/shared/forceLocal"
},
"contents": {
"$ref": "#/$defs/commandOptions/shared/contents"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"list": {
"type": "object",
"description": "Options for the `list` command.",
"properties": {
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"publish": {
"type": "object",
"description": "Options for the `publish` command.",
"properties": {
"canary": {
"$ref": "#/$defs/commandOptions/publish/canary"
},
"preid": {
"$ref": "#/$defs/commandOptions/shared/preid"
},
"contents": {
"$ref": "#/$defs/commandOptions/shared/contents"
},
"distTag": {
"$ref": "#/$defs/commandOptions/publish/distTag"
},
"legacyAuth": {
"$ref": "#/$defs/commandOptions/publish/legacyAuth"
},
"preDistTag": {
"$ref": "#/$defs/commandOptions/publish/preDistTag"
},
"gitHead": {
"$ref": "#/$defs/commandOptions/publish/gitHead"
},
"ignorePrepublish": {
"$ref": "#/$defs/commandOptions/shared/ignorePrepublish"
},
"ignoreScripts": {
"$ref": "#/$defs/commandOptions/shared/ignoreScripts"
},
"granularPathspec": {
"$ref": "#/$defs/commandOptions/shared/granularPathspec"
},
"otp": {
"$ref": "#/$defs/commandOptions/publish/otp"
},
"registry": {
"$ref": "#/$defs/commandOptions/shared/registry"
},
"requireScripts": {
"$ref": "#/$defs/commandOptions/publish/requireScripts"
},
"gitReset": {
"$ref": "#/$defs/commandOptions/publish/gitReset"
},
"tempTag": {
"$ref": "#/$defs/commandOptions/publish/tempTag"
},
"verifyAccess": {
"$ref": "#/$defs/commandOptions/publish/verifyAccess"
},
"includePrivate": {
"$ref": "#/$defs/commandOptions/publish/includePrivate"
},
"directory": {
"$ref": "#/$defs/commandOptions/publish/directory"
},
"assets": {
"$ref": "#/$defs/commandOptions/publish/assets"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
},
"summaryFile": {
"$ref": "#/$defs/filters/summaryFile"
}
}
},
"run": {
"type": "object",
"description": "Options for the `run` command.",
"properties": {
"stream": {
"$ref": "#/$defs/commandOptions/shared/stream"
},
"parallel": {
"$ref": "#/$defs/commandOptions/shared/parallel"
},
"bail": {
"$ref": "#/$defs/commandOptions/shared/bail"
},
"prefix": {
"$ref": "#/$defs/commandOptions/shared/prefix"
},
"profile": {
"$ref": "#/$defs/commandOptions/shared/profile"
},
"profileLocation": {
"$ref": "#/$defs/commandOptions/shared/profileLocation"
},
"verbose": {
"$ref": "#/$defs/commandOptions/shared/verbose"
},
"skipNxCache": {
"$ref": "#/$defs/commandOptions/run/skipNxCache"
},
"loadEnvFiles": {
"$ref": "#/$defs/commandOptions/run/loadEnvFiles"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"version": {
"type": "object",
"description": "Options for the `version` command.",
"properties": {
"allowBranch": {
"$ref": "#/$defs/commandOptions/version/allowBranch"
},
"amend": {
"$ref": "#/$defs/commandOptions/version/amend"
},
"buildMetadata": {
"$ref": "#/$defs/commandOptions/version/buildMetadata"
},
"conventionalCommits": {
"$ref": "#/$defs/commandOptions/shared/conventionalCommits"
},
"conventionalGraduate": {
"$ref": "#/$defs/commandOptions/shared/conventionalGraduate"
},
"forceConventionalGraduate": {
"$ref": "#/$defs/commandOptions/shared/forceConventionalGraduate"
},
"conventionalPrerelease": {
"$ref": "#/$defs/commandOptions/version/conventionalPrerelease"
},
"conventionalBumpPrerelease": {
"$ref": "#/$defs/commandOptions/version/conventionalBumpPrerelease"
},
"changelogPreset": {
"$ref": "#/$defs/commandOptions/version/changelogPreset"
},
"changelogEntryAdditionalMarkdown": {
"$ref": "#/$defs/commandOptions/version/changelogEntryAdditionalMarkdown"
},
"exact": {
"$ref": "#/$defs/commandOptions/shared/exact"
},
"forcePublish": {
"$ref": "#/$defs/commandOptions/shared/forcePublish"
},
"gitRemote": {
"$ref": "#/$defs/commandOptions/version/gitRemote"
},
"createRelease": {
"$ref": "#/$defs/commandOptions/version/createRelease"
},
"ignoreChanges": {
"$ref": "#/$defs/commandOptions/shared/ignoreChanges"
},
"ignoreScripts": {
"$ref": "#/$defs/commandOptions/shared/ignoreScripts"
},
"json": {
"$ref": "#/$defs/commandOptions/version/json"
},
"message": {
"$ref": "#/$defs/commandOptions/version/message"
},
"changelog": {
"$ref": "#/$defs/commandOptions/version/changelog"
},
"commitHooks": {
"$ref": "#/$defs/commandOptions/version/commitHooks"
},
"gitTagVersion": {
"$ref": "#/$defs/commandOptions/version/gitTagVersion"
},
"runScriptsOnLockfileUpdate": {
"$ref": "#/$defs/commandOptions/version/runScriptsOnLockfileUpdate"
},
"syncDistVersion": {
"$ref": "#/$defs/commandOptions/version/syncDistVersion"
},
"granularPathspec": {
"$ref": "#/$defs/commandOptions/shared/granularPathspec"
},
"push": {
"$ref": "#/$defs/commandOptions/version/push"
},
"preid": {
"$ref": "#/$defs/commandOptions/shared/preid"
},
"signGitCommit": {
"$ref": "#/$defs/commandOptions/version/signGitCommit"
},
"signGitTag": {
"$ref": "#/$defs/commandOptions/version/signGitTag"
},
"forceGitTag": {
"$ref": "#/$defs/commandOptions/version/forceGitTag"
},
"tagVersionPrefix": {
"$ref": "#/$defs/commandOptions/version/tagVersionPrefix"
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"npmClientArgs": {
"$ref": "#/$defs/globals/npmClientArgs"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
}
}
},
"watch": {
"type": "object",
"description": "Options for the `watch` command.",
"properties": {
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
}
}
}
}
},
"npmClient": {
"$ref": "#/$defs/globals/npmClient"
},
"npmClientArgs": {
"$ref": "#/$defs/globals/npmClientArgs"
},
"loglevel": {
"$ref": "#/$defs/globals/loglevel"
},
"concurrency": {
"$ref": "#/$defs/globals/concurrency"
},
"rejectCycles": {
"$ref": "#/$defs/globals/rejectCycles"
},
"progress": {
"$ref": "#/$defs/globals/progress"
},
"sort": {
"$ref": "#/$defs/globals/sort"
},
"maxBuffer": {
"$ref": "#/$defs/globals/maxBuffer"
},
"yes": {
"$ref": "#/$defs/globals/yes"
},
"scope": {
"$ref": "#/$defs/filters/scope"
},
"ignore": {
"$ref": "#/$defs/filters/ignore"
},
"private": {
"$ref": "#/$defs/filters/private"
},
"since": {
"$ref": "#/$defs/filters/since"
},
"excludeDependents": {
"$ref": "#/$defs/filters/excludeDependents"
},
"includeDependents": {
"$ref": "#/$defs/filters/includeDependents"
},
"includeDependencies": {
"$ref": "#/$defs/filters/includeDependencies"
},
"includeMergedTags": {
"$ref": "#/$defs/filters/includeMergedTags"
},
"continueIfNoMatch": {
"$ref": "#/$defs/filters/continueIfNoMatch"
},
"dev": {
"$ref": "#/$defs/commandOptions/add/dev"
},
"peer": {
"$ref": "#/$defs/commandOptions/add/peer"
},
"bootstrap": {
"$ref": "#/$defs/commandOptions/add/bootstrap"
},
"hoist": {
"$ref": "#/$defs/commandOptions/bootstrap/hoist"
},
"mutex": {
"$ref": "#/$defs/commandOptions/bootstrap/mutex"
},
"strict": {
"$ref": "#/$defs/commandOptions/bootstrap/strict"
},
"access": {
"$ref": "#/$defs/commandOptions/create/access"
},
"bin": {
"$ref": "#/$defs/commandOptions/create/bin"
},
"description": {
"$ref": "#/$defs/commandOptions/create/description"
},
"dependencies": {
"$ref": "#/$defs/commandOptions/create/dependencies"
},
"esModule": {
"$ref": "#/$defs/commandOptions/create/esModule"
},
"homepage": {
"$ref": "#/$defs/commandOptions/create/homepage"
},
"keywords": {
"$ref": "#/$defs/commandOptions/create/keywords"
},
"license": {
"$ref": "#/$defs/commandOptions/create/license"
},
"tag": {
"$ref": "#/$defs/commandOptions/create/tag"
},
"flatten": {
"$ref": "#/$defs/commandOptions/import/flatten"
},
"dest": {
"$ref": "#/$defs/commandOptions/import/dest"
},
"preserveCommit": {
"$ref": "#/$defs/commandOptions/import/preserveCommit"
},
"canary": {
"$ref": "#/$defs/commandOptions/publish/canary"
},
"distTag": {
"$ref": "#/$defs/commandOptions/publish/distTag"
},
"preDistTag": {
"$ref": "#/$defs/commandOptions/publish/preDistTag"
},
"legacyAuth": {
"$ref": "#/$defs/commandOptions/publish/legacyAuth"
},
"gitHead": {
"$ref": "#/$defs/commandOptions/publish/gitHead"
},
"otp": {
"$ref": "#/$defs/commandOptions/publish/otp"
},
"requireScripts": {
"$ref": "#/$defs/commandOptions/publish/requireScripts"
},
"gitReset": {
"$ref": "#/$defs/commandOptions/publish/gitReset"
},
"tempTag": {
"$ref": "#/$defs/commandOptions/publish/tempTag"
},
"verifyAccess": {
"$ref": "#/$defs/commandOptions/publish/verifyAccess"
},
"skipNxCache": {
"$ref": "#/$defs/commandOptions/run/skipNxCache"
},
"allowBranch": {
"$ref": "#/$defs/commandOptions/version/allowBranch"
},
"amend": {
"$ref": "#/$defs/commandOptions/version/amend"
},
"conventionalPrerelease": {
"$ref": "#/$defs/commandOptions/version/conventionalPrerelease"
},
"conventionalBumpPrerelease": {
"$ref": "#/$defs/commandOptions/version/conventionalBumpPrerelease"
},
"changelogPreset": {
"$ref": "#/$defs/commandOptions/version/changelogPreset"
},
"gitRemote": {
"$ref": "#/$defs/commandOptions/version/gitRemote"
},
"createRelease": {
"$ref": "#/$defs/commandOptions/version/createRelease"
},
"message": {
"$ref": "#/$defs/commandOptions/version/message"
},
"changelog": {
"$ref": "#/$defs/commandOptions/version/changelog"
},
"commitHooks": {
"$ref": "#/$defs/commandOptions/version/commitHooks"
},
"gitTagVersion": {
"$ref": "#/$defs/commandOptions/version/gitTagVersion"
},
"push": {
"$ref": "#/$defs/commandOptions/version/push"
},
"signGitCommit": {
"$ref": "#/$defs/commandOptions/version/signGitCommit"
},
"signGitTag": {
"$ref": "#/$defs/commandOptions/version/signGitTag"
},
"forceGitTag": {
"$ref": "#/$defs/commandOptions/version/forceGitTag"
},
"tagVersionPrefix": {
"$ref": "#/$defs/commandOptions/version/tagVersionPrefix"
},
"registry": {
"$ref": "#/$defs/commandOptions/shared/registry"
},
"conventionalCommits": {
"$ref": "#/$defs/commandOptions/shared/conventionalCommits"
},
"conventionalGraduate": {
"$ref": "#/$defs/commandOptions/shared/conventionalGraduate"
},
"forceLocal": {
"$ref": "#/$defs/commandOptions/shared/forceLocal"
},
"contents": {
"$ref": "#/$defs/commandOptions/shared/contents"
},
"ignoreChanges": {
"$ref": "#/$defs/commandOptions/shared/ignoreChanges"
},
"stream": {
"$ref": "#/$defs/commandOptions/shared/stream"
},
"parallel": {
"$ref": "#/$defs/commandOptions/shared/parallel"
},
"bail": {
"$ref": "#/$defs/commandOptions/shared/bail"
},
"prefix": {
"$ref": "#/$defs/commandOptions/shared/prefix"
},
"profile": {
"$ref": "#/$defs/commandOptions/shared/profile"
},
"profileLocation": {
"$ref": "#/$defs/commandOptions/shared/profileLocation"
},
"preid": {
"$ref": "#/$defs/commandOptions/shared/preid"
},
"ignoreScripts": {
"$ref": "#/$defs/commandOptions/shared/ignoreScripts"
},
"granularPathspec": {
"$ref": "#/$defs/commandOptions/shared/granularPathspec"
},
"forcePublish": {
"$ref": "#/$defs/commandOptions/shared/forcePublish"
},
"exact": {
"$ref": "#/$defs/commandOptions/shared/exact"
},
"ignorePrepublish": {
"$ref": "#/$defs/commandOptions/shared/ignorePrepublish"
},
"verbose": {
"$ref": "#/$defs/commandOptions/shared/verbose"
}
},
"$defs": {
"globals": {
"npmClient": {
"type": "string",
"description": "The npm client to use when running commands (either npm, yarn, or pnpm). Defaults to npm if unspecified.",
"default": "npm",
"enum": ["npm", "yarn", "pnpm"]
},
"npmClientArgs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Arguments to pass to the npm client when running commands."
},
"loglevel": {
"type": "string",
"description": "The level of logging to use when running commands. Defaults to info if unspecified.",
"default": "info",
"enum": ["error", "warn", "info", "verbose", "debug", "silly"]
},
"concurrency": {
"type": "integer",
"description": "The number of concurrent processes to use when running commands. Defaults to the number of CPUs if unspecified."
},
"rejectCycles": {
"type": "boolean",
"description": "When true, Lerna will fail if a cycle is detected among dependencies."
},
"progress": {
"type": "boolean",
"description": "When true, Lerna will display progress bars when running commands. Progress bars are always off in CI."
},
"sort": {
"type": "boolean",
"description": "When true, Lerna will sort the packages topologically (dependencies before dependents)."
},
"maxBuffer": {
"type": "integer",
"description": "The maximum number of bytes to allow a child process for subcommand execution."
},
"yes": {
"type": "boolean",
"description": "When true, Lerna will automatically answer yes to all confirmation prompts."
}
},
"filters": {
"scope": {
"type": "string",
"description": "Include only packages with names matching the given glob"
},
"ignore": {
"type": "string",
"description": "Exclude packages with names matching the given glob"
},
"private": {
"type": "boolean",
"description": "Include private packages in the command. During `lerna create`, specifies that the new package is private (never published to any external registry)."
},
"since": {
"type": "string",
"description": "Only include packages that have been changed since the specified [ref]."
},
"excludeDependents": {
"type": "boolean",
"description": "Exclude all transitive dependents when running a command with --since, overriding the default \"changed\" algorithm."
},
"includeDependents": {
"type": "boolean",
"description": "Include all transitive dependents when running a command regardless of --scope, --ignore, or --since."
},
"includeDependencies": {
"type": "boolean",
"description": "Include all transitive dependencies when running a command regardless of --scope, --ignore, or --since."
},
"includeMergedTags": {
"type": "boolean",
"description": "Include tags from merged branches when running a command with --since."
},
"continueIfNoMatch": {
"type": "boolean",
"description": "Don't fail if no package is matched."
},
"summaryFile": {
"type": "string",
"description": "Generate a json summary report after all packages have been successfully published, you can pass an optional path for where to save the file."
}
},
"commandOptions": {
"add": {
"dev": {
"type": "boolean",
"description": "During `lerna add`, save the newly added package to devDependencies instead of dependencies."
},
"peer": {
"type": "boolean",
"description": "During `lerna add`, save the newly added package to peerDependencies instead of dependencies."
},
"bootstrap": {
"type": "boolean",
"description": "Automatically chain `lerna bootstrap` after `lerna add`."
}
},
"bootstrap": {
"hoist": {
"type": "string",
"description": "During `lerna bootstrap`, install external dependencies matching [glob] to the repo root."
},
"mutex": {},
"strict": {
"type": "boolean",
"description": "During `lerna bootstrap`, don't allow warnings when hoisting as it causes longer bootstrap times and other issues."
}
},
"create": {
"access": {
"type": "string",
"enum": ["public", "restricted"],
"description": "During `lerna create` and when using a scope, set publishConfig.access value."
},
"bin": {
"type": "string",
"description": "During `lerna create`, specifies that the new package has an executable with the given name."
},
"description": {
"type": "string",
"description": "During `lerna create`, specifies the description of the new package."
},
"dependencies": {
"type": "array",
"items": {
"type": "string"
},
"description": "During `lerna create`, specifies the list of dependencies of the new package."
},
"esModule": {
"type": "boolean",
"description": "During `lerna create`, when true, initializes a transpiled ES Module."
},
"homepage": {
"type": "string",
"description": "During `lerna create`, specifies the homepage of the new package. Defaults to a subpath of the root pkg.homepage."
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "During `lerna create`, specifies the list of keywords of the new package."
},
"license": {
"type": "string",
"description": "During `lerna create`, specifies the license of the new package (SPDX identifier). Defaults to ISC."
},
"tag": {
"type": "string",
"description": "During `lerna create`, specifies the publishConfig.tag for the new package."
}
},
"import": {
"flatten": {
"type": "boolean",
"description": "During `lerna import`, when true, import each merge commit as a single change the merge introduced."
},
"dest": {
"type": "string",
"description": "During `lerna import`, specifies the directory for the external git repository."
},
"preserveCommit": {
"type": "boolean",
"description": "During `lerna import`, when true, preserve the original committer in additional to original author."
}
},
"publish": {
"canary": {
"type": "boolean",
"description": "During `lerna publish`, when true, publish packages after every successful merge using the sha as part of the tag."
},
"distTag": {
"type": "string",
"description": "During `lerna publish`, publish packages with the specified npm dist-tag."
},
"preDistTag": {
"