You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
65 lines
1.8 KiB
/**
|
|
* 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;
|