Files
backstage/docs-ui/package.json
T
Charles de Dreuille b9be9d33aa Upgrade to ESLint 9 for Next.js 16 compatibility
Next.js 16 requires ESLint 9 for proper flat config support. This commit:
- Upgrades eslint from ^8 to ^9
- Migrates from .eslintrc.json to eslint.config.mjs (flat config)
- Updates lint script to use eslint directly (next lint removed in Next.js 16)
- Adds tsconfig.json includes for Next.js 16 dev types
- Fixes layout.tsx to use proper theme CSS link tags

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
2026-01-29 13:30:44 +00:00

57 lines
1.6 KiB
JSON

{
"name": "docs-ui",
"version": "0.1.0",
"private": true,
"scripts": {
"prebuild": "yarn sync:css",
"build": "next build",
"lint": "eslint .",
"prestart": "yarn sync:css",
"start": "next dev",
"sync:changelog": "node scripts/sync-changelog.mjs",
"sync:changelog:dry-run": "node scripts/sync-changelog.mjs --dry-run",
"sync:changelog:force": "node scripts/sync-changelog.mjs --force",
"sync:css": "node scripts/sync-css.js",
"sync:css:watch": "node scripts/sync-css.js --watch"
},
"resolutions": {
"@types/react": "19.2.10",
"@types/react-dom": "19.2.3"
},
"dependencies": {
"@base-ui-components/react": "^1.0.0-beta.4",
"@codemirror/lang-sass": "^6.0.2",
"@codemirror/view": "^6.34.4",
"@lezer/highlight": "^1.2.1",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "16.1.6",
"@remixicon/react": "^4.6.0",
"@uiw/codemirror-themes": "^4.23.7",
"@uiw/react-codemirror": "^4.23.7",
"clsx": "^2.1.1",
"html-react-parser": "^5.2.5",
"motion": "^12.4.1",
"next": "16.1.6",
"next-mdx-remote-client": "^2.1.2",
"prop-types": "^15.8.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"shiki": "^3.13.0"
},
"devDependencies": {
"@octokit/rest": "^22.0.1",
"@shikijs/transformers": "^3.13.0",
"@types/mdx": "^2.0.13",
"@types/node": "^22.13.14",
"@types/react": "19.2.10",
"@types/react-dom": "19.2.3",
"chokidar": "^3.6.0",
"eslint": "^9",
"eslint-config-next": "16.1.6",
"lightningcss": "^1.28.2",
"typescript": "^5",
"unified": "^11.0.4"
}
}