From cbce2102c066d1c6d5579a60be0ad32a1c835529 Mon Sep 17 00:00:00 2001 From: Krzysztof Platis Date: Fri, 20 Dec 2024 17:52:34 +0100 Subject: [PATCH] rename all 'translations-ts-generator.config' files to 'generate-translations-ts-barrels.config' --- ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 ...rator.config => generate-translations-ts-barrels.config} | 0 scripts/i18n/generate-translations-ts-barrels.ts | 6 ++---- 42 files changed, 2 insertions(+), 4 deletions(-) rename feature-libs/asm/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/asm/customer-360/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/cart/base/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/cart/import-export/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/cart/quick-order/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/cart/saved-cart/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/cart/wish-list/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/checkout/b2b/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/checkout/base/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/checkout/scheduled-replenishment/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/customer-ticketing/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/estimated-delivery-date/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/order/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/organization/account-summary/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/organization/administration/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/organization/order-approval/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/organization/unit-order/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/organization/user-registration/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/pdf-invoices/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/pickup-in-store/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/product-configurator/common/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/product-multi-dimensional/selector/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/product/bulk-pricing/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/product/future-stock/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/product/image-zoom/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/product/variants/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/quote/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/requested-delivery-date/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/storefinder/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/user/account/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename feature-libs/user/profile/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/cdc/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/cds/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/cpq-quote/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/digital-payments/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/epd-visualization/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/opf/checkout/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/opf/payment/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/s4-service/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename integration-libs/s4om/assets/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) rename projects/assets/src/translations/{translations-ts-generator.config => generate-translations-ts-barrels.config} (100%) diff --git a/feature-libs/asm/assets/translations/translations-ts-generator.config b/feature-libs/asm/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/asm/assets/translations/translations-ts-generator.config rename to feature-libs/asm/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/asm/customer-360/assets/translations/translations-ts-generator.config b/feature-libs/asm/customer-360/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/asm/customer-360/assets/translations/translations-ts-generator.config rename to feature-libs/asm/customer-360/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/cart/base/assets/translations/translations-ts-generator.config b/feature-libs/cart/base/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/cart/base/assets/translations/translations-ts-generator.config rename to feature-libs/cart/base/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/cart/import-export/assets/translations/translations-ts-generator.config b/feature-libs/cart/import-export/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/cart/import-export/assets/translations/translations-ts-generator.config rename to feature-libs/cart/import-export/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/cart/quick-order/assets/translations/translations-ts-generator.config b/feature-libs/cart/quick-order/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/cart/quick-order/assets/translations/translations-ts-generator.config rename to feature-libs/cart/quick-order/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/cart/saved-cart/assets/translations/translations-ts-generator.config b/feature-libs/cart/saved-cart/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/cart/saved-cart/assets/translations/translations-ts-generator.config rename to feature-libs/cart/saved-cart/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/cart/wish-list/assets/translations/translations-ts-generator.config b/feature-libs/cart/wish-list/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/cart/wish-list/assets/translations/translations-ts-generator.config rename to feature-libs/cart/wish-list/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/checkout/b2b/assets/translations/translations-ts-generator.config b/feature-libs/checkout/b2b/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/checkout/b2b/assets/translations/translations-ts-generator.config rename to feature-libs/checkout/b2b/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/checkout/base/assets/translations/translations-ts-generator.config b/feature-libs/checkout/base/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/checkout/base/assets/translations/translations-ts-generator.config rename to feature-libs/checkout/base/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/checkout/scheduled-replenishment/assets/translations/translations-ts-generator.config b/feature-libs/checkout/scheduled-replenishment/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/checkout/scheduled-replenishment/assets/translations/translations-ts-generator.config rename to feature-libs/checkout/scheduled-replenishment/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/customer-ticketing/assets/translations/translations-ts-generator.config b/feature-libs/customer-ticketing/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/customer-ticketing/assets/translations/translations-ts-generator.config rename to feature-libs/customer-ticketing/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/estimated-delivery-date/assets/translations/translations-ts-generator.config b/feature-libs/estimated-delivery-date/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/estimated-delivery-date/assets/translations/translations-ts-generator.config rename to feature-libs/estimated-delivery-date/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/order/assets/translations/translations-ts-generator.config b/feature-libs/order/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/order/assets/translations/translations-ts-generator.config rename to feature-libs/order/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/organization/account-summary/assets/translations/translations-ts-generator.config b/feature-libs/organization/account-summary/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/organization/account-summary/assets/translations/translations-ts-generator.config rename to feature-libs/organization/account-summary/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/organization/administration/assets/translations/translations-ts-generator.config b/feature-libs/organization/administration/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/organization/administration/assets/translations/translations-ts-generator.config rename to feature-libs/organization/administration/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/organization/order-approval/assets/translations/translations-ts-generator.config b/feature-libs/organization/order-approval/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/organization/order-approval/assets/translations/translations-ts-generator.config rename to feature-libs/organization/order-approval/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/organization/unit-order/assets/translations/translations-ts-generator.config b/feature-libs/organization/unit-order/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/organization/unit-order/assets/translations/translations-ts-generator.config rename to feature-libs/organization/unit-order/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/organization/user-registration/assets/translations/translations-ts-generator.config b/feature-libs/organization/user-registration/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/organization/user-registration/assets/translations/translations-ts-generator.config rename to feature-libs/organization/user-registration/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/pdf-invoices/assets/translations/translations-ts-generator.config b/feature-libs/pdf-invoices/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/pdf-invoices/assets/translations/translations-ts-generator.config rename to feature-libs/pdf-invoices/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/pickup-in-store/assets/translations/translations-ts-generator.config b/feature-libs/pickup-in-store/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/pickup-in-store/assets/translations/translations-ts-generator.config rename to feature-libs/pickup-in-store/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/product-configurator/common/assets/translations/translations-ts-generator.config b/feature-libs/product-configurator/common/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/product-configurator/common/assets/translations/translations-ts-generator.config rename to feature-libs/product-configurator/common/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/product-multi-dimensional/selector/assets/translations/translations-ts-generator.config b/feature-libs/product-multi-dimensional/selector/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/product-multi-dimensional/selector/assets/translations/translations-ts-generator.config rename to feature-libs/product-multi-dimensional/selector/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/product/bulk-pricing/assets/translations/translations-ts-generator.config b/feature-libs/product/bulk-pricing/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/product/bulk-pricing/assets/translations/translations-ts-generator.config rename to feature-libs/product/bulk-pricing/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/product/future-stock/assets/translations/translations-ts-generator.config b/feature-libs/product/future-stock/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/product/future-stock/assets/translations/translations-ts-generator.config rename to feature-libs/product/future-stock/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/product/image-zoom/assets/translations/translations-ts-generator.config b/feature-libs/product/image-zoom/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/product/image-zoom/assets/translations/translations-ts-generator.config rename to feature-libs/product/image-zoom/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/product/variants/assets/translations/translations-ts-generator.config b/feature-libs/product/variants/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/product/variants/assets/translations/translations-ts-generator.config rename to feature-libs/product/variants/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/quote/assets/translations/translations-ts-generator.config b/feature-libs/quote/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/quote/assets/translations/translations-ts-generator.config rename to feature-libs/quote/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/requested-delivery-date/assets/translations/translations-ts-generator.config b/feature-libs/requested-delivery-date/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/requested-delivery-date/assets/translations/translations-ts-generator.config rename to feature-libs/requested-delivery-date/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/storefinder/assets/translations/translations-ts-generator.config b/feature-libs/storefinder/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/storefinder/assets/translations/translations-ts-generator.config rename to feature-libs/storefinder/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/user/account/assets/translations/translations-ts-generator.config b/feature-libs/user/account/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/user/account/assets/translations/translations-ts-generator.config rename to feature-libs/user/account/assets/translations/generate-translations-ts-barrels.config diff --git a/feature-libs/user/profile/assets/translations/translations-ts-generator.config b/feature-libs/user/profile/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from feature-libs/user/profile/assets/translations/translations-ts-generator.config rename to feature-libs/user/profile/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/cdc/assets/translations/translations-ts-generator.config b/integration-libs/cdc/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/cdc/assets/translations/translations-ts-generator.config rename to integration-libs/cdc/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/cds/assets/translations/translations-ts-generator.config b/integration-libs/cds/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/cds/assets/translations/translations-ts-generator.config rename to integration-libs/cds/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/cpq-quote/assets/translations/translations-ts-generator.config b/integration-libs/cpq-quote/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/cpq-quote/assets/translations/translations-ts-generator.config rename to integration-libs/cpq-quote/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/digital-payments/assets/translations/translations-ts-generator.config b/integration-libs/digital-payments/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/digital-payments/assets/translations/translations-ts-generator.config rename to integration-libs/digital-payments/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/epd-visualization/assets/translations/translations-ts-generator.config b/integration-libs/epd-visualization/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/epd-visualization/assets/translations/translations-ts-generator.config rename to integration-libs/epd-visualization/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/opf/checkout/assets/translations/translations-ts-generator.config b/integration-libs/opf/checkout/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/opf/checkout/assets/translations/translations-ts-generator.config rename to integration-libs/opf/checkout/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/opf/payment/assets/translations/translations-ts-generator.config b/integration-libs/opf/payment/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/opf/payment/assets/translations/translations-ts-generator.config rename to integration-libs/opf/payment/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/s4-service/assets/translations/translations-ts-generator.config b/integration-libs/s4-service/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/s4-service/assets/translations/translations-ts-generator.config rename to integration-libs/s4-service/assets/translations/generate-translations-ts-barrels.config diff --git a/integration-libs/s4om/assets/translations/translations-ts-generator.config b/integration-libs/s4om/assets/translations/generate-translations-ts-barrels.config similarity index 100% rename from integration-libs/s4om/assets/translations/translations-ts-generator.config rename to integration-libs/s4om/assets/translations/generate-translations-ts-barrels.config diff --git a/projects/assets/src/translations/translations-ts-generator.config b/projects/assets/src/translations/generate-translations-ts-barrels.config similarity index 100% rename from projects/assets/src/translations/translations-ts-generator.config rename to projects/assets/src/translations/generate-translations-ts-barrels.config diff --git a/scripts/i18n/generate-translations-ts-barrels.ts b/scripts/i18n/generate-translations-ts-barrels.ts index a5306e6a3d0..616e2c367cc 100644 --- a/scripts/i18n/generate-translations-ts-barrels.ts +++ b/scripts/i18n/generate-translations-ts-barrels.ts @@ -52,19 +52,17 @@ function getLicenseHeader(): string { function getPrefix(translationDir: string): string | undefined { const configPath = path.join( translationDir, - 'translations-ts-generator.config' + 'generate-translations-ts-barrels.config' ); if (fs.existsSync(configPath)) { const content = fs.readFileSync(configPath, 'utf-8'); const match = content.match(/PUBLIC_API_PREFIX=(.+)/); return match ? match[1].trim() : undefined; } else { - // SPIKE TODO REMOVE throw new Error( - `No translations-ts-generator.config file found in ${translationDir}` + `No generate-translations-ts-barrels.config file found in ${translationDir}` ); } - return undefined; } function kebabToCamelCase(str: string): string {