From 87610c0d9e6b19a85a30bd9015f34e62365195ec Mon Sep 17 00:00:00 2001 From: Patryk Tomczyk <13100280+patzick@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:09:02 +0100 Subject: [PATCH] feat: move packages to biome (#1518) --- apps/docs/.vitepress/config.hub.ts | 2 +- apps/docs/.vitepress/config.ts | 10 +- apps/docs/.vitepress/data/composables.data.ts | 6 +- apps/docs/.vitepress/navigation.ts | 2 +- apps/docs/.vitepress/theme/components/AI.vue | 2 +- .../.vitepress/theme/components/AIAnswer.vue | 2 +- .../theme/components/ComposablesList.vue | 8 +- .../.vitepress/theme/components/PageRef.vue | 14 +- .../.vitepress/theme/composables/useAi.ts | 16 +- apps/docs/.vitepress/theme/index.ts | 4 +- .../.vitepress/theme/typer/cms-base-plugin.ts | 16 +- .../theme/typer/composables-builder.ts | 52 +- apps/docs/.vitepress/theme/typer/plugin.ts | 37 +- .../.vitepress/theme/typer/readme-loader.ts | 25 +- apps/docs/.vitepress/theme/typer/utils.ts | 4 +- .../composables/[composable].paths.ts | 6 +- apps/e2e-tests/package.json | 3 +- apps/e2e-tests/page-objects/ProductPage.ts | 2 +- apps/e2e-tests/page-objects/RegisterPage.ts | 2 +- apps/e2e-tests/tests/addProductReview.spec.ts | 4 +- apps/e2e-tests/tests/addToCart.spec.ts | 4 +- apps/e2e-tests/tests/addToWishlist.spec.ts | 2 +- apps/e2e-tests/tests/checkCategory.spec.ts | 4 +- .../e2e-tests/tests/checkCodeExamples.spec.ts | 60 +- apps/e2e-tests/tests/checkForSeoUrl.spec.ts | 2 +- .../tests/checkProductVariants.spec.ts | 2 +- apps/e2e-tests/tests/checkSearch.spec.ts | 2 +- .../tests/checkStackblitzTemplates.spec.ts | 6 +- apps/e2e-tests/tests/createOrder.spec.ts | 12 +- apps/e2e-tests/tests/login.spec.ts | 2 +- apps/e2e-tests/tests/myAccountTests.spec.ts | 2 +- apps/e2e-tests/tests/registrationUser.spec.ts | 2 +- apps/e2e-tests/tests/search.spec.ts | 2 +- biome.json | 6 +- .../api-types/storeApiTypes.overrides.ts | 2 +- examples/adyen-dropin-component/app.vue | 6 +- .../components/AdyenCreditCard.vue | 37 +- examples/adyen-dropin-component/nuxt.d.ts | 4 +- examples/adyen-dropin-component/package.json | 5 +- .../plugins/AdyenCheckout.client.ts | 2 +- .../amazon-pay-button-example/package.json | 5 +- .../playground/package.json | 8 +- .../amazon-pay-button-example/src/module.ts | 2 +- .../composables/useAmazonPayCheckout.ts | 8 +- .../src/runtime/plugins/amazon-pay.ts | 2 +- .../server/api/amazon-pay/complete.post.ts | 14 +- .../runtime/server/api/amazon-pay/init.get.ts | 4 +- .../runtime/server/api/amazon-pay/pay.post.ts | 6 +- .../server/api/amazon-pay/session.get.ts | 8 +- examples/amazon-pay-button-example/types.d.ts | 11 +- examples/api-client-tutorial/package.json | 5 +- .../api-client-tutorial/src/content/config.ts | 2 +- .../api-types/storeApiTypes.overrides.ts | 11 + .../api-types/storeApiTypes.overrides.ts | 11 + .../api-types/storeApiTypes.overrides.ts | 11 + .../3-partial-overriding/_solution/example.ts | 2 +- .../src/templates/default/main.ts | 2 +- examples/b2b-quote-management/package.json | 5 +- .../b2b-quote-management/src/apiClient.ts | 2 +- .../src/components/Login.vue | 6 +- .../src/components/Quote.vue | 6 +- .../src/components/QuotesTable.vue | 4 +- .../src/components/RequestQuote.vue | 18 +- examples/b2b-quote-management/src/main.ts | 8 +- examples/b2b-quote-management/vite.config.js | 4 +- examples/blank-playground/package.json | 5 +- examples/blank-playground/src/main.ts | 4 +- examples/blank-playground/vite.config.js | 4 +- .../package.json | 5 +- examples/commercial-quick-order/package.json | 5 +- examples/commercial-quick-order/src/App.vue | 14 +- .../commercial-quick-order/src/apiClient.ts | 2 +- examples/commercial-quick-order/src/main.ts | 4 +- .../commercial-quick-order/vite.config.ts | 4 +- examples/example-builder/package.json | 5 +- examples/example-builder/src/App.vue | 4 +- examples/example-builder/src/helpers.ts | 4 +- examples/example-builder/vite.config.ts | 2 +- .../api-types/storeApiTypes.overrides.ts | 2 - examples/express-checkout/package.json | 5 +- examples/express-checkout/src/App.vue | 16 +- examples/express-checkout/src/apiClient.ts | 2 +- examples/express-checkout/src/main.ts | 2 +- examples/express-checkout/vite.config.js | 4 +- examples/login-form/package.json | 5 +- examples/login-form/src/main.ts | 4 +- .../login-form/stub/types__react/index.d.ts | 2 +- examples/login-form/vite.config.js | 4 +- examples/modal-teleport/package.json | 7 +- .../api-types/storeApiTypes.overrides.ts | 6 +- .../components/MollieCreditCardComponent.vue | 2 +- .../ShopwareFrontendsCreditCard.vue | 8 +- .../composables/useMollie.ts | 2 +- .../composables/useMollieCreditCard.ts | 2 +- examples/mollie-credit-card/nuxt.config.ts | 2 +- examples/mollie-credit-card/package.json | 5 +- .../plugins/plugin.client.ts | 4 +- examples/mollie-credit-card/tsconfig.json | 2 +- examples/mollie-credit-card/types.d.ts | 32 +- examples/multi-sales-channel/nuxt.config.ts | 2 +- examples/multi-sales-channel/package.json | 7 +- .../multi-sales-channel/plugins/shopware.ts | 4 +- examples/new-api-client/package.json | 5 +- examples/new-api-client/src/App.vue | 8 +- examples/new-api-client/src/adminApiClient.ts | 2 +- examples/new-api-client/src/apiClient.ts | 2 +- examples/new-api-client/vite.config.ts | 2 +- .../components/ProductView.vue | 2 +- examples/product-detail-page/imports.d.ts | 2 + examples/product-detail-page/package.json | 5 +- examples/product-detail-page/tsconfig.json | 3 +- examples/responsive-images/package.json | 5 +- .../src/components/Image.vue | 2 +- examples/responsive-images/src/main.ts | 2 +- examples/responsive-images/vite.config.js | 4 +- examples/snippets-middleware/package.json | 5 +- examples/use-add-to-cart/package.json | 5 +- examples/use-add-to-cart/tsconfig.json | 2 +- examples/use-cart/app.vue | 4 +- examples/use-cart/package.json | 5 +- examples/use-cart/tsconfig.json | 2 +- examples/use-checkout/package.json | 5 +- examples/use-checkout/tsconfig.json | 2 +- package.json | 2 +- .../api-types/storeApiTypes.overrides.ts | 2 +- packages/api-client/biome.json | 3 + packages/api-client/eslint.config.mjs | 3 - packages/api-client/package.json | 5 +- packages/api-client/src/ApiError.ts | 2 +- .../src/adminApiClientCredentials.test.ts | 8 +- .../api-client/src/adminSessionData.test.ts | 3 +- packages/api-client/src/createAPIClient.ts | 19 +- .../api-client/src/createAdminAPIClient.ts | 15 +- .../src/createAdminApiClient.test.ts | 8 +- .../api-client/src/createApiClient.test.ts | 14 +- .../api-client/src/errorInterceptor.test.ts | 6 +- .../api-client/src/invocations.e2e.test.ts | 2 +- packages/api-client/src/playground.ts | 2 +- .../src/tests/RequestParameters.test-d.ts | 2 +- .../api-client/src/tests/apiClient.bench.ts | 2 +- .../api-client/src/tests/apiClient.test-d.ts | 6 +- .../api-client/src/tests/criteria.test-d.ts | 2 +- .../tests/newOperationsStructure.test-d.ts | 2 +- .../api-client/src/tests/transform.bench.ts | 2 +- .../tests/updateSessionContext.e2e.test.ts | 2 +- packages/api-client/vitest.config.ts | 2 +- packages/api-gen/package.json | 5 +- packages/api-gen/src/apiClient.ts | 4 +- packages/api-gen/src/cli.ts | 2 +- packages/api-gen/src/commands/generate.ts | 18 +- packages/api-gen/src/commands/loadSchema.ts | 2 +- packages/api-gen/src/commands/validateJson.ts | 12 +- packages/api-gen/src/generateFile.ts | 2 +- packages/api-gen/src/jsonOverrideUtils.ts | 6 +- packages/api-gen/src/patchJsonSchema.test.ts | 2 +- packages/api-gen/src/patchJsonSchema.ts | 6 +- .../src/processAstSchemaAndOverrides.ts | 6 +- .../api-gen/src/transformOpenApiTypes.test.ts | 2 +- packages/api-gen/src/transformOpenApiTypes.ts | 12 +- .../api-gen/src/transformSchemaTypes.test.ts | 2 +- packages/api-gen/src/transformSchemaTypes.ts | 4 +- .../componentsApiAlias.rule.test.ts | 2 +- .../componentsApiAlias.rule.ts | 4 +- packages/api-gen/tests/generate.bench.ts | 6 +- .../api-gen/tests/overrideApiTypes.test.ts | 4 +- .../tests/transformOpenApiTypes.test.ts | 4 +- packages/api-gen/vitest.config.ts | 2 +- .../components/SwCategoryNavigationLink.vue | 6 +- .../cms-base/components/SwContactForm.vue | 8 +- .../components/SwListingProductPrice.vue | 6 +- packages/cms-base/components/SwMedia3D.vue | 4 +- .../cms-base/components/SwNewsletterForm.vue | 10 +- .../components/SwProductAddToCart.vue | 10 +- .../cms-base/components/SwProductCard.vue | 16 +- .../cms-base/components/SwProductGallery.vue | 2 +- .../components/SwProductListingFilter.vue | 4 +- .../components/SwProductListingFilters.vue | 8 +- .../cms-base/components/SwProductPrice.vue | 6 +- .../cms-base/components/SwProductReviews.vue | 6 +- .../cms-base/components/SwProductUnits.vue | 4 +- .../cms-base/components/SwSharedPrice.vue | 2 +- packages/cms-base/components/SwSlider.vue | 6 +- .../components/SwVariantConfigurator.vue | 8 +- .../listing-filters/SwFilterPrice.vue | 6 +- .../listing-filters/SwFilterProperties.vue | 2 +- .../listing-filters/SwFilterRating.vue | 2 +- .../listing-filters/SwFilterShippingFree.vue | 2 +- .../components/public/cms/CmsGenericBlock.vue | 6 +- .../public/cms/CmsGenericElement.vue | 4 +- .../components/public/cms/CmsNoComponent.vue | 2 +- .../components/public/cms/CmsPage.vue | 6 +- .../cms/block/CmsBlockImageTextGallery.vue | 2 +- .../public/cms/element/CmsElementBuyBox.vue | 8 +- .../element/CmsElementCategoryNavigation.vue | 6 +- .../cms/element/CmsElementCrossSelling.vue | 4 +- .../cms/element/CmsElementCustomForm.vue | 2 +- .../public/cms/element/CmsElementForm.vue | 2 +- .../public/cms/element/CmsElementImage.vue | 4 +- .../cms/element/CmsElementImageGallery.vue | 2 +- .../cms/element/CmsElementImageSlider.vue | 2 +- .../CmsElementProductDescriptionReviews.vue | 8 +- .../cms/element/CmsElementProductListing.vue | 4 +- .../cms/element/CmsElementProductSlider.vue | 4 +- .../public/cms/element/CmsElementText.vue | 4 +- .../cms/element/CmsElementYoutubeVideo.vue | 2 +- .../public/cms/section/CmsSectionSidebar.vue | 2 +- packages/cms-base/eslint.config.mjs | 35 - packages/cms-base/helpers/clientOnly.ts | 2 +- .../html-to-vue/getOptionsFromNode.test.ts | 2 +- .../helpers/html-to-vue/renderToHtml.ts | 2 +- packages/cms-base/nuxt.config.ts | 2 +- packages/cms-base/package.json | 5 +- packages/cms-base/src/index.ts | 2 +- packages/cms-base/vitest.config.ts | 2 +- packages/composables/README.md | 2 +- packages/composables/build.config.ts | 2 +- packages/composables/eslint.config.mjs | 3 - packages/composables/package.json | 6 +- packages/composables/src/_test/useSetup.ts | 2 +- .../src/cms/useCmsElementImage.test.ts | 2 +- .../composables/src/cms/useCmsElementImage.ts | 26 +- .../src/cms/useCmsElementProductBox.test.ts | 2 +- .../src/cms/useCmsElementProductBox.ts | 4 +- .../src/createShopwareContext.test.ts | 2 +- packages/composables/src/index.test.ts | 10 +- packages/composables/src/index.ts | 2 +- .../composables/src/types/cmsElementTypes.ts | 2 +- .../src/useAddToCart/useAddToCart.test.ts | 2 +- .../src/useAddToCart/useAddToCart.ts | 4 +- .../src/useAddress/useAddress.test.ts | 8 +- .../composables/src/useAddress/useAddress.ts | 8 +- .../useB2bQuoteManagement.test.ts | 2 +- .../src/useBreadcrumbs/useBreadcrumbs.test.ts | 6 +- .../src/useBreadcrumbs/useBreadcrumbs.ts | 2 +- .../composables/src/useCart/useCart.test.ts | 6 +- packages/composables/src/useCart/useCart.ts | 2 +- .../useCartErrorParamsResolver.test.ts | 5 +- .../src/useCartItem/useCartItem.test.ts | 4 +- .../src/useCartItem/useCartItem.ts | 2 +- .../useCartNotification.test.ts | 5 +- .../useCartNotification.ts | 2 +- .../src/useCategory/useCategory.test.ts | 4 +- .../src/useCategory/useCategory.ts | 2 +- .../useCategorySearch.test.ts | 2 +- .../useCategorySearch/useCategorySearch.ts | 2 +- .../src/useCheckout/useCheckout.test.ts | 2 +- .../src/useCheckout/useCheckout.ts | 6 +- .../src/useCmsBlock/useCmsBlock.test.ts | 4 +- .../src/useCmsMeta/useCmsMeta.test.ts | 4 +- .../composables/src/useCmsMeta/useCmsMeta.ts | 2 +- .../src/useCmsSection/useCmsSection.test.ts | 4 +- .../useCmsTranslations.test.ts | 2 +- .../composables/src/useContext/useContext.ts | 2 +- .../src/useCountries/useCountries.test.ts | 2 +- .../src/useCountries/useCountries.ts | 2 +- .../useCustomerOrders.test.ts | 2 +- .../useCustomerOrders/useCustomerOrders.ts | 4 +- .../useCustomerPassword.test.ts | 6 +- .../useInternationalization.test.ts | 4 +- .../useInternationalization.ts | 4 +- .../useLandingSearch/useLandingSearch.test.ts | 6 +- .../src/useLandingSearch/useLandingSearch.ts | 2 +- .../src/useListing/useListing.test.ts | 6 +- .../composables/src/useListing/useListing.ts | 8 +- .../src/useLocalWishlist/useLocalWishlist.ts | 4 +- .../src/useNavigation/useNavigation.test.ts | 11 +- .../src/useNavigation/useNavigation.ts | 2 +- .../useNavigationContext.test.ts | 4 +- .../useNavigationContext.ts | 2 +- .../useNavigationSearch.test.ts | 5 +- .../useNavigationSearch.ts | 2 +- .../src/useNewsletter/useNewsletter.test.ts | 2 +- .../src/useNewsletter/useNewsletter.ts | 4 +- .../useNotifications/useNotifications.test.ts | 2 +- .../src/useNotifications/useNotifications.ts | 2 +- .../useOrderDetails/useOrderDetails.test.ts | 2 +- .../src/useOrderDetails/useOrderDetails.ts | 4 +- .../useOrderPayment/useOrderPayment.test.ts | 8 +- .../composables/src/usePrice/usePrice.test.ts | 5 +- packages/composables/src/usePrice/usePrice.ts | 2 +- .../src/useProduct/useProduct.test.ts | 6 +- .../composables/src/useProduct/useProduct.ts | 4 +- .../useProductAssociations.spec.ts | 6 +- .../useProductAssociations.ts | 2 +- .../useProductConfigurator.spec.ts | 7 +- .../useProductConfigurator.ts | 6 +- .../useProductPrice/useProductPrice.test.ts | 8 +- .../src/useProductPrice/useProductPrice.ts | 2 +- .../useProductReviews.test.ts | 4 +- .../useProductReviews/useProductReviews.ts | 4 +- .../useProductSearch/useProductSearch.test.ts | 2 +- .../src/useProductSearch/useProductSearch.ts | 2 +- .../useProductSearchSuggest.test.ts | 2 +- .../useProductWishlist.test.ts | 27 +- .../useProductWishlist/useProductWishlist.ts | 2 +- .../src/useSalutations/useSalutations.spec.ts | 6 +- .../src/useSalutations/useSalutations.ts | 2 +- .../useSessionContext.test.ts | 12 +- .../useShopwareContext/useShopwareContext.ts | 2 +- .../useSyncWishlist/useSyncWishlist.test.ts | 18 +- .../src/useSyncWishlist/useSyncWishlist.ts | 6 +- .../src/useUrlResolver/useUrlResolver.test.ts | 4 +- .../src/useUrlResolver/useUrlResolver.ts | 2 +- .../composables/src/useUser/useUser.test.ts | 8 +- packages/composables/src/useUser/useUser.ts | 10 +- .../src/useWishlist/useWishlist.test.ts | 8 +- .../src/useWishlist/useWishlist.ts | 4 +- packages/composables/types/api-types.ts | 2 +- packages/composables/vitest.config.ts | 2 +- packages/eslint-config-shopware/index.mjs | 2 +- packages/helpers/eslint.config.mjs | 3 - packages/helpers/package.json | 5 +- .../helpers/src/cms/getCmsTranslate.test.ts | 2 +- packages/nuxt3-module/biome.json | 3 + packages/nuxt3-module/eslint.config.mjs | 3 - packages/nuxt3-module/package.json | 6 +- packages/nuxt3-module/plugin.ts | 18 +- packages/nuxt3-module/src/index.ts | 4 +- packages/nuxt3-module/src/utils.ts | 8 +- packages/types/package.json | 2 +- .../shopware-6-client/errors/ApiError.d.ts | 4 +- .../models/checkout/cart/Cart.d.ts | 8 +- .../models/checkout/cart/price/CartPrice.d.ts | 4 +- .../cart/price/PriceDefinitionInterface.d.ts | 4 +- .../models/checkout/customer/Customer.d.ts | 14 +- .../checkout/customer/CustomerAddress.d.ts | 4 +- .../checkout/customer/CustomerGroup.d.ts | 2 +- .../customer/CustomerGroupTranslation.d.ts | 4 +- .../models/checkout/delivery/Delivery.d.ts | 8 +- .../delivery/DeliveryInformation.d.ts | 2 +- .../checkout/delivery/DeliveryTime.d.ts | 6 +- .../checkout/delivery/ShippingLocation.d.ts | 6 +- .../document/DocumentTypeTranslation.d.ts | 2 +- .../models/checkout/order/Order.d.ts | 16 +- .../models/checkout/order/OrderCustomer.d.ts | 6 +- .../models/checkout/order/OrderDelivery.d.ts | 12 +- .../models/checkout/order/OrderDownloads.d.ts | 4 +- .../models/checkout/order/OrderLineItem.d.ts | 16 +- .../models/checkout/order/OrderState.d.ts | 2 +- .../checkout/order/OrderTransaction.d.ts | 8 +- .../checkout/payment/PaymentMethod.d.ts | 10 +- .../payment/PaymentMethodTranslation.d.ts | 4 +- .../models/checkout/promotion/Promotion.d.ts | 16 +- .../checkout/promotion/PromotionDiscount.d.ts | 4 +- .../promotion/PromotionDiscountPrice.d.ts | 4 +- .../promotion/PromotionIndividualCode.d.ts | 2 +- .../promotion/PromotionSalesChannel.d.ts | 4 +- .../checkout/shipping/ShippingMethod.d.ts | 12 +- .../shipping/ShippingMethodPrice.d.ts | 6 +- .../shipping/ShippingMethodTranslation.d.ts | 4 +- .../models/content/category/Category.d.ts | 12 +- .../models/content/cms/CmsBlock.d.ts | 8 +- .../models/content/cms/CmsPage.d.ts | 12 +- .../content/landing-page/LandingPage.d.ts | 4 +- .../mail-template/MailHeaderFooter.d.ts | 4 +- .../MailHeaderFooterTranslation.d.ts | 2 +- .../content/mail-template/MailTemplate.d.ts | 8 +- .../MailTemplateSalesChannel.d.ts | 4 +- .../MailTemplateTranslation.d.ts | 2 +- .../mail-template/MailTemplateType.d.ts | 6 +- .../MailTemplateTypeTranslation.d.ts | 2 +- .../models/content/media/Media.d.ts | 28 +- .../models/content/media/MediaThumbnail.d.ts | 2 +- .../content/media/MediaTranslation.d.ts | 2 +- .../models/content/navigation/Navigation.d.ts | 10 +- .../newsletter/NewsletterRecipient.d.ts | 10 +- .../content/product-stream/ProductStream.d.ts | 6 +- .../product-stream/ProductStreamFilter.d.ts | 4 +- .../ProductStreamTranslation.d.ts | 4 +- .../models/content/product/Product.d.ts | 30 +- .../product/ProductConfiguratorSetting.d.ts | 8 +- .../product/ProductKeywordDictionary.d.ts | 2 +- .../content/product/ProductManufacturer.d.ts | 8 +- .../ProductManufacturerTranslation.d.ts | 4 +- .../models/content/product/ProductMedia.d.ts | 4 +- .../models/content/product/ProductPrice.d.ts | 6 +- .../content/product/ProductSearchKeyword.d.ts | 4 +- .../content/product/ProductTranslation.d.ts | 4 +- .../content/product/ProductVisibility.d.ts | 4 +- .../content/property/PropertyGroup.d.ts | 6 +- .../content/property/PropertyGroupOption.d.ts | 12 +- .../PropertyGroupOptionTranslation.d.ts | 4 +- .../property/PropertyGroupTranslation.d.ts | 4 +- .../models/content/rule/Rule.d.ts | 18 +- .../models/content/rule/RuleCondition.d.ts | 4 +- .../content/wishlist/CustomerWishlist.d.ts | 4 +- .../data-abstraction-layer/Translation.d.ts | 2 +- .../models/framework/language/Language.d.ts | 54 +- .../models/framework/plugin/Plugin.d.ts | 6 +- .../framework/plugin/PluginTranslation.d.ts | 4 +- .../models/framework/snippet/Snippet.d.ts | 4 +- .../models/framework/snippet/SnippetSet.d.ts | 6 +- .../models/system/country/Country.d.ts | 10 +- .../country/CountryStateTranslation.d.ts | 4 +- .../system/country/CountryTranslation.d.ts | 4 +- .../system/currency/CurrencyTranslation.d.ts | 4 +- .../models/system/locale/Locale.d.ts | 8 +- .../system/locale/LocaleTranslation.d.ts | 4 +- .../system/number-range/NumberRange.d.ts | 10 +- .../number-range/NumberRangeSalesChannel.d.ts | 6 +- .../system/number-range/NumberRangeState.d.ts | 2 +- .../number-range/NumberRangeTranslation.d.ts | 4 +- .../system/number-range/NumberRangeType.d.ts | 8 +- .../NumberRangeTypeTranslation.d.ts | 4 +- .../system/sales-channel/SalesChannel.d.ts | 48 +- .../sales-channel/SalesChannelDomain.d.ts | 10 +- .../SalesChannelTranslation.d.ts | 4 +- .../sales-channel/SalesChannelType.d.ts | 6 +- .../SalesChannelTypeTranslation.d.ts | 4 +- .../models/system/salutation/Salutation.d.ts | 2 +- .../salutation/SalutationTranslation.d.ts | 2 +- .../system/state-machine/StateMachine.d.ts | 10 +- .../state-machine/StateMachineHistory.d.ts | 6 +- .../state-machine/StateMachineState.d.ts | 10 +- .../StateMachineStateTranslation.d.ts | 4 +- .../state-machine/StateMachineTransition.d.ts | 4 +- .../system/system-config/SystemConfig.d.ts | 2 +- .../models/system/tag/Tag.d.ts | 12 +- .../models/system/tax/Tax.d.ts | 4 +- .../models/system/unit/Unit.d.ts | 4 +- .../models/system/unit/UnitTranslation.d.ts | 4 +- .../response/ProductResult.d.ts | 4 +- .../response/SessionContext.d.ts | 12 +- .../search/Aggregations.d.ts | 4 +- .../search/SearchCriteria.d.ts | 20 +- .../search/SearchFilter.d.ts | 6 +- pnpm-lock.yaml | 3971 ++++++----------- scripts/addChangelogBodyToReadmeFile.ts | 4 +- scripts/generateAutomd.ts | 4 +- scripts/generateDependencyChangelog.ts | 2 +- templates/astro/README.md | 2 +- templates/astro/astro.config.mjs | 2 +- templates/astro/src/entrypoints/_shopware.ts | 2 +- templates/astro/src/pages/index.astro | 2 +- templates/vue-demo-store/package.json | 1 - .../vue-demo-store/pages/checkout/index.vue | 4 + templates/vue-vite-blank/src/apiClient.ts | 2 +- .../src/components/Frontends.vue | 2 +- templates/vue-vite-blank/src/main.ts | 2 +- templates/vue-vite-blank/src/vite-env.d.ts | 7 - templates/vue-vite-blank/vite.config.ts | 2 +- turbo.json | 5 + 442 files changed, 2656 insertions(+), 3908 deletions(-) create mode 100644 examples/product-detail-page/imports.d.ts create mode 100644 packages/api-client/biome.json delete mode 100644 packages/api-client/eslint.config.mjs delete mode 100644 packages/cms-base/eslint.config.mjs delete mode 100644 packages/composables/eslint.config.mjs delete mode 100644 packages/helpers/eslint.config.mjs create mode 100644 packages/nuxt3-module/biome.json delete mode 100644 packages/nuxt3-module/eslint.config.mjs delete mode 100644 templates/vue-vite-blank/src/vite-env.d.ts diff --git a/apps/docs/.vitepress/config.hub.ts b/apps/docs/.vitepress/config.hub.ts index c03259743..6aa5fb74a 100644 --- a/apps/docs/.vitepress/config.hub.ts +++ b/apps/docs/.vitepress/config.hub.ts @@ -1,7 +1,7 @@ import { CmsBaseReference } from "./theme/typer/cms-base-plugin"; +import { ComposablesBuilder } from "./theme/typer/composables-builder"; import { ReadmeBasedReference } from "./theme/typer/plugin"; import { ReadmeLoader } from "./theme/typer/readme-loader"; -import { ComposablesBuilder } from "./theme/typer/composables-builder"; /** * This file extends the DevHub VitePress configuration. diff --git a/apps/docs/.vitepress/config.ts b/apps/docs/.vitepress/config.ts index 6b2818d20..3e39045ad 100644 --- a/apps/docs/.vitepress/config.ts +++ b/apps/docs/.vitepress/config.ts @@ -1,11 +1,11 @@ +import { resolve } from "node:path"; +import { baseConfig } from "@shopware-docs/vitepress"; import { defineConfigWithTheme } from "vitepress"; +import { SearchPlugin } from "vitepress-plugin-search"; import type { Config as ThemeConfig } from "vitepress-shopware-docs"; -import { baseConfig } from "@shopware-docs/vitepress"; +import sharedConfig from "./config.hub"; import nav from "./navigation"; -import { resolve } from "path"; import { sidebar } from "./sidebar"; -import sharedConfig from "./config.hub"; -import { SearchPlugin } from "vitepress-plugin-search"; interface ThemeConfigExtended extends ThemeConfig { ai: { @@ -113,7 +113,7 @@ export default defineConfigWithTheme( vite: { build: { minify: "terser", - chunkSizeWarningLimit: Infinity, + chunkSizeWarningLimit: Number.POSITIVE_INFINITY, ssr: false, rollupOptions: { output: { diff --git a/apps/docs/.vitepress/data/composables.data.ts b/apps/docs/.vitepress/data/composables.data.ts index f9d8c3b18..9e842bf04 100644 --- a/apps/docs/.vitepress/data/composables.data.ts +++ b/apps/docs/.vitepress/data/composables.data.ts @@ -1,7 +1,7 @@ -import { defineLoader } from "vitepress"; -import { resolve, dirname } from "path"; +import { readdirSync } from "node:fs"; +import { dirname, resolve } from "node:path"; import { extract } from "ts-dox"; -import { readdirSync } from "fs"; +import { defineLoader } from "vitepress"; export interface Data { composablesList: { text: string; link: string; category: string }[]; } diff --git a/apps/docs/.vitepress/navigation.ts b/apps/docs/.vitepress/navigation.ts index f81784591..75d950c78 100644 --- a/apps/docs/.vitepress/navigation.ts +++ b/apps/docs/.vitepress/navigation.ts @@ -18,7 +18,7 @@ const nav = [ }, { text: "Resources", - activeMatch: `^/(api)`, + activeMatch: "^/(api)", items: [ { text: "HTTP APIs", diff --git a/apps/docs/.vitepress/theme/components/AI.vue b/apps/docs/.vitepress/theme/components/AI.vue index 40a4a913c..a64bbab85 100644 --- a/apps/docs/.vitepress/theme/components/AI.vue +++ b/apps/docs/.vitepress/theme/components/AI.vue @@ -1,5 +1,5 @@