Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: upgrade angular to v15 (#2564)
* chore: upgrade `@angular/pwa` to v13 fairly sure it should have been this anyway * feat: upgrade to Angular v14 ng update @angular/{pwa,core,cdk,cli,animations,common,compiler,elements,forms,platform-browser,platform-browser-dynamic,platform-server,router, service-worker,compiler-cli,language-service}@14.0.0 @nguniversal/[email protected] @angular-devkit/{schematics,build-angular,core}@14.0.0 @angular-eslint/{builder,eslint-plugin,eslint-plugin-template,sche matics,template-parser}@14.0.0 @ngrx/{effects,entity,router-store,schematics,store,store-devtools}@14.0.0 [email protected] @angular-devkit/[email protected] The installed Angular CLI version is outdated. Installing a temporary Angular CLI versioned 14.2.12 to perform the update. ✔ Package successfully installed. DEPRECATED: The 'defaultProject' workspace option has been deprecated. The project to use will be determined from the current working directory. Using package manager: npm Collecting installed dependencies... Found 107 dependencies. Fetching dependency metadata from registry... Updating package.json with dependency @angular-devkit/architect @ "0.1402.0" (was "0.1302.6")... Updating package.json with dependency @angular-devkit/build-angular @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular-devkit/core @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular-devkit/schematics @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular-eslint/builder @ "14.0.0" (was "13.0.0")... Updating package.json with dependency @angular-eslint/eslint-plugin @ "14.0.0" (was "13.1.0")... Updating package.json with dependency @angular-eslint/eslint-plugin-template @ "14.0.0" (was "13.1.0")... Updating package.json with dependency @angular-eslint/schematics @ "14.0.0" (was "13.1.0")... Updating package.json with dependency @angular-eslint/template-parser @ "14.0.0" (was "13.1.0")... Updating package.json with dependency @angular/cli @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/compiler-cli @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/language-service @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @ngrx/store-devtools @ "14.0.0" (was "13.0.2")... Updating package.json with dependency @nguniversal/builders @ "14.0.0" (was "13.1.0")... Updating package.json with dependency ng-packagr @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/animations @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/cdk @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/common @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/compiler @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/core @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/elements @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/forms @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/platform-browser @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/platform-browser-dynamic @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/platform-server @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/pwa @ "14.0.0" (was "13.0.0")... Updating package.json with dependency @angular/router @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @angular/service-worker @ "14.0.0" (was "13.3.0")... Updating package.json with dependency @ngrx/effects @ "14.0.0" (was "13.0.2")... Updating package.json with dependency @ngrx/entity @ "14.0.0" (was "13.0.2")... Updating package.json with dependency @ngrx/router-store @ "14.0.0" (was "13.0.2")... Updating package.json with dependency @ngrx/schematics @ "14.0.0" (was "13.0.2")... Updating package.json with dependency @ngrx/store @ "14.0.0" (was "13.0.2")... UPDATE package.json (4265 bytes) ✔ Packages successfully installed. ** Executing migrations of package '@angular-eslint/schematics' ** ▸ Updates @angular-eslint to v14. UPDATE package.json (4270 bytes) UPDATE angular.json (71879 bytes) ✔ Packages installed successfully. Migration completed. ** Executing migrations of package '@angular/cli' ** ▸ Remove 'defaultProject' option from workspace configuration. The project to use will be determined from the current working directory. UPDATE angular.json (71851 bytes) Migration completed. ▸ Remove 'showCircularDependencies' option from browser and server builders. Migration completed. ▸ Replace 'defaultCollection' option in workspace configuration with 'schematicCollections'. Migration completed. ▸ Update Angular packages 'dependencies' and 'devDependencies' version prefix to '^' instead of '~'. ✔ Packages installed successfully. Migration completed. ▸ Remove 'package.json' files from library projects secondary entrypoints. DELETE libs/authorizenet/driver/package.json DELETE libs/authorizenet/driver/in-memory/package.json DELETE libs/authorizenet/driver/magento/package.json DELETE libs/authorizenet/driver/testing/package.json DELETE libs/authorizenet/state/package.json DELETE libs/authorizenet/state/testing/package.json DELETE libs/product/driver/package.json DELETE libs/product/driver/in-memory/package.json DELETE libs/product/driver/magento/package.json DELETE libs/product/driver/magento/testing/package.json DELETE libs/product/driver/shopify/package.json DELETE libs/product/driver/testing/package.json DELETE libs/product/routing/package.json DELETE libs/product/state/package.json DELETE libs/product/state/testing/package.json DELETE libs/product/testing/package.json DELETE libs/related-products/driver/package.json DELETE libs/related-products/driver/in-memory/package.json DELETE libs/related-products/driver/magento/package.json DELETE libs/related-products/driver/magento/testing/package.json DELETE libs/related-products/driver/testing/package.json DELETE libs/related-products/state/package.json DELETE libs/related-products/state/testing/package.json DELETE libs/related-products/testing/package.json DELETE libs/upsell-products/driver/package.json DELETE libs/upsell-products/driver/in-memory/package.json DELETE libs/upsell-products/driver/magento/package.json DELETE libs/upsell-products/driver/magento/testing/package.json DELETE libs/upsell-products/driver/testing/package.json DELETE libs/upsell-products/state/package.json DELETE libs/upsell-products/state/testing/package.json DELETE libs/upsell-products/testing/package.json DELETE libs/product-configurable/driver/in-memory/package.json DELETE libs/product-configurable/driver/magento/package.json DELETE libs/product-configurable/driver/magento/testing/package.json DELETE libs/product-configurable/driver/testing/package.json DELETE libs/product-configurable/state/package.json DELETE libs/product-configurable/state/testing/package.json DELETE libs/product-configurable/testing/package.json DELETE libs/product-composite/driver/in-memory/package.json DELETE libs/product-composite/driver/magento/package.json DELETE libs/product-composite/driver/magento/testing/package.json DELETE libs/product-composite/driver/testing/package.json DELETE libs/product-composite/routing/package.json DELETE libs/product-composite/state/package.json DELETE libs/product-composite/state/testing/package.json DELETE libs/product-composite/testing/package.json DELETE libs/cart/driver/package.json DELETE libs/cart/driver/in-memory/package.json DELETE libs/cart/driver/magento/package.json DELETE libs/cart/driver/magento/testing/package.json DELETE libs/cart/driver/testing/package.json DELETE libs/cart/routing/package.json DELETE libs/cart/state/package.json DELETE libs/cart/state/testing/package.json DELETE libs/cart/testing/package.json DELETE libs/cart-customer/driver/magento/package.json DELETE libs/cart-customer/state/package.json DELETE libs/category/driver/package.json DELETE libs/category/driver/in-memory/package.json DELETE libs/category/driver/magento/package.json DELETE libs/category/driver/magento/testing/package.json DELETE libs/category/driver/testing/package.json DELETE libs/category/routing/package.json DELETE libs/category/state/package.json DELETE libs/category/state/testing/package.json DELETE libs/category/testing/package.json DELETE libs/checkout/testing/package.json DELETE libs/core/graphql/package.json DELETE libs/core/routing/package.json DELETE libs/core/state/package.json DELETE libs/core/state/testing/package.json DELETE libs/core/testing/package.json DELETE libs/driver/hubspot/package.json DELETE libs/driver/magento/package.json DELETE libs/driver/magento/testing/package.json DELETE libs/design/accordion/examples/package.json DELETE libs/design/article/examples/package.json DELETE libs/design/button/examples/package.json DELETE libs/design/callout/examples/package.json DELETE libs/design/card/examples/package.json DELETE libs/design/checkbox/examples/package.json DELETE libs/design/container/examples/package.json DELETE libs/design/hero/examples/package.json DELETE libs/design/image/examples/package.json DELETE libs/design/input/examples/package.json DELETE libs/design/list/examples/package.json DELETE libs/design/loading-icon/examples/package.json DELETE libs/design/media-gallery/examples/package.json DELETE libs/design/menu/examples/package.json DELETE libs/design/modal/examples/package.json DELETE libs/design/navbar/examples/package.json DELETE libs/design/notification/package.json DELETE libs/design/notification/examples/package.json DELETE libs/design/paginator/examples/package.json DELETE libs/design/quantity-field/examples/package.json DELETE libs/design/radio/examples/package.json DELETE libs/design/sidebar/examples/package.json DELETE libs/design/tree/package.json DELETE libs/design/tree/examples/package.json DELETE libs/navigation/driver/package.json DELETE libs/navigation/driver/in-memory/package.json DELETE libs/navigation/driver/magento/package.json DELETE libs/navigation/driver/testing/package.json DELETE libs/navigation/state/package.json DELETE libs/navigation/state/testing/package.json DELETE libs/navigation/testing/package.json DELETE libs/newsletter/driver/package.json DELETE libs/newsletter/driver/hubspot/package.json DELETE libs/newsletter/driver/in-memory/package.json DELETE libs/newsletter/driver/testing/package.json DELETE libs/newsletter/state/package.json DELETE libs/newsletter/state/testing/package.json DELETE libs/auth/driver/package.json DELETE libs/auth/driver/in-memory/package.json DELETE libs/auth/driver/magento/package.json DELETE libs/auth/driver/testing/package.json DELETE libs/auth/routing/package.json DELETE libs/auth/state/package.json DELETE libs/auth/state/testing/package.json DELETE libs/auth/testing/package.json DELETE libs/geography/driver/package.json DELETE libs/geography/driver/in-memory/package.json DELETE libs/geography/driver/magento/package.json DELETE libs/geography/driver/testing/package.json DELETE libs/geography/state/package.json DELETE libs/geography/state/testing/package.json DELETE libs/geography/testing/package.json DELETE libs/paypal/driver/package.json DELETE libs/paypal/driver/in-memory/package.json DELETE libs/paypal/driver/magento/package.json DELETE libs/paypal/driver/testing/package.json DELETE libs/paypal/routing/package.json DELETE libs/paypal/state/package.json DELETE libs/paypal/state/testing/package.json DELETE libs/paypal/testing/package.json DELETE libs/order/driver/package.json DELETE libs/order/driver/in-memory/package.json DELETE libs/order/driver/magento/2.4.0/package.json DELETE libs/order/driver/magento/2.4.1/package.json DELETE libs/order/driver/magento/2.4.1/testing/package.json DELETE libs/order/driver/testing/package.json DELETE libs/order/routing/package.json DELETE libs/order/state/package.json DELETE libs/order/state/testing/package.json DELETE libs/order/testing/package.json DELETE libs/external-router/driver/package.json DELETE libs/external-router/driver/in-memory/package.json DELETE libs/external-router/driver/magento/package.json DELETE libs/external-router/driver/magento/2.4.1/package.json DELETE libs/external-router/driver/magento/2.4.2/package.json DELETE libs/external-router/driver/magento/2.4.3/package.json DELETE libs/external-router/driver/testing/package.json DELETE libs/external-router/routing/package.json DELETE libs/search/driver/package.json DELETE libs/search/driver/federated/package.json DELETE libs/search/driver/in-memory/package.json DELETE libs/search/driver/testing/package.json DELETE libs/search/routing/package.json DELETE libs/search/state/package.json DELETE libs/search/state/testing/package.json DELETE libs/search/testing/package.json DELETE libs/search-product/driver/package.json DELETE libs/search-product/driver/in-memory/package.json DELETE libs/search-product/driver/magento/package.json DELETE libs/search-product/driver/testing/package.json DELETE libs/search-product/routing/package.json DELETE libs/search-product/state/package.json DELETE libs/search-product/state/testing/package.json DELETE libs/search-product/testing/package.json DELETE libs/search-product-composite/state/package.json DELETE libs/search-product-configurable/state/package.json DELETE libs/search-category/driver/package.json DELETE libs/search-category/driver/in-memory/package.json DELETE libs/search-category/driver/magento/package.json DELETE libs/search-category/driver/testing/package.json DELETE libs/search-category/testing/package.json DELETE libs/seo/state/package.json DELETE libs/content/driver/package.json DELETE libs/content/driver/magento/package.json DELETE libs/content/driver/magento/testing/package.json DELETE libs/content/driver/testing/package.json DELETE libs/content/testing/package.json DELETE libs/reviews/driver/package.json DELETE libs/reviews/driver/in-memory/package.json DELETE libs/reviews/driver/magento/package.json DELETE libs/reviews/driver/magento/testing/package.json DELETE libs/reviews/driver/testing/package.json DELETE libs/reviews/state/package.json DELETE libs/reviews/state/testing/package.json DELETE libs/reviews/testing/package.json DELETE libs/payment/driver/package.json DELETE libs/payment/driver/in-memory/package.json DELETE libs/payment/driver/testing/package.json DELETE libs/payment/state/package.json DELETE libs/payment/state/testing/package.json DELETE libs/payment/testing/package.json DELETE libs/customer/driver/package.json DELETE libs/customer/driver/in-memory/package.json DELETE libs/customer/driver/magento/package.json DELETE libs/customer/driver/magento/testing/package.json DELETE libs/customer/driver/testing/package.json DELETE libs/customer/routing/package.json DELETE libs/customer/state/package.json DELETE libs/customer/state/testing/package.json DELETE libs/customer/testing/package.json DELETE libs/customer-auth/state/package.json DELETE libs/customer-order/driver/package.json DELETE libs/customer-order/driver/magento/package.json DELETE libs/customer-order/driver/magento/testing/package.json DELETE libs/customer-store-credit/driver/package.json DELETE libs/customer-store-credit/driver/in-memory/package.json DELETE libs/customer-store-credit/driver/magento/package.json DELETE libs/customer-store-credit/driver/magento/testing/package.json DELETE libs/customer-store-credit/driver/testing/package.json DELETE libs/customer-store-credit/routing/package.json DELETE libs/customer-store-credit/state/package.json DELETE libs/customer-store-credit/state/testing/package.json DELETE libs/customer-store-credit/testing/package.json DELETE libs/cart-store-credit/driver/package.json DELETE libs/cart-store-credit/driver/in-memory/package.json DELETE libs/cart-store-credit/driver/magento/package.json DELETE libs/cart-store-credit/driver/magento/testing/package.json DELETE libs/cart-store-credit/driver/testing/package.json DELETE libs/cart-store-credit/routing/package.json DELETE libs/cart-store-credit/state/package.json DELETE libs/cart-store-credit/state/testing/package.json DELETE libs/cart-store-credit/testing/package.json DELETE libs/customer-payment/driver/package.json DELETE libs/customer-payment/driver/in-memory/package.json DELETE libs/customer-payment/driver/testing/package.json DELETE libs/customer-payment/routing/package.json DELETE libs/customer-payment/state/package.json DELETE libs/customer-payment/state/testing/package.json DELETE libs/customer-payment/testing/package.json DELETE libs/customer-payment-authorizenet/driver/package.json DELETE libs/customer-payment-authorizenet/driver/magento/package.json DELETE libs/customer-payment-authorizenet/driver/magento/testing/package.json DELETE libs/customer-payment-authorizenet/state/package.json DELETE libs/customer-payment-authorizenet/testing/package.json Migration completed. ▸ Update TypeScript compilation target to 'ES2020'. UPDATE tsconfig.json (572 bytes) UPDATE libs/theme-switch/tsconfig.lib.json (754 bytes) Migration completed. ** Executing migrations of package '@angular/cdk' ** ▸ Updates the Angular CDK to v14. Skipping migration for project demo-e2e. Unable to determine 'tsconfig.json' file in workspace config. Skipping migration for project daffio-e2e. Unable to determine 'tsconfig.json' file in workspace config. Skipping migration for project design-land-e2e. Unable to determine 'tsconfig.json' file in workspace config. ✓ Updated Angular CDK to version 14 Migration completed. ** Executing migrations of package '@angular/core' ** ▸ As of Angular version 13, `entryComponents` are no longer necessary. UPDATE apps/demo/src/app/cart/components/add-to-cart-notification/components/add-to-cart-notification/add-to-cart-notification.module.ts (1008 bytes) UPDATE libs/design/src/atoms/image/image.module.ts (344 bytes) UPDATE libs/design/src/molecules/backdrop/backdrop.module.ts (368 bytes) UPDATE libs/design/article/examples/src/article-examples.module.ts (374 bytes) UPDATE libs/design/list/examples/src/list-examples.module.ts (598 bytes) UPDATE libs/design/paginator/examples/src/paginator-examples.module.ts (384 bytes) UPDATE libs/design/src/molecules/modal/modal/spec/dynamic-content.spec.ts (1710 bytes) UPDATE libs/design/src/molecules/modal/service/modal.service.spec.ts (2935 bytes) UPDATE libs/design/src/molecules/modal/service/spec/multiple-modal.spec.ts (2550 bytes) Migration completed. ▸ In Angular version 14, the `pathMatch` property of `Routes` was updated to be a strict union of the two valid options: `'full'|'prefix'`. `Routes` and `Route` variables need an explicit type so TypeScript does not infer the property as the looser `string`. Migration completed. ▸ As of Angular version 14, Forms model classes accept a type parameter, and existing usages must be opted out to preserve backwards-compatibility. UPDATE apps/demo/src/app/checkout/components/forms/address-form/components/address-form/address-form.component.ts (600 bytes) UPDATE apps/demo/src/app/checkout/components/payment/payment-info-form/components/payment-info-form/payment-info-form.component.ts (1225 bytes) UPDATE apps/demo/src/app/checkout/components/forms/address-form/factories/address-form.factory.ts (816 bytes) UPDATE apps/demo/src/app/checkout/components/payment/payment-info-form/factories/payment-info-form.factory.ts (745 bytes) UPDATE apps/demo/src/app/checkout/components/payment/payment-form/payment-form.component.ts (2150 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-options/components/shipping-options/shipping-options.component.ts (1139 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-options/components/factories/shipping-option-form.factory.ts (384 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-options/components/services/shipping-option-form.service.ts (572 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-form/shipping-form.component.ts (1325 bytes) UPDATE apps/demo/src/app/newsletter/newsletter.component.ts (1551 bytes) UPDATE libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.ts (242 bytes) UPDATE libs/design/src/atoms/form/checkbox-set/checkbox-set.component.ts (1203 bytes) UPDATE libs/design/src/atoms/form/quantity-field/quantity-input/quantity-input.component.ts (2720 bytes) UPDATE libs/design/callout/examples/src/callout-text-alignment/callout-text-alignment.component.ts (791 bytes) UPDATE libs/design/callout/examples/src/callout-theming/callout-theming.component.ts (956 bytes) UPDATE libs/design/card/examples/src/card-orientation/card-orientation.component.ts (756 bytes) UPDATE libs/design/card/examples/src/card-theming/card-theming.component.ts (876 bytes) UPDATE libs/design/card/examples/src/linkable-card/linkable-card.component.ts (1011 bytes) UPDATE libs/design/card/examples/src/raised-card/raised-card.component.ts (855 bytes) UPDATE libs/design/card/examples/src/stroked-card/stroked-card.component.ts (859 bytes) UPDATE libs/design/checkbox/examples/src/basic-checkbox/basic-checkbox.component.ts (634 bytes) UPDATE libs/design/checkbox/examples/src/checkbox-set/checkbox-set.component.ts (885 bytes) UPDATE libs/design/container/examples/src/container-sizes/container-sizes.component.ts (666 bytes) UPDATE libs/design/hero/examples/src/hero-text-alignment/hero-text-alignment.component.ts (779 bytes) UPDATE libs/design/hero/examples/src/hero-theming/hero-theming.component.ts (655 bytes) UPDATE libs/design/input/examples/src/input-error/input-error.component.ts (517 bytes) UPDATE libs/design/loading-icon/examples/src/loading-icon-color/loading-icon-color.component.ts (503 bytes) UPDATE libs/design/navbar/examples/src/navbar-theming/navbar-theming.component.ts (867 bytes) UPDATE libs/design/notification/examples/src/notification-orientations/notification-orientations.component.ts (735 bytes) UPDATE libs/design/notification/examples/src/notification-status/notification-status.component.ts (705 bytes) UPDATE libs/design/quantity-field/examples/src/basic-quantity-field/basic-quantity-field.component.ts (491 bytes) UPDATE libs/design/quantity-field/examples/src/custom-range-quantity-field/custom-range-quantity-field.component.ts (518 bytes) UPDATE libs/design/quantity-field/examples/src/disabled-quantity-field/disabled-quantity-field.component.ts (534 bytes) UPDATE libs/design/quantity-field/examples/src/select-max-quantity-field/select-max-quantity-field.component.ts (510 bytes) UPDATE libs/design/radio/examples/src/basic-radio/basic-radio.component.ts (550 bytes) UPDATE apps/design-land/src/app/form/form.component.ts (525 bytes) UPDATE libs/forms/src/validators/not-empty.ts (647 bytes) UPDATE apps/demo/src/app/checkout/components/forms/address-form/components/address-form/address-form.component.spec.ts (3322 bytes) UPDATE apps/demo/src/app/checkout/components/forms/address-form/factories/address-form.factory.spec.ts (1748 bytes) UPDATE apps/demo/src/app/checkout/components/payment/payment-form/payment-form.component.spec.ts (12543 bytes) UPDATE apps/demo/src/app/checkout/components/payment/payment-info-form/components/payment-info-form/payment-info-form.component.spec.ts (3790 bytes) UPDATE apps/demo/src/app/checkout/components/payment/payment-info-form/factories/payment-info-form.factory.spec.ts (1774 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-form/shipping-form.component.spec.ts (7205 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-options/components/factories/shipping-option-form.factory.spec.ts (1025 bytes) UPDATE apps/demo/src/app/checkout/components/shipping/shipping-options/components/shipping-options/shipping-options.component.spec.ts (4575 bytes) UPDATE libs/design/src/atoms/form/checkbox/cva/checkbox-cva.directive.spec.ts (2857 bytes) UPDATE libs/design/src/atoms/form/checkbox-set/checkbox-set.component.spec.ts (2353 bytes) UPDATE libs/design/src/atoms/form/core/error-state-matcher/error-state-matcher.spec.ts (1385 bytes) UPDATE libs/design/src/atoms/form/form-field/form-field/form-field.component.spec.ts (4986 bytes) UPDATE libs/design/src/atoms/form/input/input.component.spec.ts (2185 bytes) UPDATE libs/design/src/atoms/form/native-select/native-select.component.spec.ts (2951 bytes) UPDATE libs/design/src/atoms/form/quantity-field/quantity-field.component.spec.ts (4569 bytes) UPDATE libs/design/src/atoms/form/quantity-field/quantity-input/quantity-input.component.spec.ts (3883 bytes) UPDATE libs/design/src/atoms/form/quantity-field/quantity-select/quantity-select.component.spec.ts (3559 bytes) UPDATE libs/design/src/atoms/form/radio/cva/radio-cva.directive.spec.ts (2594 bytes) UPDATE libs/design/src/atoms/form/radio/specs/radio-with-set.spec.ts (2112 bytes) UPDATE libs/design/src/atoms/form/radio/specs/radio.cva.spec.ts (2131 bytes) UPDATE libs/design/src/atoms/form/radio-set/radio-set.component.spec.ts (2004 bytes) UPDATE libs/forms/src/validators/not-empty.integration.spec.ts (2497 bytes) UPDATE libs/forms/src/validators/not-empty.unit.spec.ts (2128 bytes) UPDATE libs/forms/src/validators/password.spec.ts (5786 bytes) Migration completed. ** Executing migrations of package '@ngrx/router-store' ** ▸ The road to v14. UPDATE apps/daffio/src/app/app.module.ts (1845 bytes) UPDATE apps/daffio/src/app/core/sidebar/effects/sidebar-routing-mode.effect.spec.ts (3688 bytes) Migration completed. * chore: upgrade typescript to `4.7.2` * build: update production flag in build command * chore: fix enum const breaking changes * fix(daffio): fix `initialNavigation` breaking change * chore: upgrade `@nguniversal/express-engine` to v14 * chore: upgrade `angular-in-memory-web-api` to 0.14 * chore: upgrade `@types/node` to 16.18.48 * fix: add `type` to navigation event * test: ensure percentage is not nully * feat: replace package name periods with hyphens * chore: upgrade `apollo-angular` to v4 * chore: upgrade eslint plugins * style: fix linting * feat!: upgrade to Angular v15 BREAKING CHANGE: Angular and associated deps have been upgraded to v15. TS has been upgraded to 4.8. ng update @angular/{pwa,core,cdk,cli,animations,common,compiler,elements,forms,platform-browser,platform-browser-dynamic,platform-server,router,service-worker,compiler-cli,language-service}@15.0.0 @nguniversal/{builders,express-engine}@15.0.0 @angular-devkit/{schematics,build-angular,core}@15.0.0 @angular-eslint/{builder,eslint-plugin,eslint-plugin-template,schematics,template-parser}@15.0.0 @ngrx/{effects,entity,router-store,schematics,store,store-devtools}@15.0.0 [email protected] @angular-devkit/[email protected] [email protected] [email protected] [email protected] --force The installed Angular CLI version is outdated. Installing a temporary Angular CLI versioned 15.2.9 to perform the update. ✔ Packages successfully installed. Using package manager: npm Collecting installed dependencies... Found 107 dependencies. Fetching dependency metadata from registry... Package "@ngrx/schematics" has an incompatible peer dependency to "@angular-devkit/schematics" (requires "14.2.9", would install "15.0.0"). Package "@ngrx/schematics" has an incompatible peer dependency to "@angular-devkit/schematics" (requires "14.2.9", would install "15.0.0") Updating package.json with dependency @angular-devkit/architect @ "0.1502.0" (was "0.1402.12")... Updating package.json with dependency @angular-devkit/build-angular @ "15.0.0" (was "14.2.12")... Updating package.json with dependency @angular-devkit/core @ "15.0.0" (was "14.2.12")... Updating package.json with dependency @angular-devkit/schematics @ "15.0.0" (was "14.2.12")... Updating package.json with dependency @angular-eslint/builder @ "15.0.0" (was "14.4.0")... Updating package.json with dependency @angular-eslint/eslint-plugin @ "15.0.0" (was "14.4.0")... Updating package.json with dependency @angular-eslint/eslint-plugin-template @ "15.0.0" (was "14.4.0")... Updating package.json with dependency @angular-eslint/schematics @ "15.0.0" (was "14.4.0")... Updating package.json with dependency @angular-eslint/template-parser @ "15.0.0" (was "14.4.0")... Updating package.json with dependency @angular/cli @ "15.0.0" (was "14.2.12")... Updating package.json with dependency @angular/compiler-cli @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/language-service @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @ngrx/store-devtools @ "15.0.0" (was "14.3.3")... Updating package.json with dependency @nguniversal/builders @ "15.0.0" (was "14.2.3")... Updating package.json with dependency ng-packagr @ "15.0.0" (was "14.2.2")... Updating package.json with dependency typescript @ "4.8.4" (was "4.7.4")... Updating package.json with dependency @angular/animations @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/cdk @ "15.0.0" (was "14.2.7")... Updating package.json with dependency @angular/common @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/compiler @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/core @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/elements @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/forms @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/platform-browser @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/platform-browser-dynamic @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/platform-server @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/pwa @ "15.0.0" (was "14.2.12")... Updating package.json with dependency @angular/router @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @angular/service-worker @ "15.0.0" (was "14.3.0")... Updating package.json with dependency @ngrx/effects @ "15.0.0" (was "14.3.3")... Updating package.json with dependency @ngrx/entity @ "15.0.0" (was "14.3.3")... Updating package.json with dependency @ngrx/router-store @ "15.0.0" (was "14.3.3")... Updating package.json with dependency @ngrx/schematics @ "15.0.0" (was "14.3.3")... Updating package.json with dependency @ngrx/store @ "15.0.0" (was "14.3.3")... Updating package.json with dependency @nguniversal/express-engine @ "15.0.0" (was "14.2.3")... Updating package.json with dependency angular-in-memory-web-api @ "0.15.0" (was "0.14.0")... Updating package.json with dependency apollo-angular @ "5.0.0" (was "4.2.1")... UPDATE package.json (4269 bytes) ✔ Packages successfully installed. ** Executing migrations of package '@angular-eslint/schematics' ** ▸ Updates @angular-eslint to v15. UPDATE package.json (4270 bytes) UPDATE angular.json (72033 bytes) ✔ Packages installed successfully. Migration completed (2 files modified). ** Executing migrations of package '@angular/cli' ** ▸ Remove Browserslist configuration files that matches the Angular CLI default configuration. DELETE libs/analytics/.browserslistrc DELETE libs/analytics-provider-data-layer/.browserslistrc DELETE libs/forms/.browserslistrc Migration completed (3 files modified). ▸ Remove exported `@angular/platform-server` `renderModule` method. The `renderModule` method is now exported by the Angular CLI. Migration completed (No changes made). ▸ Remove no longer needed require calls in Karma builder main file. UPDATE libs/analytics/test.ts (591 bytes) UPDATE libs/analytics-provider-data-layer/test.ts (591 bytes) UPDATE apps/demo/src/test.ts (516 bytes) UPDATE libs/authorizenet/test.ts (591 bytes) UPDATE libs/product/test.ts (644 bytes) UPDATE libs/related-products/test.ts (591 bytes) UPDATE libs/upsell-products/test.ts (611 bytes) UPDATE libs/product-configurable/test.ts (611 bytes) UPDATE libs/product-composite/test.ts (611 bytes) UPDATE libs/cart/test.ts (591 bytes) UPDATE libs/cart-customer/test.ts (591 bytes) UPDATE libs/category/test.ts (591 bytes) UPDATE libs/checkout/test.ts (591 bytes) UPDATE libs/core/test.ts (643 bytes) UPDATE libs/driver/test.ts (591 bytes) UPDATE libs/design/test.ts (590 bytes) UPDATE apps/daffio/src/test.ts (516 bytes) UPDATE apps/design-land/src/test.ts (516 bytes) UPDATE libs/branding/src/test.ts (590 bytes) UPDATE libs/theme-switch/src/test.ts (590 bytes) UPDATE libs/navigation/test.ts (591 bytes) UPDATE libs/newsletter/test.ts (591 bytes) UPDATE libs/contact/test.ts (590 bytes) UPDATE libs/auth/test.ts (591 bytes) UPDATE libs/geography/test.ts (590 bytes) UPDATE libs/paypal/test.ts (591 bytes) UPDATE libs/order/test.ts (590 bytes) UPDATE libs/external-router/test.ts (590 bytes) UPDATE libs/search/test.ts (610 bytes) UPDATE libs/search-product/test.ts (611 bytes) UPDATE libs/search-product-composite/test.ts (611 bytes) UPDATE libs/search-product-configurable/test.ts (611 bytes) UPDATE libs/search-category/test.ts (611 bytes) UPDATE libs/seo/test.ts (590 bytes) UPDATE libs/content/test.ts (590 bytes) UPDATE libs/reviews/test.ts (591 bytes) UPDATE libs/payment/test.ts (610 bytes) UPDATE libs/forms/test.ts (591 bytes) UPDATE libs/customer/test.ts (610 bytes) UPDATE libs/customer-auth/test.ts (591 bytes) UPDATE libs/customer-order/test.ts (610 bytes) UPDATE libs/customer-store-credit/test.ts (610 bytes) UPDATE libs/cart-store-credit/test.ts (610 bytes) UPDATE libs/customer-payment/test.ts (610 bytes) UPDATE libs/customer-payment-authorizenet/test.ts (610 bytes) Migration completed (45 files modified). ▸ Update TypeScript compiler `target` and set `useDefineForClassFields`. These changes are for IDE purposes as TypeScript compiler options `target` and `useDefineForClassFields` are set to `ES2022` and `false` respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. UPDATE tsconfig.json (610 bytes) UPDATE libs/theme-switch/tsconfig.lib.json (730 bytes) Migration completed (2 files modified). ▸ Remove options from 'angular.json' that are no longer supported by the official builders. Migration completed (No changes made). ** Executing migrations of package '@angular/cdk' ** ▸ Updates the Angular CDK to v15. Skipping migration for project demo-e2e. Unable to determine 'tsconfig.json' file in workspace config. Skipping migration for project daffio-e2e. Unable to determine 'tsconfig.json' file in workspace config. Skipping migration for project design-land-e2e. Unable to determine 'tsconfig.json' file in workspace config. ✓ Updated Angular CDK to version 15 Migration completed (No changes made). ** Executing migrations of package '@angular/core' ** ▸ In Angular version 15, the deprecated `relativeLinkResolution` config parameter of the Router is removed. This migration removes all `relativeLinkResolution` fields from the Router config objects. UPDATE apps/demo/src/app/app-routing.module.ts (1764 bytes) UPDATE apps/daffio/src/app/app-routing.module.ts (1450 bytes) UPDATE apps/design-land/src/app/app-routing.module.ts (4033 bytes) UPDATE libs/seo/integration-tests/state/provided-canonical-updates.spec.ts (5935 bytes) Migration completed (4 files modified). ▸ Since Angular v15, the `RouterLink` contains the logic of the `RouterLinkWithHref` directive. This migration replaces all `RouterLinkWithHref` references with `RouterLink`. Migration completed (No changes made). ** Executing migrations of package '@ngrx/effects' ** ▸ The road to v15 beta. Migration completed (No changes made). * chore(product-composite): remove unused imports * build: remove `enableIvy` * style: fix linting * build: fix `sourceRoot` * fix(design): circular ref in nav accordion item content children * fix: import newlines module broken with new angular eslint
- Loading branch information