Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
- run: >
npx pkg-pr-new publish
./packages/openworkflow
./packages/cli
./packages/dashboard
./apps/cli
./apps/dashboard
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
packages/dashboard/src/routeTree.gen.ts
apps/dashboard/src/routeTree.gen.ts
5 changes: 3 additions & 2 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,5 +440,6 @@ graceful shutdown:
- `packages/openworkflow` contains the SDK (client, worker, registry) and
backend implementations via `openworkflow/postgres` and `openworkflow/sqlite`
subpath exports.
- `packages/cli` is the CLI.
- `packages/dashboard` is the web UI for monitoring workflow runs.
- `apps/cli` is the CLI.
- `apps/dashboard` is the web UI for monitoring workflow runs.
- `apps/docs` is the Mintlify documentation site.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/cli/tsconfig.json → apps/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "dist"
},
"references": [{ "path": "../openworkflow" }],
"references": [{ "path": "../../packages/openworkflow" }],
"include": ["**/*.ts"],
"exclude": ["dist"]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"@/*": ["./src/*"]
}
},
"references": [{ "path": "../cli" }, { "path": "../openworkflow" }],
"references": [
{ "path": "../cli" },
{ "path": "../../packages/openworkflow" }
],
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["dist"]
}
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions cspell.config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"arktype",
"bullmq",
"bunx",
"Mintlify",
"nypm",
"openworkflow",
"pghero",
Expand Down
17 changes: 7 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default defineConfig(
ignores: [
"**/dist",
"examples/workflow-discovery/openworkflow.config.js",
"packages/dashboard/.output",
"packages/dashboard/src/routeTree.gen.ts",
"apps/dashboard/.output",
"apps/dashboard/src/routeTree.gen.ts",
"commitlint.config.js",
"coverage",
"eslint.config.js",
Expand Down Expand Up @@ -87,7 +87,7 @@ export default defineConfig(
// cli
// ===========================================================================
{
files: ["packages/cli/templates/**/*.ts"],
files: ["apps/cli/templates/**/*.ts"],
rules: {
"import/no-extraneous-dependencies": "off",
},
Expand All @@ -96,29 +96,26 @@ export default defineConfig(
// dashboard
// ===========================================================================
{
files: ["packages/dashboard/**/*.{ts,tsx,js,jsx}"],
files: ["apps/dashboard/**/*.{ts,tsx,js,jsx}"],
rules: {
"jsdoc/require-jsdoc": "off",
"sonarjs/prefer-read-only-props": "off",
},
},
{
files: [
"packages/dashboard/**/*.test.ts",
"packages/dashboard/**/*.test.tsx",
],
files: ["apps/dashboard/**/*.test.ts", "apps/dashboard/**/*.test.tsx"],
rules: {
"import/no-extraneous-dependencies": [
"error",
{
devDependencies: true,
packageDir: [".", "packages/dashboard"],
packageDir: [".", "apps/dashboard"],
},
],
},
},
{
files: ["packages/dashboard/src/routes/runs/$runId.tsx"],
files: ["apps/dashboard/src/routes/runs/$runId.tsx"],
rules: {
"unicorn/filename-case": "off",
},
Expand Down
2 changes: 1 addition & 1 deletion examples/workflow-discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"start": "tsx index.ts",
"worker": "tsx ../../packages/cli/cli.ts worker start"
"worker": "tsx ../../apps/cli/cli.ts worker start"
},
"dependencies": {
"openworkflow": "*"
Expand Down
2 changes: 1 addition & 1 deletion jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"gitignore": true,
"ignore": [
"**/*.test.ts",
"packages/dashboard/.output",
"apps/dashboard/.output",
"packages/openworkflow/postgres/backend.ts",
"packages/openworkflow/sqlite/backend.ts"
]
Expand Down
6 changes: 3 additions & 3 deletions knip.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"ignoreFiles": [
"**/openworkflow.config.*",
"openworkflow/**/*.ts",
"packages/dashboard/src/components/ui/*.tsx",
"packages/docs/style.css"
"apps/dashboard/src/components/ui/*.tsx",
"apps/docs/style.css"
],
"ignoreIssues": {
"packages/dashboard/src/components/ui/*.tsx": ["exports"],
"apps/dashboard/src/components/ui/*.tsx": ["exports"],
"packages/openworkflow/core/workflow-definition.ts": ["duplicates"]
}
}
Loading
Loading