{ "compilerOptions": { // `baseUrl` was deprecated in TS 6.0 and will be removed in TS 7.0. // We rely on TypeScript's automatic `paths`-relative resolution // (introduced in 4.1) so the path mappings keep working — they're // resolved relative to this file's directory. "target": "esnext", // Include DOM types because several core packages re-export from // `@stacksjs/browser` (utils, composables, ui, dashboard) and // those modules legitimately reference `window`, `document`, // `HTMLElement`, etc. Pure server packages can still opt to a // narrower lib via their own tsconfig if they want stricter // browser-API isolation. "lib": ["esnext", "dom", "dom.iterable"], "moduleDetection": "force", "module": "esnext", "moduleResolution": "bundler", "paths": { // Generated workspace identities and public exports. Run bun .github/scripts/generate-workspace-aliases.ts. "@stacksjs/action-runner": ["./action-runner/src/index.ts"], "@stacksjs/action-runner/*": ["./action-runner/src/*"], "@stacksjs/actions": ["./actions/src/index.ts"], "@stacksjs/actions/*": ["./actions/src/*.ts"], "@stacksjs/actions/run-action": ["./actions/src/run-action.ts"], "@stacksjs/actions/runtime": ["./actions/src/runtime.ts"], "@stacksjs/ai": ["./ai/src/index.ts"], "@stacksjs/ai/*": ["./ai/src/*.ts"], "@stacksjs/ai/*.js": ["./ai/src/*.ts"], "@stacksjs/alias": ["./alias/src/index.ts"], "@stacksjs/analytics": ["./analytics/src/index.ts"], "@stacksjs/api": ["./api/src/index.ts"], "@stacksjs/api/*": ["./api/src/*.ts"], "@stacksjs/api/*.js": ["./api/src/*.ts"], "@stacksjs/arrays": ["./arrays/src/index.ts"], "@stacksjs/arrays/*": ["./arrays/src/*.ts"], "@stacksjs/arrays/*.js": ["./arrays/src/*.ts"], "@stacksjs/audio": ["./audio/src/index.ts"], "@stacksjs/auth": ["./auth/src/index.ts"], "@stacksjs/auth/*": ["./auth/src/*.ts"], "@stacksjs/auth/*.js": ["./auth/src/*.ts"], "@stacksjs/browser": ["./browser/src/index.ts"], "@stacksjs/browser-extension": ["./browser-extension/src/index.ts"], "@stacksjs/browser-extension/*": ["./browser-extension/src/*.ts"], "@stacksjs/browser-extension/*.js": ["./browser-extension/src/*.ts"], "@stacksjs/browser/*": ["./browser/src/*.ts"], "@stacksjs/browser/composables": ["./browser/src/composables/index.ts"], "@stacksjs/browser/composables/*": ["./browser/src/composables/*.ts"], "@stacksjs/browser/model-glob": ["./browser/src/model-glob.ts"], "@stacksjs/browser/utils": ["./browser/src/utils/index.ts"], "@stacksjs/buddy": ["./buddy/src/index.ts"], "@stacksjs/buddy/*": ["./buddy/src/*.ts"], "@stacksjs/buddy/*.js": ["./buddy/src/*.ts"], "@stacksjs/buddy/cli": ["./buddy/src/cli.ts"], "@stacksjs/build": ["./build/src/index.ts"], "@stacksjs/build/*": ["./build/src/*.ts"], "@stacksjs/build/*.js": ["./build/src/*.ts"], "@stacksjs/cache": ["./cache/src/index.ts"], "@stacksjs/cache/*": ["./cache/src/*.ts"], "@stacksjs/cache/*.js": ["./cache/src/*.ts"], "@stacksjs/calendar-api": ["./calendar-api/src/index.ts"], "@stacksjs/calendar-api/*": ["./calendar-api/src/*.ts"], "@stacksjs/calendar-api/*.js": ["./calendar-api/src/*.ts"], "@stacksjs/charts": ["./charts/src/index.ts"], "@stacksjs/charts/*": ["./charts/src/*.ts"], "@stacksjs/charts/*.js": ["./charts/src/*.ts"], "@stacksjs/chat": ["./chat/src/index.ts"], "@stacksjs/chat/*": ["./chat/src/*.ts"], "@stacksjs/chat/*.js": ["./chat/src/*.ts"], "@stacksjs/cli": ["./cli/src/index.ts"], "@stacksjs/cli/*": ["./cli/src/*.ts"], "@stacksjs/cli/*.js": ["./cli/src/*.ts"], "@stacksjs/cloud": ["./cloud/src/index.ts"], "@stacksjs/cloud/*": ["./cloud/src/*.ts"], "@stacksjs/cloud/*.js": ["./cloud/src/*.ts"], "@stacksjs/cms": ["./cms/src/index.ts"], "@stacksjs/cms/*": ["./cms/src/*.ts"], "@stacksjs/cms/*.js": ["./cms/src/*.ts"], "@stacksjs/collections": ["./collections/src/index.ts"], "@stacksjs/collections/*": ["./collections/src/*.ts"], "@stacksjs/collections/*.js": ["./collections/src/*.ts"], "@stacksjs/commerce": ["./commerce/src/index.ts"], "@stacksjs/commerce/*": ["./commerce/src/*.ts"], "@stacksjs/commerce/*.js": ["./commerce/src/*.ts"], "@stacksjs/composables": ["./composables/src/index.ts"], "@stacksjs/composables/*": ["./composables/src/*.ts"], "@stacksjs/config": ["./config/src/index.ts"], "@stacksjs/config/*": ["./config/src/*.ts"], "@stacksjs/config/*.js": ["./config/src/*.ts"], "@stacksjs/cron": ["./cron/src/index.ts"], "@stacksjs/cron/*": ["./cron/src/*.ts"], "@stacksjs/cron/*.js": ["./cron/src/*.ts"], "@stacksjs/database": ["./database/src/index.ts"], "@stacksjs/database/*": ["./database/src/*.ts"], "@stacksjs/database/*.js": ["./database/src/*.ts"], "@stacksjs/database/runtime": ["./database/src/runtime.ts"], "@stacksjs/datetime": ["./datetime/src/index.ts"], "@stacksjs/datetime/*": ["./datetime/src/*.ts"], "@stacksjs/datetime/*.js": ["./datetime/src/*.ts"], "@stacksjs/defaults/*": ["./../defaults/*"], "@stacksjs/defaults/package.json": ["./defaults/package.json"], "@stacksjs/defaults/resources/plugins/preloader": ["./../defaults/resources/plugins/preloader.ts"], "@stacksjs/deploy": ["./deploy/index.ts"], "@stacksjs/desktop-build": ["./desktop/src/index.ts"], "@stacksjs/desktop-build/*": ["./desktop/src/*.ts"], "@stacksjs/desktop-build/*.js": ["./desktop/src/*.ts"], "@stacksjs/desktop-build/probe": ["./desktop/src/probe/index.ts"], "@stacksjs/development": ["./development/index.ts"], "@stacksjs/dns": ["./dns/src/index.ts"], "@stacksjs/dns/*": ["./dns/src/*.ts"], "@stacksjs/dns/*.js": ["./dns/src/*.ts"], "@stacksjs/docs": ["./docs/src/index.ts"], "@stacksjs/docs/*": ["./docs/src/*.ts"], "@stacksjs/docs/*.js": ["./docs/src/*.ts"], "@stacksjs/email": ["./email/src/index.ts"], "@stacksjs/email/*": ["./email/src/*.ts"], "@stacksjs/email/*.js": ["./email/src/*.ts"], "@stacksjs/enums": ["./enums/src/index.ts"], "@stacksjs/enums/*": ["./enums/src/*.ts"], "@stacksjs/enums/*.js": ["./enums/src/*.ts"], "@stacksjs/env": ["./env/src/index.ts"], "@stacksjs/env/*": ["./env/src/*.ts"], "@stacksjs/env/*.js": ["./env/src/*.ts"], "@stacksjs/error-handling": ["./error-handling/src/index.ts"], "@stacksjs/error-handling/*": ["./error-handling/src/*.ts"], "@stacksjs/error-handling/*.js": ["./error-handling/src/*.ts"], "@stacksjs/events": ["./events/src/index.ts"], "@stacksjs/events/*": ["./events/src/*.ts"], "@stacksjs/events/*.js": ["./events/src/*.ts"], "@stacksjs/faker": ["./faker/src/index.ts"], "@stacksjs/faker/*": ["./faker/src/*.ts"], "@stacksjs/faker/*.js": ["./faker/src/*.ts"], "@stacksjs/feature-flags": ["./feature-flags/src/index.ts"], "@stacksjs/feature-flags/*": ["./feature-flags/src/*.ts"], "@stacksjs/feature-flags/*.js": ["./feature-flags/src/*.ts"], "@stacksjs/features": ["./features/src/index.ts"], "@stacksjs/features/*": ["./features/src/*"], "@stacksjs/features/names": ["./features/src/names.ts"], "@stacksjs/forms": ["./forms/src/index.ts"], "@stacksjs/forms/*": ["./forms/src/*.ts"], "@stacksjs/forms/*.js": ["./forms/src/*.ts"], "@stacksjs/git": ["./git/src/index.ts"], "@stacksjs/git/*": ["./git/src/*.ts"], "@stacksjs/git/*.js": ["./git/src/*.ts"], "@stacksjs/github": ["./github/src/index.ts"], "@stacksjs/health": ["./health/src/index.ts"], "@stacksjs/health/*": ["./health/src/*.ts"], "@stacksjs/health/*.js": ["./health/src/*.ts"], "@stacksjs/hq": ["./hq/src/index.ts"], "@stacksjs/hq/*": ["./hq/src/*.ts"], "@stacksjs/hq/*.js": ["./hq/src/*.ts"], "@stacksjs/http": ["./http/src/index.ts"], "@stacksjs/http/*": ["./http/src/*.ts"], "@stacksjs/http/*.js": ["./http/src/*.ts"], "@stacksjs/i18n": ["./i18n/src/index.ts"], "@stacksjs/i18n/client": ["./i18n/src/client.ts"], "@stacksjs/i18n/stx": ["./i18n/src/stx.ts"], "@stacksjs/image": ["./image/src/index.ts"], "@stacksjs/lint": ["./lint/src/index.ts"], "@stacksjs/lint/*": ["./lint/src/*.ts"], "@stacksjs/lint/*.js": ["./lint/src/*.ts"], "@stacksjs/logging": ["./logging/src/index.ts"], "@stacksjs/logging/*": ["./logging/src/*.ts"], "@stacksjs/logging/*.js": ["./logging/src/*.ts"], "@stacksjs/logging/runtime": ["./logging/src/runtime.ts"], "@stacksjs/mobile": ["./mobile/src/index.ts"], "@stacksjs/mobile/testing": ["./mobile/src/testing.ts"], "@stacksjs/model-meta": ["./model-meta/src/index.ts"], "@stacksjs/model-meta/*": ["./model-meta/src/*"], "@stacksjs/newsletter": ["./newsletter/src/index.ts"], "@stacksjs/newsletter/*": ["./newsletter/src/*.ts"], "@stacksjs/newsletter/*.js": ["./newsletter/src/*.ts"], "@stacksjs/notifications": ["./notifications/src/index.ts"], "@stacksjs/notifications/*": ["./notifications/src/*.ts"], "@stacksjs/notifications/*.js": ["./notifications/src/*.ts"], "@stacksjs/objects": ["./objects/src/index.ts"], "@stacksjs/objects/*": ["./objects/src/*.ts"], "@stacksjs/objects/*.js": ["./objects/src/*.ts"], "@stacksjs/orm": ["./orm/src/index.ts"], "@stacksjs/orm/*": ["./orm/src/*.ts"], "@stacksjs/orm/*.js": ["./orm/src/*.ts"], "@stacksjs/orm/traits/*": ["./orm/src/traits/*.ts"], "@stacksjs/pagination": ["./pagination/src/index.ts"], "@stacksjs/pagination/*": ["./pagination/src/*"], "@stacksjs/path": ["./path/src/index.ts"], "@stacksjs/path/module-resolution": ["./path/src/module-resolution.ts"], "@stacksjs/path/project": ["./path/src/project.ts"], "@stacksjs/payments": ["./payments/src/index.ts"], "@stacksjs/payments/*": ["./payments/src/*.ts"], "@stacksjs/payments/*.js": ["./payments/src/*.ts"], "@stacksjs/push": ["./push/src/index.ts"], "@stacksjs/push/*": ["./push/src/*.ts"], "@stacksjs/push/*.js": ["./push/src/*.ts"], "@stacksjs/query-builder": ["./query-builder/src/index.ts"], "@stacksjs/query-builder/*": ["./query-builder/src/*.ts"], "@stacksjs/query-builder/*.js": ["./query-builder/src/*.ts"], "@stacksjs/queue": ["./queue/src/index.ts"], "@stacksjs/queue/*": ["./queue/src/*.ts"], "@stacksjs/queue/*.js": ["./queue/src/*.ts"], "@stacksjs/realtime": ["./realtime/src/index.ts"], "@stacksjs/realtime/*": ["./realtime/src/*.ts"], "@stacksjs/realtime/*.js": ["./realtime/src/*.ts"], "@stacksjs/registry": ["./registry/src/index.ts"], "@stacksjs/repl": ["./repl/src/index.ts"], "@stacksjs/repl/*": ["./repl/src/*.ts"], "@stacksjs/repl/*.js": ["./repl/src/*.ts"], "@stacksjs/router": ["./router/src/index.ts"], "@stacksjs/router/*": ["./router/src/*.ts"], "@stacksjs/router/*.js": ["./router/src/*.ts"], "@stacksjs/router/runtime": ["./router/src/runtime.ts"], "@stacksjs/scheduler": ["./scheduler/src/index.ts"], "@stacksjs/scheduler/*": ["./scheduler/src/*.ts"], "@stacksjs/scheduler/*.js": ["./scheduler/src/*.ts"], "@stacksjs/search-engine": ["./search-engine/src/index.ts"], "@stacksjs/search-engine/*": ["./search-engine/src/*.ts"], "@stacksjs/search-engine/*.js": ["./search-engine/src/*.ts"], "@stacksjs/security": ["./security/src/index.ts"], "@stacksjs/security/*": ["./security/src/*.ts"], "@stacksjs/security/*.js": ["./security/src/*.ts"], "@stacksjs/security/key": ["./security/src/key.ts"], "@stacksjs/security/scan": ["./security/src/scan.ts"], "@stacksjs/server": ["./server/src/index.ts"], "@stacksjs/server/*": ["./server/src/*.ts"], "@stacksjs/server/*.js": ["./server/src/*.ts"], "@stacksjs/shell": ["./shell/src/index.ts"], "@stacksjs/sites": ["./sites/src/index.ts"], "@stacksjs/sites/*": ["./sites/src/*.ts"], "@stacksjs/sites/*.js": ["./sites/src/*.ts"], "@stacksjs/skills": ["./skills/src/index.ts"], "@stacksjs/skills/*": ["./skills/src/*.ts"], "@stacksjs/skills/*.js": ["./skills/src/*.ts"], "@stacksjs/slug": ["./slug/src/index.ts"], "@stacksjs/slug/*": ["./slug/src/*.ts"], "@stacksjs/slug/*.js": ["./slug/src/*.ts"], "@stacksjs/sms": ["./sms/src/index.ts"], "@stacksjs/sms/*": ["./sms/src/*.ts"], "@stacksjs/sms/*.js": ["./sms/src/*.ts"], "@stacksjs/socials": ["./socials/src/index.ts"], "@stacksjs/socials/*": ["./socials/src/*.ts"], "@stacksjs/socials/*.js": ["./socials/src/*.ts"], "@stacksjs/storage": ["./storage/src/index.ts"], "@stacksjs/storage/*": ["./storage/src/*.ts"], "@stacksjs/storage/*.js": ["./storage/src/*.ts"], "@stacksjs/strings": ["./strings/src/index.ts"], "@stacksjs/strings/*": ["./strings/src/*.ts"], "@stacksjs/strings/*.js": ["./strings/src/*.ts"], "@stacksjs/support": ["./support/src/index.ts"], "@stacksjs/support/browser": ["./support/src/browser.ts"], "@stacksjs/support/server": ["./support/src/server.ts"], "@stacksjs/support/testing": ["./support/src/testing.ts"], "@stacksjs/telephony": ["./telephony/src/index.ts"], "@stacksjs/telephony/testing": ["./telephony/src/testing.ts"], "@stacksjs/testing": ["./testing/src/index.ts"], "@stacksjs/testing/*": ["./testing/src/*.ts"], "@stacksjs/testing/*.js": ["./testing/src/*.ts"], "@stacksjs/testing/browser": ["./testing/src/browser.ts"], "@stacksjs/testing/database": ["./testing/src/database.ts"], "@stacksjs/testing/dynamodb": ["./testing/src/dynamodb.ts"], "@stacksjs/testing/hq": ["./testing/src/hq.ts"], "@stacksjs/testing/time": ["./testing/src/time.ts"], "@stacksjs/tinker": ["./tinker/src/index.ts"], "@stacksjs/tinker/*": ["./tinker/src/*.ts"], "@stacksjs/tinker/*.js": ["./tinker/src/*.ts"], "@stacksjs/tunnel": ["./tunnel/src/index.ts"], "@stacksjs/tunnel/*": ["./tunnel/src/*.ts"], "@stacksjs/tunnel/*.js": ["./tunnel/src/*.ts"], "@stacksjs/types": ["./types/src/index.ts"], "@stacksjs/types/*": ["./types/src/*.ts"], "@stacksjs/types/*.js": ["./types/src/*.ts"], "@stacksjs/types/library": ["./types/src/library.ts"], "@stacksjs/types/mobile": ["./types/src/mobile.ts"], "@stacksjs/ui": ["./ui/src/index.ts"], "@stacksjs/ui/components": ["./ui/src/components.ts"], "@stacksjs/utils": ["./utils/src/index.ts"], "@stacksjs/utils/*": ["./utils/src/*.ts"], "@stacksjs/utils/*.js": ["./utils/src/*.ts"], "@stacksjs/validation": ["./validation/src/index.ts"], "@stacksjs/validation/*": ["./validation/src/*.ts"], "@stacksjs/validation/*.js": ["./validation/src/*.ts"], "@stacksjs/validation/runtime": ["./validation/src/runtime.ts"], "@stacksjs/video": ["./video/src/index.ts"], "@stacksjs/whois": ["./whois/src/index.ts"], "@stacksjs/whois/*": ["./whois/src/*.ts"], "@stacksjs/whois/*.js": ["./whois/src/*.ts"], "stacks": ["./buddy/src/index.ts"], "stacks/actions": ["./actions/src/index.ts"], "stacks/ai": ["./ai/src/index.ts"], "stacks/alias": ["./alias/src/index.ts"], "stacks/analytics": ["./analytics/src/index.ts"], "stacks/api": ["./api/src/index.ts"], "stacks/arrays": ["./arrays/src/index.ts"], "stacks/audio": ["./audio/src/index.ts"], "stacks/auth": ["./auth/src/index.ts"], "stacks/browser-extension": ["./browser-extension/src/index.ts"], "stacks/buddy": ["./buddy/src/index.ts"], "stacks/build": ["./build/src/index.ts"], "stacks/cache": ["./cache/src/index.ts"], "stacks/chat": ["./chat/src/index.ts"], "stacks/cli": ["./cli/src/index.ts"], "stacks/cloud": ["./cloud/src/index.ts"], "stacks/cms": ["./cms/src/index.ts"], "stacks/collections": ["./collections/src/index.ts"], "stacks/commerce": ["./commerce/src/index.ts"], "stacks/config": ["./config/src/index.ts"], "stacks/database": ["./database/src/index.ts"], "stacks/datetime": ["./datetime/src/index.ts"], "stacks/desktop": ["./desktop/src/index.ts"], "stacks/development": ["./development/index.ts"], "stacks/dns": ["./dns/src/index.ts"], "stacks/docs": ["./docs/src/index.ts"], "stacks/email": ["./email/src/index.ts"], "stacks/enums": ["./enums/src/index.ts"], "stacks/error-handling": ["./error-handling/src/index.ts"], "stacks/events": ["./events/src/index.ts"], "stacks/faker": ["./faker/src/index.ts"], "stacks/feature-flags": ["./feature-flags/src/index.ts"], "stacks/git": ["./git/src/index.ts"], "stacks/health": ["./health/src/index.ts"], "stacks/image": ["./image/src/index.ts"], "stacks/lint": ["./lint/src/index.ts"], "stacks/logging": ["./logging/src/index.ts"], "stacks/mobile": ["./mobile/src/index.ts"], "stacks/notifications": ["./notifications/src/index.ts"], "stacks/objects": ["./objects/src/index.ts"], "stacks/orm": ["./orm/src/index.ts"], "stacks/path": ["./path/src/index.ts"], "stacks/payments": ["./payments/src/index.ts"], "stacks/push": ["./push/src/index.ts"], "stacks/query-builder": ["./query-builder/src/index.ts"], "stacks/queue": ["./queue/src/index.ts"], "stacks/realtime": ["./realtime/src/index.ts"], "stacks/repl": ["./repl/src/index.ts"], "stacks/router": ["./router/src/index.ts"], "stacks/scheduler": ["./scheduler/src/index.ts"], "stacks/search-engine": ["./search-engine/src/index.ts"], "stacks/security": ["./security/src/index.ts"], "stacks/server": ["./server/src/index.ts"], "stacks/skills": ["./skills/src/index.ts"], "stacks/slug": ["./slug/src/index.ts"], "stacks/sms": ["./sms/src/index.ts"], "stacks/storage": ["./storage/src/index.ts"], "stacks/strings": ["./strings/src/index.ts"], "stacks/support": ["./support/src/index.ts"], "stacks/telephony": ["./telephony/src/index.ts"], "stacks/testing": ["./testing/src/index.ts"], "stacks/tinker": ["./tinker/src/index.ts"], "stacks/tunnel": ["./tunnel/src/index.ts"], "stacks/types": ["./types/src/index.ts"], "stacks/ui": ["./ui/src/index.ts"], "stacks/utils": ["./utils/src/index.ts"], "stacks/validation": ["./validation/src/index.ts"], "stacks/video": ["./video/src/index.ts"], "~/*": ["../../../*"], "ts-pantry": ["../../../node_modules/ts-pantry"], "*": ["../../../node_modules/*","../../../pantry/*"] }, "resolveJsonModule": true, "types": ["bun"], "allowImportingTsExtensions": true, "strict": true, "strictNullChecks": true, "noUncheckedIndexedAccess": true, "noFallthroughCasesInSwitch": true, "declaration": true, "noEmit": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "isolatedDeclarations": true, "isolatedModules": true, "verbatimModuleSyntax": true, "skipDefaultLibCheck": true, "skipLibCheck": true }, "exclude": [ "./*/dist/**", "./*/tests/**", "./*/build.ts", "./*/*.test.ts", "./*/*.spec.ts" ] }