@spartacus/schematics
Version:
Spartacus schematics
15 lines • 641 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.migrate = exports.CONFIG_DEPRECATION_DATA = void 0;
const config_deprecation_1 = require("../../mechanism/config-deprecations/config-deprecation");
const legacy_flag_migration_1 = require("./data/legacy-flag.migration");
exports.CONFIG_DEPRECATION_DATA = [
legacy_flag_migration_1.LEGACY_FLAG_MIGRATION,
];
function migrate() {
return (tree, context) => {
return config_deprecation_1.migrateConfigDeprecation(tree, context, exports.CONFIG_DEPRECATION_DATA);
};
}
exports.migrate = migrate;
//# sourceMappingURL=config-deprecation.js.map