@od-oneapp/config 2026.2.2001-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +830 -0
- package/eslint/__tests__/config-structure.test.mjs +61 -0
- package/eslint/base.mjs +350 -0
- package/eslint/expo.mjs +97 -0
- package/eslint/next-test.mjs +43 -0
- package/eslint/next.mjs +74 -0
- package/eslint/node.mjs +106 -0
- package/eslint/react.mjs +313 -0
- package/eslint/rules/__tests__/no-used-underscore-vars.test.mjs +147 -0
- package/eslint/rules/no-used-underscore-vars.mjs +297 -0
- package/eslint/shared/__tests__/common-ignores.test.mjs +19 -0
- package/eslint/shared/common-ignores.mjs +172 -0
- package/eslint/shared/disabled-type-aware-rules.mjs +35 -0
- package/eslint/shared/file-patterns.mjs +124 -0
- package/eslint/shared/node-globals.mjs +50 -0
- package/eslint/storybook.mjs +81 -0
- package/eslint/test.mjs +298 -0
- package/eslint/utils/__tests__/create-validated-config.test.mjs +42 -0
- package/eslint/utils/__tests__/filter-ts-eslint-configs.test.mjs +57 -0
- package/eslint/utils/__tests__/validate-config.test.mjs +104 -0
- package/eslint/utils/create-validated-config.mjs +69 -0
- package/eslint/utils/filter-ts-eslint-configs.mjs +129 -0
- package/eslint/utils/validate-config.mjs +88 -0
- package/package.json +37 -0
- package/prettier/index.mjs +15 -0
- package/stylelint/index.mjs +129 -0
- package/tsdown/README.md +287 -0
- package/tsdown/base.mjs +77 -0
- package/tsdown/browser.mjs +34 -0
- package/tsdown/client.mjs +32 -0
- package/tsdown/dist.mjs +179 -0
- package/tsdown/index.mjs +53 -0
- package/tsdown/node.mjs +39 -0
- package/tsdown/react.mjs +30 -0
- package/typescript/base.json +52 -0
- package/typescript/dist/__tests__/browser-stub.test.d.ts +2 -0
- package/typescript/dist/__tests__/browser-stub.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/browser-stub.test.js +40 -0
- package/typescript/dist/__tests__/browser-stub.test.js.map +1 -0
- package/typescript/dist/__tests__/runtime/lifecycle.test.d.ts +2 -0
- package/typescript/dist/__tests__/runtime/lifecycle.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/runtime/lifecycle.test.js +149 -0
- package/typescript/dist/__tests__/runtime/lifecycle.test.js.map +1 -0
- package/typescript/dist/__tests__/server/abort-support.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/abort-support.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/abort-support.test.js +333 -0
- package/typescript/dist/__tests__/server/abort-support.test.js.map +1 -0
- package/typescript/dist/__tests__/server/batch-processor.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/batch-processor.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/batch-processor.test.js +173 -0
- package/typescript/dist/__tests__/server/batch-processor.test.js.map +1 -0
- package/typescript/dist/__tests__/server/cache.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/cache.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/cache.test.js +343 -0
- package/typescript/dist/__tests__/server/cache.test.js.map +1 -0
- package/typescript/dist/__tests__/server/circular-deps.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/circular-deps.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/circular-deps.test.js +412 -0
- package/typescript/dist/__tests__/server/circular-deps.test.js.map +1 -0
- package/typescript/dist/__tests__/server/claude-code-env.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/claude-code-env.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/claude-code-env.test.js +387 -0
- package/typescript/dist/__tests__/server/claude-code-env.test.js.map +1 -0
- package/typescript/dist/__tests__/server/code-analysis-tool.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/code-analysis-tool.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/code-analysis-tool.test.js +430 -0
- package/typescript/dist/__tests__/server/code-analysis-tool.test.js.map +1 -0
- package/typescript/dist/__tests__/server/code-transformation.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/code-transformation.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/code-transformation.test.js +173 -0
- package/typescript/dist/__tests__/server/code-transformation.test.js.map +1 -0
- package/typescript/dist/__tests__/server/concurrency.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/concurrency.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/concurrency.test.js +31 -0
- package/typescript/dist/__tests__/server/concurrency.test.js.map +1 -0
- package/typescript/dist/__tests__/server/context.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/context.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/context.test.js +483 -0
- package/typescript/dist/__tests__/server/context.test.js.map +1 -0
- package/typescript/dist/__tests__/server/error-handling.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/error-handling.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/error-handling.test.js +68 -0
- package/typescript/dist/__tests__/server/error-handling.test.js.map +1 -0
- package/typescript/dist/__tests__/server/error-utils.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/error-utils.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/error-utils.test.js +268 -0
- package/typescript/dist/__tests__/server/error-utils.test.js.map +1 -0
- package/typescript/dist/__tests__/server/files.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/files.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/files.test.js +160 -0
- package/typescript/dist/__tests__/server/files.test.js.map +1 -0
- package/typescript/dist/__tests__/server/logger.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/logger.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/logger.test.js +412 -0
- package/typescript/dist/__tests__/server/logger.test.js.map +1 -0
- package/typescript/dist/__tests__/server/path-manager.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/path-manager.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/path-manager.test.js +406 -0
- package/typescript/dist/__tests__/server/path-manager.test.js.map +1 -0
- package/typescript/dist/__tests__/server/retry-operations.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/retry-operations.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/retry-operations.test.js +119 -0
- package/typescript/dist/__tests__/server/retry-operations.test.js.map +1 -0
- package/typescript/dist/__tests__/server/retry.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/retry.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/retry.test.js +70 -0
- package/typescript/dist/__tests__/server/retry.test.js.map +1 -0
- package/typescript/dist/__tests__/server/retryable.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/retryable.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/retryable.test.js +23 -0
- package/typescript/dist/__tests__/server/retryable.test.js.map +1 -0
- package/typescript/dist/__tests__/server/scheduler.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/scheduler.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/scheduler.test.js +14 -0
- package/typescript/dist/__tests__/server/scheduler.test.js.map +1 -0
- package/typescript/dist/__tests__/server/security.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/security.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/security.test.js +286 -0
- package/typescript/dist/__tests__/server/security.test.js.map +1 -0
- package/typescript/dist/__tests__/server/session-management.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/session-management.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/session-management.test.js +399 -0
- package/typescript/dist/__tests__/server/session-management.test.js.map +1 -0
- package/typescript/dist/__tests__/server/session-recovery.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/session-recovery.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/session-recovery.test.js +417 -0
- package/typescript/dist/__tests__/server/session-recovery.test.js.map +1 -0
- package/typescript/dist/__tests__/server/session.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/session.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/session.test.js +102 -0
- package/typescript/dist/__tests__/server/session.test.js.map +1 -0
- package/typescript/dist/__tests__/server/simple-tools.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/simple-tools.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/simple-tools.test.js +56 -0
- package/typescript/dist/__tests__/server/simple-tools.test.js.map +1 -0
- package/typescript/dist/__tests__/server/streaming-utilities.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/streaming-utilities.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/streaming-utilities.test.js +338 -0
- package/typescript/dist/__tests__/server/streaming-utilities.test.js.map +1 -0
- package/typescript/dist/__tests__/server/streams.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/streams.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/streams.test.js +282 -0
- package/typescript/dist/__tests__/server/streams.test.js.map +1 -0
- package/typescript/dist/__tests__/server/stringify-advanced.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/stringify-advanced.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/stringify-advanced.test.js +152 -0
- package/typescript/dist/__tests__/server/stringify-advanced.test.js.map +1 -0
- package/typescript/dist/__tests__/server/structured-clone-tool.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/structured-clone-tool.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/structured-clone-tool.test.js +751 -0
- package/typescript/dist/__tests__/server/structured-clone-tool.test.js.map +1 -0
- package/typescript/dist/__tests__/server/structured-clone.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/structured-clone.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/structured-clone.test.js +305 -0
- package/typescript/dist/__tests__/server/structured-clone.test.js.map +1 -0
- package/typescript/dist/__tests__/server/tool-helpers.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/tool-helpers.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/tool-helpers.test.js +51 -0
- package/typescript/dist/__tests__/server/tool-helpers.test.js.map +1 -0
- package/typescript/dist/__tests__/server/validation.test.d.ts +2 -0
- package/typescript/dist/__tests__/server/validation.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/server/validation.test.js +585 -0
- package/typescript/dist/__tests__/server/validation.test.js.map +1 -0
- package/typescript/dist/__tests__/shared/constants.test.d.ts +2 -0
- package/typescript/dist/__tests__/shared/constants.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/shared/constants.test.js +11 -0
- package/typescript/dist/__tests__/shared/constants.test.js.map +1 -0
- package/typescript/dist/__tests__/shared/environment.test.d.ts +2 -0
- package/typescript/dist/__tests__/shared/environment.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/shared/environment.test.js +279 -0
- package/typescript/dist/__tests__/shared/environment.test.js.map +1 -0
- package/typescript/dist/__tests__/shared/stringify.test.d.ts +2 -0
- package/typescript/dist/__tests__/shared/stringify.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/shared/stringify.test.js +171 -0
- package/typescript/dist/__tests__/shared/stringify.test.js.map +1 -0
- package/typescript/dist/__tests__/shared/timeout.test.d.ts +2 -0
- package/typescript/dist/__tests__/shared/timeout.test.d.ts.map +1 -0
- package/typescript/dist/__tests__/shared/timeout.test.js +262 -0
- package/typescript/dist/__tests__/shared/timeout.test.js.map +1 -0
- package/typescript/dist/src/App.d.ts +3 -0
- package/typescript/dist/src/App.d.ts.map +1 -0
- package/typescript/dist/src/App.js +27 -0
- package/typescript/dist/src/App.js.map +1 -0
- package/typescript/dist/src/components/charts/BenchmarkCard.d.ts +12 -0
- package/typescript/dist/src/components/charts/BenchmarkCard.d.ts.map +1 -0
- package/typescript/dist/src/components/charts/BenchmarkCard.js +23 -0
- package/typescript/dist/src/components/charts/BenchmarkCard.js.map +1 -0
- package/typescript/dist/src/components/charts/ComparisonBar.d.ts +11 -0
- package/typescript/dist/src/components/charts/ComparisonBar.d.ts.map +1 -0
- package/typescript/dist/src/components/charts/ComparisonBar.js +34 -0
- package/typescript/dist/src/components/charts/ComparisonBar.js.map +1 -0
- package/typescript/dist/src/components/charts/PercentileGauge.d.ts +10 -0
- package/typescript/dist/src/components/charts/PercentileGauge.d.ts.map +1 -0
- package/typescript/dist/src/components/charts/PercentileGauge.js +68 -0
- package/typescript/dist/src/components/charts/PercentileGauge.js.map +1 -0
- package/typescript/dist/src/components/charts/index.d.ts +4 -0
- package/typescript/dist/src/components/charts/index.d.ts.map +1 -0
- package/typescript/dist/src/components/charts/index.js +4 -0
- package/typescript/dist/src/components/charts/index.js.map +1 -0
- package/typescript/dist/src/components/filters/FilterPanel.d.ts +9 -0
- package/typescript/dist/src/components/filters/FilterPanel.d.ts.map +1 -0
- package/typescript/dist/src/components/filters/FilterPanel.js +42 -0
- package/typescript/dist/src/components/filters/FilterPanel.js.map +1 -0
- package/typescript/dist/src/components/filters/index.d.ts +2 -0
- package/typescript/dist/src/components/filters/index.d.ts.map +1 -0
- package/typescript/dist/src/components/filters/index.js +2 -0
- package/typescript/dist/src/components/filters/index.js.map +1 -0
- package/typescript/dist/src/components/ui/Button.d.ts +8 -0
- package/typescript/dist/src/components/ui/Button.d.ts.map +1 -0
- package/typescript/dist/src/components/ui/Button.js +16 -0
- package/typescript/dist/src/components/ui/Button.js.map +1 -0
- package/typescript/dist/src/components/ui/Card.d.ts +14 -0
- package/typescript/dist/src/components/ui/Card.d.ts.map +1 -0
- package/typescript/dist/src/components/ui/Card.js +27 -0
- package/typescript/dist/src/components/ui/Card.js.map +1 -0
- package/typescript/dist/src/components/ui/Input.d.ts +9 -0
- package/typescript/dist/src/components/ui/Input.d.ts.map +1 -0
- package/typescript/dist/src/components/ui/Input.js +13 -0
- package/typescript/dist/src/components/ui/Input.js.map +1 -0
- package/typescript/dist/src/components/ui/Select.d.ts +14 -0
- package/typescript/dist/src/components/ui/Select.d.ts.map +1 -0
- package/typescript/dist/src/components/ui/Select.js +13 -0
- package/typescript/dist/src/components/ui/Select.js.map +1 -0
- package/typescript/dist/src/components/ui/index.d.ts +5 -0
- package/typescript/dist/src/components/ui/index.d.ts.map +1 -0
- package/typescript/dist/src/components/ui/index.js +5 -0
- package/typescript/dist/src/components/ui/index.js.map +1 -0
- package/typescript/dist/src/index.d.ts +4 -0
- package/typescript/dist/src/index.d.ts.map +1 -0
- package/typescript/dist/src/index.js +4 -0
- package/typescript/dist/src/index.js.map +1 -0
- package/typescript/dist/src/layouts/MainLayout.d.ts +2 -0
- package/typescript/dist/src/layouts/MainLayout.d.ts.map +1 -0
- package/typescript/dist/src/layouts/MainLayout.js +45 -0
- package/typescript/dist/src/layouts/MainLayout.js.map +1 -0
- package/typescript/dist/src/lib/api/benchmarks.d.ts +87 -0
- package/typescript/dist/src/lib/api/benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/api/benchmarks.js +274 -0
- package/typescript/dist/src/lib/api/benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/api/index.d.ts +2 -0
- package/typescript/dist/src/lib/api/index.d.ts.map +1 -0
- package/typescript/dist/src/lib/api/index.js +2 -0
- package/typescript/dist/src/lib/api/index.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/accident-benchmarks.d.ts +33 -0
- package/typescript/dist/src/lib/mock-data/accident-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/accident-benchmarks.js +124 -0
- package/typescript/dist/src/lib/mock-data/accident-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.d.ts +47 -0
- package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.js +83 -0
- package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.d.ts +39 -0
- package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.js +130 -0
- package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/dental-benchmarks.d.ts +42 -0
- package/typescript/dist/src/lib/mock-data/dental-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/dental-benchmarks.js +137 -0
- package/typescript/dist/src/lib/mock-data/dental-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.d.ts +37 -0
- package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.js +128 -0
- package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/index.d.ts +3 -0
- package/typescript/dist/src/lib/mock-data/index.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/index.js +3 -0
- package/typescript/dist/src/lib/mock-data/index.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/ltd-benchmarks.d.ts +59 -0
- package/typescript/dist/src/lib/mock-data/ltd-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/ltd-benchmarks.js +127 -0
- package/typescript/dist/src/lib/mock-data/ltd-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/std-benchmarks.d.ts +51 -0
- package/typescript/dist/src/lib/mock-data/std-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/std-benchmarks.js +111 -0
- package/typescript/dist/src/lib/mock-data/std-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/vision-benchmarks.d.ts +32 -0
- package/typescript/dist/src/lib/mock-data/vision-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/vision-benchmarks.js +151 -0
- package/typescript/dist/src/lib/mock-data/vision-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.d.ts +39 -0
- package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.d.ts.map +1 -0
- package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.js +97 -0
- package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.js.map +1 -0
- package/typescript/dist/src/lib/transformers/api-to-internal.d.ts +42 -0
- package/typescript/dist/src/lib/transformers/api-to-internal.d.ts.map +1 -0
- package/typescript/dist/src/lib/transformers/api-to-internal.js +206 -0
- package/typescript/dist/src/lib/transformers/api-to-internal.js.map +1 -0
- package/typescript/dist/src/lib/transformers/index.d.ts +2 -0
- package/typescript/dist/src/lib/transformers/index.d.ts.map +1 -0
- package/typescript/dist/src/lib/transformers/index.js +2 -0
- package/typescript/dist/src/lib/transformers/index.js.map +1 -0
- package/typescript/dist/src/lib/types/accident.d.ts +46 -0
- package/typescript/dist/src/lib/types/accident.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/accident.js +223 -0
- package/typescript/dist/src/lib/types/accident.js.map +1 -0
- package/typescript/dist/src/lib/types/api-schema.d.ts +476 -0
- package/typescript/dist/src/lib/types/api-schema.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/api-schema.js +2 -0
- package/typescript/dist/src/lib/types/api-schema.js.map +1 -0
- package/typescript/dist/src/lib/types/basic-life.d.ts +30 -0
- package/typescript/dist/src/lib/types/basic-life.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/basic-life.js +137 -0
- package/typescript/dist/src/lib/types/basic-life.js.map +1 -0
- package/typescript/dist/src/lib/types/common.d.ts +99 -0
- package/typescript/dist/src/lib/types/common.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/common.js +29 -0
- package/typescript/dist/src/lib/types/common.js.map +1 -0
- package/typescript/dist/src/lib/types/critical-illness.d.ts +52 -0
- package/typescript/dist/src/lib/types/critical-illness.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/critical-illness.js +254 -0
- package/typescript/dist/src/lib/types/critical-illness.js.map +1 -0
- package/typescript/dist/src/lib/types/dental.d.ts +41 -0
- package/typescript/dist/src/lib/types/dental.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/dental.js +188 -0
- package/typescript/dist/src/lib/types/dental.js.map +1 -0
- package/typescript/dist/src/lib/types/hospital-indemnity.d.ts +41 -0
- package/typescript/dist/src/lib/types/hospital-indemnity.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/hospital-indemnity.js +191 -0
- package/typescript/dist/src/lib/types/hospital-indemnity.js.map +1 -0
- package/typescript/dist/src/lib/types/index.d.ts +12 -0
- package/typescript/dist/src/lib/types/index.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/index.js +12 -0
- package/typescript/dist/src/lib/types/index.js.map +1 -0
- package/typescript/dist/src/lib/types/ltd.d.ts +42 -0
- package/typescript/dist/src/lib/types/ltd.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/ltd.js +200 -0
- package/typescript/dist/src/lib/types/ltd.js.map +1 -0
- package/typescript/dist/src/lib/types/std.d.ts +31 -0
- package/typescript/dist/src/lib/types/std.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/std.js +144 -0
- package/typescript/dist/src/lib/types/std.js.map +1 -0
- package/typescript/dist/src/lib/types/vision.d.ts +31 -0
- package/typescript/dist/src/lib/types/vision.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/vision.js +129 -0
- package/typescript/dist/src/lib/types/vision.js.map +1 -0
- package/typescript/dist/src/lib/types/voluntary-life.d.ts +33 -0
- package/typescript/dist/src/lib/types/voluntary-life.d.ts.map +1 -0
- package/typescript/dist/src/lib/types/voluntary-life.js +144 -0
- package/typescript/dist/src/lib/types/voluntary-life.js.map +1 -0
- package/typescript/dist/src/lib/utils/format.d.ts +11 -0
- package/typescript/dist/src/lib/utils/format.d.ts.map +1 -0
- package/typescript/dist/src/lib/utils/format.js +95 -0
- package/typescript/dist/src/lib/utils/format.js.map +1 -0
- package/typescript/dist/src/lib/utils/index.d.ts +2 -0
- package/typescript/dist/src/lib/utils/index.d.ts.map +1 -0
- package/typescript/dist/src/lib/utils/index.js +2 -0
- package/typescript/dist/src/lib/utils/index.js.map +1 -0
- package/typescript/dist/src/main.d.ts +2 -0
- package/typescript/dist/src/main.d.ts.map +1 -0
- package/typescript/dist/src/main.js +20 -0
- package/typescript/dist/src/main.js.map +1 -0
- package/typescript/dist/src/pages/AccidentComparison.d.ts +2 -0
- package/typescript/dist/src/pages/AccidentComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/AccidentComparison.js +56 -0
- package/typescript/dist/src/pages/AccidentComparison.js.map +1 -0
- package/typescript/dist/src/pages/AccidentExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/AccidentExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/AccidentExplorer.js +29 -0
- package/typescript/dist/src/pages/AccidentExplorer.js.map +1 -0
- package/typescript/dist/src/pages/BasicLifeComparison.d.ts +2 -0
- package/typescript/dist/src/pages/BasicLifeComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/BasicLifeComparison.js +59 -0
- package/typescript/dist/src/pages/BasicLifeComparison.js.map +1 -0
- package/typescript/dist/src/pages/BasicLifeExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/BasicLifeExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/BasicLifeExplorer.js +29 -0
- package/typescript/dist/src/pages/BasicLifeExplorer.js.map +1 -0
- package/typescript/dist/src/pages/CriticalIllnessComparison.d.ts +2 -0
- package/typescript/dist/src/pages/CriticalIllnessComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/CriticalIllnessComparison.js +56 -0
- package/typescript/dist/src/pages/CriticalIllnessComparison.js.map +1 -0
- package/typescript/dist/src/pages/CriticalIllnessExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/CriticalIllnessExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/CriticalIllnessExplorer.js +29 -0
- package/typescript/dist/src/pages/CriticalIllnessExplorer.js.map +1 -0
- package/typescript/dist/src/pages/Dashboard.d.ts +2 -0
- package/typescript/dist/src/pages/Dashboard.d.ts.map +1 -0
- package/typescript/dist/src/pages/Dashboard.js +8 -0
- package/typescript/dist/src/pages/Dashboard.js.map +1 -0
- package/typescript/dist/src/pages/DentalComparison.d.ts +2 -0
- package/typescript/dist/src/pages/DentalComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/DentalComparison.js +64 -0
- package/typescript/dist/src/pages/DentalComparison.js.map +1 -0
- package/typescript/dist/src/pages/DentalExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/DentalExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/DentalExplorer.js +29 -0
- package/typescript/dist/src/pages/DentalExplorer.js.map +1 -0
- package/typescript/dist/src/pages/HospitalIndemnityComparison.d.ts +2 -0
- package/typescript/dist/src/pages/HospitalIndemnityComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/HospitalIndemnityComparison.js +53 -0
- package/typescript/dist/src/pages/HospitalIndemnityComparison.js.map +1 -0
- package/typescript/dist/src/pages/HospitalIndemnityExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/HospitalIndemnityExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/HospitalIndemnityExplorer.js +29 -0
- package/typescript/dist/src/pages/HospitalIndemnityExplorer.js.map +1 -0
- package/typescript/dist/src/pages/LTDComparison.d.ts +2 -0
- package/typescript/dist/src/pages/LTDComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/LTDComparison.js +64 -0
- package/typescript/dist/src/pages/LTDComparison.js.map +1 -0
- package/typescript/dist/src/pages/LTDExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/LTDExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/LTDExplorer.js +29 -0
- package/typescript/dist/src/pages/LTDExplorer.js.map +1 -0
- package/typescript/dist/src/pages/STDComparison.d.ts +2 -0
- package/typescript/dist/src/pages/STDComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/STDComparison.js +58 -0
- package/typescript/dist/src/pages/STDComparison.js.map +1 -0
- package/typescript/dist/src/pages/STDExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/STDExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/STDExplorer.js +29 -0
- package/typescript/dist/src/pages/STDExplorer.js.map +1 -0
- package/typescript/dist/src/pages/VisionComparison.d.ts +2 -0
- package/typescript/dist/src/pages/VisionComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/VisionComparison.js +64 -0
- package/typescript/dist/src/pages/VisionComparison.js.map +1 -0
- package/typescript/dist/src/pages/VisionExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/VisionExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/VisionExplorer.js +29 -0
- package/typescript/dist/src/pages/VisionExplorer.js.map +1 -0
- package/typescript/dist/src/pages/VoluntaryLifeComparison.d.ts +2 -0
- package/typescript/dist/src/pages/VoluntaryLifeComparison.d.ts.map +1 -0
- package/typescript/dist/src/pages/VoluntaryLifeComparison.js +51 -0
- package/typescript/dist/src/pages/VoluntaryLifeComparison.js.map +1 -0
- package/typescript/dist/src/pages/VoluntaryLifeExplorer.d.ts +2 -0
- package/typescript/dist/src/pages/VoluntaryLifeExplorer.d.ts.map +1 -0
- package/typescript/dist/src/pages/VoluntaryLifeExplorer.js +29 -0
- package/typescript/dist/src/pages/VoluntaryLifeExplorer.js.map +1 -0
- package/typescript/dist/src/runtime/index.d.ts +2 -0
- package/typescript/dist/src/runtime/index.d.ts.map +1 -0
- package/typescript/dist/src/runtime/index.js +2 -0
- package/typescript/dist/src/runtime/index.js.map +1 -0
- package/typescript/dist/src/runtime/lifecycle.d.ts +16 -0
- package/typescript/dist/src/runtime/lifecycle.d.ts.map +1 -0
- package/typescript/dist/src/runtime/lifecycle.js +50 -0
- package/typescript/dist/src/runtime/lifecycle.js.map +1 -0
- package/typescript/dist/src/server/abort-support.d.ts +20 -0
- package/typescript/dist/src/server/abort-support.d.ts.map +1 -0
- package/typescript/dist/src/server/abort-support.js +101 -0
- package/typescript/dist/src/server/abort-support.js.map +1 -0
- package/typescript/dist/src/server/advanced-memory-monitor.d.ts +189 -0
- package/typescript/dist/src/server/advanced-memory-monitor.d.ts.map +1 -0
- package/typescript/dist/src/server/advanced-memory-monitor.js +718 -0
- package/typescript/dist/src/server/advanced-memory-monitor.js.map +1 -0
- package/typescript/dist/src/server/architecture-detector.d.ts +72 -0
- package/typescript/dist/src/server/architecture-detector.d.ts.map +1 -0
- package/typescript/dist/src/server/architecture-detector.js +282 -0
- package/typescript/dist/src/server/architecture-detector.js.map +1 -0
- package/typescript/dist/src/server/batch-processor-tool.d.ts +69 -0
- package/typescript/dist/src/server/batch-processor-tool.d.ts.map +1 -0
- package/typescript/dist/src/server/batch-processor-tool.js +651 -0
- package/typescript/dist/src/server/batch-processor-tool.js.map +1 -0
- package/typescript/dist/src/server/batch-processor.d.ts +73 -0
- package/typescript/dist/src/server/batch-processor.d.ts.map +1 -0
- package/typescript/dist/src/server/batch-processor.js +264 -0
- package/typescript/dist/src/server/batch-processor.js.map +1 -0
- package/typescript/dist/src/server/browser-stub.d.ts +18 -0
- package/typescript/dist/src/server/browser-stub.d.ts.map +1 -0
- package/typescript/dist/src/server/browser-stub.js +21 -0
- package/typescript/dist/src/server/browser-stub.js.map +1 -0
- package/typescript/dist/src/server/cache.d.ts +92 -0
- package/typescript/dist/src/server/cache.d.ts.map +1 -0
- package/typescript/dist/src/server/cache.js +217 -0
- package/typescript/dist/src/server/cache.js.map +1 -0
- package/typescript/dist/src/server/circular-deps.d.ts +85 -0
- package/typescript/dist/src/server/circular-deps.d.ts.map +1 -0
- package/typescript/dist/src/server/circular-deps.js +331 -0
- package/typescript/dist/src/server/circular-deps.js.map +1 -0
- package/typescript/dist/src/server/claude-code-env.d.ts +50 -0
- package/typescript/dist/src/server/claude-code-env.d.ts.map +1 -0
- package/typescript/dist/src/server/claude-code-env.js +116 -0
- package/typescript/dist/src/server/claude-code-env.js.map +1 -0
- package/typescript/dist/src/server/code-analysis-tool.d.ts +79 -0
- package/typescript/dist/src/server/code-analysis-tool.d.ts.map +1 -0
- package/typescript/dist/src/server/code-analysis-tool.js +94 -0
- package/typescript/dist/src/server/code-analysis-tool.js.map +1 -0
- package/typescript/dist/src/server/code-analysis.d.ts +16 -0
- package/typescript/dist/src/server/code-analysis.d.ts.map +1 -0
- package/typescript/dist/src/server/code-analysis.js +462 -0
- package/typescript/dist/src/server/code-analysis.js.map +1 -0
- package/typescript/dist/src/server/code-transformation.d.ts +141 -0
- package/typescript/dist/src/server/code-transformation.d.ts.map +1 -0
- package/typescript/dist/src/server/code-transformation.js +918 -0
- package/typescript/dist/src/server/code-transformation.js.map +1 -0
- package/typescript/dist/src/server/comprehensive-code-analysis.d.ts +77 -0
- package/typescript/dist/src/server/comprehensive-code-analysis.d.ts.map +1 -0
- package/typescript/dist/src/server/comprehensive-code-analysis.js +613 -0
- package/typescript/dist/src/server/comprehensive-code-analysis.js.map +1 -0
- package/typescript/dist/src/server/concurrency.d.ts +5 -0
- package/typescript/dist/src/server/concurrency.d.ts.map +1 -0
- package/typescript/dist/src/server/concurrency.js +20 -0
- package/typescript/dist/src/server/concurrency.js.map +1 -0
- package/typescript/dist/src/server/context-manager.d.ts +97 -0
- package/typescript/dist/src/server/context-manager.d.ts.map +1 -0
- package/typescript/dist/src/server/context-manager.js +410 -0
- package/typescript/dist/src/server/context-manager.js.map +1 -0
- package/typescript/dist/src/server/context-session-manager.d.ts +47 -0
- package/typescript/dist/src/server/context-session-manager.d.ts.map +1 -0
- package/typescript/dist/src/server/context-session-manager.js +594 -0
- package/typescript/dist/src/server/context-session-manager.js.map +1 -0
- package/typescript/dist/src/server/context.d.ts +66 -0
- package/typescript/dist/src/server/context.d.ts.map +1 -0
- package/typescript/dist/src/server/context.js +275 -0
- package/typescript/dist/src/server/context.js.map +1 -0
- package/typescript/dist/src/server/dependency-analyzer.d.ts +100 -0
- package/typescript/dist/src/server/dependency-analyzer.d.ts.map +1 -0
- package/typescript/dist/src/server/dependency-analyzer.js +1117 -0
- package/typescript/dist/src/server/dependency-analyzer.js.map +1 -0
- package/typescript/dist/src/server/error-handling.d.ts +106 -0
- package/typescript/dist/src/server/error-handling.d.ts.map +1 -0
- package/typescript/dist/src/server/error-handling.js +363 -0
- package/typescript/dist/src/server/error-handling.js.map +1 -0
- package/typescript/dist/src/server/file-discovery.d.ts +60 -0
- package/typescript/dist/src/server/file-discovery.d.ts.map +1 -0
- package/typescript/dist/src/server/file-discovery.js +282 -0
- package/typescript/dist/src/server/file-discovery.js.map +1 -0
- package/typescript/dist/src/server/file-streaming.d.ts +152 -0
- package/typescript/dist/src/server/file-streaming.d.ts.map +1 -0
- package/typescript/dist/src/server/file-streaming.js +627 -0
- package/typescript/dist/src/server/file-streaming.js.map +1 -0
- package/typescript/dist/src/server/files.d.ts +100 -0
- package/typescript/dist/src/server/files.d.ts.map +1 -0
- package/typescript/dist/src/server/files.js +609 -0
- package/typescript/dist/src/server/files.js.map +1 -0
- package/typescript/dist/src/server/index.d.ts +54 -0
- package/typescript/dist/src/server/index.d.ts.map +1 -0
- package/typescript/dist/src/server/index.js +54 -0
- package/typescript/dist/src/server/index.js.map +1 -0
- package/typescript/dist/src/server/logger.d.ts +95 -0
- package/typescript/dist/src/server/logger.d.ts.map +1 -0
- package/typescript/dist/src/server/logger.js +271 -0
- package/typescript/dist/src/server/logger.js.map +1 -0
- package/typescript/dist/src/server/memory-aware-cache.d.ts +169 -0
- package/typescript/dist/src/server/memory-aware-cache.d.ts.map +1 -0
- package/typescript/dist/src/server/memory-aware-cache.js +655 -0
- package/typescript/dist/src/server/memory-aware-cache.js.map +1 -0
- package/typescript/dist/src/server/memory-monitor-tool.d.ts +46 -0
- package/typescript/dist/src/server/memory-monitor-tool.d.ts.map +1 -0
- package/typescript/dist/src/server/memory-monitor-tool.js +381 -0
- package/typescript/dist/src/server/memory-monitor-tool.js.map +1 -0
- package/typescript/dist/src/server/memory-monitor.d.ts +79 -0
- package/typescript/dist/src/server/memory-monitor.d.ts.map +1 -0
- package/typescript/dist/src/server/memory-monitor.js +333 -0
- package/typescript/dist/src/server/memory-monitor.js.map +1 -0
- package/typescript/dist/src/server/optimization-engine.d.ts +68 -0
- package/typescript/dist/src/server/optimization-engine.d.ts.map +1 -0
- package/typescript/dist/src/server/optimization-engine.js +728 -0
- package/typescript/dist/src/server/optimization-engine.js.map +1 -0
- package/typescript/dist/src/server/path-manager.d.ts +46 -0
- package/typescript/dist/src/server/path-manager.d.ts.map +1 -0
- package/typescript/dist/src/server/path-manager.js +155 -0
- package/typescript/dist/src/server/path-manager.js.map +1 -0
- package/typescript/dist/src/server/pattern-analyzer.d.ts +69 -0
- package/typescript/dist/src/server/pattern-analyzer.d.ts.map +1 -0
- package/typescript/dist/src/server/pattern-analyzer.js +497 -0
- package/typescript/dist/src/server/pattern-analyzer.js.map +1 -0
- package/typescript/dist/src/server/performance-observer.d.ts +61 -0
- package/typescript/dist/src/server/performance-observer.d.ts.map +1 -0
- package/typescript/dist/src/server/performance-observer.js +394 -0
- package/typescript/dist/src/server/performance-observer.js.map +1 -0
- package/typescript/dist/src/server/performance.d.ts +121 -0
- package/typescript/dist/src/server/performance.d.ts.map +1 -0
- package/typescript/dist/src/server/performance.js +520 -0
- package/typescript/dist/src/server/performance.js.map +1 -0
- package/typescript/dist/src/server/report-generator.d.ts +131 -0
- package/typescript/dist/src/server/report-generator.d.ts.map +1 -0
- package/typescript/dist/src/server/report-generator.js +1158 -0
- package/typescript/dist/src/server/report-generator.js.map +1 -0
- package/typescript/dist/src/server/resource-lifecycle-manager.d.ts +231 -0
- package/typescript/dist/src/server/resource-lifecycle-manager.d.ts.map +1 -0
- package/typescript/dist/src/server/resource-lifecycle-manager.js +839 -0
- package/typescript/dist/src/server/resource-lifecycle-manager.js.map +1 -0
- package/typescript/dist/src/server/retry-operations.d.ts +59 -0
- package/typescript/dist/src/server/retry-operations.d.ts.map +1 -0
- package/typescript/dist/src/server/retry-operations.js +68 -0
- package/typescript/dist/src/server/retry-operations.js.map +1 -0
- package/typescript/dist/src/server/retry.d.ts +18 -0
- package/typescript/dist/src/server/retry.d.ts.map +1 -0
- package/typescript/dist/src/server/retry.js +44 -0
- package/typescript/dist/src/server/retry.js.map +1 -0
- package/typescript/dist/src/server/retryable.d.ts +2 -0
- package/typescript/dist/src/server/retryable.d.ts.map +1 -0
- package/typescript/dist/src/server/retryable.js +21 -0
- package/typescript/dist/src/server/retryable.js.map +1 -0
- package/typescript/dist/src/server/scheduler.d.ts +4 -0
- package/typescript/dist/src/server/scheduler.d.ts.map +1 -0
- package/typescript/dist/src/server/scheduler.js +21 -0
- package/typescript/dist/src/server/scheduler.js.map +1 -0
- package/typescript/dist/src/server/security-scanner.d.ts +59 -0
- package/typescript/dist/src/server/security-scanner.d.ts.map +1 -0
- package/typescript/dist/src/server/security-scanner.js +915 -0
- package/typescript/dist/src/server/security-scanner.js.map +1 -0
- package/typescript/dist/src/server/security.d.ts +25 -0
- package/typescript/dist/src/server/security.d.ts.map +1 -0
- package/typescript/dist/src/server/security.js +298 -0
- package/typescript/dist/src/server/security.js.map +1 -0
- package/typescript/dist/src/server/session-management.d.ts +103 -0
- package/typescript/dist/src/server/session-management.d.ts.map +1 -0
- package/typescript/dist/src/server/session-management.js +149 -0
- package/typescript/dist/src/server/session-management.js.map +1 -0
- package/typescript/dist/src/server/session-recovery.d.ts +91 -0
- package/typescript/dist/src/server/session-recovery.d.ts.map +1 -0
- package/typescript/dist/src/server/session-recovery.js +384 -0
- package/typescript/dist/src/server/session-recovery.js.map +1 -0
- package/typescript/dist/src/server/session.d.ts +18 -0
- package/typescript/dist/src/server/session.d.ts.map +1 -0
- package/typescript/dist/src/server/session.js +46 -0
- package/typescript/dist/src/server/session.js.map +1 -0
- package/typescript/dist/src/server/simple-tools.d.ts +15 -0
- package/typescript/dist/src/server/simple-tools.d.ts.map +1 -0
- package/typescript/dist/src/server/simple-tools.js +15 -0
- package/typescript/dist/src/server/simple-tools.js.map +1 -0
- package/typescript/dist/src/server/streaming-utilities.d.ts +107 -0
- package/typescript/dist/src/server/streaming-utilities.d.ts.map +1 -0
- package/typescript/dist/src/server/streaming-utilities.js +822 -0
- package/typescript/dist/src/server/streaming-utilities.js.map +1 -0
- package/typescript/dist/src/server/streams.d.ts +48 -0
- package/typescript/dist/src/server/streams.d.ts.map +1 -0
- package/typescript/dist/src/server/streams.js +489 -0
- package/typescript/dist/src/server/streams.js.map +1 -0
- package/typescript/dist/src/server/stringify-advanced.d.ts +31 -0
- package/typescript/dist/src/server/stringify-advanced.d.ts.map +1 -0
- package/typescript/dist/src/server/stringify-advanced.js +183 -0
- package/typescript/dist/src/server/stringify-advanced.js.map +1 -0
- package/typescript/dist/src/server/structured-clone-tool.d.ts +101 -0
- package/typescript/dist/src/server/structured-clone-tool.d.ts.map +1 -0
- package/typescript/dist/src/server/structured-clone-tool.js +450 -0
- package/typescript/dist/src/server/structured-clone-tool.js.map +1 -0
- package/typescript/dist/src/server/structured-clone.d.ts +59 -0
- package/typescript/dist/src/server/structured-clone.d.ts.map +1 -0
- package/typescript/dist/src/server/structured-clone.js +307 -0
- package/typescript/dist/src/server/structured-clone.js.map +1 -0
- package/typescript/dist/src/server/test-runner.d.ts +78 -0
- package/typescript/dist/src/server/test-runner.d.ts.map +1 -0
- package/typescript/dist/src/server/test-runner.js +1024 -0
- package/typescript/dist/src/server/test-runner.js.map +1 -0
- package/typescript/dist/src/server/tool-helpers.d.ts +6 -0
- package/typescript/dist/src/server/tool-helpers.d.ts.map +1 -0
- package/typescript/dist/src/server/tool-helpers.js +27 -0
- package/typescript/dist/src/server/tool-helpers.js.map +1 -0
- package/typescript/dist/src/server/validation.d.ts +79 -0
- package/typescript/dist/src/server/validation.d.ts.map +1 -0
- package/typescript/dist/src/server/validation.js +613 -0
- package/typescript/dist/src/server/validation.js.map +1 -0
- package/typescript/dist/src/server/worker-pool.d.ts +87 -0
- package/typescript/dist/src/server/worker-pool.d.ts.map +1 -0
- package/typescript/dist/src/server/worker-pool.js +586 -0
- package/typescript/dist/src/server/worker-pool.js.map +1 -0
- package/typescript/dist/src/server/worker-threads.d.ts +95 -0
- package/typescript/dist/src/server/worker-threads.d.ts.map +1 -0
- package/typescript/dist/src/server/worker-threads.js +1074 -0
- package/typescript/dist/src/server/worker-threads.js.map +1 -0
- package/typescript/dist/src/server/workflow-orchestrator.d.ts +122 -0
- package/typescript/dist/src/server/workflow-orchestrator.d.ts.map +1 -0
- package/typescript/dist/src/server/workflow-orchestrator.js +2131 -0
- package/typescript/dist/src/server/workflow-orchestrator.js.map +1 -0
- package/typescript/dist/src/server/worktree-manager.d.ts +70 -0
- package/typescript/dist/src/server/worktree-manager.d.ts.map +1 -0
- package/typescript/dist/src/server/worktree-manager.js +741 -0
- package/typescript/dist/src/server/worktree-manager.js.map +1 -0
- package/typescript/dist/src/shared/constants.d.ts +5 -0
- package/typescript/dist/src/shared/constants.d.ts.map +1 -0
- package/typescript/dist/src/shared/constants.js +5 -0
- package/typescript/dist/src/shared/constants.js.map +1 -0
- package/typescript/dist/src/shared/entity-config.d.ts +76 -0
- package/typescript/dist/src/shared/entity-config.d.ts.map +1 -0
- package/typescript/dist/src/shared/entity-config.js +2 -0
- package/typescript/dist/src/shared/entity-config.js.map +1 -0
- package/typescript/dist/src/shared/environment.d.ts +18 -0
- package/typescript/dist/src/shared/environment.d.ts.map +1 -0
- package/typescript/dist/src/shared/environment.js +39 -0
- package/typescript/dist/src/shared/environment.js.map +1 -0
- package/typescript/dist/src/shared/index.d.ts +6 -0
- package/typescript/dist/src/shared/index.d.ts.map +1 -0
- package/typescript/dist/src/shared/index.js +6 -0
- package/typescript/dist/src/shared/index.js.map +1 -0
- package/typescript/dist/src/shared/stringify.d.ts +16 -0
- package/typescript/dist/src/shared/stringify.d.ts.map +1 -0
- package/typescript/dist/src/shared/stringify.js +195 -0
- package/typescript/dist/src/shared/stringify.js.map +1 -0
- package/typescript/dist/src/shared/timeout.d.ts +27 -0
- package/typescript/dist/src/shared/timeout.d.ts.map +1 -0
- package/typescript/dist/src/shared/timeout.js +196 -0
- package/typescript/dist/src/shared/timeout.js.map +1 -0
- package/typescript/dist/src/types/mcp.d.ts +23 -0
- package/typescript/dist/src/types/mcp.d.ts.map +1 -0
- package/typescript/dist/src/types/mcp.js +2 -0
- package/typescript/dist/src/types/mcp.js.map +1 -0
- package/typescript/dist/tsconfig.tsbuildinfo +1 -0
- package/typescript/dist/vite.config.d.ts +3 -0
- package/typescript/dist/vite.config.d.ts.map +1 -0
- package/typescript/dist/vite.config.js +12 -0
- package/typescript/dist/vite.config.js.map +1 -0
- package/typescript/nextjs.json +17 -0
- package/typescript/node.json +10 -0
- package/typescript/react-native.json +8 -0
- package/typescript/react.json +12 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Custom ESLint rule: no-used-underscore-vars
|
|
3
|
+
*
|
|
4
|
+
* Prevents using variables that start with underscore (convention for unused variables).
|
|
5
|
+
* Allows underscore-prefixed variables in declaration contexts but disallows them in usage contexts.
|
|
6
|
+
*
|
|
7
|
+
* @module no-used-underscore-vars
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* AST node type constants for type safety and maintainability.
|
|
12
|
+
*
|
|
13
|
+
* @type {Record<string, string>}
|
|
14
|
+
*/
|
|
15
|
+
const AST_NODE_TYPES = {
|
|
16
|
+
VARIABLE_DECLARATOR: 'VariableDeclarator',
|
|
17
|
+
FUNCTION_DECLARATION: 'FunctionDeclaration',
|
|
18
|
+
REST_ELEMENT: 'RestElement',
|
|
19
|
+
ARRAY_PATTERN: 'ArrayPattern',
|
|
20
|
+
FUNCTION_EXPRESSION: 'FunctionExpression',
|
|
21
|
+
ARROW_FUNCTION_EXPRESSION: 'ArrowFunctionExpression',
|
|
22
|
+
TS_INTERFACE_DECLARATION: 'TSInterfaceDeclaration',
|
|
23
|
+
TS_TYPE_ALIAS_DECLARATION: 'TSTypeAliasDeclaration',
|
|
24
|
+
TS_PROPERTY_SIGNATURE: 'TSPropertySignature',
|
|
25
|
+
TS_TYPE_PARAMETER: 'TSTypeParameter',
|
|
26
|
+
TS_PARAMETER_PROPERTY: 'TSParameterProperty',
|
|
27
|
+
CLASS_DECLARATION: 'ClassDeclaration',
|
|
28
|
+
CLASS_EXPRESSION: 'ClassExpression',
|
|
29
|
+
MEMBER_EXPRESSION: 'MemberExpression',
|
|
30
|
+
PROPERTY: 'Property',
|
|
31
|
+
OBJECT_PATTERN: 'ObjectPattern',
|
|
32
|
+
OBJECT_EXPRESSION: 'ObjectExpression',
|
|
33
|
+
CATCH_CLAUSE: 'CatchClause',
|
|
34
|
+
ASSIGNMENT_PATTERN: 'AssignmentPattern',
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Parent types where underscore-prefixed identifiers are allowed (declaration contexts).
|
|
39
|
+
*
|
|
40
|
+
* These AST node types represent declaration positions where underscore-prefixed
|
|
41
|
+
* variables are intentionally unused and should be allowed.
|
|
42
|
+
*
|
|
43
|
+
* @type {readonly string[]}
|
|
44
|
+
*/
|
|
45
|
+
const ALLOWED_PARENT_TYPES = [
|
|
46
|
+
AST_NODE_TYPES.VARIABLE_DECLARATOR,
|
|
47
|
+
AST_NODE_TYPES.FUNCTION_DECLARATION,
|
|
48
|
+
AST_NODE_TYPES.REST_ELEMENT,
|
|
49
|
+
AST_NODE_TYPES.ARRAY_PATTERN,
|
|
50
|
+
AST_NODE_TYPES.FUNCTION_EXPRESSION,
|
|
51
|
+
AST_NODE_TYPES.ARROW_FUNCTION_EXPRESSION,
|
|
52
|
+
AST_NODE_TYPES.TS_INTERFACE_DECLARATION,
|
|
53
|
+
AST_NODE_TYPES.TS_TYPE_ALIAS_DECLARATION,
|
|
54
|
+
AST_NODE_TYPES.CATCH_CLAUSE,
|
|
55
|
+
AST_NODE_TYPES.TS_TYPE_PARAMETER,
|
|
56
|
+
AST_NODE_TYPES.CLASS_DECLARATION,
|
|
57
|
+
AST_NODE_TYPES.CLASS_EXPRESSION,
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Checks if a node is within a VariableDeclarator's init (right side - a usage).
|
|
62
|
+
*
|
|
63
|
+
* VariableDeclarator nodes have two sides:
|
|
64
|
+
* - `id` (left side): Declaration position - underscore vars allowed
|
|
65
|
+
* - `init` (right side): Usage position - underscore vars disallowed
|
|
66
|
+
*
|
|
67
|
+
* This helper walks up the AST tree to determine if the node is in the init position,
|
|
68
|
+
* which indicates a usage context where underscore-prefixed variables should be reported.
|
|
69
|
+
*
|
|
70
|
+
* @param {import('eslint').Rule.Node} node - The AST node to check
|
|
71
|
+
* @returns {boolean} `true` if node is in init position (usage context), `false` otherwise
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```javascript
|
|
75
|
+
* // false - _unused is in id (left side, declaration)
|
|
76
|
+
* const _unused = value;
|
|
77
|
+
*
|
|
78
|
+
* // true - _unused is in init (right side, usage)
|
|
79
|
+
* const x = _unused;
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
function isInVariableDeclaratorInit(node) {
|
|
85
|
+
if (node.parent.type !== AST_NODE_TYPES.VARIABLE_DECLARATOR) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Walk up the tree to find the first ancestor that is a direct child of VariableDeclarator
|
|
90
|
+
let current = node;
|
|
91
|
+
while (current && current.parent !== node.parent) {
|
|
92
|
+
current = current.parent;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// If we're on the init side, it's a usage - report error
|
|
96
|
+
return current === node.parent.init;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* ESLint rule to prevent using variables that start with underscore.
|
|
101
|
+
*
|
|
102
|
+
* Underscore-prefixed variables are conventionally used to indicate unused variables.
|
|
103
|
+
* This rule enforces that underscore-prefixed variables should only be used in
|
|
104
|
+
* declaration contexts (where they're intentionally unused), not in usage contexts.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* // ✅ Valid: Declaration context
|
|
108
|
+
* const _unused = 1;
|
|
109
|
+
* function _helper() {}
|
|
110
|
+
* const { _prop } = obj;
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* // ✅ Valid: Property access (not a variable usage)
|
|
114
|
+
* obj._id
|
|
115
|
+
* obj._private
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* // ✅ Valid: Type definitions
|
|
119
|
+
* interface Foo { _prop: string; }
|
|
120
|
+
* type Bar = { _field: number; }
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* // ❌ Invalid: Usage context
|
|
124
|
+
* const x = _unused; // Error: underscore variable used
|
|
125
|
+
* if (_condition) {} // Error: underscore variable used
|
|
126
|
+
* function test() { return _value; } // Error: underscore variable used
|
|
127
|
+
*
|
|
128
|
+
* @type {import('eslint').Rule.RuleModule}
|
|
129
|
+
*/
|
|
130
|
+
export default {
|
|
131
|
+
meta: {
|
|
132
|
+
type: 'problem',
|
|
133
|
+
docs: {
|
|
134
|
+
description: 'Disallow using variables that start with underscore',
|
|
135
|
+
recommended: false,
|
|
136
|
+
category: 'Best Practices',
|
|
137
|
+
},
|
|
138
|
+
schema: [
|
|
139
|
+
{
|
|
140
|
+
type: 'object',
|
|
141
|
+
properties: {
|
|
142
|
+
allow: {
|
|
143
|
+
type: 'array',
|
|
144
|
+
items: {
|
|
145
|
+
type: 'string',
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
additionalProperties: false,
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
fixable: null,
|
|
153
|
+
},
|
|
154
|
+
/**
|
|
155
|
+
* Creates the rule implementation.
|
|
156
|
+
*
|
|
157
|
+
* Analyzes identifier nodes in the AST and reports errors when underscore-prefixed
|
|
158
|
+
* variables are used outside of declaration contexts. Handles various edge cases:
|
|
159
|
+
* - Variable declarations (id vs init)
|
|
160
|
+
* - Property access (object._id)
|
|
161
|
+
* - Object destructuring
|
|
162
|
+
* - Type definitions
|
|
163
|
+
* - Shorthand properties
|
|
164
|
+
*
|
|
165
|
+
* @param {import('eslint').Rule.RuleContext} context - The ESLint rule context
|
|
166
|
+
* @returns {import('eslint').Rule.RuleListener} The rule listener with Identifier handler
|
|
167
|
+
*/
|
|
168
|
+
create(context) {
|
|
169
|
+
const options = context.options[0] ?? {};
|
|
170
|
+
const allowedNames = new Set(options.allow ?? []);
|
|
171
|
+
|
|
172
|
+
return {
|
|
173
|
+
Identifier(node) {
|
|
174
|
+
// Guard against null/undefined parent
|
|
175
|
+
if (!node.parent) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Only check identifiers that start with underscore
|
|
180
|
+
if (!node.name.startsWith('_')) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// Allow explicitly allowed names (e.g., __dirname, __filename)
|
|
185
|
+
if (allowedNames.has(node.name)) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// Skip if the identifier is a type definition (interface, type alias property)
|
|
190
|
+
if (node.parent.type === AST_NODE_TYPES.TS_PROPERTY_SIGNATURE) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Skip if the identifier is a type parameter (e.g., <_T>)
|
|
195
|
+
if (node.parent.type === AST_NODE_TYPES.TS_TYPE_PARAMETER) {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// Skip if the identifier is a catch clause parameter (e.g., catch (_error))
|
|
200
|
+
if (node.parent.type === AST_NODE_TYPES.CATCH_CLAUSE) {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// Skip if the identifier is the name of a function declaration or expression
|
|
205
|
+
// This allows: function _helper() {} and const _fn = function() {}
|
|
206
|
+
if (
|
|
207
|
+
(node.parent.type === AST_NODE_TYPES.FUNCTION_DECLARATION && node.parent.id === node) ||
|
|
208
|
+
(node.parent.type === AST_NODE_TYPES.FUNCTION_EXPRESSION && node.parent.id === node) ||
|
|
209
|
+
(node.parent.type === AST_NODE_TYPES.CLASS_DECLARATION && node.parent.id === node) ||
|
|
210
|
+
(node.parent.type === AST_NODE_TYPES.CLASS_EXPRESSION && node.parent.id === node)
|
|
211
|
+
) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// Skip if the identifier is a function parameter (including with default values)
|
|
216
|
+
// This covers: function test(_param) and function test(_param = 1)
|
|
217
|
+
if (
|
|
218
|
+
node.parent.type === AST_NODE_TYPES.ASSIGNMENT_PATTERN ||
|
|
219
|
+
node.parent.type === AST_NODE_TYPES.TS_PARAMETER_PROPERTY
|
|
220
|
+
) {
|
|
221
|
+
// Check if we're in a function parameter context
|
|
222
|
+
let current = node.parent;
|
|
223
|
+
while (current) {
|
|
224
|
+
if (
|
|
225
|
+
current.type === AST_NODE_TYPES.FUNCTION_DECLARATION ||
|
|
226
|
+
current.type === AST_NODE_TYPES.FUNCTION_EXPRESSION ||
|
|
227
|
+
current.type === AST_NODE_TYPES.ARROW_FUNCTION_EXPRESSION
|
|
228
|
+
) {
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
current = current.parent;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// Skip if the identifier is a property access (e.g., object._id)
|
|
236
|
+
if (
|
|
237
|
+
node.parent.type === AST_NODE_TYPES.MEMBER_EXPRESSION &&
|
|
238
|
+
node.parent.property === node
|
|
239
|
+
) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// Handle Property nodes with specific rules for keys vs values
|
|
244
|
+
// Note: We need to distinguish between:
|
|
245
|
+
// 1. Property keys (allowed ONLY if not shorthand, e.g., { _key: value })
|
|
246
|
+
// 2. Shorthand properties (NOT allowed, e.g., { _value } - this is a variable usage)
|
|
247
|
+
// 3. Property values in destructuring (allowed, e.g., const { key: _value } = obj)
|
|
248
|
+
// 4. Property values in object literals (NOT allowed, e.g., { key: _value })
|
|
249
|
+
if (node.parent.type === AST_NODE_TYPES.PROPERTY) {
|
|
250
|
+
const propertyNode = node.parent;
|
|
251
|
+
const container = propertyNode.parent;
|
|
252
|
+
|
|
253
|
+
// Allow property keys ONLY when not a shorthand (key !== value)
|
|
254
|
+
// Shorthand properties like { _value } are variable usages and should be caught
|
|
255
|
+
if (propertyNode.key === node && propertyNode.value !== node) {
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// Allow destructuring targets (object patterns) - both keys and values
|
|
260
|
+
// This covers: const { key: _value } = obj and const { _key } = obj
|
|
261
|
+
if (container && container.type === AST_NODE_TYPES.OBJECT_PATTERN) {
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// If we reach here, it's either:
|
|
266
|
+
// - A shorthand property usage: { _value }
|
|
267
|
+
// - A property value in an object literal: { key: _value }
|
|
268
|
+
// Both should fall through to report error
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// Check if this identifier is in an allowed declaration context
|
|
272
|
+
if (ALLOWED_PARENT_TYPES.includes(node.parent.type)) {
|
|
273
|
+
// Special case for VariableDeclarator: check if we're in id (allowed) or init (not allowed)
|
|
274
|
+
if (node.parent.type === AST_NODE_TYPES.VARIABLE_DECLARATOR) {
|
|
275
|
+
if (isInVariableDeclaratorInit(node)) {
|
|
276
|
+
context.report({
|
|
277
|
+
node,
|
|
278
|
+
message:
|
|
279
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
// For other allowed types, it's in declaration position - allow it
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// Report error if underscore-prefixed variable is used outside declaration contexts
|
|
289
|
+
context.report({
|
|
290
|
+
node,
|
|
291
|
+
message:
|
|
292
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
293
|
+
});
|
|
294
|
+
},
|
|
295
|
+
};
|
|
296
|
+
},
|
|
297
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { toPrettierIgnore, GLOBAL_IGNORES } from '../common-ignores.mjs';
|
|
4
|
+
|
|
5
|
+
describe('common-ignores', () => {
|
|
6
|
+
it('toPrettierIgnore should clean glob patterns', () => {
|
|
7
|
+
const patterns = ['**/dist/**', 'build/**'];
|
|
8
|
+
const cleaned = toPrettierIgnore(patterns);
|
|
9
|
+
expect(cleaned).toContain('dist');
|
|
10
|
+
expect(cleaned).toContain('build');
|
|
11
|
+
|
|
12
|
+
expect(toPrettierIgnore(['**/node_modules/**'])).toEqual(['node_modules']);
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
it('GLOBAL_IGNORES should be defined', () => {
|
|
16
|
+
expect(Array.isArray(GLOBAL_IGNORES)).toBe(true);
|
|
17
|
+
expect(GLOBAL_IGNORES.length).toBeGreaterThan(0);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Common ignore patterns - SINGLE SOURCE OF TRUTH for ESLint and Stylelint
|
|
3
|
+
*
|
|
4
|
+
* Centralized ignore patterns used across all linting tools in the monorepo.
|
|
5
|
+
* This ensures consistency between ESLint, Stylelint, Prettier, and other tools.
|
|
6
|
+
*
|
|
7
|
+
* **Synchronization**: When adding new exclusions, keep these files in sync:
|
|
8
|
+
* - .prettierignore (root) - without **/ prefix
|
|
9
|
+
* - .linters/.markdownlintignore - if applicable to Markdown
|
|
10
|
+
* - .mega-linter.yml _base_exclusions anchor - regex format
|
|
11
|
+
*
|
|
12
|
+
* See .linters/README.md for sync instructions and format conversion.
|
|
13
|
+
*
|
|
14
|
+
* @module common-ignores
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Global ignore patterns for build artifacts, caches, and generated files.
|
|
19
|
+
*
|
|
20
|
+
* These patterns exclude files and directories that should not be linted:
|
|
21
|
+
* - Build outputs (`.next`, `dist`, `build`, `out`)
|
|
22
|
+
* - Dependencies (`node_modules`, `.pnpm-store`)
|
|
23
|
+
* - Cache directories (`.turbo`, `.cache`, `.vitest-ui`)
|
|
24
|
+
* - Generated files (`generated`, `*.tsbuildinfo`)
|
|
25
|
+
* - Test artifacts (`coverage`, `test-results`, `playwright-report`)
|
|
26
|
+
* - IDE and editor files (`.vscode`, `.idea`)
|
|
27
|
+
* - Environment files (`.env*`)
|
|
28
|
+
* - Log files (`*.log`)
|
|
29
|
+
*
|
|
30
|
+
* Used by ESLint flat config and can be converted for Prettier via `toPrettierIgnore()`.
|
|
31
|
+
*
|
|
32
|
+
* @type {readonly string[]}
|
|
33
|
+
*/
|
|
34
|
+
export const GLOBAL_IGNORES = [
|
|
35
|
+
// Build artifacts
|
|
36
|
+
'**/.next/**',
|
|
37
|
+
'**/dist/**',
|
|
38
|
+
'**/build/**',
|
|
39
|
+
'**/out/**',
|
|
40
|
+
'**/storybook-static/**',
|
|
41
|
+
'**/coverage/**',
|
|
42
|
+
'**/.vitest-ui/coverage/**',
|
|
43
|
+
'**/html/coverage/**',
|
|
44
|
+
'**/coverage-browser/**',
|
|
45
|
+
'**/.nyc_output/**',
|
|
46
|
+
'**/generated/**',
|
|
47
|
+
|
|
48
|
+
// Coverage files
|
|
49
|
+
'**/.coverage-summary.json',
|
|
50
|
+
'**/coverage-final.json',
|
|
51
|
+
'**/coverage-summary.json',
|
|
52
|
+
|
|
53
|
+
// Package files
|
|
54
|
+
'**/node_modules/**',
|
|
55
|
+
'**/.pnpm-store/**',
|
|
56
|
+
'**/.turbo/**',
|
|
57
|
+
'**/.cache/**',
|
|
58
|
+
'**/pnpm-lock.yaml',
|
|
59
|
+
'**/.env*',
|
|
60
|
+
'**/.env*.local',
|
|
61
|
+
|
|
62
|
+
// IDE & Editor files
|
|
63
|
+
'**/.vscode/**',
|
|
64
|
+
'**/.idea/**',
|
|
65
|
+
|
|
66
|
+
// Generated files
|
|
67
|
+
'**/.react-email/**',
|
|
68
|
+
'**/*.test.todo.ts',
|
|
69
|
+
'**/test-results/**',
|
|
70
|
+
'**/test-results.json',
|
|
71
|
+
'**/playwright-report/**',
|
|
72
|
+
'**/blob-report/**',
|
|
73
|
+
|
|
74
|
+
// TypeScript build artifacts
|
|
75
|
+
'**/*.tsbuildinfo',
|
|
76
|
+
'**/next-env.d.ts',
|
|
77
|
+
|
|
78
|
+
// Temporary & Cache files
|
|
79
|
+
'**/temp/**',
|
|
80
|
+
'**/tmp/**',
|
|
81
|
+
'**/.tmp/**',
|
|
82
|
+
'**/logs/**',
|
|
83
|
+
|
|
84
|
+
// Documentation & Development
|
|
85
|
+
'**/.source/**',
|
|
86
|
+
'**/docs/llms/.cache/**',
|
|
87
|
+
|
|
88
|
+
// Deployment
|
|
89
|
+
'**/.vercel/**',
|
|
90
|
+
|
|
91
|
+
// Database files
|
|
92
|
+
'**/*.db',
|
|
93
|
+
'**/*.db-journal',
|
|
94
|
+
|
|
95
|
+
// Log files
|
|
96
|
+
'**/*.log',
|
|
97
|
+
'**/npm-debug.log*',
|
|
98
|
+
'**/yarn-debug.log*',
|
|
99
|
+
'**/yarn-error.log*',
|
|
100
|
+
'**/pnpm-debug.log*',
|
|
101
|
+
'**/lerna-debug.log*',
|
|
102
|
+
|
|
103
|
+
// GitHub configuration (to avoid linting workflows during development)
|
|
104
|
+
'**/.github/**',
|
|
105
|
+
|
|
106
|
+
// Worktrees
|
|
107
|
+
'**/.worktrees/**',
|
|
108
|
+
|
|
109
|
+
// MegaLinter reports
|
|
110
|
+
'**/megalinter-reports/**',
|
|
111
|
+
|
|
112
|
+
// Example Svelte projects (not TypeScript/React)
|
|
113
|
+
'**/teams/engineering/apps/nonrepo-examples/ai/**/*.svelte',
|
|
114
|
+
'**/teams/engineering/apps/nonrepo-examples/ai/**',
|
|
115
|
+
'**/*.svelte',
|
|
116
|
+
'**/*.astro',
|
|
117
|
+
|
|
118
|
+
// Claude sandbox examples
|
|
119
|
+
'**/.claude/**',
|
|
120
|
+
|
|
121
|
+
// Knip config (JSON, not JS)
|
|
122
|
+
'**/.kniprc.json',
|
|
123
|
+
|
|
124
|
+
// Temporary: Ignore errors.test.ts with false positive errors from ESLint/TypeScript project service
|
|
125
|
+
// TODO: Investigate why ESLint reports errors on non-existent lines (393) and false console statements
|
|
126
|
+
'**/__tests__/tools/errors.test.ts',
|
|
127
|
+
];
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Ignore patterns for TypeScript type-aware linting contexts.
|
|
131
|
+
*
|
|
132
|
+
* These files/directories are excluded from `projectService` type-aware linting
|
|
133
|
+
* to improve performance and avoid errors. Type-aware linting requires TypeScript
|
|
134
|
+
* compilation context and can be slow or error-prone for:
|
|
135
|
+
* - Storybook config files (handled by Storybook-specific config)
|
|
136
|
+
* - Test config files (`vitest.config.ts`, `cypress.config.ts`, etc.)
|
|
137
|
+
* - Generated files (don't need type checking)
|
|
138
|
+
* - Build outputs (`dist/**`)
|
|
139
|
+
*
|
|
140
|
+
* @type {readonly string[]}
|
|
141
|
+
*/
|
|
142
|
+
export const TYPE_AWARE_IGNORES = [
|
|
143
|
+
'**/.storybook/**',
|
|
144
|
+
'**/vitest.config.{ts,mts}',
|
|
145
|
+
'**/cypress.config.{ts,mts}',
|
|
146
|
+
'**/playwright.config.{ts,mts}',
|
|
147
|
+
'**/vitest.setup.{ts,mts}',
|
|
148
|
+
'**/setupTests.{ts,mts}',
|
|
149
|
+
'**/generated/**',
|
|
150
|
+
'**/dist/**',
|
|
151
|
+
];
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Convert ESLint glob patterns to Prettier ignore patterns.
|
|
155
|
+
*
|
|
156
|
+
* Prettier uses simpler ignore patterns than ESLint. This function
|
|
157
|
+
* removes glob prefixes and suffixes, and filters out empty patterns.
|
|
158
|
+
*
|
|
159
|
+
* @param {readonly string[]} patterns - Array of ESLint glob patterns
|
|
160
|
+
* @returns {string[]} Array of Prettier-compatible ignore patterns
|
|
161
|
+
*/
|
|
162
|
+
export function toPrettierIgnore(patterns) {
|
|
163
|
+
return patterns
|
|
164
|
+
.map(pattern => {
|
|
165
|
+
// Remove leading **/ for top-level matches
|
|
166
|
+
let cleaned = pattern.replace(/^\*\*\//, '');
|
|
167
|
+
// Remove trailing /** for directory matches
|
|
168
|
+
cleaned = cleaned.replace(/\/\*\*$/, '');
|
|
169
|
+
return cleaned;
|
|
170
|
+
})
|
|
171
|
+
.filter(Boolean);
|
|
172
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Shared constant for TypeScript rules that require type-aware linting
|
|
3
|
+
*
|
|
4
|
+
* These rules are disabled in contexts where type-aware linting is not available
|
|
5
|
+
* or would impact performance (test files, Storybook, config files, etc.).
|
|
6
|
+
*
|
|
7
|
+
* **Performance Impact**: Type-aware rules require TypeScript compilation context
|
|
8
|
+
* via `projectService: true`. Disabling them in certain file contexts improves
|
|
9
|
+
* linting performance by 60-80%.
|
|
10
|
+
*
|
|
11
|
+
* **When to Use**: Spread this object in rule configurations for:
|
|
12
|
+
* - Test files (Vitest, Cypress, Playwright)
|
|
13
|
+
* - Storybook files
|
|
14
|
+
* - Config files (`vitest.config.ts`, `cypress.config.ts`, etc.)
|
|
15
|
+
* - Any context where `projectService: false` is set
|
|
16
|
+
*
|
|
17
|
+
* @type {Record<string, 'off'>}
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // In ESLint config:
|
|
21
|
+
* // rules: { ...DISABLED_TYPE_AWARE_RULES }
|
|
22
|
+
*/
|
|
23
|
+
export const DISABLED_TYPE_AWARE_RULES = {
|
|
24
|
+
'@typescript-eslint/no-floating-promises': 'off',
|
|
25
|
+
'@typescript-eslint/no-misused-promises': 'off',
|
|
26
|
+
'@typescript-eslint/no-unnecessary-condition': 'off',
|
|
27
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
|
|
28
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
29
|
+
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
30
|
+
'@typescript-eslint/switch-exhaustiveness-check': 'off',
|
|
31
|
+
'@typescript-eslint/prefer-includes': 'off',
|
|
32
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'off',
|
|
33
|
+
'@typescript-eslint/prefer-as-const': 'off',
|
|
34
|
+
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
35
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Shared file pattern constants for ESLint configurations
|
|
3
|
+
*
|
|
4
|
+
* Centralized file pattern constants used across multiple ESLint config files
|
|
5
|
+
* to ensure consistency. These patterns define which files rules apply to.
|
|
6
|
+
*
|
|
7
|
+
* @module file-patterns
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* All TypeScript and JavaScript source files.
|
|
12
|
+
*
|
|
13
|
+
* Includes all common source file extensions:
|
|
14
|
+
* - TypeScript: `.ts`, `.tsx`
|
|
15
|
+
* - JavaScript: `.js`, `.jsx`
|
|
16
|
+
* - ESM modules: `.mjs`
|
|
17
|
+
*
|
|
18
|
+
* Used for rules that apply to all source code regardless of language.
|
|
19
|
+
*
|
|
20
|
+
* @type {readonly string[]}
|
|
21
|
+
*/
|
|
22
|
+
export const ALL_SOURCE_FILES = ['**/*.{ts,tsx,js,jsx,mjs}'];
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* TypeScript files only (including module TypeScript).
|
|
26
|
+
*
|
|
27
|
+
* Includes:
|
|
28
|
+
* - Standard TypeScript: `.ts`, `.tsx`
|
|
29
|
+
* - Module TypeScript: `.mts` (ESM), `.cts` (CommonJS)
|
|
30
|
+
*
|
|
31
|
+
* Used for TypeScript-specific rules and type-aware linting that requires
|
|
32
|
+
* TypeScript compilation context.
|
|
33
|
+
*
|
|
34
|
+
* @type {readonly string[]}
|
|
35
|
+
*/
|
|
36
|
+
export const TS_FILES = ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'];
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* JavaScript files only (including ESM modules).
|
|
40
|
+
*
|
|
41
|
+
* Includes:
|
|
42
|
+
* - Standard JavaScript: `.js`, `.jsx`
|
|
43
|
+
* - ESM modules: `.mjs`
|
|
44
|
+
*
|
|
45
|
+
* Used for JavaScript-specific rules where TypeScript rules don't apply
|
|
46
|
+
* (e.g., when TypeScript rules are disabled for `.js` files).
|
|
47
|
+
*
|
|
48
|
+
* @type {readonly string[]}
|
|
49
|
+
*/
|
|
50
|
+
export const JS_FILES = ['**/*.js', '**/*.jsx', '**/*.mjs'];
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Test file patterns for Vitest, Jest, Cypress, and Playwright.
|
|
54
|
+
*
|
|
55
|
+
* Includes patterns for:
|
|
56
|
+
* - Vitest/Jest: `*.test.{ts,tsx,js,jsx,mjs}`, `*.spec.*`, `test/**`, `tests/**`, `__tests__/**`
|
|
57
|
+
* - Cypress: `cypress/**`, `cypress.config.*`, `cypress.env.*`
|
|
58
|
+
* - Playwright: `playwright/**`, `playwright.config.*`, `*.playwright.*`
|
|
59
|
+
* - Test utilities: `*.test-utils.*`, `*.test-helpers.*`
|
|
60
|
+
* - Test configs: `vitest.config.*`
|
|
61
|
+
*
|
|
62
|
+
* Used by test configuration to apply test-specific rules and globals.
|
|
63
|
+
*
|
|
64
|
+
* @type {readonly string[]}
|
|
65
|
+
*/
|
|
66
|
+
export const TEST_FILES = [
|
|
67
|
+
// Vitest/Jest test files
|
|
68
|
+
'**/*.test.{ts,tsx,js,jsx,mjs}',
|
|
69
|
+
'**/*.spec.{ts,tsx,js,jsx,mjs}',
|
|
70
|
+
'**/test/**/*.{ts,tsx,js,jsx,mjs}',
|
|
71
|
+
'**/tests/**/*.{ts,tsx,js,jsx,mjs}',
|
|
72
|
+
'**/__tests__/**/*.{ts,tsx,js,jsx,mjs}',
|
|
73
|
+
// Cypress test files
|
|
74
|
+
'**/cypress/**/*.{ts,tsx,js,jsx}',
|
|
75
|
+
'**/cypress.config.{ts,js,mjs}',
|
|
76
|
+
'**/cypress.env.{ts,js,mjs}',
|
|
77
|
+
// Playwright test files
|
|
78
|
+
'**/playwright/**/*.{ts,tsx,js,jsx}',
|
|
79
|
+
'**/playwright.config.{ts,js,mjs}',
|
|
80
|
+
'**/*.playwright.{ts,tsx,js,jsx}',
|
|
81
|
+
// Vitest config files
|
|
82
|
+
'**/vitest.config.{ts,js,mjs}',
|
|
83
|
+
// General test utilities and helpers
|
|
84
|
+
'**/*.test-utils.{ts,tsx,js,jsx}',
|
|
85
|
+
'**/*.test-helpers.{ts,tsx,js,jsx}',
|
|
86
|
+
];
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Config file patterns for build tools, linters, and test frameworks.
|
|
90
|
+
*
|
|
91
|
+
* Includes:
|
|
92
|
+
* - General configs: `*.config.{js,ts,mjs}`
|
|
93
|
+
* - ESLint configs: `eslint.config.{js,mjs}`
|
|
94
|
+
* - Vitest configs: `vitest.config.{ts,js,mjs}`
|
|
95
|
+
* - Playwright configs: `playwright.config.{ts,js,mjs}`
|
|
96
|
+
*
|
|
97
|
+
* Used for relaxing certain rules in configuration files (e.g., allowing `console`,
|
|
98
|
+
* disabling `import/no-extraneous-dependencies`).
|
|
99
|
+
*
|
|
100
|
+
* @type {readonly string[]}
|
|
101
|
+
*/
|
|
102
|
+
export const CONFIG_FILES = [
|
|
103
|
+
'**/*.config.{js,ts,mjs}',
|
|
104
|
+
'**/eslint.config.{js,mjs}',
|
|
105
|
+
'**/vitest.config.{ts,js,mjs}',
|
|
106
|
+
'**/playwright.config.{ts,js,mjs}',
|
|
107
|
+
];
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Storybook-related file patterns.
|
|
111
|
+
*
|
|
112
|
+
* Includes story files, .storybook config files, and story test files.
|
|
113
|
+
*
|
|
114
|
+
* Used by Storybook configuration to apply Storybook-specific rules and
|
|
115
|
+
* disable type-aware linting for performance.
|
|
116
|
+
*
|
|
117
|
+
* @type {readonly string[]}
|
|
118
|
+
*/
|
|
119
|
+
export const STORYBOOK_FILES = [
|
|
120
|
+
'**/*.stories.@(ts|tsx|js|jsx|mjs|mdx)',
|
|
121
|
+
'**/.storybook/**/*.{ts,tsx,js,jsx,mjs}',
|
|
122
|
+
'**/stories/**/*.test.{ts,tsx}',
|
|
123
|
+
'**/stories/**/*.spec.{ts,tsx}',
|
|
124
|
+
];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Node.js 22+ globals for ESLint configuration
|
|
3
|
+
*
|
|
4
|
+
* Node.js 22 includes native support for Fetch API, WebSocket, and other
|
|
5
|
+
* web-standard globals. This module provides a consolidated set of globals
|
|
6
|
+
* for Node.js projects, combining standard Node.js globals with new web APIs.
|
|
7
|
+
*
|
|
8
|
+
* @module node-globals
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import globals from 'globals';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Complete set of Node.js 22+ globals including:
|
|
15
|
+
* - All standard Node.js globals (process, Buffer, etc.)
|
|
16
|
+
* - Native Fetch API (fetch, Request, Response, Headers, FormData)
|
|
17
|
+
* - WebSocket support
|
|
18
|
+
* - navigator (for compatibility with web APIs)
|
|
19
|
+
* - CommonJS module variables (__dirname, __filename)
|
|
20
|
+
*
|
|
21
|
+
* @type {Record<string, 'readonly' | 'writable'>}
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* import { NODE_22_GLOBALS } from './shared/node-globals.mjs';
|
|
25
|
+
*
|
|
26
|
+
* const config = {
|
|
27
|
+
* languageOptions: {
|
|
28
|
+
* globals: NODE_22_GLOBALS,
|
|
29
|
+
* },
|
|
30
|
+
* };
|
|
31
|
+
*/
|
|
32
|
+
export const NODE_22_GLOBALS = {
|
|
33
|
+
...globals.node,
|
|
34
|
+
// Native Fetch API (Node.js 18+)
|
|
35
|
+
fetch: 'readonly',
|
|
36
|
+
Request: 'readonly',
|
|
37
|
+
Response: 'readonly',
|
|
38
|
+
Headers: 'readonly',
|
|
39
|
+
FormData: 'readonly',
|
|
40
|
+
// WebSocket (Node.js 22+)
|
|
41
|
+
WebSocket: 'readonly',
|
|
42
|
+
// Web compatibility
|
|
43
|
+
navigator: 'readonly',
|
|
44
|
+
// CommonJS module variables (still used in .mjs via import.meta workarounds)
|
|
45
|
+
__dirname: 'readonly',
|
|
46
|
+
__filename: 'readonly',
|
|
47
|
+
// Explicit common globals (already in globals.node but listed for clarity)
|
|
48
|
+
process: 'readonly',
|
|
49
|
+
console: 'readonly',
|
|
50
|
+
};
|