Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
| 3 | "$id": "SchematicsUpdateSchema",
|
---|
| 4 | "title": "Schematic Options Schema",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "properties": {
|
---|
| 7 | "packages": {
|
---|
| 8 | "description": "The package or packages to update.",
|
---|
| 9 | "type": "array",
|
---|
| 10 | "items": {
|
---|
| 11 | "type": "string"
|
---|
| 12 | },
|
---|
| 13 | "$default": {
|
---|
| 14 | "$source": "argv"
|
---|
| 15 | }
|
---|
| 16 | },
|
---|
| 17 | "force": {
|
---|
| 18 | "description": "When false (the default), reports an error if installed packages are incompatible with the update.",
|
---|
| 19 | "default": false,
|
---|
| 20 | "type": "boolean"
|
---|
| 21 | },
|
---|
| 22 | "next": {
|
---|
| 23 | "description": "Update to the latest version, including beta and RCs.",
|
---|
| 24 | "default": false,
|
---|
| 25 | "type": "boolean"
|
---|
| 26 | },
|
---|
| 27 | "migrateOnly": {
|
---|
| 28 | "description": "Perform a migration, but do not update the installed version.",
|
---|
| 29 | "default": false,
|
---|
| 30 | "type": "boolean"
|
---|
| 31 | },
|
---|
| 32 | "from": {
|
---|
| 33 | "description": "When using `--migrateOnly` for a single package, the version of that package from which to migrate.",
|
---|
| 34 | "type": "string"
|
---|
| 35 | },
|
---|
| 36 | "to": {
|
---|
| 37 | "description": "When using `--migrateOnly` for a single package, the version of that package to which to migrate.",
|
---|
| 38 | "type": "string"
|
---|
| 39 | },
|
---|
| 40 | "registry": {
|
---|
| 41 | "description": "The npm registry to use.",
|
---|
| 42 | "type": "string",
|
---|
| 43 | "oneOf": [
|
---|
| 44 | {
|
---|
| 45 | "format": "uri"
|
---|
| 46 | },
|
---|
| 47 | {
|
---|
| 48 | "format": "hostname"
|
---|
| 49 | }
|
---|
| 50 | ]
|
---|
| 51 | },
|
---|
| 52 | "verbose": {
|
---|
| 53 | "description": "Display additional details during the update process.",
|
---|
| 54 | "type": "boolean"
|
---|
| 55 | },
|
---|
| 56 | "packageManager": {
|
---|
| 57 | "description": "The preferred package manager configuration files to use for registry settings.",
|
---|
| 58 | "type": "string",
|
---|
| 59 | "default": "npm",
|
---|
| 60 | "enum": ["npm", "yarn", "cnpm", "pnpm"]
|
---|
| 61 | }
|
---|
| 62 | },
|
---|
| 63 | "required": []
|
---|
| 64 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.