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
3 changes: 1 addition & 2 deletions benchmarks/basic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field across the project. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["**/*.ts"],
Expand Down
3 changes: 1 addition & 2 deletions examples/basic/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field across the project. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["**/*.ts"],
Expand Down
3 changes: 1 addition & 2 deletions examples/declare-workflow/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field across the project. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["**/*.ts"],
Expand Down
3 changes: 1 addition & 2 deletions examples/with-schema-validation/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field across the project. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["**/*.ts"],
Expand Down
4 changes: 2 additions & 2 deletions examples/workflow-discovery/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field across the project. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"noEmit": true
"outDir": "dist"
},
"include": ["**/*.ts"],
"exclude": ["dist"]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"scripts": {
"build": "turbo build",
"ci": "npm run format && npm run lint && npm run typecheck && npm run build && npm run test:coverage",
"ci": "npm run format && npm run build && npm run lint && npm run typecheck && npm run test:coverage",
"format": "prettier --check . --ignore-path .gitignore --ignore-path .prettierignore",
"format:fix": "prettier --write . --ignore-path .gitignore --ignore-path .prettierignore",
"knip": "knip",
Expand Down
1 change: 0 additions & 1 deletion packages/backend-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"development": "./index.ts",
"default": "./dist/index.js"
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/backend-postgres/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": ["../../tsconfig.json"],
"extends": ["../../tsconfig.base.json"],
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"references": [{ "path": "../openworkflow" }],
"include": ["**/*.ts"],
"exclude": ["dist"]
}
1 change: 0 additions & 1 deletion packages/backend-sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"development": "./index.ts",
"default": "./dist/index.js"
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/backend-sqlite/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all package tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"references": [{ "path": "../openworkflow" }],
"include": ["**/*.ts"],
"exclude": ["dist"]
}
1 change: 0 additions & 1 deletion packages/backend-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"development": "./index.ts",
"default": "./dist/index.js"
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/backend-test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all package tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"references": [{ "path": "../openworkflow" }],
"include": ["**/*.ts"],
"exclude": ["dist"]
}
2 changes: 0 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"development": "./index.ts",
"default": "./dist/index.js"
},
"./internal": {
"types": "./dist/internal.d.ts",
"development": "./internal.ts",
"default": "./dist/internal.js"
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": ["../../tsconfig.json"],
"extends": "../../tsconfig.base.json",
Copy link

Copilot AI Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent format for "extends" field. Some tsconfig files use a string format while others use an array format. For consistency, consider using the same format across all package tsconfig files (preferably array format to allow for easier future additions).

Suggested change
"extends": "../../tsconfig.base.json",
"extends": ["../../tsconfig.base.json"],

Copilot uses AI. Check for mistakes.
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"references": [{ "path": "../openworkflow" }],
"include": ["**/*.ts"],
"exclude": ["dist"]
}
5 changes: 4 additions & 1 deletion packages/dashboard/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"extends": [
"../../tsconfig.json",
"../../tsconfig.base.json",
"@tsconfig/vite-react/tsconfig.json" // https://www.npmjs.com/package/@tsconfig/vite-react
],
"compilerOptions": {
"noEmit": false, // TS6310
"allowImportingTsExtensions": false, // TS5096, caused by disabling noEmit
"types": ["vite/client"],
"paths": {
"@/*": ["./src/*"]
}
},
"references": [{ "path": "../cli" }, { "path": "../openworkflow" }],
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["dist"]
}
2 changes: 0 additions & 2 deletions packages/openworkflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"development": "./index.ts",
"default": "./dist/index.js"
},
"./internal": {
"types": "./dist/internal.d.ts",
"development": "./internal.ts",
"default": "./dist/internal.js"
}
},
Expand Down
8 changes: 5 additions & 3 deletions packages/openworkflow/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": ["../../tsconfig.json"],
"extends": ["../../tsconfig.base.json"],
"compilerOptions": {
"rootDir": ".",
"outDir": "dist"
},
"include": ["**/*.ts"],
"exclude": ["**/*.test.ts", "dist"]
"exclude": [
"dist",
"**/*.test.ts" // see note in ./tsconfig.test.json
]
}
11 changes: 11 additions & 0 deletions packages/openworkflow/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// this config is a workaround to add backend-postgres as a reference for our
// test files without a circular reference in the main tsconfig.json
{
"extends": ["./tsconfig.json"],
"compilerOptions": {
"outDir": "dist"
},
"references": [{ "path": "." }, { "path": "../backend-postgres" }],
"include": ["**/*.test.ts"],
"exclude": ["dist"]
}
12 changes: 12 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": [
"@tsconfig/strictest/tsconfig.json", // https://www.npmjs.com/package/@tsconfig/strictest
"@tsconfig/node22/tsconfig.json" // https://www.npmjs.com/package/@tsconfig/node22
],
"compilerOptions": {
"composite": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true
}
}
40 changes: 24 additions & 16 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
{
"extends": [
"@tsconfig/strictest/tsconfig.json", // https://www.npmjs.com/package/@tsconfig/strictest
"@tsconfig/node22/tsconfig.json" // https://www.npmjs.com/package/@tsconfig/node22
// https://www.typescriptlang.org/docs/handbook/project-references.html#overall-structure
"files": [],
"references": [
{ "path": "./benchmarks/basic" },
{ "path": "./examples/basic" },
{ "path": "./examples/declare-workflow" },
{ "path": "./examples/with-schema-validation" },
{ "path": "./examples/workflow-discovery" },
{ "path": "./packages/openworkflow" },
{ "path": "./packages/backend-postgres" },
{ "path": "./packages/backend-sqlite" },
{ "path": "./packages/backend-test" },
{ "path": "./packages/cli" },
{ "path": "./packages/dashboard" }
],
"compilerOptions": {
"rootDir": ".",
"outDir": "dist",
"customConditions": ["development"],

"composite": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true
// project-wide settings for configs, workflows, etc.
"extends": "./tsconfig.base.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["**/*.ts"],

// temporary - run `npm run typecheck` from the package root until we migrate
// our typechecks over to turbo
"exclude": ["packages/dashboard", "dist"]
"include": [
"openworkflow/**/*.ts",
"*.config.ts",
"packages/openworkflow/**/*.test.ts" // needed to work with packages/openworkflow/tsconfig.test.json
],
"exclude": ["dist"]
}
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default defineConfig({
coverage: {
include: ["packages/**/*.ts"],
exclude: [
"**/*.testsuite.ts",
"**/dist/**",
"**/scripts/*.ts",
"vitest.global-setup.ts",
Expand Down
Loading