@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,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Utility to filter TypeScript ESLint configs from config arrays
|
|
3
|
+
*
|
|
4
|
+
* Provides functions to filter out conflicting TypeScript ESLint configurations
|
|
5
|
+
* when combining configs with framework-specific configs (e.g., eslint-config-next).
|
|
6
|
+
* Prevents "Cannot redefine plugin" errors in ESLint flat config.
|
|
7
|
+
*
|
|
8
|
+
* @module filter-ts-eslint-configs
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Plugins that are commonly provided by framework configs (e.g., eslint-config-next).
|
|
13
|
+
*
|
|
14
|
+
* These plugins are provided by framework configs and should be filtered out
|
|
15
|
+
* when combining with React/base configs to avoid conflicts.
|
|
16
|
+
*
|
|
17
|
+
* @type {readonly string[]}
|
|
18
|
+
*/
|
|
19
|
+
const FRAMEWORK_PROVIDED_PLUGINS = ['import', 'jsx-a11y', '@typescript-eslint'];
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Filter out TypeScript ESLint configs from a config array.
|
|
23
|
+
*
|
|
24
|
+
* Removes configs that:
|
|
25
|
+
* - Have names starting with `typescript-eslint/` (e.g., `typescript-eslint/base`, `typescript-eslint/recommended`)
|
|
26
|
+
* - Define the `@typescript-eslint` plugin directly
|
|
27
|
+
*
|
|
28
|
+
* This is used when Next.js or other frameworks provide their own TypeScript ESLint setup.
|
|
29
|
+
*
|
|
30
|
+
* @param {Array<import('typescript-eslint').Config>} configs - Array of ESLint config objects
|
|
31
|
+
* @returns {Array<import('typescript-eslint').Config>} Filtered array without TypeScript ESLint configs
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { filterTypeScriptESLintConfigs } from './utils/filter-ts-eslint-configs.mjs';
|
|
36
|
+
* import reactConfig from './react.mjs';
|
|
37
|
+
*
|
|
38
|
+
* const filteredConfig = filterTypeScriptESLintConfigs(reactConfig);
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export function filterTypeScriptESLintConfigs(configs) {
|
|
42
|
+
return configs.filter(config => {
|
|
43
|
+
// Guard against undefined/null config
|
|
44
|
+
if (!config || typeof config !== 'object') {
|
|
45
|
+
return true; // Keep non-object configs (they might be important)
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Skip TypeScript ESLint configs by name - Next.js provides these
|
|
49
|
+
// These come from tseslint.configs.recommended in baseConfig
|
|
50
|
+
// Configs have names like "typescript-eslint/base", "typescript-eslint/recommended", etc.
|
|
51
|
+
if (
|
|
52
|
+
config.name &&
|
|
53
|
+
typeof config.name === 'string' &&
|
|
54
|
+
config.name.startsWith('typescript-eslint/')
|
|
55
|
+
) {
|
|
56
|
+
return false; // Filter out TypeScript ESLint configs
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Also skip configs that define @typescript-eslint plugin directly
|
|
60
|
+
if (
|
|
61
|
+
config.plugins &&
|
|
62
|
+
typeof config.plugins === 'object' &&
|
|
63
|
+
'@typescript-eslint' in config.plugins
|
|
64
|
+
) {
|
|
65
|
+
return false; // Filter out TypeScript ESLint plugin configs
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return true; // Keep all other configs
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Filter out conflicting plugins from a React config array for use with Next.js.
|
|
74
|
+
*
|
|
75
|
+
* This function:
|
|
76
|
+
* 1. Filters out TypeScript ESLint configs (via `filterTypeScriptESLintConfigs`)
|
|
77
|
+
* 2. Removes conflicting plugins from remaining configs (import, jsx-a11y, @typescript-eslint)
|
|
78
|
+
*
|
|
79
|
+
* These plugins are provided by `eslint-config-next` and should not be redefined.
|
|
80
|
+
* Creates new config objects (immutable operation) to avoid mutating the input.
|
|
81
|
+
*
|
|
82
|
+
* @param {Array<import('typescript-eslint').Config>} configs - Array of ESLint config objects (typically from react.mjs)
|
|
83
|
+
* @returns {Array<import('typescript-eslint').Config>} Filtered array with conflicting plugins removed
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```javascript
|
|
87
|
+
* import { filterPluginsForNextJs } from './utils/filter-ts-eslint-configs.mjs';
|
|
88
|
+
* import reactConfig from './react.mjs';
|
|
89
|
+
*
|
|
90
|
+
* const nextCompatibleConfig = filterPluginsForNextJs(reactConfig);
|
|
91
|
+
* // Use with eslint-config-next without conflicts
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export function filterPluginsForNextJs(configs) {
|
|
95
|
+
// First filter out TypeScript ESLint configs
|
|
96
|
+
const withoutTSConfigs = filterTypeScriptESLintConfigs(configs);
|
|
97
|
+
|
|
98
|
+
// Then filter out conflicting plugins from remaining configs
|
|
99
|
+
return withoutTSConfigs.map(config => {
|
|
100
|
+
// If config has no plugins, return as-is
|
|
101
|
+
if (!config.plugins || typeof config.plugins !== 'object') {
|
|
102
|
+
return config;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Check if config has any conflicting plugins
|
|
106
|
+
const hasConflictingPlugins = FRAMEWORK_PROVIDED_PLUGINS.some(
|
|
107
|
+
plugin => plugin in config.plugins,
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
if (!hasConflictingPlugins) {
|
|
111
|
+
return config; // No conflicts, return as-is
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Create new config with filtered plugins (immutable operation)
|
|
115
|
+
const filteredPlugins = Object.fromEntries(
|
|
116
|
+
Object.entries(config.plugins).filter(([key]) => !FRAMEWORK_PROVIDED_PLUGINS.includes(key)),
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
if (Object.keys(filteredPlugins).length > 0) {
|
|
120
|
+
// Return new config with filtered plugins
|
|
121
|
+
return { ...config, plugins: filteredPlugins };
|
|
122
|
+
} else {
|
|
123
|
+
// Return new config without plugins property
|
|
124
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars, unused-imports/no-unused-vars
|
|
125
|
+
const { plugins, ...rest } = config;
|
|
126
|
+
return rest;
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview ESLint configuration validation utilities
|
|
3
|
+
*
|
|
4
|
+
* Provides lightweight validation for ESLint flat config structure.
|
|
5
|
+
* Catches common configuration errors early during development.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Validates that an ESLint config object has the correct structure.
|
|
10
|
+
*
|
|
11
|
+
* This is a lightweight validation to catch common configuration errors early.
|
|
12
|
+
* Validates:
|
|
13
|
+
* - Config is an object or array
|
|
14
|
+
* - Plugins are objects
|
|
15
|
+
* - Rules are objects
|
|
16
|
+
* - languageOptions are objects
|
|
17
|
+
*
|
|
18
|
+
* @param {unknown} config - The config object to validate
|
|
19
|
+
* @param {string} configName - Name of the config for error messages (e.g., 'react', 'node')
|
|
20
|
+
* @returns {boolean} True if config is valid
|
|
21
|
+
* @throws {Error} If config is invalid
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```javascript
|
|
25
|
+
* import { validateESLintConfig } from './validate-config.mjs';
|
|
26
|
+
*
|
|
27
|
+
* const config = { rules: { 'no-console': 'warn' } };
|
|
28
|
+
* validateESLintConfig(config, 'my-config'); // Returns true or throws
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export function validateESLintConfig(config, configName = 'config') {
|
|
32
|
+
// Config must be an object or array (reject null, primitives)
|
|
33
|
+
// Note: arrays are objects in JS (typeof [] === 'object'), null is caught by !config
|
|
34
|
+
if (!config || typeof config !== 'object') {
|
|
35
|
+
throw new Error(`[${configName}] Config must be an object or array`);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// If it's an array, validate each item
|
|
39
|
+
if (Array.isArray(config)) {
|
|
40
|
+
return config.every((item, index) => validateESLintConfig(item, `${configName}[${index}]`));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Empty objects are valid (might be used for merging)
|
|
44
|
+
// Configs with no valid keys might still be valid (e.g., shared configs)
|
|
45
|
+
|
|
46
|
+
// Validate plugins if present
|
|
47
|
+
if (config.plugins && typeof config.plugins !== 'object') {
|
|
48
|
+
throw new Error(`[${configName}] plugins must be an object`);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Validate rules if present
|
|
52
|
+
if (config.rules && typeof config.rules !== 'object') {
|
|
53
|
+
throw new Error(`[${configName}] rules must be an object`);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Validate languageOptions if present
|
|
57
|
+
if (config.languageOptions && typeof config.languageOptions !== 'object') {
|
|
58
|
+
throw new Error(`[${configName}] languageOptions must be an object`);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Validates all exported ESLint configs to ensure they have correct structure.
|
|
66
|
+
*
|
|
67
|
+
* Useful for batch validation of multiple configs during development or testing.
|
|
68
|
+
* Stops on first error and throws with the name of the failing config.
|
|
69
|
+
*
|
|
70
|
+
* @param {Record<string, unknown>} configs - Object mapping config names to config objects
|
|
71
|
+
* @returns {boolean} True if all configs are valid
|
|
72
|
+
* @throws {Error} If any config is invalid (includes config name in error)
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```javascript
|
|
76
|
+
* import { validateAllConfigs } from './validate-config.mjs';
|
|
77
|
+
*
|
|
78
|
+
* const allConfigs = {
|
|
79
|
+
* react: reactConfig,
|
|
80
|
+
* node: nodeConfig,
|
|
81
|
+
* next: nextConfig,
|
|
82
|
+
* };
|
|
83
|
+
* validateAllConfigs(allConfigs); // Validates all at once
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export function validateAllConfigs(configs) {
|
|
87
|
+
return Object.entries(configs).every(([name, config]) => validateESLintConfig(config, name));
|
|
88
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@od-oneapp/config",
|
|
3
|
+
"version": "2026.2.2001-canary.1",
|
|
4
|
+
"description": "Shared configuration for ESLint, Prettier, and TypeScript",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"exports": {
|
|
8
|
+
"./eslint/node": "./eslint/node.mjs",
|
|
9
|
+
"./eslint/react": "./eslint/react.mjs",
|
|
10
|
+
"./eslint/next": "./eslint/next.mjs",
|
|
11
|
+
"./eslint/next-test": "./eslint/next-test.mjs",
|
|
12
|
+
"./eslint/expo": "./eslint/expo.mjs",
|
|
13
|
+
"./eslint/storybook": "./eslint/storybook.mjs",
|
|
14
|
+
"./eslint/test": "./eslint/test.mjs",
|
|
15
|
+
"./eslint/utils/filter-ts-eslint-configs": "./eslint/utils/filter-ts-eslint-configs.mjs",
|
|
16
|
+
"./stylelint": "./stylelint/index.mjs",
|
|
17
|
+
"./prettier": "./prettier/index.mjs",
|
|
18
|
+
"./typescript/node.json": "./typescript/node.json",
|
|
19
|
+
"./typescript/nextjs.json": "./typescript/nextjs.json",
|
|
20
|
+
"./typescript/react.json": "./typescript/react.json",
|
|
21
|
+
"./typescript/react-native.json": "./typescript/react-native.json",
|
|
22
|
+
"./tsdown": "./tsdown/index.mjs",
|
|
23
|
+
"./tsdown/base": "./tsdown/base.mjs",
|
|
24
|
+
"./tsdown/presets": "./tsdown/presets.mjs"
|
|
25
|
+
},
|
|
26
|
+
"peerDependenciesMeta": {},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/OneDigital-Product/monorepo.git",
|
|
30
|
+
"directory": "platform/packages/config"
|
|
31
|
+
},
|
|
32
|
+
"license": "UNLICENSED",
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "restricted",
|
|
35
|
+
"registry": "https://registry.npmjs.org/"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Prettier configuration re-exported from root
|
|
3
|
+
*
|
|
4
|
+
* This file re-exports the root `.prettierrc.mjs` to maintain a single source of truth.
|
|
5
|
+
* All Prettier configuration changes should be made in `/.prettierrc.mjs` at the monorepo root.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**:
|
|
8
|
+
* ```javascript
|
|
9
|
+
* import prettierConfig from '@od-oneapp/config/prettier';
|
|
10
|
+
* export default prettierConfig;
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @type {import("prettier").Config}
|
|
14
|
+
*/
|
|
15
|
+
export { default } from '../../../../.prettierrc.mjs';
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Enhanced Stylelint configuration for monorepo
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive CSS linting configuration with:
|
|
5
|
+
* - Standard CSS rules (stylelint-config-standard)
|
|
6
|
+
* - Performance optimizations (animation properties)
|
|
7
|
+
* - Accessibility checks (indistinguishable colors)
|
|
8
|
+
* - Tailwind CSS compatibility
|
|
9
|
+
* - CSS Modules support
|
|
10
|
+
*
|
|
11
|
+
* Uses shared ignore patterns from ESLint config for consistency across all linting tools.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```javascript
|
|
15
|
+
* // stylelint.config.mjs
|
|
16
|
+
* import stylelintConfig from '@od-oneapp/config/stylelint';
|
|
17
|
+
* export default stylelintConfig;
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
import { GLOBAL_IGNORES } from '../eslint/shared/common-ignores.mjs';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Stylelint configuration object
|
|
25
|
+
*
|
|
26
|
+
* @type {import('stylelint').Config}
|
|
27
|
+
*/
|
|
28
|
+
const stylelintConfig = {
|
|
29
|
+
extends: ['stylelint-config-standard'],
|
|
30
|
+
plugins: ['stylelint-high-performance-animation', 'stylelint-no-indistinguishable-colors'],
|
|
31
|
+
// Use shared ignores from ESLint config (single source of truth)
|
|
32
|
+
ignoreFiles: GLOBAL_IGNORES,
|
|
33
|
+
rules: {
|
|
34
|
+
// ============================================================================
|
|
35
|
+
// Performance Rules
|
|
36
|
+
// ============================================================================
|
|
37
|
+
'plugin/no-low-performance-animation-properties': true,
|
|
38
|
+
|
|
39
|
+
// ============================================================================
|
|
40
|
+
// Accessibility Rules
|
|
41
|
+
// ============================================================================
|
|
42
|
+
'plugin/stylelint-no-indistinguishable-colors': true,
|
|
43
|
+
|
|
44
|
+
// ============================================================================
|
|
45
|
+
// Color Rules
|
|
46
|
+
// ============================================================================
|
|
47
|
+
'color-hex-length': 'short',
|
|
48
|
+
'color-named': 'never',
|
|
49
|
+
|
|
50
|
+
// ============================================================================
|
|
51
|
+
// Property Rules
|
|
52
|
+
// ============================================================================
|
|
53
|
+
'declaration-block-no-redundant-longhand-properties': true,
|
|
54
|
+
'shorthand-property-no-redundant-values': true,
|
|
55
|
+
|
|
56
|
+
// ============================================================================
|
|
57
|
+
// Vendor Prefix Rules
|
|
58
|
+
// ============================================================================
|
|
59
|
+
'value-no-vendor-prefix': true,
|
|
60
|
+
'property-no-vendor-prefix': true,
|
|
61
|
+
'selector-no-vendor-prefix': true,
|
|
62
|
+
'media-feature-name-no-vendor-prefix': true,
|
|
63
|
+
'at-rule-no-vendor-prefix': true,
|
|
64
|
+
|
|
65
|
+
// ============================================================================
|
|
66
|
+
// Modern CSS Best Practices
|
|
67
|
+
// ============================================================================
|
|
68
|
+
'declaration-no-important': null, // Allow !important (needed for utility-first CSS like Tailwind)
|
|
69
|
+
'selector-class-pattern': null, // Allow any class naming (Tailwind uses various patterns)
|
|
70
|
+
'custom-property-pattern': null, // Allow any CSS variable naming
|
|
71
|
+
'keyframes-name-pattern': null, // Allow any keyframe naming
|
|
72
|
+
'selector-id-pattern': null, // Allow any ID naming
|
|
73
|
+
|
|
74
|
+
// ============================================================================
|
|
75
|
+
// Tailwind CSS Compatibility
|
|
76
|
+
// ============================================================================
|
|
77
|
+
'at-rule-no-unknown': [
|
|
78
|
+
true,
|
|
79
|
+
{
|
|
80
|
+
ignoreAtRules: [
|
|
81
|
+
'tailwind',
|
|
82
|
+
'apply',
|
|
83
|
+
'variants',
|
|
84
|
+
'responsive',
|
|
85
|
+
'screen',
|
|
86
|
+
'layer',
|
|
87
|
+
'config',
|
|
88
|
+
'utility',
|
|
89
|
+
],
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
'function-no-unknown': [
|
|
93
|
+
true,
|
|
94
|
+
{
|
|
95
|
+
ignoreFunctions: ['theme', 'screen'],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
|
|
99
|
+
// ============================================================================
|
|
100
|
+
// CSS-in-JS Compatibility
|
|
101
|
+
// ============================================================================
|
|
102
|
+
'value-keyword-case': [
|
|
103
|
+
'lower',
|
|
104
|
+
{
|
|
105
|
+
ignoreProperties: ['/^\\$/'], // Ignore Sass variables
|
|
106
|
+
camelCaseSvgKeywords: true,
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
overrides: [
|
|
111
|
+
{
|
|
112
|
+
// Theme files - allow similar colors and named colors
|
|
113
|
+
files: ['**/tailwind-theme.css', '**/theme.css', '**/tokens.css', '**/styles.css'],
|
|
114
|
+
rules: {
|
|
115
|
+
'plugin/stylelint-no-indistinguishable-colors': null,
|
|
116
|
+
'color-named': null, // Allow named colors in theme files
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
// CSS Modules - allow camelCase class names
|
|
121
|
+
files: ['**/*.module.css', '**/*.module.scss'],
|
|
122
|
+
rules: {
|
|
123
|
+
'selector-class-pattern': '^[a-z][a-zA-Z0-9]+$', // camelCase
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export default stylelintConfig;
|
package/tsdown/README.md
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
# tsdown Configuration
|
|
2
|
+
|
|
3
|
+
TypeScript bundler configurations for the OneApp monorepo.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This package provides tsdown configuration presets for building and publishing packages in the monorepo. tsdown is a
|
|
8
|
+
fast, modern TypeScript bundler that generates ESM modules with type definitions.
|
|
9
|
+
|
|
10
|
+
## Configuration Presets
|
|
11
|
+
|
|
12
|
+
### Platform Presets
|
|
13
|
+
|
|
14
|
+
Platform-based presets mirror the tsconfig pattern and provide sensible defaults for different runtime environments:
|
|
15
|
+
|
|
16
|
+
- **`base`** - Core settings (format, dts, sourcemap, clean)
|
|
17
|
+
- **`node`** - Node.js packages (target: node22)
|
|
18
|
+
- **`browser`** - Browser libraries (target: es2022)
|
|
19
|
+
- **`react`** - React libraries (browser + react externals)
|
|
20
|
+
- **`client`** - Client components (react + 'use client' banner)
|
|
21
|
+
|
|
22
|
+
### Distribution Builds
|
|
23
|
+
|
|
24
|
+
For packages that need to be published to npmjs:
|
|
25
|
+
|
|
26
|
+
- **`createDistConfig`** - Bundles `@repo/*` dependencies, externalizes frameworks
|
|
27
|
+
- **`distExternals`** - Common externals for distribution builds
|
|
28
|
+
- **`internalPackages`** - Internal workspace packages to bundle
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
### Internal Package (Typical Usage)
|
|
33
|
+
|
|
34
|
+
For packages used only within the monorepo:
|
|
35
|
+
|
|
36
|
+
```javascript
|
|
37
|
+
// tsdown.config.mjs
|
|
38
|
+
import { node } from "@od-oneapp/config/tsdown";
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
...node,
|
|
42
|
+
entry: ["src/index.ts"],
|
|
43
|
+
external: [...node.external, "vitest"]
|
|
44
|
+
};
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Distribution Package (@od-oneapp/\*)
|
|
48
|
+
|
|
49
|
+
For packages published to npmjs:
|
|
50
|
+
|
|
51
|
+
```javascript
|
|
52
|
+
// tsdown.config.mjs
|
|
53
|
+
import { createDistConfig } from "@od-oneapp/config/tsdown";
|
|
54
|
+
|
|
55
|
+
export default createDistConfig(
|
|
56
|
+
"node",
|
|
57
|
+
{
|
|
58
|
+
index: "src/index.ts",
|
|
59
|
+
client: "src/client.ts",
|
|
60
|
+
server: "src/server.ts"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
external: ["better-auth", "zod"]
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
The `createDistConfig` helper:
|
|
69
|
+
|
|
70
|
+
1. Bundles internal `@repo/*` dependencies into the output
|
|
71
|
+
2. Externalizes framework dependencies (Next.js, React, Prisma)
|
|
72
|
+
3. Rewrites remaining `@repo/*` imports to `@od-oneapp/*` for consumers
|
|
73
|
+
4. Generates proper type definitions
|
|
74
|
+
|
|
75
|
+
## Package Structure
|
|
76
|
+
|
|
77
|
+
### Development (`exports`)
|
|
78
|
+
|
|
79
|
+
During development, packages export source TypeScript files:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"exports": {
|
|
84
|
+
".": "./src/index.ts",
|
|
85
|
+
"./client": "./src/client.ts"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Production (`publishConfig.exports`)
|
|
91
|
+
|
|
92
|
+
After building with tsdown, published packages export built artifacts:
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
{
|
|
96
|
+
"publishConfig": {
|
|
97
|
+
"exports": {
|
|
98
|
+
".": {
|
|
99
|
+
"types": "./dist/index.d.mts",
|
|
100
|
+
"import": "./dist/index.mjs",
|
|
101
|
+
"default": "./dist/index.mjs"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Building Packages
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
# Build a single package
|
|
112
|
+
pnpm --filter @od-oneapp/package-name build
|
|
113
|
+
|
|
114
|
+
# Build all packages
|
|
115
|
+
pnpm --filter "@od-oneapp/*" build
|
|
116
|
+
|
|
117
|
+
# Build from package directory
|
|
118
|
+
cd platform/packages/package-name
|
|
119
|
+
pnpm build
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Publishing Packages
|
|
123
|
+
|
|
124
|
+
For detailed instructions on publishing packages to npmjs, see:
|
|
125
|
+
|
|
126
|
+
**[DEPLOYMENT.md](./DEPLOYMENT.md)** - Complete guide to deploying tsdown packages
|
|
127
|
+
|
|
128
|
+
Quick reference:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
# 1. Build the package
|
|
132
|
+
pnpm --filter @od-oneapp/package-name build
|
|
133
|
+
|
|
134
|
+
# 2. Navigate to package
|
|
135
|
+
cd platform/packages/package-name
|
|
136
|
+
|
|
137
|
+
# 3. Publish
|
|
138
|
+
npm publish
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Files
|
|
142
|
+
|
|
143
|
+
- **`base.mjs`** - Core tsdown settings
|
|
144
|
+
- **`node.mjs`** - Node.js preset
|
|
145
|
+
- **`browser.mjs`** - Browser preset
|
|
146
|
+
- **`react.mjs`** - React preset
|
|
147
|
+
- **`client.mjs`** - Client component preset
|
|
148
|
+
- **`dist.mjs`** - Distribution build helper with import rewriting
|
|
149
|
+
- **`index.mjs`** - Main entry point exporting all presets
|
|
150
|
+
- **`DEPLOYMENT.md`** - Deployment guide for publishing packages
|
|
151
|
+
|
|
152
|
+
## Configuration Options
|
|
153
|
+
|
|
154
|
+
### Common Options
|
|
155
|
+
|
|
156
|
+
All presets support these options:
|
|
157
|
+
|
|
158
|
+
```javascript
|
|
159
|
+
{
|
|
160
|
+
entry: ['src/index.ts'], // Entry points
|
|
161
|
+
format: 'esm', // Output format
|
|
162
|
+
dts: true, // Generate .d.ts files
|
|
163
|
+
sourcemap: true, // Generate source maps
|
|
164
|
+
clean: true, // Clean dist before build
|
|
165
|
+
external: [], // External dependencies
|
|
166
|
+
target: 'node22', // Target runtime
|
|
167
|
+
plugins: [], // Rolldown plugins
|
|
168
|
+
}
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Platform-Specific Options
|
|
172
|
+
|
|
173
|
+
#### Node.js (`node`)
|
|
174
|
+
|
|
175
|
+
- Target: Node.js 22+
|
|
176
|
+
- Includes Node built-ins as external
|
|
177
|
+
|
|
178
|
+
#### Browser (`browser`)
|
|
179
|
+
|
|
180
|
+
- Target: ES2022
|
|
181
|
+
- Optimized for modern browsers
|
|
182
|
+
|
|
183
|
+
#### React (`react`)
|
|
184
|
+
|
|
185
|
+
- Extends browser preset
|
|
186
|
+
- Externalizes React and React DOM
|
|
187
|
+
|
|
188
|
+
#### Client (`client`)
|
|
189
|
+
|
|
190
|
+
- Extends react preset
|
|
191
|
+
- Adds `'use client'` banner for React Server Components
|
|
192
|
+
|
|
193
|
+
## Examples
|
|
194
|
+
|
|
195
|
+
### Basic Node Package
|
|
196
|
+
|
|
197
|
+
```javascript
|
|
198
|
+
import { node } from "@od-oneapp/config/tsdown";
|
|
199
|
+
|
|
200
|
+
export default {
|
|
201
|
+
...node,
|
|
202
|
+
entry: ["src/index.ts"]
|
|
203
|
+
};
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### React Component Library
|
|
207
|
+
|
|
208
|
+
```javascript
|
|
209
|
+
import { react } from "@od-oneapp/config/tsdown";
|
|
210
|
+
|
|
211
|
+
export default {
|
|
212
|
+
...react,
|
|
213
|
+
entry: {
|
|
214
|
+
index: "src/index.tsx",
|
|
215
|
+
components: "src/components/index.tsx"
|
|
216
|
+
},
|
|
217
|
+
external: [...react.external, "@mantine/core"]
|
|
218
|
+
};
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Multi-Export Distribution Package
|
|
222
|
+
|
|
223
|
+
```javascript
|
|
224
|
+
import { createDistConfig } from "@od-oneapp/config/tsdown";
|
|
225
|
+
|
|
226
|
+
export default createDistConfig(
|
|
227
|
+
"react",
|
|
228
|
+
{
|
|
229
|
+
index: "src/index.ts",
|
|
230
|
+
client: "src/client/index.ts",
|
|
231
|
+
server: "src/server/index.ts",
|
|
232
|
+
"client-next": "src/client/next.ts",
|
|
233
|
+
"server-next": "src/server/next.ts",
|
|
234
|
+
hooks: "src/hooks/index.ts"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
external: ["@mantine/core", "@mantine/hooks", "zod"]
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
## Troubleshooting
|
|
243
|
+
|
|
244
|
+
### Build Errors
|
|
245
|
+
|
|
246
|
+
**"Cannot find module"** - Ensure all dependencies are installed:
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
pnpm install
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Type errors** - Run typecheck before building:
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
pnpm typecheck
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
### Circular Dependencies
|
|
259
|
+
|
|
260
|
+
Check for circular imports:
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
pnpm circular
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Import Resolution
|
|
267
|
+
|
|
268
|
+
If consumers can't resolve imports:
|
|
269
|
+
|
|
270
|
+
1. Verify `publishConfig.exports` matches your entry points
|
|
271
|
+
2. Check that `files` field includes `dist` and `src`
|
|
272
|
+
3. Ensure external dependencies are properly declared
|
|
273
|
+
|
|
274
|
+
## Related Documentation
|
|
275
|
+
|
|
276
|
+
- [tsdown Official Docs](https://tsdown.dev)
|
|
277
|
+
- [DEPLOYMENT.md](./DEPLOYMENT.md) - Publishing to npmjs
|
|
278
|
+
- [Rolldown Docs](https://rolldown.rs) - Underlying bundler
|
|
279
|
+
|
|
280
|
+
## Support
|
|
281
|
+
|
|
282
|
+
For issues or questions:
|
|
283
|
+
|
|
284
|
+
1. Check package-specific `tsdown.config.mjs`
|
|
285
|
+
2. Review this README
|
|
286
|
+
3. See [DEPLOYMENT.md](./DEPLOYMENT.md) for publishing issues
|
|
287
|
+
4. Consult tsdown documentation
|