1 | /**
|
---|
2 | * Updates your application and its dependencies. See https://update.angular.io/
|
---|
3 | */
|
---|
4 | export interface Schema {
|
---|
5 | /**
|
---|
6 | * Whether to update all packages in package.json.
|
---|
7 | */
|
---|
8 | all?: boolean;
|
---|
9 | /**
|
---|
10 | * Whether to allow updating when the repository contains modified or untracked files.
|
---|
11 | */
|
---|
12 | allowDirty?: boolean;
|
---|
13 | /**
|
---|
14 | * Create source control commits for updates and migrations.
|
---|
15 | */
|
---|
16 | createCommits?: boolean;
|
---|
17 | /**
|
---|
18 | * Ignore peer dependency version mismatches. Passes the `--force` flag to the package
|
---|
19 | * manager when installing packages.
|
---|
20 | */
|
---|
21 | force?: boolean;
|
---|
22 | /**
|
---|
23 | * Version from which to migrate from. Only available with a single package being updated,
|
---|
24 | * and only on migration only.
|
---|
25 | */
|
---|
26 | from?: string;
|
---|
27 | /**
|
---|
28 | * Shows a help message for this command in the console.
|
---|
29 | */
|
---|
30 | help?: HelpUnion;
|
---|
31 | /**
|
---|
32 | * Only perform a migration, do not update the installed version.
|
---|
33 | */
|
---|
34 | migrateOnly?: MigrateOnly;
|
---|
35 | /**
|
---|
36 | * Use the prerelease version, including beta and RCs.
|
---|
37 | */
|
---|
38 | next?: boolean;
|
---|
39 | /**
|
---|
40 | * The names of package(s) to update.
|
---|
41 | */
|
---|
42 | packages?: string[];
|
---|
43 | /**
|
---|
44 | * Version up to which to apply migrations. Only available with a single package being
|
---|
45 | * updated, and only on migrations only. Requires from to be specified. Default to the
|
---|
46 | * installed version detected.
|
---|
47 | */
|
---|
48 | to?: string;
|
---|
49 | /**
|
---|
50 | * Display additional details about internal operations during execution.
|
---|
51 | */
|
---|
52 | verbose?: boolean;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * Shows a help message for this command in the console.
|
---|
56 | */
|
---|
57 | export declare type HelpUnion = boolean | HelpEnum;
|
---|
58 | export declare enum HelpEnum {
|
---|
59 | HelpJson = "JSON",
|
---|
60 | Json = "json"
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * Only perform a migration, do not update the installed version.
|
---|
64 | */
|
---|
65 | export declare type MigrateOnly = boolean | string;
|
---|