Last active
June 24, 2019 22:09
-
-
Save jeremyben/0a64d88bb02b63c505214d0748aaa896 to your computer and use it in GitHub Desktop.
Lerna Schema (https://lerna.js.org/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$id": "https://lerna.js.org/", | |
"type": "object", | |
"properties": { | |
"version": { | |
"$id": "/properties/version", | |
"type": "string", | |
"description": "The current version of the repository.", | |
"examples": [ | |
"1.1.3" | |
] | |
}, | |
"npmClient": { | |
"$id": "/properties/npmClient", | |
"type": "string", | |
"description": "an option to specify a specific client to run commands with (this can also be specified on a per command basis). Change to yarn to run all commands with yarn. Defaults to npm.", | |
"examples": [ | |
"yarn" | |
] | |
}, | |
"command": { | |
"$id": "/properties/commands", | |
"type": "object", | |
"properties": { | |
"publish": { | |
"$id": "/properties/commands/properties/publish", | |
"type": "object", | |
"properties": { | |
"ignoreChanges": { | |
"$id": "/properties/commands/properties/publish/properties/ignoreChanges", | |
"type": "array", | |
"items": { | |
"$id": "/properties/commands/properties/publish/properties/ignoreChanges/items", | |
"type": "string", | |
"description": "Glob that won't be included in lerna updated/publish. Use this to prevent publishing a new version unnecessarily for changes, such as fixing a README.md typo.", | |
"examples": [ | |
"ignored-file", | |
"*.md" | |
] | |
} | |
}, | |
"message": { | |
"$id": "/properties/commands/properties/publish/properties/message", | |
"type": "string", | |
"description": "a custom commit message when performing version updates for publication" | |
} | |
} | |
}, | |
"bootstrap": { | |
"$id": "/properties/commands/properties/bootstrap", | |
"type": "object", | |
"properties": { | |
"ignore": { | |
"$id": "/properties/commands/properties/bootstrap/properties/ignore", | |
"type": "array", | |
"items": { | |
"$id": "/properties/commands/properties/bootstrap/properties/ignore/items", | |
"type": "string", | |
"description": "Glob that won't be bootstrapped when running the lerna bootstrap command." | |
} | |
}, | |
"scope": { | |
"$id": "/properties/commands/properties/bootstrap/properties/scope", | |
"type": "array", | |
"items": { | |
"$id": "/properties/commands/properties/bootstrap/properties/scope/items", | |
"type": "string", | |
"description": "Glob that restricts which packages will be bootstrapped when running the lerna bootstrap command.", | |
"examples": [ | |
"component-*" | |
] | |
} | |
}, | |
"npmClientArgs": { | |
"$id": "/properties/commands/properties/bootstrap/properties/npmClientArgs", | |
"description": "array of strings that will be passed as arguments directly to npm install during the lerna bootstrap command.", | |
"type": "array", | |
"items": { | |
"$id": "/properties/commands/properties/bootstrap/properties/scope/npmClientArgs/items", | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"packages": { | |
"$id": "/properties/packages", | |
"type": "array", | |
"description": "Array of globs to use as package locations.", | |
"items": { | |
"$id": "/properties/packages/items", | |
"type": "string", | |
"description": "Glob to use as package locations.", | |
"examples": [ | |
"packages/*" | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment