{ // Type checks the framework itself - everything under `storage/framework/`. // Application code is checked separately, by the project's root // `tsconfig.json` (which extends `tsconfig.app.json`). // // Run it with: bun run typecheck // // Extends the BASE, not `core/tsconfig.json`, and carries its own path map. // An installed app has no `core/` directory: `extends` pointed at a file that // was not there, TypeScript reported one TS5083 and then silently dropped // every option the base sets — `skipLibCheck` included — so `bun run // typecheck` in an app turned into a full type-check of node_modules and // reported 265 errors, none of them in the app's own code. Paths that do not // resolve are harmless: TypeScript falls back to node resolution, which is // how an app finds `@stacksjs/*` in node_modules. "extends": "./tsconfig.base.json", "compilerOptions": { "declaration": false, "declarationMap": false, "rootDir": "../..", "tsBuildInfoFile": "./.cache/typescript/framework.tsbuildinfo", "paths": { // Generated workspace identities and public exports. Run bun .github/scripts/generate-workspace-aliases.ts. "@stacksjs/action-runner": ["./core/action-runner/src/index.ts"], "@stacksjs/action-runner/*": ["./core/action-runner/src/*"], "@stacksjs/actions": ["./core/actions/src/index.ts"], "@stacksjs/actions/*": ["./core/actions/src/*.ts"], "@stacksjs/actions/run-action": ["./core/actions/src/run-action.ts"], "@stacksjs/actions/runtime": ["./core/actions/src/runtime.ts"], "@stacksjs/ai": ["./core/ai/src/index.ts"], "@stacksjs/ai/*": ["./core/ai/src/*.ts"], "@stacksjs/ai/*.js": ["./core/ai/src/*.ts"], "@stacksjs/alias": ["./core/alias/src/index.ts"], "@stacksjs/analytics": ["./core/analytics/src/index.ts"], "@stacksjs/api": ["./core/api/src/index.ts"], "@stacksjs/api/*": ["./core/api/src/*.ts"], "@stacksjs/api/*.js": ["./core/api/src/*.ts"], "@stacksjs/arrays": ["./core/arrays/src/index.ts"], "@stacksjs/arrays/*": ["./core/arrays/src/*.ts"], "@stacksjs/arrays/*.js": ["./core/arrays/src/*.ts"], "@stacksjs/audio": ["./core/audio/src/index.ts"], "@stacksjs/auth": ["./core/auth/src/index.ts"], "@stacksjs/auth/*": ["./core/auth/src/*.ts"], "@stacksjs/auth/*.js": ["./core/auth/src/*.ts"], "@stacksjs/browser": ["./core/browser/src/index.ts"], "@stacksjs/browser-extension": ["./core/browser-extension/src/index.ts"], "@stacksjs/browser-extension/*": ["./core/browser-extension/src/*.ts"], "@stacksjs/browser-extension/*.js": ["./core/browser-extension/src/*.ts"], "@stacksjs/browser/*": ["./core/browser/src/*.ts"], "@stacksjs/browser/composables": ["./core/browser/src/composables/index.ts"], "@stacksjs/browser/composables/*": ["./core/browser/src/composables/*.ts"], "@stacksjs/browser/model-glob": ["./core/browser/src/model-glob.ts"], "@stacksjs/browser/utils": ["./core/browser/src/utils/index.ts"], "@stacksjs/buddy": ["./core/buddy/src/index.ts"], "@stacksjs/buddy/*": ["./core/buddy/src/*.ts"], "@stacksjs/buddy/*.js": ["./core/buddy/src/*.ts"], "@stacksjs/buddy/cli": ["./core/buddy/src/cli.ts"], "@stacksjs/build": ["./core/build/src/index.ts"], "@stacksjs/build/*": ["./core/build/src/*.ts"], "@stacksjs/build/*.js": ["./core/build/src/*.ts"], "@stacksjs/cache": ["./core/cache/src/index.ts"], "@stacksjs/cache/*": ["./core/cache/src/*.ts"], "@stacksjs/cache/*.js": ["./core/cache/src/*.ts"], "@stacksjs/calendar-api": ["./core/calendar-api/src/index.ts"], "@stacksjs/calendar-api/*": ["./core/calendar-api/src/*.ts"], "@stacksjs/calendar-api/*.js": ["./core/calendar-api/src/*.ts"], "@stacksjs/charts": ["./core/charts/src/index.ts"], "@stacksjs/charts/*": ["./core/charts/src/*.ts"], "@stacksjs/charts/*.js": ["./core/charts/src/*.ts"], "@stacksjs/chat": ["./core/chat/src/index.ts"], "@stacksjs/chat/*": ["./core/chat/src/*.ts"], "@stacksjs/chat/*.js": ["./core/chat/src/*.ts"], "@stacksjs/cli": ["./core/cli/src/index.ts"], "@stacksjs/cli/*": ["./core/cli/src/*.ts"], "@stacksjs/cli/*.js": ["./core/cli/src/*.ts"], "@stacksjs/cloud": ["./core/cloud/src/index.ts"], "@stacksjs/cloud/*": ["./core/cloud/src/*.ts"], "@stacksjs/cloud/*.js": ["./core/cloud/src/*.ts"], "@stacksjs/cms": ["./core/cms/src/index.ts"], "@stacksjs/cms/*": ["./core/cms/src/*.ts"], "@stacksjs/cms/*.js": ["./core/cms/src/*.ts"], "@stacksjs/collections": ["./core/collections/src/index.ts"], "@stacksjs/collections/*": ["./core/collections/src/*.ts"], "@stacksjs/collections/*.js": ["./core/collections/src/*.ts"], "@stacksjs/commerce": ["./core/commerce/src/index.ts"], "@stacksjs/commerce/*": ["./core/commerce/src/*.ts"], "@stacksjs/commerce/*.js": ["./core/commerce/src/*.ts"], "@stacksjs/composables": ["./core/composables/src/index.ts"], "@stacksjs/composables/*": ["./core/composables/src/*.ts"], "@stacksjs/config": ["./core/config/src/index.ts"], "@stacksjs/config/*": ["./core/config/src/*.ts"], "@stacksjs/config/*.js": ["./core/config/src/*.ts"], "@stacksjs/cron": ["./core/cron/src/index.ts"], "@stacksjs/cron/*": ["./core/cron/src/*.ts"], "@stacksjs/cron/*.js": ["./core/cron/src/*.ts"], "@stacksjs/database": ["./core/database/src/index.ts"], "@stacksjs/database/*": ["./core/database/src/*.ts"], "@stacksjs/database/*.js": ["./core/database/src/*.ts"], "@stacksjs/database/runtime": ["./core/database/src/runtime.ts"], "@stacksjs/datetime": ["./core/datetime/src/index.ts"], "@stacksjs/datetime/*": ["./core/datetime/src/*.ts"], "@stacksjs/datetime/*.js": ["./core/datetime/src/*.ts"], "@stacksjs/defaults/*": ["./defaults/*"], "@stacksjs/defaults/package.json": ["./core/defaults/package.json"], "@stacksjs/defaults/resources/plugins/preloader": ["./defaults/resources/plugins/preloader.ts"], "@stacksjs/deploy": ["./core/deploy/index.ts"], "@stacksjs/desktop-build": ["./core/desktop/src/index.ts"], "@stacksjs/desktop-build/*": ["./core/desktop/src/*.ts"], "@stacksjs/desktop-build/*.js": ["./core/desktop/src/*.ts"], "@stacksjs/desktop-build/probe": ["./core/desktop/src/probe/index.ts"], "@stacksjs/development": ["./core/development/index.ts"], "@stacksjs/dns": ["./core/dns/src/index.ts"], "@stacksjs/dns/*": ["./core/dns/src/*.ts"], "@stacksjs/dns/*.js": ["./core/dns/src/*.ts"], "@stacksjs/docs": ["./core/docs/src/index.ts"], "@stacksjs/docs/*": ["./core/docs/src/*.ts"], "@stacksjs/docs/*.js": ["./core/docs/src/*.ts"], "@stacksjs/email": ["./core/email/src/index.ts"], "@stacksjs/email/*": ["./core/email/src/*.ts"], "@stacksjs/email/*.js": ["./core/email/src/*.ts"], "@stacksjs/enums": ["./core/enums/src/index.ts"], "@stacksjs/enums/*": ["./core/enums/src/*.ts"], "@stacksjs/enums/*.js": ["./core/enums/src/*.ts"], "@stacksjs/env": ["./core/env/src/index.ts"], "@stacksjs/env/*": ["./core/env/src/*.ts"], "@stacksjs/env/*.js": ["./core/env/src/*.ts"], "@stacksjs/error-handling": ["./core/error-handling/src/index.ts"], "@stacksjs/error-handling/*": ["./core/error-handling/src/*.ts"], "@stacksjs/error-handling/*.js": ["./core/error-handling/src/*.ts"], "@stacksjs/events": ["./core/events/src/index.ts"], "@stacksjs/events/*": ["./core/events/src/*.ts"], "@stacksjs/events/*.js": ["./core/events/src/*.ts"], "@stacksjs/faker": ["./core/faker/src/index.ts"], "@stacksjs/faker/*": ["./core/faker/src/*.ts"], "@stacksjs/faker/*.js": ["./core/faker/src/*.ts"], "@stacksjs/feature-flags": ["./core/feature-flags/src/index.ts"], "@stacksjs/feature-flags/*": ["./core/feature-flags/src/*.ts"], "@stacksjs/feature-flags/*.js": ["./core/feature-flags/src/*.ts"], "@stacksjs/features": ["./core/features/src/index.ts"], "@stacksjs/features/*": ["./core/features/src/*"], "@stacksjs/features/names": ["./core/features/src/names.ts"], "@stacksjs/forms": ["./core/forms/src/index.ts"], "@stacksjs/forms/*": ["./core/forms/src/*.ts"], "@stacksjs/forms/*.js": ["./core/forms/src/*.ts"], "@stacksjs/git": ["./core/git/src/index.ts"], "@stacksjs/git/*": ["./core/git/src/*.ts"], "@stacksjs/git/*.js": ["./core/git/src/*.ts"], "@stacksjs/github": ["./core/github/src/index.ts"], "@stacksjs/health": ["./core/health/src/index.ts"], "@stacksjs/health/*": ["./core/health/src/*.ts"], "@stacksjs/health/*.js": ["./core/health/src/*.ts"], "@stacksjs/hq": ["./core/hq/src/index.ts"], "@stacksjs/hq/*": ["./core/hq/src/*.ts"], "@stacksjs/hq/*.js": ["./core/hq/src/*.ts"], "@stacksjs/http": ["./core/http/src/index.ts"], "@stacksjs/http/*": ["./core/http/src/*.ts"], "@stacksjs/http/*.js": ["./core/http/src/*.ts"], "@stacksjs/i18n": ["./core/i18n/src/index.ts"], "@stacksjs/i18n/client": ["./core/i18n/src/client.ts"], "@stacksjs/i18n/stx": ["./core/i18n/src/stx.ts"], "@stacksjs/image": ["./core/image/src/index.ts"], "@stacksjs/lint": ["./core/lint/src/index.ts"], "@stacksjs/lint/*": ["./core/lint/src/*.ts"], "@stacksjs/lint/*.js": ["./core/lint/src/*.ts"], "@stacksjs/logging": ["./core/logging/src/index.ts"], "@stacksjs/logging/*": ["./core/logging/src/*.ts"], "@stacksjs/logging/*.js": ["./core/logging/src/*.ts"], "@stacksjs/logging/runtime": ["./core/logging/src/runtime.ts"], "@stacksjs/mobile": ["./core/mobile/src/index.ts"], "@stacksjs/mobile/testing": ["./core/mobile/src/testing.ts"], "@stacksjs/model-meta": ["./core/model-meta/src/index.ts"], "@stacksjs/model-meta/*": ["./core/model-meta/src/*"], "@stacksjs/newsletter": ["./core/newsletter/src/index.ts"], "@stacksjs/newsletter/*": ["./core/newsletter/src/*.ts"], "@stacksjs/newsletter/*.js": ["./core/newsletter/src/*.ts"], "@stacksjs/notifications": ["./core/notifications/src/index.ts"], "@stacksjs/notifications/*": ["./core/notifications/src/*.ts"], "@stacksjs/notifications/*.js": ["./core/notifications/src/*.ts"], "@stacksjs/objects": ["./core/objects/src/index.ts"], "@stacksjs/objects/*": ["./core/objects/src/*.ts"], "@stacksjs/objects/*.js": ["./core/objects/src/*.ts"], "@stacksjs/orm": ["./core/orm/src/index.ts"], "@stacksjs/orm/*": ["./core/orm/src/*.ts"], "@stacksjs/orm/*.js": ["./core/orm/src/*.ts"], "@stacksjs/orm/traits/*": ["./core/orm/src/traits/*.ts"], "@stacksjs/pagination": ["./core/pagination/src/index.ts"], "@stacksjs/pagination/*": ["./core/pagination/src/*"], "@stacksjs/path": ["./core/path/src/index.ts"], "@stacksjs/path/module-resolution": ["./core/path/src/module-resolution.ts"], "@stacksjs/path/project": ["./core/path/src/project.ts"], "@stacksjs/payments": ["./core/payments/src/index.ts"], "@stacksjs/payments/*": ["./core/payments/src/*.ts"], "@stacksjs/payments/*.js": ["./core/payments/src/*.ts"], "@stacksjs/push": ["./core/push/src/index.ts"], "@stacksjs/push/*": ["./core/push/src/*.ts"], "@stacksjs/push/*.js": ["./core/push/src/*.ts"], "@stacksjs/query-builder": ["./core/query-builder/src/index.ts"], "@stacksjs/query-builder/*": ["./core/query-builder/src/*.ts"], "@stacksjs/query-builder/*.js": ["./core/query-builder/src/*.ts"], "@stacksjs/queue": ["./core/queue/src/index.ts"], "@stacksjs/queue/*": ["./core/queue/src/*.ts"], "@stacksjs/queue/*.js": ["./core/queue/src/*.ts"], "@stacksjs/realtime": ["./core/realtime/src/index.ts"], "@stacksjs/realtime/*": ["./core/realtime/src/*.ts"], "@stacksjs/realtime/*.js": ["./core/realtime/src/*.ts"], "@stacksjs/registry": ["./core/registry/src/index.ts"], "@stacksjs/repl": ["./core/repl/src/index.ts"], "@stacksjs/repl/*": ["./core/repl/src/*.ts"], "@stacksjs/repl/*.js": ["./core/repl/src/*.ts"], "@stacksjs/router": ["./core/router/src/index.ts"], "@stacksjs/router/*": ["./core/router/src/*.ts"], "@stacksjs/router/*.js": ["./core/router/src/*.ts"], "@stacksjs/router/runtime": ["./core/router/src/runtime.ts"], "@stacksjs/scheduler": ["./core/scheduler/src/index.ts"], "@stacksjs/scheduler/*": ["./core/scheduler/src/*.ts"], "@stacksjs/scheduler/*.js": ["./core/scheduler/src/*.ts"], "@stacksjs/search-engine": ["./core/search-engine/src/index.ts"], "@stacksjs/search-engine/*": ["./core/search-engine/src/*.ts"], "@stacksjs/search-engine/*.js": ["./core/search-engine/src/*.ts"], "@stacksjs/security": ["./core/security/src/index.ts"], "@stacksjs/security/*": ["./core/security/src/*.ts"], "@stacksjs/security/*.js": ["./core/security/src/*.ts"], "@stacksjs/security/key": ["./core/security/src/key.ts"], "@stacksjs/security/scan": ["./core/security/src/scan.ts"], "@stacksjs/server": ["./core/server/src/index.ts"], "@stacksjs/server/*": ["./core/server/src/*.ts"], "@stacksjs/server/*.js": ["./core/server/src/*.ts"], "@stacksjs/shell": ["./core/shell/src/index.ts"], "@stacksjs/sites": ["./core/sites/src/index.ts"], "@stacksjs/sites/*": ["./core/sites/src/*.ts"], "@stacksjs/sites/*.js": ["./core/sites/src/*.ts"], "@stacksjs/skills": ["./core/skills/src/index.ts"], "@stacksjs/skills/*": ["./core/skills/src/*.ts"], "@stacksjs/skills/*.js": ["./core/skills/src/*.ts"], "@stacksjs/slug": ["./core/slug/src/index.ts"], "@stacksjs/slug/*": ["./core/slug/src/*.ts"], "@stacksjs/slug/*.js": ["./core/slug/src/*.ts"], "@stacksjs/sms": ["./core/sms/src/index.ts"], "@stacksjs/sms/*": ["./core/sms/src/*.ts"], "@stacksjs/sms/*.js": ["./core/sms/src/*.ts"], "@stacksjs/socials": ["./core/socials/src/index.ts"], "@stacksjs/socials/*": ["./core/socials/src/*.ts"], "@stacksjs/socials/*.js": ["./core/socials/src/*.ts"], "@stacksjs/storage": ["./core/storage/src/index.ts"], "@stacksjs/storage/*": ["./core/storage/src/*.ts"], "@stacksjs/storage/*.js": ["./core/storage/src/*.ts"], "@stacksjs/strings": ["./core/strings/src/index.ts"], "@stacksjs/strings/*": ["./core/strings/src/*.ts"], "@stacksjs/strings/*.js": ["./core/strings/src/*.ts"], "@stacksjs/support": ["./core/support/src/index.ts"], "@stacksjs/support/browser": ["./core/support/src/browser.ts"], "@stacksjs/support/server": ["./core/support/src/server.ts"], "@stacksjs/support/testing": ["./core/support/src/testing.ts"], "@stacksjs/telephony": ["./core/telephony/src/index.ts"], "@stacksjs/telephony/testing": ["./core/telephony/src/testing.ts"], "@stacksjs/testing": ["./core/testing/src/index.ts"], "@stacksjs/testing/*": ["./core/testing/src/*.ts"], "@stacksjs/testing/*.js": ["./core/testing/src/*.ts"], "@stacksjs/testing/browser": ["./core/testing/src/browser.ts"], "@stacksjs/testing/database": ["./core/testing/src/database.ts"], "@stacksjs/testing/dynamodb": ["./core/testing/src/dynamodb.ts"], "@stacksjs/testing/hq": ["./core/testing/src/hq.ts"], "@stacksjs/testing/time": ["./core/testing/src/time.ts"], "@stacksjs/tinker": ["./core/tinker/src/index.ts"], "@stacksjs/tinker/*": ["./core/tinker/src/*.ts"], "@stacksjs/tinker/*.js": ["./core/tinker/src/*.ts"], "@stacksjs/tunnel": ["./core/tunnel/src/index.ts"], "@stacksjs/tunnel/*": ["./core/tunnel/src/*.ts"], "@stacksjs/tunnel/*.js": ["./core/tunnel/src/*.ts"], "@stacksjs/types": ["./core/types/src/index.ts"], "@stacksjs/types/*": ["./core/types/src/*.ts"], "@stacksjs/types/*.js": ["./core/types/src/*.ts"], "@stacksjs/types/library": ["./core/types/src/library.ts"], "@stacksjs/types/mobile": ["./core/types/src/mobile.ts"], "@stacksjs/ui": ["./core/ui/src/index.ts"], "@stacksjs/ui/components": ["./core/ui/src/components.ts"], "@stacksjs/utils": ["./core/utils/src/index.ts"], "@stacksjs/utils/*": ["./core/utils/src/*.ts"], "@stacksjs/utils/*.js": ["./core/utils/src/*.ts"], "@stacksjs/validation": ["./core/validation/src/index.ts"], "@stacksjs/validation/*": ["./core/validation/src/*.ts"], "@stacksjs/validation/*.js": ["./core/validation/src/*.ts"], "@stacksjs/validation/runtime": ["./core/validation/src/runtime.ts"], "@stacksjs/video": ["./core/video/src/index.ts"], "@stacksjs/whois": ["./core/whois/src/index.ts"], "@stacksjs/whois/*": ["./core/whois/src/*.ts"], "@stacksjs/whois/*.js": ["./core/whois/src/*.ts"], "stacks": ["./core/buddy/src/index.ts"], "stacks/actions": ["./core/actions/src/index.ts"], "stacks/ai": ["./core/ai/src/index.ts"], "stacks/alias": ["./core/alias/src/index.ts"], "stacks/analytics": ["./core/analytics/src/index.ts"], "stacks/api": ["./core/api/src/index.ts"], "stacks/arrays": ["./core/arrays/src/index.ts"], "stacks/audio": ["./core/audio/src/index.ts"], "stacks/auth": ["./core/auth/src/index.ts"], "stacks/browser-extension": ["./core/browser-extension/src/index.ts"], "stacks/buddy": ["./core/buddy/src/index.ts"], "stacks/build": ["./core/build/src/index.ts"], "stacks/cache": ["./core/cache/src/index.ts"], "stacks/chat": ["./core/chat/src/index.ts"], "stacks/cli": ["./core/cli/src/index.ts"], "stacks/cloud": ["./core/cloud/src/index.ts"], "stacks/cms": ["./core/cms/src/index.ts"], "stacks/collections": ["./core/collections/src/index.ts"], "stacks/commerce": ["./core/commerce/src/index.ts"], "stacks/config": ["./core/config/src/index.ts"], "stacks/database": ["./core/database/src/index.ts"], "stacks/datetime": ["./core/datetime/src/index.ts"], "stacks/desktop": ["./core/desktop/src/index.ts"], "stacks/development": ["./core/development/index.ts"], "stacks/dns": ["./core/dns/src/index.ts"], "stacks/docs": ["./core/docs/src/index.ts"], "stacks/email": ["./core/email/src/index.ts"], "stacks/enums": ["./core/enums/src/index.ts"], "stacks/error-handling": ["./core/error-handling/src/index.ts"], "stacks/events": ["./core/events/src/index.ts"], "stacks/faker": ["./core/faker/src/index.ts"], "stacks/feature-flags": ["./core/feature-flags/src/index.ts"], "stacks/git": ["./core/git/src/index.ts"], "stacks/health": ["./core/health/src/index.ts"], "stacks/image": ["./core/image/src/index.ts"], "stacks/lint": ["./core/lint/src/index.ts"], "stacks/logging": ["./core/logging/src/index.ts"], "stacks/mobile": ["./core/mobile/src/index.ts"], "stacks/notifications": ["./core/notifications/src/index.ts"], "stacks/objects": ["./core/objects/src/index.ts"], "stacks/orm": ["./core/orm/src/index.ts"], "stacks/path": ["./core/path/src/index.ts"], "stacks/payments": ["./core/payments/src/index.ts"], "stacks/push": ["./core/push/src/index.ts"], "stacks/query-builder": ["./core/query-builder/src/index.ts"], "stacks/queue": ["./core/queue/src/index.ts"], "stacks/realtime": ["./core/realtime/src/index.ts"], "stacks/repl": ["./core/repl/src/index.ts"], "stacks/router": ["./core/router/src/index.ts"], "stacks/scheduler": ["./core/scheduler/src/index.ts"], "stacks/search-engine": ["./core/search-engine/src/index.ts"], "stacks/security": ["./core/security/src/index.ts"], "stacks/server": ["./core/server/src/index.ts"], "stacks/skills": ["./core/skills/src/index.ts"], "stacks/slug": ["./core/slug/src/index.ts"], "stacks/sms": ["./core/sms/src/index.ts"], "stacks/storage": ["./core/storage/src/index.ts"], "stacks/strings": ["./core/strings/src/index.ts"], "stacks/support": ["./core/support/src/index.ts"], "stacks/telephony": ["./core/telephony/src/index.ts"], "stacks/testing": ["./core/testing/src/index.ts"], "stacks/tinker": ["./core/tinker/src/index.ts"], "stacks/tunnel": ["./core/tunnel/src/index.ts"], "stacks/types": ["./core/types/src/index.ts"], "stacks/ui": ["./core/ui/src/index.ts"], "stacks/utils": ["./core/utils/src/index.ts"], "stacks/validation": ["./core/validation/src/index.ts"], "stacks/video": ["./core/video/src/index.ts"], "buddy": ["./core/buddy/src/index.ts"], "buddy/*": ["./core/buddy/src/*"], "Actions/*": ["../../app/Actions/*"], "Commands/*": ["../../app/Commands/*"], "Jobs/*": ["../../app/Jobs/*"], "Middleware/*": ["../../app/Middleware/*"], "Models/*": ["../../app/Models/*"], "Notifications/*": ["../../app/Notifications/*"], "~/*": ["../../*"], "@/*": ["../../resources/*"], "ts-pantry": ["../../node_modules/ts-pantry"], "*": ["../../node_modules/*","../../pantry/*"] } }, "include": [ "./**/*.ts", "./**/*.d.ts" ], "exclude": [ "./**/cdk.out/**", "./**/dist/**", "./**/fixtures/**", "./**/out/**", "./**/tests/**", "./**/*.test.ts", "./**/*.spec.ts", "./**/build.ts", "./auto-imports/**", "./core/deploy/**", // `@stacksjs/defaults` copies the whole of `defaults/` into `core/defaults/` // at build time, plus a `project/` tree of root support files. Those copies // are generated, gitignored duplicates that resolve their imports from the // wrong directory, so checking them reports phantom errors about code that // is already checked where it actually lives. Worse than noise: the copied // `project/.../model-events.d.ts` augments the real `@stacksjs/events` // module from a place where its models barrel does not exist, so the event // map widened to an index signature and every model event failed TS2411 - // 816 errors after any local build, on a tree CI never builds. Excluded // whole; the package's own tracked files are its build script (excluded // above) and its tests (excluded above). "./core/defaults/**", "./core/models/**", "./core/requests/**", // The source of the two directories above. Checked by // `tsconfig.defaults.json`, which resolves it as the app code it becomes // once `:install` publishes it. (This note used to claim it was // "checked as part of the app" - the app config never included the path, // so nothing checked this tree at all and it drifted for months.) "./defaults/**", "./frontend-dist/**", "./libs/packages/**", // Runtime state, not source: stx's build cache and the CLI's scratch // directory. Both are gitignored and can be deleted at any time. "./stx/**", "./runtime/**", "./.cache/**", "./server/app/**", "./server/config/**", "./server/core/**", "./server/docs/**", "./server/routes/**", "./server/storage/**", "./views/**" ] }