forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.json
More file actions
83 lines (83 loc) · 3.26 KB
/
update.json
File metadata and controls
83 lines (83 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "update",
"command": "ng update [packages..]",
"shortDescription": "Updates your workspace and its dependencies. See https://update.angular.dev/.",
"longDescriptionRelativePath": "@angular/cli/src/commands/update/long-description.md",
"longDescription": "Perform a basic update to the current stable release of the core framework and CLI by running the following command.\n\n```\nng update @angular/cli @angular/core\n```\n\nTo update to the next beta or pre-release version, use the `--next` option.\n\nTo update from one major version to another, use the format\n\n```\nng update @angular/cli@^<major_version> @angular/core@^<major_version>\n```\n\nWe recommend that you always update to the latest patch version, as it contains fixes we released since the initial major release.\nFor example, use the following command to take the latest 10.x.x version and use that to update.\n\n```\nng update @angular/cli@^10 @angular/core@^10\n```\n\nFor detailed information and guidance on updating your application, see the interactive [Angular Update Guide](https://update.angular.dev/).\n",
"aliases": [],
"deprecated": false,
"options": [
{
"name": "allow-dirty",
"type": "boolean",
"default": false,
"description": "Whether to allow updating when the repository contains modified or untracked files."
},
{
"name": "create-commits",
"type": "boolean",
"aliases": [
"C"
],
"default": false,
"description": "Create source control commits for updates and migrations."
},
{
"name": "force",
"type": "boolean",
"default": false,
"description": "Ignore peer dependency version mismatches."
},
{
"name": "from",
"type": "string",
"description": "Version from which to migrate from. Only available when a single package is updated, and only with 'migrate-only'."
},
{
"name": "help",
"type": "boolean",
"description": "Shows a help message for this command in the console."
},
{
"name": "migrate-only",
"type": "boolean",
"description": "Only perform a migration, do not update the installed version."
},
{
"name": "name",
"type": "string",
"description": "The name of the migration to run. Only available when a single package is updated."
},
{
"name": "next",
"type": "boolean",
"default": false,
"description": "Use the prerelease version, including beta and RCs."
},
{
"name": "packages",
"type": "array",
"default": [],
"description": "The names of package(s) to update.",
"positional": 0
},
{
"name": "packages",
"type": "string",
"default": [],
"description": "The names of package(s) to update.",
"positional": 0
},
{
"name": "to",
"type": "string",
"description": "Version up to which to apply migrations. Only available when a single package is updated, and only with 'migrate-only' option. Requires 'from' to be specified. Default to the installed version detected."
},
{
"name": "verbose",
"type": "boolean",
"default": false,
"description": "Display additional details about internal operations during execution."
}
]
}