From 4a908231b32fcca0f601d3d55779e436807abd11 Mon Sep 17 00:00:00 2001 From: Aleksey Belan Date: Wed, 4 Sep 2024 10:55:42 +0300 Subject: [PATCH] fix: fix naming --- .../template/presets/storefront/experience/experience-data.ts | 4 ++-- .../storefront/experience/pages/{cms-pages.ts => cms-page.ts} | 0 libs/template/presets/storefront/experience/pages/index.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) rename libs/template/presets/storefront/experience/pages/{cms-pages.ts => cms-page.ts} (100%) diff --git a/libs/template/presets/storefront/experience/experience-data.ts b/libs/template/presets/storefront/experience/experience-data.ts index 0c21c13b..24681933 100644 --- a/libs/template/presets/storefront/experience/experience-data.ts +++ b/libs/template/presets/storefront/experience/experience-data.ts @@ -10,7 +10,7 @@ import { cartsPage, categoryPage, checkoutPage, - cmsPages, + cmsPage, contactPage, createAddressPage, editAddressPage, @@ -41,7 +41,7 @@ export const StaticExperienceFeature: AppFeature = { editAddressPage, ...(featureVersion >= '1.1' ? [registrationPage] : []), ...(featureVersion >= '1.4' ? [cartsPage, cartCreatePage] : []), - ...cmsPages, + ...cmsPage, ]), ], }; diff --git a/libs/template/presets/storefront/experience/pages/cms-pages.ts b/libs/template/presets/storefront/experience/pages/cms-page.ts similarity index 100% rename from libs/template/presets/storefront/experience/pages/cms-pages.ts rename to libs/template/presets/storefront/experience/pages/cms-page.ts diff --git a/libs/template/presets/storefront/experience/pages/index.ts b/libs/template/presets/storefront/experience/pages/index.ts index ab973394..472e732f 100644 --- a/libs/template/presets/storefront/experience/pages/index.ts +++ b/libs/template/presets/storefront/experience/pages/index.ts @@ -1,7 +1,7 @@ export * from './cart-page'; export * from './category-page'; export * from './checkout-page'; -export * from './cms-pages'; +export * from './cms-page'; export * from './contact-page'; export * from './home-page'; export * from './login-page'; @@ -10,3 +10,4 @@ export * from './order-confirmation-page'; export * from './product-page'; export * from './registration-page'; export * from './search-page'; +