mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-27 09:42:16 +00:00
chore: update npm dependencies (#12375)
# Which Problems Are Solved - npm dependencies across the monorepo are behind current patch/minor releases. - Transitive dependencies are pinned to older versions by parent packages (karma, nx, @changesets/cli, etc.). - Console build fails after the Angular toolchain update because `angular.json` references assets outside the workspace root. # How the Problems Are Solved - Bumps `@angular/*` to `^21.2.17` in console. - Bumps `js-yaml` to `^4.2.0` in docs. - Bumps `concurrently` to `^10.0.3` in login. - Adds pnpm overrides for transitive deps that cannot be bumped directly (ws, undici, minimatch, esbuild, dompurify, qs, and others). # Additional Changes - Removes 10 overrides that are no longer needed after parent packages resolve to newer versions. - Updates 4 existing overrides (`tar`, `js-yaml`, `dompurify`, `brace-expansion`) to match current upstream ranges. - 2 low-severity findings remain via the abandoned `raw-loader` package in docs (peer dep resolution; no upstream fix without replacing `raw-loader`). - Fixes console build: replaced the `angular.json` asset glob `../apps/docs/public/img/tech` with a `prebuild` script that copies tech images into `src/assets/docs/img/tech`. **Verify at runtime that tech images on project grant / integration pages still load.** # Additional Context - Overrides remain where parent packages still pin older transitive versions. - The `angular.json` asset path issue predates this PR (not introduced by the Angular bump). --------- Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
653a968d91
commit
bc9333aef9
+19
-18
@@ -4,27 +4,28 @@
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"dev": "wait-on --verbose --interval 2000 --simultaneous 1 --timeout 30m ${ENVIRONMENT_JSON_URL} && node prebuild.development.js && ng serve --host=${DEVCONTAINER_LISTEN_HOST:-127.0.0.1}",
|
||||
"build": "ng build --configuration production --base-href=/ui/console/",
|
||||
"copy-docs-assets": "rm -rf src/assets/docs && mkdir -p src/assets/docs/img && cp -r ../apps/docs/public/img/tech src/assets/docs/img/",
|
||||
"build": "pnpm run copy-docs-assets && ng build --configuration production --base-href=/ui/console/",
|
||||
"lint-check-ng": "eslint .",
|
||||
"lint-check-prettier": "prettier --check src",
|
||||
"lint-fix": "prettier --write src",
|
||||
"generate": "pnpm exec buf generate ../proto --include-imports --include-wkt",
|
||||
"clean": "rm -rf dist .angular node_modules src/app/proto/generated"
|
||||
"clean": "rm -rf dist .angular node_modules src/app/proto/generated src/assets/docs"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^21.2.13",
|
||||
"@angular/cdk": "^21.2.11",
|
||||
"@angular/common": "^21.2.13",
|
||||
"@angular/compiler": "^21.2.13",
|
||||
"@angular/core": "^21.2.13",
|
||||
"@angular/forms": "^21.2.13",
|
||||
"@angular/material": "^21.2.11",
|
||||
"@angular/material-moment-adapter": "^21.2.11",
|
||||
"@angular/platform-browser": "^21.2.13",
|
||||
"@angular/platform-browser-dynamic": "^21.2.13",
|
||||
"@angular/router": "^21.2.13",
|
||||
"@angular/service-worker": "^21.2.13",
|
||||
"@angular/animations": "^21.2.17",
|
||||
"@angular/cdk": "^21.2.14",
|
||||
"@angular/common": "^21.2.17",
|
||||
"@angular/compiler": "^21.2.17",
|
||||
"@angular/core": "^21.2.17",
|
||||
"@angular/forms": "^21.2.17",
|
||||
"@angular/material": "^21.2.14",
|
||||
"@angular/material-moment-adapter": "^21.2.14",
|
||||
"@angular/platform-browser": "^21.2.17",
|
||||
"@angular/platform-browser-dynamic": "^21.2.17",
|
||||
"@angular/router": "^21.2.17",
|
||||
"@angular/service-worker": "^21.2.17",
|
||||
"@bufbuild/protobuf": "^2.12.0",
|
||||
"@connectrpc/connect": "^2.1.1",
|
||||
"@connectrpc/connect-web": "^2.1.1",
|
||||
@@ -62,10 +63,10 @@
|
||||
"@angular-eslint/eslint-plugin": "21.4.0",
|
||||
"@angular-eslint/eslint-plugin-template": "21.4.0",
|
||||
"@angular-eslint/template-parser": "21.4.0",
|
||||
"@angular/build": "^21.2.11",
|
||||
"@angular/cli": "^21.2.11",
|
||||
"@angular/compiler-cli": "^21.2.13",
|
||||
"@angular/language-service": "^21.2.13",
|
||||
"@angular/build": "^21.2.17",
|
||||
"@angular/cli": "^21.2.17",
|
||||
"@angular/compiler-cli": "^21.2.17",
|
||||
"@angular/language-service": "^21.2.17",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/file-saver": "^2.0.7",
|
||||
|
||||
Reference in New Issue
Block a user