@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
package/eslint/node.mjs
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview ESLint configuration for Node.js projects
|
|
3
|
+
*
|
|
4
|
+
* Extends base config and adds Node.js 22+ specific rules and globals.
|
|
5
|
+
* Includes native Fetch API, WebSocket, and Node.js best practices.
|
|
6
|
+
*
|
|
7
|
+
* **Use cases**:
|
|
8
|
+
* - Node.js servers and APIs
|
|
9
|
+
* - CLI tools and scripts
|
|
10
|
+
* - Build tools and utilities
|
|
11
|
+
*
|
|
12
|
+
* **Note**: Do NOT combine with `react.mjs` - they both define the unicorn plugin.
|
|
13
|
+
* Use `node.mjs` for backend/Node.js projects, `react.mjs` for frontend projects.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```javascript
|
|
17
|
+
* // eslint.config.mjs
|
|
18
|
+
* import nodeConfig from '@od-oneapp/config/eslint/node';
|
|
19
|
+
* export default nodeConfig;
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import importPlugin from 'eslint-plugin-import';
|
|
24
|
+
import nodePlugin from 'eslint-plugin-n';
|
|
25
|
+
import unicorn from 'eslint-plugin-unicorn';
|
|
26
|
+
import tseslint from 'typescript-eslint';
|
|
27
|
+
|
|
28
|
+
import baseConfig from './base.mjs';
|
|
29
|
+
import { NODE_22_GLOBALS } from './shared/node-globals.mjs';
|
|
30
|
+
import { createValidatedConfig } from './utils/create-validated-config.mjs';
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Node.js ESLint configuration
|
|
34
|
+
*
|
|
35
|
+
* @type {import('typescript-eslint').ConfigArray}
|
|
36
|
+
*/
|
|
37
|
+
const config = tseslint.config(...baseConfig, {
|
|
38
|
+
files: ['**/*.{ts,tsx,js,jsx,mjs}'],
|
|
39
|
+
languageOptions: {
|
|
40
|
+
globals: NODE_22_GLOBALS,
|
|
41
|
+
},
|
|
42
|
+
plugins: {
|
|
43
|
+
unicorn,
|
|
44
|
+
n: nodePlugin,
|
|
45
|
+
import: importPlugin,
|
|
46
|
+
},
|
|
47
|
+
rules: {
|
|
48
|
+
// Node.js specific best practices
|
|
49
|
+
'unicorn/prefer-node-protocol': 'error', // Use 'node:fs' instead of 'fs'
|
|
50
|
+
'unicorn/no-process-exit': 'off', // Allow process.exit in Node.js scripts
|
|
51
|
+
|
|
52
|
+
// Node.js specific patterns (using eslint-plugin-n)
|
|
53
|
+
'n/prefer-global/console': 'off', // Node.js has console
|
|
54
|
+
'n/prefer-global/process': 'off', // Node.js has process
|
|
55
|
+
|
|
56
|
+
// Node.js security
|
|
57
|
+
'n/no-sync': 'off', // Sync functions are sometimes needed in Node.js
|
|
58
|
+
|
|
59
|
+
// Additional Unicorn rules for Node.js
|
|
60
|
+
'unicorn/no-new-buffer': 'error',
|
|
61
|
+
|
|
62
|
+
// Allow Node.js convention variables __dirname and __filename
|
|
63
|
+
'no-used-underscore-vars/no-used-underscore-vars': [
|
|
64
|
+
'error',
|
|
65
|
+
{
|
|
66
|
+
allow: ['__dirname', '__filename'],
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
|
|
70
|
+
// Import plugin - Import organization
|
|
71
|
+
'import/order': [
|
|
72
|
+
'error',
|
|
73
|
+
{
|
|
74
|
+
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
|
|
75
|
+
pathGroups: [
|
|
76
|
+
{
|
|
77
|
+
pattern: 'react',
|
|
78
|
+
group: 'external',
|
|
79
|
+
position: 'before',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
pattern: 'next',
|
|
83
|
+
group: 'external',
|
|
84
|
+
position: 'before',
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
pathGroupsExcludedImportTypes: ['react', 'next'],
|
|
88
|
+
'newlines-between': 'always',
|
|
89
|
+
alphabetize: {
|
|
90
|
+
order: 'asc',
|
|
91
|
+
caseInsensitive: true,
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
'import/no-duplicates': 'error',
|
|
96
|
+
'import/no-self-import': 'error',
|
|
97
|
+
'import/no-useless-path-segments': ['error', { noUselessIndex: true }],
|
|
98
|
+
},
|
|
99
|
+
settings: {
|
|
100
|
+
node: {
|
|
101
|
+
tryExtensions: ['.js', '.mjs', '.json', '.node', '.ts', '.tsx'],
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export default createValidatedConfig(config, 'node');
|
package/eslint/react.mjs
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview ESLint configuration for React 19.2 projects
|
|
3
|
+
*
|
|
4
|
+
* Extends base config and adds React-specific rules optimized for React 19.2.
|
|
5
|
+
* Includes support for new React 19 hooks (`use`, `useActionState`, `useFormStatus`, `useOptimistic`).
|
|
6
|
+
*
|
|
7
|
+
* **Features**:
|
|
8
|
+
* - React 19.2 optimizations and best practices
|
|
9
|
+
* - JSX accessibility rules (jsx-a11y)
|
|
10
|
+
* - React Hooks rules with React 19 support
|
|
11
|
+
* - Import organization and validation
|
|
12
|
+
* - Code quality rules (Unicorn plugin)
|
|
13
|
+
* - Regex and secret detection
|
|
14
|
+
*
|
|
15
|
+
* **Use cases**:
|
|
16
|
+
* - React applications (standalone)
|
|
17
|
+
* - React libraries and components
|
|
18
|
+
* - Extend for Next.js or Expo projects
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* // eslint.config.mjs
|
|
23
|
+
* import reactConfig from '@od-oneapp/config/eslint/react';
|
|
24
|
+
* export default reactConfig;
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
import importPlugin from 'eslint-plugin-import';
|
|
29
|
+
import jsxA11y from 'eslint-plugin-jsx-a11y';
|
|
30
|
+
import noSecretsPlugin from 'eslint-plugin-no-secrets';
|
|
31
|
+
import react from 'eslint-plugin-react';
|
|
32
|
+
import reactHooks from 'eslint-plugin-react-hooks';
|
|
33
|
+
import regexpPlugin from 'eslint-plugin-regexp';
|
|
34
|
+
import unicorn from 'eslint-plugin-unicorn';
|
|
35
|
+
import tseslint from 'typescript-eslint';
|
|
36
|
+
|
|
37
|
+
import baseConfig from './base.mjs';
|
|
38
|
+
import { createValidatedConfig } from './utils/create-validated-config.mjs';
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* React ESLint configuration
|
|
42
|
+
*
|
|
43
|
+
* @type {import('typescript-eslint').ConfigArray}
|
|
44
|
+
*/
|
|
45
|
+
const config = tseslint.config(
|
|
46
|
+
...baseConfig,
|
|
47
|
+
{
|
|
48
|
+
files: ['**/*.{ts,tsx,js,jsx,mjs}'],
|
|
49
|
+
plugins: {
|
|
50
|
+
react,
|
|
51
|
+
'react-hooks': reactHooks,
|
|
52
|
+
unicorn,
|
|
53
|
+
import: importPlugin,
|
|
54
|
+
'jsx-a11y': jsxA11y,
|
|
55
|
+
},
|
|
56
|
+
languageOptions: {
|
|
57
|
+
parserOptions: {
|
|
58
|
+
ecmaFeatures: {
|
|
59
|
+
jsx: true,
|
|
60
|
+
},
|
|
61
|
+
ecmaVersion: 'latest',
|
|
62
|
+
},
|
|
63
|
+
globals: {
|
|
64
|
+
React: 'readonly',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
settings: {
|
|
68
|
+
react: {
|
|
69
|
+
version: '19.2.0', // Fixed React version for React 19.2
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
rules: {
|
|
73
|
+
// React plugin recommended rules for React 19.2
|
|
74
|
+
...react.configs.recommended.rules,
|
|
75
|
+
'react/jsx-uses-react': 'error',
|
|
76
|
+
'react/jsx-uses-vars': 'error',
|
|
77
|
+
'react/react-in-jsx-scope': 'off', // Not needed in React 17+ (automatic JSX runtime)
|
|
78
|
+
'react/prop-types': 'off', // TypeScript handles prop validation
|
|
79
|
+
|
|
80
|
+
// React 19.2 specific optimizations
|
|
81
|
+
'react/jsx-key': [
|
|
82
|
+
'error',
|
|
83
|
+
{
|
|
84
|
+
checkFragmentShorthand: true,
|
|
85
|
+
checkKeyMustBeforeSpread: true,
|
|
86
|
+
warnOnDuplicates: true,
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
|
|
90
|
+
// React 19 concurrent features and performance
|
|
91
|
+
'react/jsx-no-leaked-render': 'error', // Prevent conditional rendering issues
|
|
92
|
+
'react/jsx-no-target-blank': 'warn', // Security for external links
|
|
93
|
+
'react/no-array-index-key': 'warn', // Discourage array index as key
|
|
94
|
+
'react/no-danger': 'warn', // Discourage dangerouslySetInnerHTML
|
|
95
|
+
'react/self-closing-comp': [
|
|
96
|
+
'error',
|
|
97
|
+
{
|
|
98
|
+
component: true,
|
|
99
|
+
html: true,
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
|
|
103
|
+
// Additional React performance and best practice rules
|
|
104
|
+
'react/jsx-no-useless-fragment': ['error', { allowExpressions: true }],
|
|
105
|
+
'react/jsx-fragments': ['error', 'syntax'],
|
|
106
|
+
'react/no-unstable-nested-components': 'warn',
|
|
107
|
+
'react/jsx-no-constructed-context-values': 'warn',
|
|
108
|
+
'react/no-unused-prop-types': 'warn',
|
|
109
|
+
'react/button-has-type': 'warn',
|
|
110
|
+
'react/no-children-prop': 'error',
|
|
111
|
+
'react/no-danger-with-children': 'error',
|
|
112
|
+
'react/no-deprecated': 'warn',
|
|
113
|
+
'react/no-direct-mutation-state': 'error',
|
|
114
|
+
'react/no-find-dom-node': 'warn',
|
|
115
|
+
'react/no-is-mounted': 'error',
|
|
116
|
+
'react/no-render-return-value': 'warn',
|
|
117
|
+
'react/no-string-refs': 'error',
|
|
118
|
+
'react/no-unescaped-entities': 'warn',
|
|
119
|
+
'react/no-unknown-property': [
|
|
120
|
+
'error',
|
|
121
|
+
{
|
|
122
|
+
ignore: ['css'], // Styled-jsx support
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
'react/prefer-es6-class': ['error', 'always'],
|
|
126
|
+
'react/void-dom-elements-no-children': 'error',
|
|
127
|
+
|
|
128
|
+
// Accessibility rules (jsx-a11y) - Essential for web accessibility
|
|
129
|
+
...jsxA11y.configs.recommended.rules,
|
|
130
|
+
'jsx-a11y/anchor-is-valid': [
|
|
131
|
+
'error',
|
|
132
|
+
{
|
|
133
|
+
components: ['Link'],
|
|
134
|
+
specialLink: ['hrefLeft', 'hrefRight'],
|
|
135
|
+
aspects: ['invalidHref', 'preferButton'],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
'jsx-a11y/click-events-have-key-events': 'warn',
|
|
139
|
+
'jsx-a11y/no-static-element-interactions': 'warn',
|
|
140
|
+
'jsx-a11y/no-noninteractive-element-interactions': 'warn',
|
|
141
|
+
|
|
142
|
+
// React Hooks plugin recommended rules (optimized for React 19.2)
|
|
143
|
+
...reactHooks.configs.recommended.rules,
|
|
144
|
+
'react-hooks/rules-of-hooks': 'error', // Enforce Rules of Hooks
|
|
145
|
+
'react-hooks/exhaustive-deps': 'off', // Disabled - can produce false positives with complex deps
|
|
146
|
+
|
|
147
|
+
// ============================================================================
|
|
148
|
+
// XO-Inspired Rules (Selectively copied for code quality)
|
|
149
|
+
// ============================================================================
|
|
150
|
+
|
|
151
|
+
// Unicorn plugin - Code quality improvements (from XO)
|
|
152
|
+
// Note: Some unicorn rules overlap with @typescript-eslint rules (prefer-includes,
|
|
153
|
+
// prefer-string-starts-ends-with). The TS rules are type-aware for .ts files;
|
|
154
|
+
// unicorn rules provide coverage for .js files where TS rules are disabled.
|
|
155
|
+
'unicorn/better-regex': 'error',
|
|
156
|
+
'unicorn/consistent-function-scoping': 'warn',
|
|
157
|
+
'unicorn/no-array-callback-reference': 'error',
|
|
158
|
+
'unicorn/no-array-method-this-argument': 'error',
|
|
159
|
+
'unicorn/no-array-push-push': 'error',
|
|
160
|
+
'unicorn/no-console-spaces': 'warn',
|
|
161
|
+
'unicorn/no-lonely-if': 'warn',
|
|
162
|
+
'unicorn/no-useless-length-check': 'error',
|
|
163
|
+
'unicorn/no-useless-spread': 'error',
|
|
164
|
+
'unicorn/prefer-array-find': 'error',
|
|
165
|
+
'unicorn/prefer-array-some': 'error',
|
|
166
|
+
'unicorn/prefer-array-flat-map': 'error',
|
|
167
|
+
'unicorn/prefer-includes': 'error',
|
|
168
|
+
'unicorn/prefer-module': 'off', // We use ESM, but keep off for compatibility
|
|
169
|
+
'unicorn/prefer-number-properties': 'error',
|
|
170
|
+
'unicorn/prefer-optional-catch-binding': 'error',
|
|
171
|
+
'unicorn/prefer-regexp-test': 'error',
|
|
172
|
+
'unicorn/prefer-string-starts-ends-with': 'error',
|
|
173
|
+
'unicorn/prefer-string-trim-start-end': 'error',
|
|
174
|
+
'unicorn/prefer-type-error': 'error',
|
|
175
|
+
|
|
176
|
+
// Additional Unicorn rules (low priority additions)
|
|
177
|
+
'unicorn/no-abusive-eslint-disable': 'warn',
|
|
178
|
+
'unicorn/no-array-for-each': 'off', // forEach is sometimes clearer
|
|
179
|
+
'unicorn/no-array-reduce': 'off', // Reduce is useful for accumulators
|
|
180
|
+
'unicorn/no-keyword-prefix': 'off', // Too opinionated for React
|
|
181
|
+
'unicorn/no-nested-ternary': 'warn',
|
|
182
|
+
'unicorn/no-new-array': 'warn',
|
|
183
|
+
'unicorn/no-new-buffer': 'error',
|
|
184
|
+
'unicorn/no-null': 'off', // null is valid in TypeScript/React
|
|
185
|
+
'unicorn/no-object-as-default-parameter': 'error',
|
|
186
|
+
'unicorn/no-process-exit': 'off', // Needed for Node.js scripts
|
|
187
|
+
'unicorn/no-thenable': 'error',
|
|
188
|
+
'unicorn/no-this-assignment': 'error',
|
|
189
|
+
'unicorn/no-useless-undefined': 'warn',
|
|
190
|
+
'unicorn/no-zero-fractions': 'error',
|
|
191
|
+
'unicorn/number-literal-case': 'error',
|
|
192
|
+
'unicorn/numeric-separators-style': ['error', { onlyIfContainsSeparator: true }],
|
|
193
|
+
'unicorn/prefer-array-index-of': 'error',
|
|
194
|
+
'unicorn/prefer-code-point': 'error',
|
|
195
|
+
'unicorn/prefer-date-now': 'error',
|
|
196
|
+
'unicorn/prefer-default-parameters': 'warn',
|
|
197
|
+
'unicorn/prefer-export-from': ['error', { ignoreUsedVariables: true }],
|
|
198
|
+
'unicorn/prefer-logical-operator-over-ternary': 'warn',
|
|
199
|
+
'unicorn/prefer-math-trunc': 'error',
|
|
200
|
+
'unicorn/prefer-modern-math-apis': 'error',
|
|
201
|
+
'unicorn/prefer-negative-index': 'warn',
|
|
202
|
+
'unicorn/prefer-node-protocol': 'off', // Only for Node.js, not React
|
|
203
|
+
'unicorn/prefer-object-from-entries': 'error',
|
|
204
|
+
'unicorn/prefer-prototype-methods': 'error',
|
|
205
|
+
'unicorn/prefer-reflect-apply': 'off', // Not commonly needed
|
|
206
|
+
'unicorn/escape-case': 'error',
|
|
207
|
+
'unicorn/prefer-set-has': 'error',
|
|
208
|
+
'unicorn/prefer-set-size': 'error',
|
|
209
|
+
'unicorn/prefer-spread': 'error',
|
|
210
|
+
'unicorn/prefer-string-replace-all': 'error',
|
|
211
|
+
'unicorn/prefer-string-slice': 'error',
|
|
212
|
+
'unicorn/prefer-top-level-await': 'off', // Requires ES2022 modules, use carefully
|
|
213
|
+
'unicorn/relative-url-style': ['error', 'always'],
|
|
214
|
+
'unicorn/require-array-join-separator': 'error',
|
|
215
|
+
'unicorn/require-number-to-fixed-digits-argument': 'error',
|
|
216
|
+
'unicorn/require-post-message-target-origin': 'warn',
|
|
217
|
+
'unicorn/string-content': 'off', // Too strict
|
|
218
|
+
'unicorn/switch-case-braces': ['error', 'avoid'],
|
|
219
|
+
'unicorn/template-indent': ['error', { tags: ['html', 'css', 'styled'] }],
|
|
220
|
+
'unicorn/text-encoding-identifier-case': 'error',
|
|
221
|
+
|
|
222
|
+
// Import plugin - Import organization (from XO, adapted for Next.js)
|
|
223
|
+
// Changed to 'error' since this is now the sole import sorter (prettier-plugin-organize-imports removed)
|
|
224
|
+
'import/order': [
|
|
225
|
+
'error',
|
|
226
|
+
{
|
|
227
|
+
groups: [
|
|
228
|
+
'builtin',
|
|
229
|
+
'external',
|
|
230
|
+
'internal',
|
|
231
|
+
'parent',
|
|
232
|
+
'sibling',
|
|
233
|
+
'index',
|
|
234
|
+
'object',
|
|
235
|
+
'type',
|
|
236
|
+
],
|
|
237
|
+
pathGroups: [
|
|
238
|
+
{
|
|
239
|
+
pattern: 'react',
|
|
240
|
+
group: 'external',
|
|
241
|
+
position: 'before',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
pattern: 'next',
|
|
245
|
+
group: 'external',
|
|
246
|
+
position: 'before',
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
pathGroupsExcludedImportTypes: ['react', 'next'],
|
|
250
|
+
'newlines-between': 'always',
|
|
251
|
+
alphabetize: {
|
|
252
|
+
order: 'asc',
|
|
253
|
+
caseInsensitive: true,
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
'import/no-duplicates': 'error',
|
|
258
|
+
'import/no-unused-modules': 'off', // Too strict for monorepo
|
|
259
|
+
'import/no-cycle': ['warn', { maxDepth: 10 }],
|
|
260
|
+
'import/no-self-import': 'error',
|
|
261
|
+
'import/no-useless-path-segments': ['error', { noUselessIndex: true }],
|
|
262
|
+
// Note: General best practices (prefer-const, prefer-template, etc.)
|
|
263
|
+
// are inherited from base.mjs - no need to redefine here
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
// Regexp and Secret Detection
|
|
268
|
+
files: ['**/*.{ts,tsx,js,jsx}'],
|
|
269
|
+
plugins: {
|
|
270
|
+
regexp: regexpPlugin,
|
|
271
|
+
'no-secrets': noSecretsPlugin,
|
|
272
|
+
},
|
|
273
|
+
rules: {
|
|
274
|
+
// Regexp
|
|
275
|
+
'regexp/no-unused-capturing-group': 'warn',
|
|
276
|
+
'regexp/prefer-character-class': 'warn',
|
|
277
|
+
'regexp/prefer-quantifier': 'warn',
|
|
278
|
+
|
|
279
|
+
// Secret detection
|
|
280
|
+
'no-secrets/no-secrets': ['error', { tolerance: 4.5 }],
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
// Config files - allow dev dependencies (import plugin registered here, not in base.mjs)
|
|
285
|
+
files: [
|
|
286
|
+
'**/*.config.{js,ts,mjs}',
|
|
287
|
+
'**/eslint.config.{js,mjs}',
|
|
288
|
+
'**/vitest.config.{ts,js,mjs}',
|
|
289
|
+
'**/playwright.config.{ts,js,mjs}',
|
|
290
|
+
],
|
|
291
|
+
rules: {
|
|
292
|
+
'import/no-extraneous-dependencies': 'off',
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
// Type definition files - allow import duplicates
|
|
297
|
+
files: ['**/*.d.ts'],
|
|
298
|
+
rules: {
|
|
299
|
+
'import/no-duplicates': 'off',
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
// TypeScript files - disable unicorn rules that overlap with @typescript-eslint
|
|
304
|
+
// The TS-eslint versions are type-aware and more accurate for .ts/.tsx files
|
|
305
|
+
files: ['**/*.ts', '**/*.tsx'],
|
|
306
|
+
rules: {
|
|
307
|
+
'unicorn/prefer-includes': 'off', // Use @typescript-eslint/prefer-includes
|
|
308
|
+
'unicorn/prefer-string-starts-ends-with': 'off', // Use @typescript-eslint/prefer-string-starts-ends-with
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
);
|
|
312
|
+
|
|
313
|
+
export default createValidatedConfig(config, 'react');
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview no-used-underscore-vars.test.mjs
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { RuleTester } from 'eslint';
|
|
6
|
+
import tseslint from 'typescript-eslint';
|
|
7
|
+
import { describe, it } from 'vitest';
|
|
8
|
+
|
|
9
|
+
import rule from '../no-used-underscore-vars.mjs';
|
|
10
|
+
|
|
11
|
+
describe('no-used-underscore-vars', () => {
|
|
12
|
+
const ruleTester = new RuleTester({
|
|
13
|
+
languageOptions: {
|
|
14
|
+
parser: tseslint.parser,
|
|
15
|
+
ecmaVersion: 2022,
|
|
16
|
+
sourceType: 'module',
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should validate underscore-prefixed variables', () => {
|
|
21
|
+
ruleTester.run('no-used-underscore-vars', rule, {
|
|
22
|
+
valid: [
|
|
23
|
+
// Allowed: underscore prefix in declarations
|
|
24
|
+
'const _unused = 1;',
|
|
25
|
+
'let _helper = () => {};',
|
|
26
|
+
'var _temp = null;',
|
|
27
|
+
'function _helper() {}',
|
|
28
|
+
'const { _prop } = obj;',
|
|
29
|
+
'const [_item] = array;',
|
|
30
|
+
'const { _key: value } = obj;',
|
|
31
|
+
'const [..._rest] = array;',
|
|
32
|
+
|
|
33
|
+
// Allowed: property access (not variable usage)
|
|
34
|
+
'obj._id',
|
|
35
|
+
'obj._private',
|
|
36
|
+
'obj._internal',
|
|
37
|
+
'obj._privateMethod()',
|
|
38
|
+
'obj._prop = value',
|
|
39
|
+
|
|
40
|
+
// Allowed: type definitions
|
|
41
|
+
'interface Foo { _prop: string; }',
|
|
42
|
+
'type Bar = { _field: number; }',
|
|
43
|
+
'interface Test { _optional?: string; }',
|
|
44
|
+
|
|
45
|
+
// Allowed: function parameters (declaration context)
|
|
46
|
+
'function test(_param) {}',
|
|
47
|
+
'const fn = (_arg) => {};',
|
|
48
|
+
'function test(..._rest) {}',
|
|
49
|
+
|
|
50
|
+
// Edge case: null parent guard (defensive programming)
|
|
51
|
+
// Top-level declarations may have null parents in certain AST configurations
|
|
52
|
+
// These test cases verify the rule's null parent guard (line 81-83 in rule)
|
|
53
|
+
// prevents crashes when processing nodes without parents
|
|
54
|
+
'const _config = {};',
|
|
55
|
+
'let _state;',
|
|
56
|
+
'var _global;',
|
|
57
|
+
],
|
|
58
|
+
invalid: [
|
|
59
|
+
{
|
|
60
|
+
code: 'const x = _unused;',
|
|
61
|
+
errors: [
|
|
62
|
+
{
|
|
63
|
+
message:
|
|
64
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
code: 'function test() { return _value; }',
|
|
70
|
+
errors: [
|
|
71
|
+
{
|
|
72
|
+
message:
|
|
73
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
code: 'if (_condition) {}',
|
|
79
|
+
errors: [
|
|
80
|
+
{
|
|
81
|
+
message:
|
|
82
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
code: 'const result = _helper();',
|
|
88
|
+
errors: [
|
|
89
|
+
{
|
|
90
|
+
message:
|
|
91
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
code: 'while (_flag) { break; }',
|
|
97
|
+
errors: [
|
|
98
|
+
{
|
|
99
|
+
message:
|
|
100
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
code: 'const arr = [_item, _other];',
|
|
106
|
+
errors: [
|
|
107
|
+
{
|
|
108
|
+
message:
|
|
109
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
message:
|
|
113
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
code: 'const obj = { key: _value };',
|
|
119
|
+
errors: [
|
|
120
|
+
{
|
|
121
|
+
message:
|
|
122
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
code: 'const obj = { _value };',
|
|
128
|
+
errors: [
|
|
129
|
+
{
|
|
130
|
+
message:
|
|
131
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
code: 'console.log(_data);',
|
|
137
|
+
errors: [
|
|
138
|
+
{
|
|
139
|
+
message:
|
|
140
|
+
'Variable names starting with underscore should not be used (convention for unused variables)',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
});
|