|
| 1 | + |
| 2 | +{ |
| 3 | + "$schema": "https://json-schema.org/schema", |
| 4 | + "$id": "NxJSReleaseVersionGeneratorCopy", |
| 5 | + "cli": "nx", |
| 6 | + "title": "Implementation details of `nx release version`", |
| 7 | + "description": "DO NOT INVOKE DIRECTLY WITH `nx generate`. Use `nx release version` instead.", |
| 8 | + "type": "object", |
| 9 | + "properties": { |
| 10 | + "projects": { |
| 11 | + "type": "array", |
| 12 | + "description": "The ProjectGraphProjectNodes being versioned in the current execution.", |
| 13 | + "items": { |
| 14 | + "type": "object" |
| 15 | + } |
| 16 | + }, |
| 17 | + "projectGraph": { |
| 18 | + "type": "object", |
| 19 | + "description": "ProjectGraph instance" |
| 20 | + }, |
| 21 | + "specifier": { |
| 22 | + "type": "string", |
| 23 | + "description": "Exact version or semver keyword to apply to the selected release group. Overrides specifierSource." |
| 24 | + }, |
| 25 | + "releaseGroup": { |
| 26 | + "type": "object", |
| 27 | + "description": "The resolved release group configuration, including name, relevant to all projects in the current execution." |
| 28 | + }, |
| 29 | + "specifierSource": { |
| 30 | + "type": "string", |
| 31 | + "default": "prompt", |
| 32 | + "description": "Which approach to use to determine the semver specifier used to bump the version of the project.", |
| 33 | + "enum": ["prompt", "conventional-commits", "version-plans"] |
| 34 | + }, |
| 35 | + "preid": { |
| 36 | + "type": "string", |
| 37 | + "description": "The optional prerelease identifier to apply to the version, in the case that the specifier argument has been set to prerelease." |
| 38 | + }, |
| 39 | + "packageRoot": { |
| 40 | + "type": "string", |
| 41 | + "description": "The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root" |
| 42 | + }, |
| 43 | + "currentVersionResolver": { |
| 44 | + "type": "string", |
| 45 | + "default": "disk", |
| 46 | + "description": "Which approach to use to determine the current version of the project.", |
| 47 | + "enum": ["registry", "disk", "git-tag"] |
| 48 | + }, |
| 49 | + "currentVersionResolverMetadata": { |
| 50 | + "type": "object", |
| 51 | + "description": "Additional metadata to pass to the current version resolver.", |
| 52 | + "default": {} |
| 53 | + }, |
| 54 | + "skipLockFileUpdate": { |
| 55 | + "type": "boolean", |
| 56 | + "description": "Whether to skip updating the lock file after updating the version." |
| 57 | + }, |
| 58 | + "installArgs": { |
| 59 | + "type": "string", |
| 60 | + "description": "Additional arguments to pass to the package manager when updating the lock file with an install command." |
| 61 | + }, |
| 62 | + "installIgnoreScripts": { |
| 63 | + "type": "boolean", |
| 64 | + "description": "Whether to ignore install lifecycle scripts when updating the lock file with an install command." |
| 65 | + } |
| 66 | + }, |
| 67 | + "required": ["projects", "projectGraph", "releaseGroup"] |
| 68 | +} |
0 commit comments