Files
zitadel/apps/docs/package.json
bc9333aef9 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 <9405495+livio-a@users.noreply.github.com>
2026-07-06 14:18:51 +00:00

80 lines
2.7 KiB
JSON

{
"name": "@zitadel/docs",
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264",
"private": true,
"type": "module",
"scripts": {
"generate:index-pages": "tsx scripts/generate-index-pages.ts",
"fetch:remote-content": "node scripts/fetch-remote-content.mjs",
"generate:proto-docs": "node scripts/generate-proto-docs.mjs",
"generate:api-reference": "node scripts/generate-api-reference.ts --only-generate",
"fix:api-links": "node scripts/generate-api-reference.ts --only-fix",
"build:mdx-source": "fumadocs-mdx",
"build": "next build",
"dev": "next dev",
"generate": "nx run @zitadel/docs:generate",
"start": "next start",
"clean": "node scripts/clean.mjs",
"check:types": "fumadocs-mdx && next typegen && tsc --noEmit",
"check:links": "tsx scripts/check-links.ts",
"test:scripts": "node --test scripts/*.test.mjs",
"postinstall": "fumadocs-mdx",
"lint": "eslint ."
},
"dependencies": {
"@headlessui/react": "^2.2.10",
"@heroicons/react": "^2.2.0",
"@inkeep/cxkit-react": "^0.5.117",
"@scalar/api-reference": "^1.55.3",
"@shikijs/rehype": "^4.0.2",
"@shikijs/types": "^4.0.2",
"@types/js-yaml": "^4.0.9",
"clsx": "^2.1.1",
"fumadocs-core": "16.8.10",
"fumadocs-mdx": "14.3.2",
"fumadocs-openapi": "10.8.2",
"fumadocs-ui": "16.8.10",
"js-yaml": "^4.2.0",
"lucide-react": "^0.577.0",
"mixpanel-browser": "^2.78.0",
"next": "16.2.6",
"next-themes": "^0.4.6",
"react": "19.2.6",
"react-copy-to-clipboard": "^5.1.1",
"react-dom": "19.2.6",
"react-google-charts": "^5.2.1",
"shiki": "^4.0.2",
"tailwind-merge": "^3.6.0",
"vanilla-cookieconsent": "^3.1.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/postcss": "^4.3.0",
"@tailwindcss/typography": "^0.5.19",
"@types/mdx": "^2.0.13",
"@types/node": "^25.7.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "^8.59.3",
"@typescript-eslint/parser": "^8.59.3",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-mdx": "^3.7.0",
"glob": "^13.0.6",
"globals": "^17.6.0",
"next-validate-link": "^1.6.6",
"postcss": "^8.5.14",
"raw-loader": "^4.0.2",
"remark-heading-id": "^1.0.1",
"semver": "^7.8.0",
"tailwindcss": "^4.3.0",
"tailwindcss-animate": "^1.0.7",
"tsx": "4.21.0",
"typescript": "^5.9.3",
"yaml-loader": "^0.9.0"
}
}