UNPKG

1.82 kBTypeScriptView Raw
1/**
2 * Updates your application and its dependencies. See https://update.angular.io/
3 */
4export 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 * If false, will error out if installed packages are incompatible with the update.
19 */
20 force?: boolean;
21 /**
22 * Version from which to migrate from. Only available with a single package being updated,
23 * and only on migration only.
24 */
25 from?: string;
26 /**
27 * Shows a help message for this command in the console.
28 */
29 help?: HelpUnion;
30 /**
31 * Only perform a migration, does not update the installed version.
32 */
33 migrateOnly?: MigrateOnly;
34 /**
35 * Use the largest version, including beta and RCs.
36 */
37 next?: boolean;
38 /**
39 * The names of package(s) to update.
40 */
41 packages?: string[];
42 /**
43 * Version up to which to apply migrations. Only available with a single package being
44 * updated, and only on migrations only. Requires from to be specified. Default to the
45 * installed version detected.
46 */
47 to?: string;
48 /**
49 * Display additional details about internal operations during execution.
50 */
51 verbose?: boolean;
52}
53/**
54 * Shows a help message for this command in the console.
55 */
56export declare type HelpUnion = boolean | HelpEnum;
57export declare enum HelpEnum {
58 HelpJson = "JSON",
59 Json = "json"
60}
61/**
62 * Only perform a migration, does not update the installed version.
63 */
64export declare type MigrateOnly = boolean | string;