refactor: move cli, dashboard, and docs to apps/#495
Merged
jamescmartinez merged 2 commits intomainfrom Apr 28, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Refactors the monorepo layout by moving the CLI, dashboard, and documentation site under apps/, and updates tooling/configuration to match the new structure. This also introduces the Mintlify docs app and a substantial set of dashboard app sources/config.
Changes:
- Add
apps/*workspace and migrate references frompackages/{cli,dashboard,docs}→apps/{cli,dashboard,docs}across build/lint/test/tooling configs. - Introduce
apps/docs(Mintlify) with docs content, snippets, and navigation config. - Introduce
apps/dashboard(TanStack React Start + Nitro/Vite) plus utilities/tests and a Prometheus/metricsroute.
Reviewed changes
Copilot reviewed 13 out of 119 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| vitest.config.ts | Updates coverage include/exclude globs to account for apps/. |
| tsconfig.json | Updates project references to apps/cli and apps/dashboard. |
| packages/openworkflow/README.md | Updates dashboard image link to new docs location (currently still an incorrect relative path). |
| package.json | Adds apps/* workspaces and updates scripts to point at apps/cli. |
| knip.json | Updates ignored paths for moved dashboard/docs locations. |
| jscpd.json | Updates duplication ignore path for moved dashboard output. |
| examples/workflow-discovery/package.json | Updates example worker script path to apps/cli. |
| eslint.config.js | Updates ignore globs and per-package overrides to new apps/ locations. |
| cspell.config.jsonc | Adds Mintlify to dictionary. |
| apps/docs/style.css | Adds Mintlify theme CSS overrides. |
| apps/docs/snippets/comparison-durable-workflow.mdx | Adds docs snippet for durable workflow comparison pages. |
| apps/docs/package.json | Adds docs app package with Mintlify dev script. |
| apps/docs/npm.mdx | Adds external link page to npm. |
| apps/docs/index.mdx | Adds docs landing page content. |
| apps/docs/github.mdx | Adds external link page to GitHub. |
| apps/docs/docs/workers.mdx | Adds docs page for worker concepts and usage. |
| apps/docs/docs/versioning.mdx | Adds docs page for workflow versioning. |
| apps/docs/docs/type-safety.mdx | Adds docs page for TypeScript type safety. |
| apps/docs/docs/standard-schema.mdx | Adds docs page for Standard Schema validation. |
| apps/docs/docs/sqlite.mdx | Adds docs page for SQLite backend. |
| apps/docs/docs/sleeping.mdx | Adds docs page for durable sleeping. |
| apps/docs/docs/roadmap.mdx | Adds docs roadmap page. |
| apps/docs/docs/retries.mdx | Adds docs page for retry behavior. |
| apps/docs/docs/releases.mdx | Adds docs page describing pre-1.0 versioning policy. |
| apps/docs/docs/quickstart.mdx | Adds quickstart guide. |
| apps/docs/docs/prometheus.mdx | Adds Prometheus metrics guide. |
| apps/docs/docs/production.mdx | Adds production deployment guide. |
| apps/docs/docs/postgres.mdx | Adds PostgreSQL backend guide. |
| apps/docs/docs/parallel-steps.mdx | Adds docs page for parallel step patterns. |
| apps/docs/docs/overview.mdx | Adds docs overview page. |
| apps/docs/docs/openworkflow-vs-temporal.mdx | Adds comparison page vs Temporal (imports snippet). |
| apps/docs/docs/openworkflow-vs-bullmq.mdx | Adds comparison page vs BullMQ (imports snippet). |
| apps/docs/docs/namespaces.mdx | Adds namespaces guide. |
| apps/docs/docs/migration-v6.mdx | Adds migration guide for v0.6 backend packaging change. |
| apps/docs/docs/llms.mdx | Adds docs page describing .md access and /llms.txt. |
| apps/docs/docs/dynamic-steps.mdx | Adds docs page for dynamic steps naming. |
| apps/docs/docs/dashboard.mdx | Adds docs page for dashboard usage. |
| apps/docs/docs/configuration.mdx | Adds docs page for openworkflow.config.* reference. |
| apps/docs/docs/cli.mdx | Adds CLI reference docs. |
| apps/docs/docs/child-workflows.mdx | Adds docs page for child workflows. |
| apps/docs/docs/canceling.mdx | Adds docs page for canceling runs. |
| apps/docs/docs/advanced-patterns.mdx | Adds advanced patterns overview doc. |
| apps/docs/docs.json | Adds Mintlify navigation + redirects + analytics integrations config. |
| apps/dashboard/vite.config.ts | Adds dashboard Vite configuration (plugins, server settings, tsconfig paths). |
| apps/dashboard/tsconfig.json | Adds dashboard TS config references to apps/cli and packages/openworkflow. |
| apps/dashboard/src/utils.ts | Adds dashboard UI utility helpers (duration/relative time/listbox navigation). |
| apps/dashboard/src/utils.test.ts | Adds unit tests for dashboard UI utilities. |
| apps/dashboard/src/routes/metrics.ts | Adds /metrics route wiring to server metrics response. |
| apps/dashboard/src/routes/__root.tsx | Adds dashboard root route, document shell, and theme loader hookup. |
| apps/dashboard/src/router.tsx | Adds router creation wrapper around generated route tree. |
| apps/dashboard/src/routeTree.gen.ts | Adds generated TanStack Router route tree file. |
| apps/dashboard/src/lib/utils.ts | Adds cn() helper for Tailwind class merging. |
| apps/dashboard/src/lib/use-polling.ts | Adds polling hook that invalidates router on interval + visibility changes. |
| apps/dashboard/src/lib/use-polling.test.ts | Adds jsdom hook tests for polling behavior. |
| apps/dashboard/src/lib/theme.ts | Adds theme server fns backed by cookie storage. |
| apps/dashboard/src/lib/status.ts | Adds status→UI mapping, helpers, and cancelable/terminal sets. |
| apps/dashboard/src/lib/status.test.ts | Adds unit tests for status UI mapping behavior. |
| apps/dashboard/src/lib/runs-page-pagination.ts | Adds pagination parsing/sanitization helpers and page-size resolvers. |
| apps/dashboard/src/lib/metrics.server.ts | Adds Prometheus exposition generation via prom-client. |
| apps/dashboard/src/lib/metrics.server.test.ts | Adds tests for metrics exposition format and error handling. |
| apps/dashboard/src/lib/backend.ts | Adds backend loader using CLI config discovery. |
| apps/dashboard/src/lib/api.ts | Adds dashboard server fns wrapping backend operations (list/get/cancel/create runs, list/get steps). |
| apps/dashboard/src/components/workflow-stats.tsx | Adds stats cards component for run counts. |
| apps/dashboard/src/components/ui/tooltip.tsx | Adds tooltip UI component wrappers. |
| apps/dashboard/src/components/ui/textarea.tsx | Adds textarea UI component wrapper. |
| apps/dashboard/src/components/ui/tabs.tsx | Adds tabs UI component wrappers and variants. |
| apps/dashboard/src/components/ui/slider.tsx | Adds slider UI component wrapper. |
| apps/dashboard/src/components/ui/separator.tsx | Adds separator UI component wrapper. |
| apps/dashboard/src/components/ui/monaco-json-editor.tsx | Adds Monaco-based JSON editor/viewer component. |
| apps/dashboard/src/components/ui/label.tsx | Adds label UI component wrapper. |
| apps/dashboard/src/components/ui/input.tsx | Adds input UI component wrapper. |
| apps/dashboard/src/components/ui/input-group.tsx | Adds composite input group components (addons/buttons/controls). |
| apps/dashboard/src/components/ui/dialog.tsx | Adds dialog UI component wrappers. |
| apps/dashboard/src/components/ui/card.tsx | Adds card UI components. |
| apps/dashboard/src/components/ui/button.tsx | Adds button UI component variants. |
| apps/dashboard/src/components/ui/badge.tsx | Adds badge UI component variants. |
| apps/dashboard/src/components/ui/alert-dialog.tsx | Adds alert-dialog UI component wrappers. |
| apps/dashboard/src/components/run-list.tsx | Adds workflow run list UI component. |
| apps/dashboard/src/components/run-cancel-action.tsx | Adds cancel action UI and server call wiring. |
| apps/dashboard/src/components/providers/theme-provider.tsx | Adds theme context + setter wiring to server fn. |
| apps/dashboard/src/components/mode-switcher.tsx | Adds theme toggle UI. |
| apps/dashboard/src/components/app-layout.tsx | Adds dashboard layout wrapper and header. |
| apps/dashboard/public/manifest.json | Adds dashboard PWA manifest. |
| apps/dashboard/public/logo512.png | Adds dashboard icon asset. |
| apps/dashboard/public/logo192.png | Adds dashboard icon asset. |
| apps/dashboard/package.json | Adds dashboard package metadata, scripts, and dependencies. |
| apps/dashboard/components.json | Adds shadcn/ui components config. |
| apps/dashboard/bin.mjs | Adds executable wrapper to launch built dashboard server. |
| apps/dashboard/CHANGELOG.md | Adds dashboard changelog under new app location. |
| apps/cli/tsconfig.json | Updates CLI TS project reference to packages/openworkflow. |
| apps/cli/templates.ts | Adds CLI init templates for generated client/config/example files. |
| apps/cli/package.json | Adds CLI package metadata/exports/bin under new app location. |
| apps/cli/internal.ts | Adds internal export entrypoint. |
| apps/cli/index.ts | Adds public export entrypoint. |
| apps/cli/errors.ts | Adds CLI error wrapper helpers. |
| apps/cli/config.ts | Adds CLI config definition + discovery/loading via jiti. |
| apps/cli/config.test.ts | Adds tests for config loading behavior. |
| apps/cli/commands.test.ts | Adds tests for command helpers (naming, ignorePatterns, port validation). |
| apps/cli/cli.ts | Adds CLI entrypoint with commander wiring. |
| apps/cli/CHANGELOG.md | Adds CLI changelog under new app location. |
| ARCHITECTURE.md | Updates repo layout description to apps/ paths. |
| .prettierignore | Updates ignored generated route tree path to new location. |
| .github/workflows/pkg-pr-new.yaml | Updates pkg-pr-new publish paths to apps/cli and apps/dashboard. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.