chore: remove dashboard build, source, and related config#92
Conversation
The proxy no longer bundles a dashboard. Remove: - src/dashboard/ (app, server, html, css) - scripts/build-dashboard.ts - components.json (shadcn/ui config) - tests/unit/dashboard.test.ts - dashboard scripts from package.json - dashboard build steps from Makefile and package-release - @/* path alias from tsconfig.json Admin session authentication (src/admin/session.ts) is preserved as it serves the general admin API, not only the dashboard.
|
Warning Review limit reached
More reviews will be available in 15 minutes and 32 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (11)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Remove all dashboard-related code and dependencies from the project.
Removed
src/dashboard/(app.ts, server.ts, index.html, styles.css)scripts/build-dashboard.tscomponents.json(shadcn/ui config)tests/unit/dashboard.test.tsdashboard:dev,dashboard:build,dashboard:startscripts from package.jsonbuildscriptMakefileandscripts/package-release.ts@/*path alias fromtsconfig.jsonPreserved
src/admin/session.ts— admin session auth (login/logout/check) serves the general admin APIsrc/config/validate.tsdashboard* config fields — used for admin session auth, naming rename is separate scopeVerification
bun run typecheckpassesbun test— 179 pass, 22 skip, 0 failSummary by cubic
Removed the dashboard entirely, including source, build steps, scripts, and tests, to simplify the repo and build. Admin session auth stays for the general admin API.
Refactors
src/dashboard/(app, server, HTML, CSS) andtests/unit/dashboard.test.tsscripts/build-dashboard.tsandcomponents.jsonpackage.jsonand removed dashboard steps frombuild,Makefile, andscripts/package-release.ts@/*path alias fromtsconfig.jsonsrc/admin/session.tsand dashboard-related config validation used by admin authMigration
dashboard:dev,dashboard:build, anddashboard:startDASHBOARD_HOST,DASHBOARD_PORT,DASHBOARD_PROXY_URL)dist/dashboard*artifactsWritten for commit 34c4971. Summary will update on new commits.
Review in cubic