UNPKG

2.67 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/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": "If false, will error out if installed packages are incompatible with the update.",
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 },
40 "next": {
41 "description": "Use the largest version, including beta and RCs.",
42 "default": false,
43 "type": "boolean"
44 },
45 "migrateOnly": {
46 "description": "Only perform a migration, does not update the installed version.",
47 "oneOf": [
48 {
49 "type": "boolean"
50 },
51 {
52 "type": "string",
53 "description": "The name of the migration to run."
54 }
55 ]
56 },
57 "from": {
58 "description": "Version from which to migrate from. Only available with a single package being updated, and only on migration only.",
59 "type": "string"
60 },
61 "to": {
62 "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.",
63 "type": "string"
64 },
65 "allowDirty": {
66 "description": "Whether to allow updating when the repository contains modified or untracked files.",
67 "type": "boolean"
68 },
69 "verbose": {
70 "description": "Display additional details about internal operations during execution.",
71 "type": "boolean",
72 "default": false
73 },
74 "createCommits": {
75 "description": "Create source control commits for updates and migrations.",
76 "type": "boolean",
77 "default": false,
78 "aliases": ["C"]
79 }
80 }
81 }
82 ]
83}