projecte_ionic/node_modules/@angular/cli/commands/update-impl.d.ts
2022-02-09 18:30:03 +01:00

37 lines
1.3 KiB
TypeScript
Executable file

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Command } from '../models/command';
import { Arguments } from '../models/interface';
import { Schema as UpdateCommandSchema } from './update';
export declare class UpdateCommand extends Command<UpdateCommandSchema> {
readonly allowMissingWorkspace = true;
private workflow;
private packageManager;
initialize(options: UpdateCommandSchema & Arguments): Promise<void>;
private executeSchematic;
/**
* @return Whether or not the migration was performed successfully.
*/
private executeMigration;
/**
* @return Whether or not the migrations were performed successfully.
*/
private executeMigrations;
private executePackageMigrations;
run(options: UpdateCommandSchema & Arguments): Promise<number>;
/**
* @return Whether or not the commit was successful.
*/
private commit;
private checkCleanGit;
/**
* Checks if the current installed CLI version is older than the latest version.
* @returns `true` when the installed version is older.
*/
private checkCLILatestVersion;
}