Skip to content

Commit d9d88dd

Browse files
committed
chore(tidy): drop dead .config/tsconfig.* files + fix monorepo type script
The `.config/` tsconfig family was leftover from the pre-monorepo layout. After code moved to `packages/cli/src/`, the only one anyone still calls is `.config/tsconfig.base.json` (extended by every package-local tsconfig). The other five were unreferenced: - `tsconfig.json` — pointed at `../src/**` that doesn't exist; broke `pnpm run type` with TS18003 (no inputs found). - `tsconfig.check.json`, `tsconfig.test.json`, `tsconfig.build.json`, `tsconfig.external-aliases.json` — orphaned, zero call sites. Changes: - Delete the five dead tsconfigs. - Re-point `packages/cli` `type` script at its own tsconfig.json (which extends `../../.config/tsconfig.base.json`). - Drop the misleading "extends from .config/tsconfig.json" line and the dead tsconfig basenames in validate-config-paths.mts. - Fix `socket.yml` projectIgnorePaths to the post-monorepo location (packages/cli/test/fixtures/...). - Gitignore `/test/` at root so the stale pre-monorepo scaffold dir (stray pnpm-workspace-state-v1.json) can't reappear.
1 parent 88b55d6 commit d9d88dd

9 files changed

Lines changed: 9 additions & 92 deletions

File tree

.config/tsconfig.build.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.config/tsconfig.check.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.config/tsconfig.external-aliases.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.config/tsconfig.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.config/tsconfig.test.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ yarn-error.log*
4242
**/coverage/
4343
**/dist/
4444
/external/
45+
# Stale pre-monorepo scaffold dirs at root — tests now live in packages/cli/test/
46+
/test/
4547
**/html/
4648
*.d.ts
4749
*.d.ts.map

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"check-ci": "pnpm run check",
3030
"lint": "oxlint -c ../../.config/oxlintrc.json",
3131
"lint-ci": "pnpm run lint",
32-
"type": "tsc -p ../../.config/tsconfig.json --noEmit",
32+
"type": "tsc -p tsconfig.json --noEmit",
3333
"type-ci": "pnpm run type",
3434
"sync-checksums": "node scripts/sync-checksums.mts",
3535
"cover": "node --import=./scripts/load.mts scripts/cover.mts",

scripts/validate-config-paths.mts

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

socket.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version: 2
22

33
projectIgnorePaths:
4-
- 'test/fixtures/commands/fix'
4+
- 'packages/cli/test/fixtures/commands/fix'

0 commit comments

Comments
 (0)