blob: 832c0100e241ec7c7e355d696032d89bd0972802 (
plain) (
blame)
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
|
/**
* Updates your application and its dependencies. See https://update.angular.io/
*/
export interface Schema {
/**
* Whether to update all packages in package.json.
*/
all?: boolean;
/**
* Whether to allow updating when the repository contains modified or untracked files.
*/
allowDirty?: boolean;
/**
* Create source control commits for updates and migrations.
*/
createCommits?: boolean;
/**
* Ignore peer dependency version mismatches. Passes the `--force` flag to the package
* manager when installing packages.
*/
force?: boolean;
/**
* Version from which to migrate from. Only available with a single package being updated,
* and only on migration only.
*/
from?: string;
/**
* Shows a help message for this command in the console.
*/
help?: HelpUnion;
/**
* Only perform a migration, do not update the installed version.
*/
migrateOnly?: MigrateOnly;
/**
* Use the prerelease version, including beta and RCs.
*/
next?: boolean;
/**
* The names of package(s) to update.
*/
packages?: string[];
/**
* 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.
*/
to?: string;
/**
* Display additional details about internal operations during execution.
*/
verbose?: boolean;
}
/**
* Shows a help message for this command in the console.
*/
export declare type HelpUnion = boolean | HelpEnum;
export declare enum HelpEnum {
HelpJson = "JSON",
Json = "json"
}
/**
* Only perform a migration, do not update the installed version.
*/
export declare type MigrateOnly = boolean | string;
|