@jorgeucanorg/init
Version:
Add scully to your angular app
22 lines • 879 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const chalk_1 = require("chalk");
/** Entry point for the migration schematics with target of Angular v9 */
function updateToV0() {
return (tree) => {
console.log(tree);
return onMigrationComplete('V0', true);
};
}
exports.updateToV0 = updateToV0;
/** Function that will be called when the migration completed. */
function onMigrationComplete(targetVersion, hasFailures) {
console.log();
console.log(chalk_1.default.green(` ✓ Updated Scully to ${targetVersion}`));
console.log();
if (hasFailures) {
console.log(chalk_1.default.yellow(' ⚠ Some issues were detected but could not be fixed automatically. Please check the ' +
'output above and fix these issues manually.'));
}
}
//# sourceMappingURL=index.js.map