@spartacus/schematics
Version:
Spartacus schematics
37 lines • 2.82 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.migrate = exports.COMPONENT_DEPRECATION_DATA = void 0;
const component_deprecations_1 = require("../../mechanism/component-deprecations/component-deprecations");
const added_to_cart_dialog_component_migration_1 = require("./data/added-to-cart-dialog.component.migration");
const cart_item_component_migration_1 = require("./data/cart-item.component.migration");
const checkout_progress_mobile_bottom_component_migration_1 = require("./data/checkout-progress-mobile-bottom.component.migration");
const checkout_progress_mobile_top_component_migration_1 = require("./data/checkout-progress-mobile-top.component.migration");
const checkout_progress_component_migration_1 = require("./data/checkout-progress.component.migration");
const close_account_modal_component_migration_1 = require("./data/close-account-modal.component.migration");
const delivery_mode_component_migration_1 = require("./data/delivery-mode.component.migration");
const order_detail_shipping_component_migration_1 = require("./data/order-detail-shipping.component.migration");
const payment_method_component_migration_1 = require("./data/payment-method.component.migration");
const place_order_component_migration_1 = require("./data/place-order.component.migration");
const shipping_address_component_migration_1 = require("./data/shipping-address.component.migration");
const star_rating_component_migration_1 = require("./data/star-rating.component.migration");
exports.COMPONENT_DEPRECATION_DATA = [
checkout_progress_mobile_bottom_component_migration_1.CHECKOUT_PROGRESS_MOBILE_BOTTOM_COMPONENT_MIGRATION,
checkout_progress_mobile_top_component_migration_1.CHECKOUT_PROGRESS_MOBILE_TOP_COMPONENT_MIGRATION,
checkout_progress_component_migration_1.CHECKOUT_PROGRESS_COMPONENT_MIGRATION,
delivery_mode_component_migration_1.DELIVERY_MODE_COMPONENT_MIGRATION,
payment_method_component_migration_1.PAYMENT_METHOD_COMPONENT_MIGRATION,
shipping_address_component_migration_1.SHIPPING_ADDRESS_COMPONENT_MIGRATION,
order_detail_shipping_component_migration_1.ORDER_DETAIL_SHIPPING_COMPONENT_MIGRATION,
place_order_component_migration_1.PLACE_ORDER_COMPONENT_MIGRATION,
added_to_cart_dialog_component_migration_1.ADD_TO_CART_COMPONENT_MIGRATION,
cart_item_component_migration_1.CART_ITEM_COMPONENT_MIGRATION,
close_account_modal_component_migration_1.CLOSE_ACCOUNT_MODAL_COMPONENT_MIGRATION,
star_rating_component_migration_1.STAR_RATING_COMPONENT_MIGRATION,
];
function migrate() {
return (tree, context) => {
return component_deprecations_1.migrateComponentMigration(tree, context, exports.COMPONENT_DEPRECATION_DATA);
};
}
exports.migrate = migrate;
//# sourceMappingURL=component-deprecations.js.map