devkit-migration.js 774 B

1234567891011121314151617181920
  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.dev/license
  8. */
  9. Object.defineProperty(exports, "__esModule", { value: true });
  10. exports.DevkitMigration = void 0;
  11. const migration_1 = require("../update-tool/migration");
  12. class DevkitMigration extends migration_1.Migration {
  13. /** Prints an informative message with context on the current target. */
  14. printInfo(text) {
  15. const targetName = this.context.isTestTarget ? 'test' : 'build';
  16. this.logger.info(`- ${this.context.projectName}@${targetName}: ${text}`);
  17. }
  18. }
  19. exports.DevkitMigration = DevkitMigration;
  20. //# sourceMappingURL=devkit-migration.js.map