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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ jobs:
- 'package.json'
- 'pnpm-lock.yaml'
- 'tsconfig.json'
- 'tsconfig.base.json'
- 'tsconfig.test.base.json'
- '.github/workflows/ci.yml'
# BUILD INPUTS outside every package (#21202): turbo.json itself,
# its `globalDependencies`, and each `$TURBO_ROOT$/…` input of a
Expand Down
2 changes: 1 addition & 1 deletion examples/embed-objectql/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist"],
"compilerOptions": {
Expand Down
4 changes: 1 addition & 3 deletions packages/adapters/hono/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"skipLibCheck": true,
"lib": [
Expand Down
5 changes: 1 addition & 4 deletions packages/adapters/hono/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,8 @@
// ledger to be added to -- the same call `metadata-fs` and
// `trigger-record-change` recorded.
{
"extends": "./tsconfig.json",
"extends": ["./tsconfig.json", "../../../tsconfig.test.base.json"],
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"]
},
"include": ["src/**/*"],
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/account/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/setup/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/studio/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
5 changes: 1 addition & 4 deletions packages/cli/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,9 @@
// than incidental: any error any one of them ever gains is red on arrival. That
// is the half of this gate that starts working today.
{
"extends": "./tsconfig.json",
"extends": ["./tsconfig.json", "../../tsconfig.test.base.json"],
"compilerOptions": {
"noEmit": true,
"rootDir": "../..",
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": ["node"],
// [#15004, #15229] FIVE bare-name rules, no star, for the five workspace
Expand Down
2 changes: 1 addition & 1 deletion packages/client-react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
5 changes: 0 additions & 5 deletions packages/client/test-typecheck-debt.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
7 changes: 2 additions & 5 deletions packages/client/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// bulk of this package's stale TEST_DEBT entry — a measurement of the
// misconfigured check, not of the tests.
// - STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`, `noUnusedParameters`,
// `noImplicitReturns` and the rest are inherited from the root config.
// `noImplicitReturns` and the rest are inherited from the base config.
// Nothing here may loosen a type rule; if a test does not compile, that is
// the finding.
//
Expand Down Expand Up @@ -50,12 +50,9 @@
// `client.test.ts`, the pin file, first among them — must have no errors at
// all.
{
"extends": "./tsconfig.json",
"extends": ["./tsconfig.json", "../../tsconfig.test.base.json"],
"compilerOptions": {
"noEmit": true,
"rootDir": "../..",
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": ["node"]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cloud-connection/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
Expand Down
8 changes: 1 addition & 7 deletions packages/cloud-connection/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@
// ledger to be added to -- the same call `metadata-fs` and
// `trigger-record-change` recorded.
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022"]
},
"extends": ["./tsconfig.json", "../../tsconfig.test.base.json"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/connectors/connector-imap/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-mcp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
12 changes: 3 additions & 9 deletions packages/connectors/connector-mcp/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// compiles `src` under the build config's NodeNext and is where that rule is
// enforced.
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
// state: the root config's `lib` is ES2020 while vitest runs these files on
// state: the base config's `lib` is ES2020 while vitest runs these files on
// a Node with ES2022 builtins, so the gap is reported as TS2550 about the
// CHECK rather than about the code. ⚠️ Measured effect today: **zero** —
// this layer carries no TS2550 either way. Fidelity to the runtime, not
Expand All @@ -48,7 +48,7 @@
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`,
// `types: ["node"]` and `rootDir` are inherited from `tsconfig.json` and
// through it the root config, and none of them is re-declared here.
// through it the base config, and none of them is re-declared here.
// `rootDir` (`./src`) needs no widening: every test file here lives under
// `src` and none reaches outside the package, so the TS6059 pile
// `packages/cli`'s sibling had to widen `rootDir` to clear does not arise —
Expand Down Expand Up @@ -92,13 +92,7 @@
// — the same grep hits `packages/spec/src`), so no pin here was silently dead;
// what the gap cost was the other half.
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022"]
},
"extends": ["./tsconfig.json", "../../../tsconfig.test.base.json"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/connectors/connector-openapi/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
12 changes: 3 additions & 9 deletions packages/connectors/connector-openapi/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// compiles `src` under the build config's NodeNext and is where that rule is
// enforced.
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
// state: the root config's `lib` is ES2020 while vitest runs these files on
// state: the base config's `lib` is ES2020 while vitest runs these files on
// a Node with ES2022 builtins, so the gap is reported as TS2550 about the
// CHECK rather than about the code. ⚠️ Measured effect today: **zero** —
// this layer carries no TS2550 either way. Fidelity to the runtime, not
Expand All @@ -48,7 +48,7 @@
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`,
// `types: ["node"]` and `rootDir` are inherited from `tsconfig.json` and
// through it the root config, and none of them is re-declared here.
// through it the base config, and none of them is re-declared here.
// `rootDir` (`./src`) needs no widening: every test file here lives under
// `src` and none reaches outside the package, so the TS6059 pile
// `packages/cli`'s sibling had to widen `rootDir` to clear does not arise —
Expand Down Expand Up @@ -91,13 +91,7 @@
// — the same grep hits `packages/spec/src`), so no pin here was silently dead;
// what the gap cost was the other half.
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022"]
},
"extends": ["./tsconfig.json", "../../../tsconfig.test.base.json"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/connectors/connector-rest/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
12 changes: 3 additions & 9 deletions packages/connectors/connector-rest/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// compiles `src` under the build config's NodeNext and is where that rule is
// enforced.
// - `lib: ["ES2022"]`, for the reason `packages/rest` and `packages/lint`
// state: the root config's `lib` is ES2020 while vitest runs these files on
// state: the base config's `lib` is ES2020 while vitest runs these files on
// a Node with ES2022 builtins, so the gap is reported as TS2550 about the
// CHECK rather than about the code. ⚠️ Measured effect today: **zero** —
// this layer carries no TS2550 either way. Fidelity to the runtime, not
Expand All @@ -48,7 +48,7 @@
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`,
// `types: ["node"]` and `rootDir` are inherited from `tsconfig.json` and
// through it the root config, and none of them is re-declared here.
// through it the base config, and none of them is re-declared here.
// `rootDir` (`./src`) needs no widening: every test file here lives under
// `src` and none reaches outside the package, so the TS6059 pile
// `packages/cli`'s sibling had to widen `rootDir` to clear does not arise —
Expand Down Expand Up @@ -92,13 +92,7 @@
// — the same grep hits `packages/spec/src`), so no pin here was silently dead;
// what the gap cost was the other half.
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022"]
},
"extends": ["./tsconfig.json", "../../../tsconfig.test.base.json"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/connectors/connector-slack/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
//
// STRICTNESS IS INHERITED and deliberately not relaxed: `strict`,
// `noUnusedLocals`, `noUnusedParameters`, `noImplicitReturns` and the rest come
// from the root config through `tsconfig.json`. The directory type-checks clean
// from the base config through `tsconfig.json`. The directory type-checks clean
// under them — it enters with ZERO recorded debt and there is no ledger here to
// record any in. A published example that does not compile is the finding, not
// a line to write down.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
// [#11663 L2] Widened from `./src` as a CONSEQUENCE of the `paths` rule
Expand Down
10 changes: 2 additions & 8 deletions packages/core/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// `lib`: nothing in this layer touches a browser global.
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`
// are inherited from the root config and `types: ["node"]` from
// are inherited from the base config and `types: ["node"]` from
// `tsconfig.json`. Nothing here may loosen a type rule; if a test does not
// compile, that is the finding.
//
Expand All @@ -53,13 +53,7 @@
// retired on 2026-09-18 (#18373). This file declares no `paths` at all, so
// the rule stands.
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022"]
},
"extends": ["./tsconfig.json", "../../tsconfig.test.base.json"],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
3 changes: 2 additions & 1 deletion packages/drivers/driver-memory/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"target": "ES2020",
// module re-set from the base's NodeNext: no "type": "module" here, so NodeNext would compile src as CommonJS and refuse its `import.meta` (TS1470, measured).
"module": "ES2020",
"moduleResolution": "bundler",
"declaration": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/drivers/driver-memory/tsconfig.typecheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//
// STRICTNESS IS INHERITED and deliberately not relaxed: `strict`,
// `esModuleInterop`, `forceConsistentCasingInFileNames` and the rest come from
// the root config through `tsconfig.json`. The manifest type-checks clean
// the base config through `tsconfig.json`. The manifest type-checks clean
// under them -- it enters with ZERO recorded debt, and there is no ledger here
// to record any in.
{
Expand Down
2 changes: 1 addition & 1 deletion packages/drivers/driver-mongodb/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
Expand Down
8 changes: 2 additions & 6 deletions packages/drivers/driver-mongodb/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// `lib`: nothing in this layer touches a browser global.
// - ⛔ STRICTNESS IS UNTOUCHED. `strict`, `noUnusedLocals`,
// `noUnusedParameters`, `noImplicitReturns`, `noFallthroughCasesInSwitch`
// are inherited from the root config, and `types: ["node"]` restates
// are inherited from the base config, and `types: ["node"]` restates
// `tsconfig.json`'s — load-bearing for the same reason its comment gives,
// since the `.test.ts` files call the `setTimeout` / `console` users in
// `src/test-mongod.ts` and use those globals themselves. Nothing here may
Expand Down Expand Up @@ -78,12 +78,8 @@
// cleanest possible confirmation that the ledger was measuring the CHECK's
// misconfiguration and never a defect in the tests.
{
"extends": "./tsconfig.json",
"extends": ["./tsconfig.json", "../../../tsconfig.test.base.json"],
"compilerOptions": {
"noEmit": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["ES2022"],
"types": ["node"]
},
"include": ["src/**/*"],
Expand Down
3 changes: 2 additions & 1 deletion packages/drivers/driver-sql/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"target": "ES2020",
// module re-set from the base's NodeNext: no "type": "module" here, so NodeNext would compile src as CommonJS and refuse its `import.meta` (TS1470, measured).
"module": "ES2020",
"moduleResolution": "bundler",
"declaration": true,
Expand Down
3 changes: 2 additions & 1 deletion packages/drivers/driver-sqlite-wasm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"target": "ES2020",
// module re-set from the base's NodeNext: no "type": "module" here, so NodeNext would compile src as CommonJS and refuse its `import.meta` (TS1470, measured).
"module": "ES2020",
"moduleResolution": "bundler",
"declaration": true,
Expand Down
3 changes: 2 additions & 1 deletion packages/drivers/driver-turso/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"target": "ES2020",
// module re-set from the base's NodeNext: no "type": "module" here, so NodeNext would compile src as CommonJS and refuse its `import.meta` (TS1470, measured).
"module": "ES2020",
"moduleResolution": "bundler",
"declaration": true,
Expand Down
Loading
Loading