Files
plane/apps/admin/package.json
T
e8c86d72b6 feat: add React Doctor for frontend health analysis (#6438)
* feat: add react doctor CI analyse PRs

* Update docs/REACT_DOCTOR.md

Co-authored-by: Copilot <[email protected]>

* Update docs/REACT_DOCTOR.md

Co-authored-by: Copilot <[email protected]>

* refactor: move diagnose scripts into each frontend app and use turbo

Each app (web, admin, space) now owns its own `diagnose` script and
`react-doctor` devDependency. Root scripts use `turbo run diagnose`
for orchestration instead of calling react-doctor directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* chore: update package scripts

* fix: remove partial clone and set fail-on none for react doctor CI

Partial clone (filter: blob:none) broke diff mode, causing a full scan.
Set fail-on to none since the check is informational only.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* fix: replace react-doctor action with custom run and clean markdown comment

The millionco/react-doctor action posts raw terminal output with ANSI
escape codes as a PR comment. Replace it with a manual npx run and a
custom actions/github-script step that parses scores and posts a clean
markdown table.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-25 15:43:15 +05:30

74 lines
2.4 KiB
JSON

{
"name": "admin",
"version": "2.3.0",
"private": true,
"description": "Admin UI for Plane",
"license": "AGPL-3.0",
"type": "module",
"scripts": {
"dev": "react-router dev --port 3001",
"build": "react-router build",
"preview": "react-router build && serve -s build/client -l 3001",
"start": "serve -s build/client -l 3001",
"clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist && rm -rf build",
"check:lint": "oxlint --type-aware -c ../../.oxlintrc.json .",
"check:types": "react-router typegen && tsc --noEmit",
"check:format": "oxfmt . --check",
"fix:lint": "oxlint --type-aware --fix -c ../../.oxlintrc.json .",
"fix:format": "oxfmt . --write",
"diagnose": "react-doctor ."
},
"dependencies": {
"@bprogress/core": "catalog:",
"@fontsource-variable/inter": "catalog:",
"@fontsource/ibm-plex-mono": "catalog:",
"@fontsource/material-symbols-rounded": "catalog:",
"@headlessui/react": "catalog:",
"@plane/constants": "workspace:*",
"@plane/hooks": "workspace:*",
"@plane/propel": "workspace:*",
"@plane/services": "workspace:*",
"@plane/types": "workspace:*",
"@plane/ui": "workspace:*",
"@plane/utils": "workspace:*",
"@react-router/node": "catalog:",
"@sentry/react-router": "catalog:",
"@tanstack/react-virtual": "catalog:",
"@tanstack/virtual-core": "catalog:",
"@vercel/react-router": "catalog:",
"axios": "catalog:",
"isbot": "catalog:",
"lodash-es": "catalog:",
"lucide-react": "catalog:",
"mobx": "catalog:",
"mobx-react": "catalog:",
"mobx-utils": "catalog:",
"next-themes": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"react-dropzone": "catalog:",
"react-hook-form": "catalog:",
"react-router": "catalog:",
"serve": "catalog:",
"swr": "catalog:",
"uuid": "catalog:"
},
"devDependencies": {
"@plane/tailwindcss": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@react-router/dev": "catalog:",
"@tailwindcss/typography": "catalog:",
"@tailwindcss/vite": "catalog:",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"dotenv": "catalog:",
"react-doctor": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-tsconfig-paths": "catalog:"
}
}