[6a3a178] | 1 | "use strict";
|
---|
| 2 | /**
|
---|
| 3 | * @license
|
---|
| 4 | * Copyright Google LLC All Rights Reserved.
|
---|
| 5 | *
|
---|
| 6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 7 | * found in the LICENSE file at https://angular.io/license
|
---|
| 8 | */
|
---|
| 9 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 10 | exports.updateToV13 = exports.updateToV12 = exports.updateToV11 = exports.updateToV10 = exports.updateToV9 = exports.updateToV8 = exports.updateToV7 = exports.updateToV6 = void 0;
|
---|
| 11 | const schematics_1 = require("@angular/cdk/schematics");
|
---|
| 12 | const hammer_gestures_migration_1 = require("./migrations/hammer-gestures-v9/hammer-gestures-migration");
|
---|
| 13 | const misc_class_inheritance_1 = require("./migrations/misc-checks/misc-class-inheritance");
|
---|
| 14 | const misc_class_names_1 = require("./migrations/misc-checks/misc-class-names");
|
---|
| 15 | const misc_imports_1 = require("./migrations/misc-checks/misc-imports");
|
---|
| 16 | const misc_property_names_1 = require("./migrations/misc-checks/misc-property-names");
|
---|
| 17 | const misc_template_1 = require("./migrations/misc-checks/misc-template");
|
---|
| 18 | const ripple_speed_factor_migration_1 = require("./migrations/misc-ripples-v7/ripple-speed-factor-migration");
|
---|
| 19 | const secondary_entry_points_migration_1 = require("./migrations/package-imports-v8/secondary-entry-points-migration");
|
---|
| 20 | const theming_api_migration_1 = require("./migrations/theming-api-v12/theming-api-migration");
|
---|
| 21 | const upgrade_data_1 = require("./upgrade-data");
|
---|
| 22 | const materialMigrations = [
|
---|
| 23 | misc_class_inheritance_1.MiscClassInheritanceMigration,
|
---|
| 24 | misc_class_names_1.MiscClassNamesMigration,
|
---|
| 25 | misc_imports_1.MiscImportsMigration,
|
---|
| 26 | misc_property_names_1.MiscPropertyNamesMigration,
|
---|
| 27 | misc_template_1.MiscTemplateMigration,
|
---|
| 28 | ripple_speed_factor_migration_1.RippleSpeedFactorMigration,
|
---|
| 29 | secondary_entry_points_migration_1.SecondaryEntryPointsMigration,
|
---|
| 30 | hammer_gestures_migration_1.HammerGesturesMigration,
|
---|
| 31 | theming_api_migration_1.ThemingApiMigration,
|
---|
| 32 | ];
|
---|
| 33 | /** Entry point for the migration schematics with target of Angular Material v6 */
|
---|
| 34 | function updateToV6() {
|
---|
| 35 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V6, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 36 | }
|
---|
| 37 | exports.updateToV6 = updateToV6;
|
---|
| 38 | /** Entry point for the migration schematics with target of Angular Material v7 */
|
---|
| 39 | function updateToV7() {
|
---|
| 40 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V7, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 41 | }
|
---|
| 42 | exports.updateToV7 = updateToV7;
|
---|
| 43 | /** Entry point for the migration schematics with target of Angular Material v8 */
|
---|
| 44 | function updateToV8() {
|
---|
| 45 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V8, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 46 | }
|
---|
| 47 | exports.updateToV8 = updateToV8;
|
---|
| 48 | /** Entry point for the migration schematics with target of Angular Material v9 */
|
---|
| 49 | function updateToV9() {
|
---|
| 50 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V9, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 51 | }
|
---|
| 52 | exports.updateToV9 = updateToV9;
|
---|
| 53 | /** Entry point for the migration schematics with target of Angular Material v10 */
|
---|
| 54 | function updateToV10() {
|
---|
| 55 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V10, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 56 | }
|
---|
| 57 | exports.updateToV10 = updateToV10;
|
---|
| 58 | /** Entry point for the migration schematics with target of Angular Material v11 */
|
---|
| 59 | function updateToV11() {
|
---|
| 60 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V11, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 61 | }
|
---|
| 62 | exports.updateToV11 = updateToV11;
|
---|
| 63 | /** Entry point for the migration schematics with target of Angular Material v12 */
|
---|
| 64 | function updateToV12() {
|
---|
| 65 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V12, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 66 | }
|
---|
| 67 | exports.updateToV12 = updateToV12;
|
---|
| 68 | /** Entry point for the migration schematics with target of Angular Material v13 */
|
---|
| 69 | function updateToV13() {
|
---|
| 70 | return schematics_1.createMigrationSchematicRule(schematics_1.TargetVersion.V13, materialMigrations, upgrade_data_1.materialUpgradeData, onMigrationComplete);
|
---|
| 71 | }
|
---|
| 72 | exports.updateToV13 = updateToV13;
|
---|
| 73 | /** Function that will be called when the migration completed. */
|
---|
| 74 | function onMigrationComplete(context, targetVersion, hasFailures) {
|
---|
| 75 | context.logger.info('');
|
---|
| 76 | context.logger.info(` ✓ Updated Angular Material to ${targetVersion}`);
|
---|
| 77 | context.logger.info('');
|
---|
| 78 | if (hasFailures) {
|
---|
| 79 | context.logger.warn(' ⚠ Some issues were detected but could not be fixed automatically. Please check the ' +
|
---|
| 80 | 'output above and fix these issues manually.');
|
---|
| 81 | }
|
---|
| 82 | }
|
---|
| 83 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWF0ZXJpYWwvc2NoZW1hdGljcy9uZy11cGRhdGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7O0FBR0gsd0RBSWlDO0FBQ2pDLHlHQUFrRztBQUNsRyw0RkFBOEY7QUFDOUY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