Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / lerna.json
Schema registry

lerna.json

A lerna.json files

lerna.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your lerna.json and it validates in your browser — nothing is uploaded.

Validate a lerna.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
versionstringThe current version of the repository (or independent).
npmClientstringSpecify which client to run commands with (change to "yarn" to run commands with yarn. Defaults to "npm".
npmClientArgsarray<string>Array of strings that will be passed as arguments to the npmClient.
useWorkspacesbooleanEnable workspaces integration when using Yarn.
workspacesarray<string>Array of globs to use a workspace locations.
packagesarray<string>Array of globs to use a package locations.
ignoreChangesarray<string>Array of globs of files to ignore when detecting changed packages.
commandobjectOptions for the CLI commands.
command.publishobjectOptions for the publish command.
command.publish.ignoreChangesstring | arrayAn array of globs that won't be included in "lerna changed/publish". Use this to prevent publishing of a new version unnecessarily for changes, such as fixing a README.md typo.
command.publish.messagestringA custom commit message when performing version updates for publication. See https://github.com/lerna/lerna/tree/master/commands/version#--message-msg for more information.
command.bootstrapobjectOptions for the bootstrap command.
command.bootstrap.ignorestring | arrayAn array of globs that won't be bootstrapped when running "lerna bootstrap" command.
command.bootstrap.npmClientArgsarray<string>Array of strings that will be passed as arguments directly to "npm install" during the "lerna bootstrap" command.
command.initobjectOptions for the init command.
command.init.exactbooleanUse lerna 1.x behavior of "exact" comparison. It will enforce the exact match for all subsequent executions.
command.runobjectOptions for the run command.
command.run.npmClientstringWhich npm client should be used when running package scripts.
command.versionobjectOptions for the version command.
command.version.allowBranchstring | arrayA whitelist of globs that match git branches where "lerna version" is enabled.
command.version.messagestringA custom commit message when performing version updates for publication. See https://github.com/lerna/lerna/tree/master/commands/version#--message-msg for more information.

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas