ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
22 lines • 962 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular/cdk/schematics");
const chalk_1 = require("chalk");
const upgrade_data_1 = require("./upgrade-data");
/** Entry point for the migration schematics with target of NG-ZORRO v7 */
function updateToV7() {
return schematics_1.createUpgradeRule(schematics_1.TargetVersion.V7, [], upgrade_data_1.materialUpgradeData, postUpdate);
}
exports.updateToV7 = updateToV7;
/** Post-update schematic to be called when update is finished. */
function postUpdate() {
return () => {
console.log();
console.log(chalk_1.default.green(' ✓ NG-ZORRO update complete'));
console.log();
console.log(chalk_1.default.yellow(' ⚠ Please check the output above for any issues that were detected ' +
'but could not be automatically fixed.'));
};
}
exports.postUpdate = postUpdate;
//# sourceMappingURL=index.js.map
;