1 | {
|
---|
2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
3 | "$id": "ng-cli://commands/update.json",
|
---|
4 | "description": "Updates your application and its dependencies. See https://update.angular.io/",
|
---|
5 | "$longDescription": "./update-long.md",
|
---|
6 |
|
---|
7 | "$scope": "all",
|
---|
8 | "$aliases": [],
|
---|
9 | "$type": "schematics",
|
---|
10 | "$impl": "./update-impl#UpdateCommand",
|
---|
11 |
|
---|
12 | "type": "object",
|
---|
13 | "allOf": [
|
---|
14 | {
|
---|
15 | "$ref": "./definitions.json#/definitions/base"
|
---|
16 | },
|
---|
17 | {
|
---|
18 | "type": "object",
|
---|
19 | "properties": {
|
---|
20 | "packages": {
|
---|
21 | "description": "The names of package(s) to update.",
|
---|
22 | "type": "array",
|
---|
23 | "items": {
|
---|
24 | "type": "string"
|
---|
25 | },
|
---|
26 | "$default": {
|
---|
27 | "$source": "argv"
|
---|
28 | }
|
---|
29 | },
|
---|
30 | "force": {
|
---|
31 | "description": "Ignore peer dependency version mismatches. Passes the `--force` flag to the package manager when installing packages.",
|
---|
32 | "default": false,
|
---|
33 | "type": "boolean"
|
---|
34 | },
|
---|
35 | "all": {
|
---|
36 | "description": "Whether to update all packages in package.json.",
|
---|
37 | "default": false,
|
---|
38 | "type": "boolean",
|
---|
39 | "x-deprecated": true
|
---|
40 | },
|
---|
41 | "next": {
|
---|
42 | "description": "Use the prerelease version, including beta and RCs.",
|
---|
43 | "default": false,
|
---|
44 | "type": "boolean"
|
---|
45 | },
|
---|
46 | "migrateOnly": {
|
---|
47 | "description": "Only perform a migration, do not update the installed version.",
|
---|
48 | "oneOf": [
|
---|
49 | {
|
---|
50 | "type": "boolean"
|
---|
51 | },
|
---|
52 | {
|
---|
53 | "type": "string",
|
---|
54 | "description": "The name of the migration to run."
|
---|
55 | }
|
---|
56 | ]
|
---|
57 | },
|
---|
58 | "from": {
|
---|
59 | "description": "Version from which to migrate from. Only available with a single package being updated, and only on migration only.",
|
---|
60 | "type": "string"
|
---|
61 | },
|
---|
62 | "to": {
|
---|
63 | "description": "Version up to which to apply migrations. Only available with a single package being updated, and only on migrations only. Requires from to be specified. Default to the installed version detected.",
|
---|
64 | "type": "string"
|
---|
65 | },
|
---|
66 | "allowDirty": {
|
---|
67 | "description": "Whether to allow updating when the repository contains modified or untracked files.",
|
---|
68 | "type": "boolean"
|
---|
69 | },
|
---|
70 | "verbose": {
|
---|
71 | "description": "Display additional details about internal operations during execution.",
|
---|
72 | "type": "boolean",
|
---|
73 | "default": false
|
---|
74 | },
|
---|
75 | "createCommits": {
|
---|
76 | "description": "Create source control commits for updates and migrations.",
|
---|
77 | "type": "boolean",
|
---|
78 | "default": false,
|
---|
79 | "aliases": ["C"]
|
---|
80 | }
|
---|
81 | }
|
---|
82 | }
|
---|
83 | ]
|
---|
84 | }
|
---|