@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,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview config-structure.test.mjs
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { describe, expect, it } from 'vitest';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// Import all exported configs
|
|
9
|
+
import expoConfig from '../expo.mjs';
|
|
10
|
+
import nextConfig from '../next.mjs';
|
|
11
|
+
import nodeConfig from '../node.mjs';
|
|
12
|
+
import reactConfig from '../react.mjs';
|
|
13
|
+
import storybookConfig from '../storybook.mjs';
|
|
14
|
+
import testConfig from '../test.mjs';
|
|
15
|
+
import { validateESLintConfig } from '../utils/validate-config.mjs';
|
|
16
|
+
|
|
17
|
+
describe('ESLint Config Structure Validation', () => {
|
|
18
|
+
it('should validate node config structure', () => {
|
|
19
|
+
expect(validateESLintConfig(nodeConfig, 'node')).toBe(true);
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should validate react config structure', () => {
|
|
23
|
+
expect(validateESLintConfig(reactConfig, 'react')).toBe(true);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it('should validate next config structure', () => {
|
|
27
|
+
expect(validateESLintConfig(nextConfig, 'next')).toBe(true);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it('should validate expo config structure', () => {
|
|
31
|
+
expect(validateESLintConfig(expoConfig, 'expo')).toBe(true);
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
it('should validate storybook config structure', () => {
|
|
35
|
+
expect(validateESLintConfig(storybookConfig, 'storybook')).toBe(true);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
it('should validate test config structure', () => {
|
|
39
|
+
expect(validateESLintConfig(testConfig, 'test')).toBe(true);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
describe('ESLint Config Structure Validation - Invalid Cases', () => {
|
|
44
|
+
it('should throw on null config', () => {
|
|
45
|
+
expect(() => validateESLintConfig(null, 'null-test')).toThrow(
|
|
46
|
+
'[null-test] Config must be an object or array',
|
|
47
|
+
);
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
it('should throw on primitive config', () => {
|
|
51
|
+
expect(() => validateESLintConfig('string', 'string-test')).toThrow(
|
|
52
|
+
'[string-test] Config must be an object or array',
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
it('should throw on config with invalid plugins type', () => {
|
|
57
|
+
expect(() => validateESLintConfig({ plugins: 'invalid' }, 'invalid-plugins')).toThrow(
|
|
58
|
+
'[invalid-plugins] plugins must be an object',
|
|
59
|
+
);
|
|
60
|
+
});
|
|
61
|
+
});
|
package/eslint/base.mjs
ADDED
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Base ESLint configuration for the monorepo
|
|
3
|
+
*
|
|
4
|
+
* This is the foundation configuration that all other ESLint configs extend.
|
|
5
|
+
* It includes:
|
|
6
|
+
* - TypeScript ESLint recommended rules
|
|
7
|
+
* - Security rules (OWASP)
|
|
8
|
+
* - Promise best practices
|
|
9
|
+
* - Unused imports detection
|
|
10
|
+
* - JSDoc validation
|
|
11
|
+
* - YAML and JSON validation
|
|
12
|
+
* - Custom rules (no-used-underscore-vars)
|
|
13
|
+
*
|
|
14
|
+
* **Note**: This config is internal-only and not exported. Use specific configs
|
|
15
|
+
* like `@od-oneapp/config/eslint/node`, `@od-oneapp/config/eslint/react`, etc.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
import prettier from 'eslint-config-prettier';
|
|
19
|
+
import jsdoc from 'eslint-plugin-jsdoc';
|
|
20
|
+
import pnpmPlugin from 'eslint-plugin-pnpm';
|
|
21
|
+
import promisePlugin from 'eslint-plugin-promise';
|
|
22
|
+
import securityPlugin from 'eslint-plugin-security';
|
|
23
|
+
import unusedImportsPlugin from 'eslint-plugin-unused-imports';
|
|
24
|
+
import ymlPlugin from 'eslint-plugin-yml';
|
|
25
|
+
import jsoncParser from 'jsonc-eslint-parser';
|
|
26
|
+
import tseslint from 'typescript-eslint';
|
|
27
|
+
import * as yamlParser from 'yaml-eslint-parser';
|
|
28
|
+
|
|
29
|
+
import noUsedUnderscoreVars from './rules/no-used-underscore-vars.mjs';
|
|
30
|
+
import { GLOBAL_IGNORES, TYPE_AWARE_IGNORES } from './shared/common-ignores.mjs';
|
|
31
|
+
import { DISABLED_TYPE_AWARE_RULES } from './shared/disabled-type-aware-rules.mjs';
|
|
32
|
+
import { createValidatedConfig } from './utils/create-validated-config.mjs';
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Base ESLint configuration array
|
|
36
|
+
*
|
|
37
|
+
* @type {import('typescript-eslint').ConfigArray}
|
|
38
|
+
*/
|
|
39
|
+
const config = tseslint.config(
|
|
40
|
+
{
|
|
41
|
+
// Global ignores - applies to all files
|
|
42
|
+
// Note: .storybook/** is not ignored here so it can be linted by the Storybook config
|
|
43
|
+
// See shared/common-ignores.mjs for the full list (single source of truth)
|
|
44
|
+
ignores: GLOBAL_IGNORES,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts', '**/*.js', '**/*.jsx', '**/*.mjs'],
|
|
48
|
+
},
|
|
49
|
+
...tseslint.configs.recommended,
|
|
50
|
+
prettier,
|
|
51
|
+
{
|
|
52
|
+
// Only apply type-aware linting to TypeScript files
|
|
53
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
|
|
54
|
+
languageOptions: {
|
|
55
|
+
parserOptions: {
|
|
56
|
+
projectService: true,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
// Ignore config files and Storybook files - they're handled by specific configs
|
|
60
|
+
// See shared/common-ignores.mjs TYPE_AWARE_IGNORES for the full list
|
|
61
|
+
ignores: TYPE_AWARE_IGNORES,
|
|
62
|
+
rules: {
|
|
63
|
+
// Disabled in favor of unused-imports plugin
|
|
64
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
65
|
+
'@typescript-eslint/consistent-type-imports': [
|
|
66
|
+
'error',
|
|
67
|
+
{
|
|
68
|
+
prefer: 'type-imports',
|
|
69
|
+
fixStyle: 'inline-type-imports',
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
// Security, Promise, and Unused Imports rules
|
|
76
|
+
files: ['**/*.{ts,tsx,js,jsx,mts,mjs}'],
|
|
77
|
+
plugins: {
|
|
78
|
+
security: securityPlugin,
|
|
79
|
+
promise: promisePlugin,
|
|
80
|
+
'unused-imports': unusedImportsPlugin,
|
|
81
|
+
'no-used-underscore-vars': {
|
|
82
|
+
rules: {
|
|
83
|
+
'no-used-underscore-vars': noUsedUnderscoreVars,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
rules: {
|
|
88
|
+
// Security rules (OWASP)
|
|
89
|
+
'security/detect-eval-with-expression': 'error',
|
|
90
|
+
'security/detect-non-literal-require': 'error',
|
|
91
|
+
'security/detect-buffer-noassert': 'error',
|
|
92
|
+
'security/detect-unsafe-regex': 'error',
|
|
93
|
+
'security/detect-child-process': 'error',
|
|
94
|
+
'security/detect-non-literal-fs-filename': 'warn',
|
|
95
|
+
'security/detect-object-injection': 'off', // Too noisy
|
|
96
|
+
'security/detect-possible-timing-attacks': 'warn',
|
|
97
|
+
|
|
98
|
+
// Core security
|
|
99
|
+
'no-eval': 'error',
|
|
100
|
+
'no-implied-eval': 'error',
|
|
101
|
+
'no-new-func': 'error',
|
|
102
|
+
|
|
103
|
+
// Promise rules
|
|
104
|
+
'promise/always-return': 'warn',
|
|
105
|
+
'promise/catch-or-return': 'warn',
|
|
106
|
+
'promise/no-callback-in-promise': 'warn',
|
|
107
|
+
'promise/param-names': [
|
|
108
|
+
'error',
|
|
109
|
+
{
|
|
110
|
+
rejectPattern: '^_?reject$',
|
|
111
|
+
resolvePattern: '^_?resolve$',
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
'promise/prefer-await-to-then': 'warn',
|
|
115
|
+
|
|
116
|
+
// Unused imports (replaces TypeScript built-in)
|
|
117
|
+
'unused-imports/no-unused-imports': 'error',
|
|
118
|
+
'unused-imports/no-unused-vars': [
|
|
119
|
+
'warn',
|
|
120
|
+
{
|
|
121
|
+
args: 'after-used',
|
|
122
|
+
argsIgnorePattern: '^_',
|
|
123
|
+
varsIgnorePattern: '^_',
|
|
124
|
+
caughtErrorsIgnorePattern: '^_',
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
|
|
128
|
+
// Custom rule
|
|
129
|
+
'no-used-underscore-vars/no-used-underscore-vars': 'error',
|
|
130
|
+
|
|
131
|
+
// General best practices (from XO) - apply to all configs
|
|
132
|
+
// Enforce using @od-oneapp/observability logger instead of console statements
|
|
133
|
+
// Use: import { logInfo, logWarn, logError, logDebug } from '@od-oneapp/shared/logs/client/next'
|
|
134
|
+
'no-console': 'error',
|
|
135
|
+
'no-implicit-coercion': 'error',
|
|
136
|
+
'no-negated-condition': 'off', // Too opinionated
|
|
137
|
+
'no-unused-expressions': [
|
|
138
|
+
'error',
|
|
139
|
+
{
|
|
140
|
+
allowShortCircuit: true,
|
|
141
|
+
allowTernary: true,
|
|
142
|
+
allowTaggedTemplates: true,
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
'prefer-arrow-callback': ['warn', { allowNamedFunctions: true }],
|
|
146
|
+
'prefer-const': 'error',
|
|
147
|
+
'prefer-template': 'error',
|
|
148
|
+
'object-shorthand': ['error', 'always'],
|
|
149
|
+
'prefer-destructuring': [
|
|
150
|
+
'warn',
|
|
151
|
+
{
|
|
152
|
+
array: false,
|
|
153
|
+
object: true,
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
// TypeScript rules only apply to TypeScript files (not .js/.mjs)
|
|
160
|
+
// Exclude Storybook files, test config files, and generated files
|
|
161
|
+
// See shared/common-ignores.mjs TYPE_AWARE_IGNORES for the full list
|
|
162
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
|
|
163
|
+
ignores: TYPE_AWARE_IGNORES,
|
|
164
|
+
rules: {
|
|
165
|
+
// Type-aware rules that require parserOptions.projectService
|
|
166
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
167
|
+
'@typescript-eslint/no-misused-promises': [
|
|
168
|
+
'error',
|
|
169
|
+
{
|
|
170
|
+
checksConditionals: true,
|
|
171
|
+
checksVoidReturn: true,
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
// TODO: Re-enable prefer-nullish-coalescing rule after fixing existing violations
|
|
175
|
+
// Temporarily disabled due to many existing violations in codebase
|
|
176
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
177
|
+
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
178
|
+
// Disabled: Too many false positives with runtime checks that TypeScript can't verify
|
|
179
|
+
// Re-enable if needed after fixing remaining legitimate cases
|
|
180
|
+
'@typescript-eslint/no-unnecessary-condition': 'off',
|
|
181
|
+
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
|
|
182
|
+
'@typescript-eslint/prefer-as-const': 'error',
|
|
183
|
+
'@typescript-eslint/switch-exhaustiveness-check': 'warn',
|
|
184
|
+
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
185
|
+
'@typescript-eslint/prefer-includes': 'error',
|
|
186
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
|
187
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
188
|
+
// Allow implicit any (no-unsafe-* rules are off)
|
|
189
|
+
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
190
|
+
'@typescript-eslint/no-unsafe-call': 'off',
|
|
191
|
+
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
192
|
+
'@typescript-eslint/no-unsafe-return': 'off',
|
|
193
|
+
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
194
|
+
'@typescript-eslint/explicit-function-return-type': 'off', // Too strict, TypeScript infers well
|
|
195
|
+
'@typescript-eslint/strict-boolean-expressions': 'off', // Too strict for most codebases
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
// Discourage JavaScript files - prefer TypeScript
|
|
200
|
+
files: ['**/*.js', '**/*.jsx', '**/*.mjs'],
|
|
201
|
+
ignores: ['**/generated/**', '**/dist/**'],
|
|
202
|
+
rules: {
|
|
203
|
+
// Note: JavaScript files are supported but discouraged
|
|
204
|
+
// Prefer TypeScript (.ts/.tsx) for type safety and better DX
|
|
205
|
+
// Use .mjs only for ESM JavaScript when TypeScript isn't suitable
|
|
206
|
+
'no-undef': 'error', // Catch undefined variables in JS files
|
|
207
|
+
// Use standard ESLint no-unused-vars for JS files (disable unused-imports plugin to avoid conflict)
|
|
208
|
+
'unused-imports/no-unused-vars': 'off',
|
|
209
|
+
'no-unused-vars': [
|
|
210
|
+
'warn',
|
|
211
|
+
{
|
|
212
|
+
args: 'after-used', // Consistent with TS config
|
|
213
|
+
argsIgnorePattern: '^_',
|
|
214
|
+
varsIgnorePattern: '^_',
|
|
215
|
+
caughtErrorsIgnorePattern: '^_',
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
// Disable TypeScript-specific rules for JavaScript files
|
|
219
|
+
...DISABLED_TYPE_AWARE_RULES,
|
|
220
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
221
|
+
'@typescript-eslint/consistent-type-imports': 'off',
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
// JSDoc plugin for documentation consistency
|
|
226
|
+
// Note: Most jsdoc/require-* rules are off by default; only enabled rules and
|
|
227
|
+
// non-default overrides are specified here
|
|
228
|
+
files: ['**/*.{ts,tsx,js,jsx,mts,cts,mjs}'],
|
|
229
|
+
plugins: {
|
|
230
|
+
jsdoc,
|
|
231
|
+
},
|
|
232
|
+
rules: {
|
|
233
|
+
// JSDoc format and style rules (enforce when JSDoc is used)
|
|
234
|
+
'jsdoc/check-alignment': 'warn',
|
|
235
|
+
'jsdoc/check-indentation': 'warn',
|
|
236
|
+
'jsdoc/check-syntax': 'error',
|
|
237
|
+
'jsdoc/check-types': 'warn',
|
|
238
|
+
'jsdoc/empty-tags': 'error',
|
|
239
|
+
'jsdoc/no-bad-blocks': 'warn',
|
|
240
|
+
'jsdoc/no-defaults': 'warn',
|
|
241
|
+
'jsdoc/require-param-name': 'error',
|
|
242
|
+
'jsdoc/require-property-name': 'error',
|
|
243
|
+
'jsdoc/valid-types': 'error',
|
|
244
|
+
|
|
245
|
+
// Disable rules that conflict with TypeScript (these are NOT off by default)
|
|
246
|
+
'jsdoc/no-undefined-types': 'off', // TypeScript handles types
|
|
247
|
+
'jsdoc/require-returns-check': 'off', // TypeScript provides return types
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
// YAML configuration - enforce double quotes
|
|
252
|
+
files: ['**/*.yaml', '**/*.yml'],
|
|
253
|
+
ignores: ['**/pnpm-lock.yaml'],
|
|
254
|
+
languageOptions: {
|
|
255
|
+
parser: yamlParser,
|
|
256
|
+
},
|
|
257
|
+
plugins: {
|
|
258
|
+
yml: ymlPlugin,
|
|
259
|
+
},
|
|
260
|
+
rules: {
|
|
261
|
+
// Prefer double quotes over single quotes in YAML
|
|
262
|
+
'yml/quotes': [
|
|
263
|
+
'error',
|
|
264
|
+
{
|
|
265
|
+
prefer: 'double',
|
|
266
|
+
avoidEscape: true, // Allow single quotes only when escaping would be necessary
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
// PNPM package.json validation
|
|
273
|
+
files: ['**/package.json'],
|
|
274
|
+
languageOptions: {
|
|
275
|
+
parser: jsoncParser,
|
|
276
|
+
},
|
|
277
|
+
plugins: {
|
|
278
|
+
pnpm: pnpmPlugin,
|
|
279
|
+
},
|
|
280
|
+
rules: {
|
|
281
|
+
'pnpm/json-valid-catalog': 'error',
|
|
282
|
+
'pnpm/json-prefer-workspace-settings': 'warn',
|
|
283
|
+
// Disable TypeScript rules that require type information for JSON files
|
|
284
|
+
'@typescript-eslint/consistent-type-imports': 'off',
|
|
285
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
// PNPM workspace YAML validation
|
|
290
|
+
files: ['**/pnpm-workspace.yaml', '**/pnpm-workspace.yml'],
|
|
291
|
+
languageOptions: {
|
|
292
|
+
parser: yamlParser,
|
|
293
|
+
},
|
|
294
|
+
plugins: {
|
|
295
|
+
pnpm: pnpmPlugin,
|
|
296
|
+
},
|
|
297
|
+
rules: {
|
|
298
|
+
'pnpm/yaml-no-unused-catalog-item': 'error',
|
|
299
|
+
'pnpm/yaml-no-duplicate-catalog-item': 'error',
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
// Config files - allow console (import rules handled in react.mjs which has import plugin)
|
|
304
|
+
files: [
|
|
305
|
+
'**/*.config.{js,ts,mjs}',
|
|
306
|
+
'**/eslint.config.{js,mjs}',
|
|
307
|
+
'**/vitest.config.{ts,js,mjs}',
|
|
308
|
+
'**/playwright.config.{ts,js,mjs}',
|
|
309
|
+
],
|
|
310
|
+
rules: {
|
|
311
|
+
'no-console': 'off',
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
// Script files - relax security rules
|
|
316
|
+
files: ['**/scripts/**/*.{ts,js,mjs}'],
|
|
317
|
+
rules: {
|
|
318
|
+
'no-console': 'off',
|
|
319
|
+
'security/detect-non-literal-fs-filename': 'off',
|
|
320
|
+
'security/detect-non-literal-require': 'off',
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
// .mjs files - allow console for ESM scripts that may need fallback logging
|
|
325
|
+
// These files run directly in Node.js ESM and may use console as fallback
|
|
326
|
+
// when @od-oneapp/shared/logs/client/next cannot be imported (e.g., during build scripts)
|
|
327
|
+
files: ['**/*.mjs'],
|
|
328
|
+
rules: {
|
|
329
|
+
'no-console': 'off',
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
// ESLint config utilities - allow console for validation error fallback (e.g. create-validated-config)
|
|
334
|
+
files: ['**/eslint/utils/**'],
|
|
335
|
+
rules: {
|
|
336
|
+
'no-console': 'off',
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
// Environment validation files - console allowed for early validation warnings
|
|
341
|
+
// These run before @od-oneapp/observability is initialized
|
|
342
|
+
files: ['**/env.ts', '**/env.mts'],
|
|
343
|
+
rules: {
|
|
344
|
+
'no-console': 'off',
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
// Note: Type definition file rules (import/no-duplicates) are in react.mjs which has the import plugin
|
|
348
|
+
);
|
|
349
|
+
|
|
350
|
+
export default createValidatedConfig(config, 'base');
|
package/eslint/expo.mjs
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview ESLint configuration for Expo/React Native projects
|
|
3
|
+
*
|
|
4
|
+
* Extends React config and adds React Native specific rules and patterns.
|
|
5
|
+
* Optimized for Expo SDK and React Native development.
|
|
6
|
+
*
|
|
7
|
+
* **Features**:
|
|
8
|
+
* - React Native plugin rules
|
|
9
|
+
* - React Native accessibility props support
|
|
10
|
+
* - React 19.2 support (inherited from react.mjs)
|
|
11
|
+
* - React Native best practices (no inline styles, split platform components)
|
|
12
|
+
*
|
|
13
|
+
* **Use cases**:
|
|
14
|
+
* - Expo applications
|
|
15
|
+
* - React Native applications
|
|
16
|
+
* - Cross-platform mobile development
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```javascript
|
|
20
|
+
* // eslint.config.mjs
|
|
21
|
+
* import expoConfig from '@od-oneapp/config/eslint/expo';
|
|
22
|
+
* export default expoConfig;
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import reactNative from 'eslint-plugin-react-native';
|
|
27
|
+
import tseslint from 'typescript-eslint';
|
|
28
|
+
|
|
29
|
+
import reactConfig from './react.mjs';
|
|
30
|
+
import { createValidatedConfig } from './utils/create-validated-config.mjs';
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Expo/React Native ESLint configuration
|
|
34
|
+
*
|
|
35
|
+
* @type {import('typescript-eslint').ConfigArray}
|
|
36
|
+
*/
|
|
37
|
+
const config = tseslint.config(...reactConfig, {
|
|
38
|
+
files: ['**/*.{ts,tsx,js,jsx,mjs}'],
|
|
39
|
+
plugins: {
|
|
40
|
+
'react-native': reactNative,
|
|
41
|
+
},
|
|
42
|
+
// Note: React settings (version: 'detect') are inherited from react.mjs
|
|
43
|
+
rules: {
|
|
44
|
+
// React Native specific rules
|
|
45
|
+
'react-native/no-unused-styles': 'warn',
|
|
46
|
+
'react-native/split-platform-components': 'warn',
|
|
47
|
+
'react-native/no-inline-styles': 'warn',
|
|
48
|
+
'react-native/no-color-literals': 'warn',
|
|
49
|
+
'react-native/no-raw-text': 'warn',
|
|
50
|
+
'react-native/no-single-element-style-arrays': 'warn',
|
|
51
|
+
|
|
52
|
+
// Override React web-specific rules for React Native
|
|
53
|
+
'react/no-unknown-property': [
|
|
54
|
+
'error',
|
|
55
|
+
{
|
|
56
|
+
ignore: [
|
|
57
|
+
// React Native specific props
|
|
58
|
+
'accessibilityRole',
|
|
59
|
+
'accessibilityLabel',
|
|
60
|
+
'accessibilityHint',
|
|
61
|
+
'accessibilityState',
|
|
62
|
+
'accessibilityValue',
|
|
63
|
+
'accessibilityLiveRegion',
|
|
64
|
+
'accessibilityViewIsModal',
|
|
65
|
+
'accessibilityElementsHidden',
|
|
66
|
+
'testID',
|
|
67
|
+
'nativeID',
|
|
68
|
+
'collapsable',
|
|
69
|
+
'needsOffscreenAlphaCompositing',
|
|
70
|
+
'renderToHardwareTextureAndroid',
|
|
71
|
+
'importantForAccessibility',
|
|
72
|
+
'accessibilityIgnoresInvertColors',
|
|
73
|
+
'accessibilityElementsHidden',
|
|
74
|
+
'pointerEvents',
|
|
75
|
+
'removeClippedSubviews',
|
|
76
|
+
'shouldRasterizeIOS',
|
|
77
|
+
'onStartShouldSetResponder',
|
|
78
|
+
'onMoveShouldSetResponder',
|
|
79
|
+
'onStartShouldSetResponderCapture',
|
|
80
|
+
'onMoveShouldSetResponderCapture',
|
|
81
|
+
'onResponderGrant',
|
|
82
|
+
'onResponderMove',
|
|
83
|
+
'onResponderRelease',
|
|
84
|
+
'onResponderTerminate',
|
|
85
|
+
'onResponderTerminationRequest',
|
|
86
|
+
'elevation',
|
|
87
|
+
'hitSlop',
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
|
|
92
|
+
// React Native best practices
|
|
93
|
+
'react/jsx-no-leaked-render': 'off', // React Native handles this differently
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export default createValidatedConfig(config, 'expo');
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Combined ESLint configuration for Next.js projects with test support
|
|
3
|
+
*
|
|
4
|
+
* Combines Next.js config with test config, filtering out conflicting TypeScript ESLint
|
|
5
|
+
* configs to avoid "Cannot redefine plugin" errors.
|
|
6
|
+
*
|
|
7
|
+
* **Use cases**:
|
|
8
|
+
* - Next.js projects that need test file linting
|
|
9
|
+
* - Single config for both app and test files
|
|
10
|
+
*
|
|
11
|
+
* **Note**: This is a convenience export. You can also combine manually:
|
|
12
|
+
* ```javascript
|
|
13
|
+
* import nextConfig from '@od-oneapp/config/eslint/next';
|
|
14
|
+
* import testConfig from '@od-oneapp/config/eslint/test';
|
|
15
|
+
* import { filterTypeScriptESLintConfigs } from '@od-oneapp/config/eslint/utils/filter-ts-eslint-configs';
|
|
16
|
+
* export default [...nextConfig, ...filterTypeScriptESLintConfigs(testConfig)];
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```javascript
|
|
21
|
+
* // eslint.config.mjs
|
|
22
|
+
* import nextTestConfig from '@od-oneapp/config/eslint/next-test';
|
|
23
|
+
* export default nextTestConfig;
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
import nextConfig from './next.mjs';
|
|
28
|
+
import testConfig from './test.mjs';
|
|
29
|
+
import { createValidatedConfig } from './utils/create-validated-config.mjs';
|
|
30
|
+
import { filterTypeScriptESLintConfigs } from './utils/filter-ts-eslint-configs.mjs';
|
|
31
|
+
|
|
32
|
+
// Filter out TypeScript ESLint configs from testConfig since nextConfig (eslint-config-next) provides them
|
|
33
|
+
// This avoids "Cannot redefine plugin" errors
|
|
34
|
+
const testConfigWithoutTS = filterTypeScriptESLintConfigs(testConfig);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Combined Next.js + Test ESLint configuration
|
|
38
|
+
*
|
|
39
|
+
* @type {import('typescript-eslint').ConfigArray}
|
|
40
|
+
*/
|
|
41
|
+
const config = [...nextConfig, ...testConfigWithoutTS];
|
|
42
|
+
|
|
43
|
+
export default createValidatedConfig(config, 'next-test');
|
package/eslint/next.mjs
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview ESLint configuration for Next.js 16 projects
|
|
3
|
+
*
|
|
4
|
+
* Extends React config and integrates with `eslint-config-next` for Next.js-specific rules.
|
|
5
|
+
* Includes Core Web Vitals optimizations for Next.js 16 performance.
|
|
6
|
+
*
|
|
7
|
+
* **Features**:
|
|
8
|
+
* - Next.js 16 App Router rules
|
|
9
|
+
* - Core Web Vitals optimizations
|
|
10
|
+
* - React 19.2 support (inherited from react.mjs)
|
|
11
|
+
* - TypeScript ESLint (provided by eslint-config-next)
|
|
12
|
+
* - Import and JSX-a11y plugins (provided by eslint-config-next)
|
|
13
|
+
*
|
|
14
|
+
* **Note**: Filters out conflicting plugins from react.mjs to avoid "Cannot redefine plugin" errors.
|
|
15
|
+
* The Next.js config provides its own optimized versions of these plugins.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```javascript
|
|
19
|
+
* // eslint.config.mjs
|
|
20
|
+
* import nextConfig from '@od-oneapp/config/eslint/next';
|
|
21
|
+
* export default nextConfig;
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import nextMain from 'eslint-config-next';
|
|
26
|
+
import nextVitals from 'eslint-config-next/core-web-vitals';
|
|
27
|
+
import tseslint from 'typescript-eslint';
|
|
28
|
+
|
|
29
|
+
import reactConfig from './react.mjs';
|
|
30
|
+
import { createValidatedConfig } from './utils/create-validated-config.mjs';
|
|
31
|
+
import { filterPluginsForNextJs } from './utils/filter-ts-eslint-configs.mjs';
|
|
32
|
+
|
|
33
|
+
// Filter out plugin definitions and TypeScript ESLint configs from reactConfig
|
|
34
|
+
// since nextMain (eslint-config-next) will provide them
|
|
35
|
+
// This avoids "Cannot redefine plugin" errors
|
|
36
|
+
const reactConfigWithoutPlugins = filterPluginsForNextJs(reactConfig);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Next.js ESLint configuration
|
|
40
|
+
*
|
|
41
|
+
* @type {import('typescript-eslint').ConfigArray}
|
|
42
|
+
*/
|
|
43
|
+
const config = tseslint.config(
|
|
44
|
+
// Apply React config (without import/jsx-a11y plugins to avoid conflicts)
|
|
45
|
+
...reactConfigWithoutPlugins,
|
|
46
|
+
// Main Next.js config - includes all Next.js rules, React rules, TypeScript rules, and Next.js plugin
|
|
47
|
+
// Next.js provides: react, react-hooks, import, jsx-a11y plugins with Next.js-optimized settings
|
|
48
|
+
...nextMain,
|
|
49
|
+
// Additional Core Web Vitals rules for Next.js 16 performance optimization
|
|
50
|
+
// These enforce Web Vitals best practices specific to Next.js 16
|
|
51
|
+
...nextVitals,
|
|
52
|
+
{
|
|
53
|
+
// Next.js 16 specific rule overrides and enhancements
|
|
54
|
+
rules: {
|
|
55
|
+
// Core Web Vitals optimizations for Next.js 16
|
|
56
|
+
'@next/next/no-html-link-for-pages': 'error',
|
|
57
|
+
'@next/next/no-img-element': 'error',
|
|
58
|
+
|
|
59
|
+
// Next.js 16 App Router specific rules
|
|
60
|
+
'@next/next/no-before-interactive-script-outside-document': 'error',
|
|
61
|
+
'@next/next/no-assign-module-variable': 'error',
|
|
62
|
+
'@next/next/no-head-element': 'error',
|
|
63
|
+
|
|
64
|
+
// Performance and best practices for Next.js 16
|
|
65
|
+
'@next/next/no-page-custom-font': 'warn',
|
|
66
|
+
'@next/next/no-unwanted-polyfillio': 'warn',
|
|
67
|
+
},
|
|
68
|
+
// Override default ignores of eslint-config-next
|
|
69
|
+
// Note: .storybook/** is not ignored here so it can be linted by the Storybook config
|
|
70
|
+
ignores: ['**/.next/**', '**/out/**', '**/build/**', '**/next-env.d.ts'],
|
|
71
|
+
},
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
export default createValidatedConfig(config, 'next');
|