1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-02 16:43:19 +00:00

[CL-525] Upgrade angular to v19 (#14815)

Upgrade Angular to v19 using the update guide.

- Add `standalone: false` to any missed component in stories or tests.
- Update jest.config to follow the new best practices.
This commit is contained in:
Oscar Hinton
2025-06-02 19:13:31 +02:00
committed by GitHub
parent 6bb484dc23
commit 2fbc4c1578
61 changed files with 2827 additions and 3690 deletions

View File

@@ -38,10 +38,10 @@
"libs/**/*"
],
"devDependencies": {
"@angular-devkit/build-angular": "18.2.19",
"@angular-eslint/schematics": "18.4.3",
"@angular/cli": "18.2.19",
"@angular/compiler-cli": "18.2.13",
"@angular-devkit/build-angular": "19.2.14",
"@angular-eslint/schematics": "19.6.0",
"@angular/cli": "19.2.14",
"@angular/compiler-cli": "19.2.14",
"@babel/core": "7.24.9",
"@babel/preset-env": "7.24.8",
"@compodoc/compodoc": "1.1.26",
@@ -49,7 +49,7 @@
"@electron/rebuild": "3.7.2",
"@eslint/compat": "1.2.9",
"@lit-labs/signals": "0.1.2",
"@ngtools/webpack": "18.2.19",
"@ngtools/webpack": "19.2.14",
"@storybook/addon-a11y": "8.6.12",
"@storybook/addon-actions": "8.6.12",
"@storybook/addon-designs": "8.2.1",
@@ -86,7 +86,7 @@
"@typescript-eslint/utils": "8.31.0",
"@webcomponents/custom-elements": "1.6.0",
"@yao-pkg/pkg": "5.16.1",
"angular-eslint": "18.4.3",
"angular-eslint": "19.6.0",
"autoprefixer": "10.4.21",
"axe-playwright": "2.1.0",
"babel-loader": "9.2.1",
@@ -118,7 +118,7 @@
"jest-diff": "29.7.0",
"jest-junit": "16.0.0",
"jest-mock-extended": "3.0.7",
"jest-preset-angular": "14.1.1",
"jest-preset-angular": "14.5.5",
"json5": "2.2.3",
"lint-staged": "16.0.0",
"mini-css-extract-plugin": "2.9.2",
@@ -151,15 +151,15 @@
"webpack-node-externals": "3.0.0"
},
"dependencies": {
"@angular/animations": "18.2.13",
"@angular/cdk": "18.2.14",
"@angular/common": "18.2.13",
"@angular/compiler": "18.2.13",
"@angular/core": "18.2.13",
"@angular/forms": "18.2.13",
"@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13",
"@angular/animations": "19.2.14",
"@angular/cdk": "19.2.18",
"@angular/common": "19.2.14",
"@angular/compiler": "19.2.14",
"@angular/core": "19.2.14",
"@angular/forms": "19.2.14",
"@angular/platform-browser": "19.2.14",
"@angular/platform-browser-dynamic": "19.2.14",
"@angular/router": "19.2.14",
"@bitwarden/sdk-internal": "0.2.0-main.177",
"@electron/fuses": "1.8.0",
"@emotion/css": "11.13.5",
@@ -167,7 +167,7 @@
"@koa/router": "13.1.0",
"@microsoft/signalr": "8.0.7",
"@microsoft/signalr-protocol-msgpack": "8.0.7",
"@ng-select/ng-select": "13.9.1",
"@ng-select/ng-select": "14.9.0",
"argon2": "0.41.1",
"argon2-browser": "1.18.0",
"big-integer": "1.6.52",
@@ -205,7 +205,7 @@
"tabbable": "6.2.0",
"tldts": "7.0.1",
"utf-8-validate": "6.0.5",
"zone.js": "0.14.10",
"zone.js": "0.15.0",
"zxcvbn": "4.4.2"
},
"overrides": {
@@ -216,14 +216,10 @@
"eslint": "$eslint"
},
"tailwindcss": "$tailwindcss",
"@storybook/angular": {
"zone.js": "$zone.js"
},
"parse5": "7.2.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"@types/react": "18.3.20",
"replacestream": "4.0.3"
"@types/react": "18.3.20"
},
"lint-staged": {
"*": "prettier --cache --ignore-unknown --write",