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: 2 additions & 1 deletion apps/chrome-extension/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": "."
"types": ["chrome"],
"noUncheckedSideEffectImports": false
},
"include": [
"src",
Expand Down
26 changes: 15 additions & 11 deletions apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,26 @@
"noEmit": true,
"jsx": "preserve",
"incremental": true,
"noUncheckedSideEffectImports": false,
"plugins": [
{ "name": "next" },
{ "name": "@effect/language-service" },
{
"name": "@effect/language-service",
"ignoreEffectWarningsInTscExitCode": true
},
{ "name": "workflow" }
],
"baseUrl": ".",
"paths": {
"@/app/*": ["app/*"],
"@/components/*": ["components/*"],
"@/pages/*": ["components/pages/*"],
"@/utils/*": ["utils/*"],
"@/lib/*": ["lib/*"],
"@/actions/*": ["actions/*"],
"@/data/*": ["data/*"],
"@/services": ["services"],
"@/workflows/*": ["workflows/*"]
"@/app/*": ["./app/*"],
"@/components/*": ["./components/*"],
"@/pages/*": ["./components/pages/*"],
"@/utils/*": ["./utils/*"],
"@/lib/*": ["./lib/*"],
"@/actions/*": ["./actions/*"],
"@/data/*": ["./data/*"],
"@/services": ["./services"],
"@/workflows/*": ["./workflows/*"],
"hooks/*": ["./hooks/*"]
},
"types": ["node"]
},
Expand Down
15 changes: 15 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lint": "bun run biome lint",
"gpui:build": "dotenv -e .env -- node scripts/bundle-gpui.mjs",
"tauri:build": "dotenv -e .env -- bun run --cwd apps/desktop build:tauri --config src-tauri/tauri.prod.conf.json --verbose",
"typecheck": "bun run --cwd apps/web next typegen && bun run tsc -b",
"typecheck": "bun run --cwd apps/web next typegen && tsc-rs -b",
"test": "turbo run test",
"test:web": "bun run --filter=@cap/web test",
"test:discover": "bun run with-env cargo run -p cap-test -- discover",
Expand Down Expand Up @@ -62,6 +62,7 @@
"react": "19.2.0",
"react-dom": "19.2.0",
"sharp": "0.35.3",
"tsc-rs": "0.6.0",
"tsdown": "^0.15.6",
"turbo": "^2.3.4",
"typescript": "^5.8.3"
Expand Down
7 changes: 6 additions & 1 deletion packages/config/base.tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"strict": true,
"noFallthroughCasesInSwitch": true,
"declaration": true,
"plugins": [{ "name": "@effect/language-service" }],
"plugins": [
{
"name": "@effect/language-service",
"ignoreEffectWarningsInTscExitCode": true
}
],
"incremental": true
},
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down
1 change: 0 additions & 1 deletion packages/env/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"exclude": ["node_modules", "dist"],
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "bundler",
"composite": true,
"outDir": "dist",
Expand Down
1 change: 1 addition & 0 deletions packages/ui-solid/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"skipLibCheck": true,
"emitDeclarationOnly": true,
"declaration": true,
"rootDir": "./src",
"outDir": "dist"
}
}
4 changes: 2 additions & 2 deletions packages/ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": {
"rootDir": "src",
"baseUrl": ".",
"composite": true,
"outDir": "dist",
"noEmit": false,
"emitDeclarationOnly": true,
"noUncheckedSideEffectImports": false,
"paths": {
"@/*": ["./src/*"],
"@/utils/*": ["src/utils/*"]
"@/utils/*": ["./src/utils/*"]
}
}
}
1 change: 0 additions & 1 deletion packages/utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": {
"rootDir": "src",
"baseUrl": ".",
"moduleResolution": "bundler",
"composite": true,
"outDir": "dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/web-backend/src/Videos/VideosPolicy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const decideCanView = (
yield* Effect.log(
"Email access restriction active and user not logged in. Access denied.",
);
yield* Effect.fail(
return yield* Effect.fail(
new Policy.PolicyDeniedError({
reason: "email_restriction_login_required",
}),
Expand All @@ -136,7 +136,7 @@ const decideCanView = (
!(yield* repo.hasViewerGrant(video.id, user.value.email))
) {
yield* Effect.log("Email access restriction active. Access denied.");
yield* Effect.fail(
return yield* Effect.fail(
new Policy.PolicyDeniedError({
reason: "email_restriction_denied",
}),
Expand Down