UNPKG

@nju33/json-schema

Version:

[![@nju33/json-schema](https://badgen.net/npm/v/@nju33/json-schema?icon=npm)](https://www.npmjs.com/package/@nju33/json-schema)

95 lines (94 loc) 2.69 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "title": "JSON schema for Lerna", "type": "object", "properties": { "version": { "description": "the current version of the repository", "type": "string", "default": "independent", "examples": ["0.0.0", "independent"] }, "npmClient": { "description": "an option to specify a specific client to run commands with", "type": "string", "default": "npm", "enum": ["npm", "yarn"] }, "useWorkspaces": { "type": "boolean" }, "command": { "type": "object", "properties": { "publish": { "type": "object", "properties": { "ignoreChanges": { "description": "an array of globs that won't be included in lerna `changed/publish`", "type": "array", "items": { "type": "string" } }, "message": { "description": "a custom commit message when performing version updates for publication", "type": "string" } } }, "bootstrap": { "type": "object", "properties": { "ignore": { "description": "an array of globs that won't be bootstrapped when running the `lerna bootstrap` command", "type": "array", "items": { "type": "string" } }, "npmClientArgs": { "description": "array of strings that will be passed as arguments directly to `npm install` during the `lerna bootstrap` command", "type": "array", "items": { "type": "string" } }, "scope": { "description": " an array of globs that restricts which packages will be bootstrapped when running the `lerna bootstrap` command", "type": "array", "items": { "type": "string" } } } }, "version": { "type": "object", "properties": { "allowBranch": { "oneOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] } } } } }, "packages": { "description": "Array of globs to use as package locations", "type": "array", "items": { "type": "string" } } } }