@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.
Files changed (697) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +830 -0
  3. package/eslint/__tests__/config-structure.test.mjs +61 -0
  4. package/eslint/base.mjs +350 -0
  5. package/eslint/expo.mjs +97 -0
  6. package/eslint/next-test.mjs +43 -0
  7. package/eslint/next.mjs +74 -0
  8. package/eslint/node.mjs +106 -0
  9. package/eslint/react.mjs +313 -0
  10. package/eslint/rules/__tests__/no-used-underscore-vars.test.mjs +147 -0
  11. package/eslint/rules/no-used-underscore-vars.mjs +297 -0
  12. package/eslint/shared/__tests__/common-ignores.test.mjs +19 -0
  13. package/eslint/shared/common-ignores.mjs +172 -0
  14. package/eslint/shared/disabled-type-aware-rules.mjs +35 -0
  15. package/eslint/shared/file-patterns.mjs +124 -0
  16. package/eslint/shared/node-globals.mjs +50 -0
  17. package/eslint/storybook.mjs +81 -0
  18. package/eslint/test.mjs +298 -0
  19. package/eslint/utils/__tests__/create-validated-config.test.mjs +42 -0
  20. package/eslint/utils/__tests__/filter-ts-eslint-configs.test.mjs +57 -0
  21. package/eslint/utils/__tests__/validate-config.test.mjs +104 -0
  22. package/eslint/utils/create-validated-config.mjs +69 -0
  23. package/eslint/utils/filter-ts-eslint-configs.mjs +129 -0
  24. package/eslint/utils/validate-config.mjs +88 -0
  25. package/package.json +37 -0
  26. package/prettier/index.mjs +15 -0
  27. package/stylelint/index.mjs +129 -0
  28. package/tsdown/README.md +287 -0
  29. package/tsdown/base.mjs +77 -0
  30. package/tsdown/browser.mjs +34 -0
  31. package/tsdown/client.mjs +32 -0
  32. package/tsdown/dist.mjs +179 -0
  33. package/tsdown/index.mjs +53 -0
  34. package/tsdown/node.mjs +39 -0
  35. package/tsdown/react.mjs +30 -0
  36. package/typescript/base.json +52 -0
  37. package/typescript/dist/__tests__/browser-stub.test.d.ts +2 -0
  38. package/typescript/dist/__tests__/browser-stub.test.d.ts.map +1 -0
  39. package/typescript/dist/__tests__/browser-stub.test.js +40 -0
  40. package/typescript/dist/__tests__/browser-stub.test.js.map +1 -0
  41. package/typescript/dist/__tests__/runtime/lifecycle.test.d.ts +2 -0
  42. package/typescript/dist/__tests__/runtime/lifecycle.test.d.ts.map +1 -0
  43. package/typescript/dist/__tests__/runtime/lifecycle.test.js +149 -0
  44. package/typescript/dist/__tests__/runtime/lifecycle.test.js.map +1 -0
  45. package/typescript/dist/__tests__/server/abort-support.test.d.ts +2 -0
  46. package/typescript/dist/__tests__/server/abort-support.test.d.ts.map +1 -0
  47. package/typescript/dist/__tests__/server/abort-support.test.js +333 -0
  48. package/typescript/dist/__tests__/server/abort-support.test.js.map +1 -0
  49. package/typescript/dist/__tests__/server/batch-processor.test.d.ts +2 -0
  50. package/typescript/dist/__tests__/server/batch-processor.test.d.ts.map +1 -0
  51. package/typescript/dist/__tests__/server/batch-processor.test.js +173 -0
  52. package/typescript/dist/__tests__/server/batch-processor.test.js.map +1 -0
  53. package/typescript/dist/__tests__/server/cache.test.d.ts +2 -0
  54. package/typescript/dist/__tests__/server/cache.test.d.ts.map +1 -0
  55. package/typescript/dist/__tests__/server/cache.test.js +343 -0
  56. package/typescript/dist/__tests__/server/cache.test.js.map +1 -0
  57. package/typescript/dist/__tests__/server/circular-deps.test.d.ts +2 -0
  58. package/typescript/dist/__tests__/server/circular-deps.test.d.ts.map +1 -0
  59. package/typescript/dist/__tests__/server/circular-deps.test.js +412 -0
  60. package/typescript/dist/__tests__/server/circular-deps.test.js.map +1 -0
  61. package/typescript/dist/__tests__/server/claude-code-env.test.d.ts +2 -0
  62. package/typescript/dist/__tests__/server/claude-code-env.test.d.ts.map +1 -0
  63. package/typescript/dist/__tests__/server/claude-code-env.test.js +387 -0
  64. package/typescript/dist/__tests__/server/claude-code-env.test.js.map +1 -0
  65. package/typescript/dist/__tests__/server/code-analysis-tool.test.d.ts +2 -0
  66. package/typescript/dist/__tests__/server/code-analysis-tool.test.d.ts.map +1 -0
  67. package/typescript/dist/__tests__/server/code-analysis-tool.test.js +430 -0
  68. package/typescript/dist/__tests__/server/code-analysis-tool.test.js.map +1 -0
  69. package/typescript/dist/__tests__/server/code-transformation.test.d.ts +2 -0
  70. package/typescript/dist/__tests__/server/code-transformation.test.d.ts.map +1 -0
  71. package/typescript/dist/__tests__/server/code-transformation.test.js +173 -0
  72. package/typescript/dist/__tests__/server/code-transformation.test.js.map +1 -0
  73. package/typescript/dist/__tests__/server/concurrency.test.d.ts +2 -0
  74. package/typescript/dist/__tests__/server/concurrency.test.d.ts.map +1 -0
  75. package/typescript/dist/__tests__/server/concurrency.test.js +31 -0
  76. package/typescript/dist/__tests__/server/concurrency.test.js.map +1 -0
  77. package/typescript/dist/__tests__/server/context.test.d.ts +2 -0
  78. package/typescript/dist/__tests__/server/context.test.d.ts.map +1 -0
  79. package/typescript/dist/__tests__/server/context.test.js +483 -0
  80. package/typescript/dist/__tests__/server/context.test.js.map +1 -0
  81. package/typescript/dist/__tests__/server/error-handling.test.d.ts +2 -0
  82. package/typescript/dist/__tests__/server/error-handling.test.d.ts.map +1 -0
  83. package/typescript/dist/__tests__/server/error-handling.test.js +68 -0
  84. package/typescript/dist/__tests__/server/error-handling.test.js.map +1 -0
  85. package/typescript/dist/__tests__/server/error-utils.test.d.ts +2 -0
  86. package/typescript/dist/__tests__/server/error-utils.test.d.ts.map +1 -0
  87. package/typescript/dist/__tests__/server/error-utils.test.js +268 -0
  88. package/typescript/dist/__tests__/server/error-utils.test.js.map +1 -0
  89. package/typescript/dist/__tests__/server/files.test.d.ts +2 -0
  90. package/typescript/dist/__tests__/server/files.test.d.ts.map +1 -0
  91. package/typescript/dist/__tests__/server/files.test.js +160 -0
  92. package/typescript/dist/__tests__/server/files.test.js.map +1 -0
  93. package/typescript/dist/__tests__/server/logger.test.d.ts +2 -0
  94. package/typescript/dist/__tests__/server/logger.test.d.ts.map +1 -0
  95. package/typescript/dist/__tests__/server/logger.test.js +412 -0
  96. package/typescript/dist/__tests__/server/logger.test.js.map +1 -0
  97. package/typescript/dist/__tests__/server/path-manager.test.d.ts +2 -0
  98. package/typescript/dist/__tests__/server/path-manager.test.d.ts.map +1 -0
  99. package/typescript/dist/__tests__/server/path-manager.test.js +406 -0
  100. package/typescript/dist/__tests__/server/path-manager.test.js.map +1 -0
  101. package/typescript/dist/__tests__/server/retry-operations.test.d.ts +2 -0
  102. package/typescript/dist/__tests__/server/retry-operations.test.d.ts.map +1 -0
  103. package/typescript/dist/__tests__/server/retry-operations.test.js +119 -0
  104. package/typescript/dist/__tests__/server/retry-operations.test.js.map +1 -0
  105. package/typescript/dist/__tests__/server/retry.test.d.ts +2 -0
  106. package/typescript/dist/__tests__/server/retry.test.d.ts.map +1 -0
  107. package/typescript/dist/__tests__/server/retry.test.js +70 -0
  108. package/typescript/dist/__tests__/server/retry.test.js.map +1 -0
  109. package/typescript/dist/__tests__/server/retryable.test.d.ts +2 -0
  110. package/typescript/dist/__tests__/server/retryable.test.d.ts.map +1 -0
  111. package/typescript/dist/__tests__/server/retryable.test.js +23 -0
  112. package/typescript/dist/__tests__/server/retryable.test.js.map +1 -0
  113. package/typescript/dist/__tests__/server/scheduler.test.d.ts +2 -0
  114. package/typescript/dist/__tests__/server/scheduler.test.d.ts.map +1 -0
  115. package/typescript/dist/__tests__/server/scheduler.test.js +14 -0
  116. package/typescript/dist/__tests__/server/scheduler.test.js.map +1 -0
  117. package/typescript/dist/__tests__/server/security.test.d.ts +2 -0
  118. package/typescript/dist/__tests__/server/security.test.d.ts.map +1 -0
  119. package/typescript/dist/__tests__/server/security.test.js +286 -0
  120. package/typescript/dist/__tests__/server/security.test.js.map +1 -0
  121. package/typescript/dist/__tests__/server/session-management.test.d.ts +2 -0
  122. package/typescript/dist/__tests__/server/session-management.test.d.ts.map +1 -0
  123. package/typescript/dist/__tests__/server/session-management.test.js +399 -0
  124. package/typescript/dist/__tests__/server/session-management.test.js.map +1 -0
  125. package/typescript/dist/__tests__/server/session-recovery.test.d.ts +2 -0
  126. package/typescript/dist/__tests__/server/session-recovery.test.d.ts.map +1 -0
  127. package/typescript/dist/__tests__/server/session-recovery.test.js +417 -0
  128. package/typescript/dist/__tests__/server/session-recovery.test.js.map +1 -0
  129. package/typescript/dist/__tests__/server/session.test.d.ts +2 -0
  130. package/typescript/dist/__tests__/server/session.test.d.ts.map +1 -0
  131. package/typescript/dist/__tests__/server/session.test.js +102 -0
  132. package/typescript/dist/__tests__/server/session.test.js.map +1 -0
  133. package/typescript/dist/__tests__/server/simple-tools.test.d.ts +2 -0
  134. package/typescript/dist/__tests__/server/simple-tools.test.d.ts.map +1 -0
  135. package/typescript/dist/__tests__/server/simple-tools.test.js +56 -0
  136. package/typescript/dist/__tests__/server/simple-tools.test.js.map +1 -0
  137. package/typescript/dist/__tests__/server/streaming-utilities.test.d.ts +2 -0
  138. package/typescript/dist/__tests__/server/streaming-utilities.test.d.ts.map +1 -0
  139. package/typescript/dist/__tests__/server/streaming-utilities.test.js +338 -0
  140. package/typescript/dist/__tests__/server/streaming-utilities.test.js.map +1 -0
  141. package/typescript/dist/__tests__/server/streams.test.d.ts +2 -0
  142. package/typescript/dist/__tests__/server/streams.test.d.ts.map +1 -0
  143. package/typescript/dist/__tests__/server/streams.test.js +282 -0
  144. package/typescript/dist/__tests__/server/streams.test.js.map +1 -0
  145. package/typescript/dist/__tests__/server/stringify-advanced.test.d.ts +2 -0
  146. package/typescript/dist/__tests__/server/stringify-advanced.test.d.ts.map +1 -0
  147. package/typescript/dist/__tests__/server/stringify-advanced.test.js +152 -0
  148. package/typescript/dist/__tests__/server/stringify-advanced.test.js.map +1 -0
  149. package/typescript/dist/__tests__/server/structured-clone-tool.test.d.ts +2 -0
  150. package/typescript/dist/__tests__/server/structured-clone-tool.test.d.ts.map +1 -0
  151. package/typescript/dist/__tests__/server/structured-clone-tool.test.js +751 -0
  152. package/typescript/dist/__tests__/server/structured-clone-tool.test.js.map +1 -0
  153. package/typescript/dist/__tests__/server/structured-clone.test.d.ts +2 -0
  154. package/typescript/dist/__tests__/server/structured-clone.test.d.ts.map +1 -0
  155. package/typescript/dist/__tests__/server/structured-clone.test.js +305 -0
  156. package/typescript/dist/__tests__/server/structured-clone.test.js.map +1 -0
  157. package/typescript/dist/__tests__/server/tool-helpers.test.d.ts +2 -0
  158. package/typescript/dist/__tests__/server/tool-helpers.test.d.ts.map +1 -0
  159. package/typescript/dist/__tests__/server/tool-helpers.test.js +51 -0
  160. package/typescript/dist/__tests__/server/tool-helpers.test.js.map +1 -0
  161. package/typescript/dist/__tests__/server/validation.test.d.ts +2 -0
  162. package/typescript/dist/__tests__/server/validation.test.d.ts.map +1 -0
  163. package/typescript/dist/__tests__/server/validation.test.js +585 -0
  164. package/typescript/dist/__tests__/server/validation.test.js.map +1 -0
  165. package/typescript/dist/__tests__/shared/constants.test.d.ts +2 -0
  166. package/typescript/dist/__tests__/shared/constants.test.d.ts.map +1 -0
  167. package/typescript/dist/__tests__/shared/constants.test.js +11 -0
  168. package/typescript/dist/__tests__/shared/constants.test.js.map +1 -0
  169. package/typescript/dist/__tests__/shared/environment.test.d.ts +2 -0
  170. package/typescript/dist/__tests__/shared/environment.test.d.ts.map +1 -0
  171. package/typescript/dist/__tests__/shared/environment.test.js +279 -0
  172. package/typescript/dist/__tests__/shared/environment.test.js.map +1 -0
  173. package/typescript/dist/__tests__/shared/stringify.test.d.ts +2 -0
  174. package/typescript/dist/__tests__/shared/stringify.test.d.ts.map +1 -0
  175. package/typescript/dist/__tests__/shared/stringify.test.js +171 -0
  176. package/typescript/dist/__tests__/shared/stringify.test.js.map +1 -0
  177. package/typescript/dist/__tests__/shared/timeout.test.d.ts +2 -0
  178. package/typescript/dist/__tests__/shared/timeout.test.d.ts.map +1 -0
  179. package/typescript/dist/__tests__/shared/timeout.test.js +262 -0
  180. package/typescript/dist/__tests__/shared/timeout.test.js.map +1 -0
  181. package/typescript/dist/src/App.d.ts +3 -0
  182. package/typescript/dist/src/App.d.ts.map +1 -0
  183. package/typescript/dist/src/App.js +27 -0
  184. package/typescript/dist/src/App.js.map +1 -0
  185. package/typescript/dist/src/components/charts/BenchmarkCard.d.ts +12 -0
  186. package/typescript/dist/src/components/charts/BenchmarkCard.d.ts.map +1 -0
  187. package/typescript/dist/src/components/charts/BenchmarkCard.js +23 -0
  188. package/typescript/dist/src/components/charts/BenchmarkCard.js.map +1 -0
  189. package/typescript/dist/src/components/charts/ComparisonBar.d.ts +11 -0
  190. package/typescript/dist/src/components/charts/ComparisonBar.d.ts.map +1 -0
  191. package/typescript/dist/src/components/charts/ComparisonBar.js +34 -0
  192. package/typescript/dist/src/components/charts/ComparisonBar.js.map +1 -0
  193. package/typescript/dist/src/components/charts/PercentileGauge.d.ts +10 -0
  194. package/typescript/dist/src/components/charts/PercentileGauge.d.ts.map +1 -0
  195. package/typescript/dist/src/components/charts/PercentileGauge.js +68 -0
  196. package/typescript/dist/src/components/charts/PercentileGauge.js.map +1 -0
  197. package/typescript/dist/src/components/charts/index.d.ts +4 -0
  198. package/typescript/dist/src/components/charts/index.d.ts.map +1 -0
  199. package/typescript/dist/src/components/charts/index.js +4 -0
  200. package/typescript/dist/src/components/charts/index.js.map +1 -0
  201. package/typescript/dist/src/components/filters/FilterPanel.d.ts +9 -0
  202. package/typescript/dist/src/components/filters/FilterPanel.d.ts.map +1 -0
  203. package/typescript/dist/src/components/filters/FilterPanel.js +42 -0
  204. package/typescript/dist/src/components/filters/FilterPanel.js.map +1 -0
  205. package/typescript/dist/src/components/filters/index.d.ts +2 -0
  206. package/typescript/dist/src/components/filters/index.d.ts.map +1 -0
  207. package/typescript/dist/src/components/filters/index.js +2 -0
  208. package/typescript/dist/src/components/filters/index.js.map +1 -0
  209. package/typescript/dist/src/components/ui/Button.d.ts +8 -0
  210. package/typescript/dist/src/components/ui/Button.d.ts.map +1 -0
  211. package/typescript/dist/src/components/ui/Button.js +16 -0
  212. package/typescript/dist/src/components/ui/Button.js.map +1 -0
  213. package/typescript/dist/src/components/ui/Card.d.ts +14 -0
  214. package/typescript/dist/src/components/ui/Card.d.ts.map +1 -0
  215. package/typescript/dist/src/components/ui/Card.js +27 -0
  216. package/typescript/dist/src/components/ui/Card.js.map +1 -0
  217. package/typescript/dist/src/components/ui/Input.d.ts +9 -0
  218. package/typescript/dist/src/components/ui/Input.d.ts.map +1 -0
  219. package/typescript/dist/src/components/ui/Input.js +13 -0
  220. package/typescript/dist/src/components/ui/Input.js.map +1 -0
  221. package/typescript/dist/src/components/ui/Select.d.ts +14 -0
  222. package/typescript/dist/src/components/ui/Select.d.ts.map +1 -0
  223. package/typescript/dist/src/components/ui/Select.js +13 -0
  224. package/typescript/dist/src/components/ui/Select.js.map +1 -0
  225. package/typescript/dist/src/components/ui/index.d.ts +5 -0
  226. package/typescript/dist/src/components/ui/index.d.ts.map +1 -0
  227. package/typescript/dist/src/components/ui/index.js +5 -0
  228. package/typescript/dist/src/components/ui/index.js.map +1 -0
  229. package/typescript/dist/src/index.d.ts +4 -0
  230. package/typescript/dist/src/index.d.ts.map +1 -0
  231. package/typescript/dist/src/index.js +4 -0
  232. package/typescript/dist/src/index.js.map +1 -0
  233. package/typescript/dist/src/layouts/MainLayout.d.ts +2 -0
  234. package/typescript/dist/src/layouts/MainLayout.d.ts.map +1 -0
  235. package/typescript/dist/src/layouts/MainLayout.js +45 -0
  236. package/typescript/dist/src/layouts/MainLayout.js.map +1 -0
  237. package/typescript/dist/src/lib/api/benchmarks.d.ts +87 -0
  238. package/typescript/dist/src/lib/api/benchmarks.d.ts.map +1 -0
  239. package/typescript/dist/src/lib/api/benchmarks.js +274 -0
  240. package/typescript/dist/src/lib/api/benchmarks.js.map +1 -0
  241. package/typescript/dist/src/lib/api/index.d.ts +2 -0
  242. package/typescript/dist/src/lib/api/index.d.ts.map +1 -0
  243. package/typescript/dist/src/lib/api/index.js +2 -0
  244. package/typescript/dist/src/lib/api/index.js.map +1 -0
  245. package/typescript/dist/src/lib/mock-data/accident-benchmarks.d.ts +33 -0
  246. package/typescript/dist/src/lib/mock-data/accident-benchmarks.d.ts.map +1 -0
  247. package/typescript/dist/src/lib/mock-data/accident-benchmarks.js +124 -0
  248. package/typescript/dist/src/lib/mock-data/accident-benchmarks.js.map +1 -0
  249. package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.d.ts +47 -0
  250. package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.d.ts.map +1 -0
  251. package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.js +83 -0
  252. package/typescript/dist/src/lib/mock-data/basic-life-benchmarks.js.map +1 -0
  253. package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.d.ts +39 -0
  254. package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.d.ts.map +1 -0
  255. package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.js +130 -0
  256. package/typescript/dist/src/lib/mock-data/critical-illness-benchmarks.js.map +1 -0
  257. package/typescript/dist/src/lib/mock-data/dental-benchmarks.d.ts +42 -0
  258. package/typescript/dist/src/lib/mock-data/dental-benchmarks.d.ts.map +1 -0
  259. package/typescript/dist/src/lib/mock-data/dental-benchmarks.js +137 -0
  260. package/typescript/dist/src/lib/mock-data/dental-benchmarks.js.map +1 -0
  261. package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.d.ts +37 -0
  262. package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.d.ts.map +1 -0
  263. package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.js +128 -0
  264. package/typescript/dist/src/lib/mock-data/hospital-indemnity-benchmarks.js.map +1 -0
  265. package/typescript/dist/src/lib/mock-data/index.d.ts +3 -0
  266. package/typescript/dist/src/lib/mock-data/index.d.ts.map +1 -0
  267. package/typescript/dist/src/lib/mock-data/index.js +3 -0
  268. package/typescript/dist/src/lib/mock-data/index.js.map +1 -0
  269. package/typescript/dist/src/lib/mock-data/ltd-benchmarks.d.ts +59 -0
  270. package/typescript/dist/src/lib/mock-data/ltd-benchmarks.d.ts.map +1 -0
  271. package/typescript/dist/src/lib/mock-data/ltd-benchmarks.js +127 -0
  272. package/typescript/dist/src/lib/mock-data/ltd-benchmarks.js.map +1 -0
  273. package/typescript/dist/src/lib/mock-data/std-benchmarks.d.ts +51 -0
  274. package/typescript/dist/src/lib/mock-data/std-benchmarks.d.ts.map +1 -0
  275. package/typescript/dist/src/lib/mock-data/std-benchmarks.js +111 -0
  276. package/typescript/dist/src/lib/mock-data/std-benchmarks.js.map +1 -0
  277. package/typescript/dist/src/lib/mock-data/vision-benchmarks.d.ts +32 -0
  278. package/typescript/dist/src/lib/mock-data/vision-benchmarks.d.ts.map +1 -0
  279. package/typescript/dist/src/lib/mock-data/vision-benchmarks.js +151 -0
  280. package/typescript/dist/src/lib/mock-data/vision-benchmarks.js.map +1 -0
  281. package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.d.ts +39 -0
  282. package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.d.ts.map +1 -0
  283. package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.js +97 -0
  284. package/typescript/dist/src/lib/mock-data/voluntary-life-benchmarks.js.map +1 -0
  285. package/typescript/dist/src/lib/transformers/api-to-internal.d.ts +42 -0
  286. package/typescript/dist/src/lib/transformers/api-to-internal.d.ts.map +1 -0
  287. package/typescript/dist/src/lib/transformers/api-to-internal.js +206 -0
  288. package/typescript/dist/src/lib/transformers/api-to-internal.js.map +1 -0
  289. package/typescript/dist/src/lib/transformers/index.d.ts +2 -0
  290. package/typescript/dist/src/lib/transformers/index.d.ts.map +1 -0
  291. package/typescript/dist/src/lib/transformers/index.js +2 -0
  292. package/typescript/dist/src/lib/transformers/index.js.map +1 -0
  293. package/typescript/dist/src/lib/types/accident.d.ts +46 -0
  294. package/typescript/dist/src/lib/types/accident.d.ts.map +1 -0
  295. package/typescript/dist/src/lib/types/accident.js +223 -0
  296. package/typescript/dist/src/lib/types/accident.js.map +1 -0
  297. package/typescript/dist/src/lib/types/api-schema.d.ts +476 -0
  298. package/typescript/dist/src/lib/types/api-schema.d.ts.map +1 -0
  299. package/typescript/dist/src/lib/types/api-schema.js +2 -0
  300. package/typescript/dist/src/lib/types/api-schema.js.map +1 -0
  301. package/typescript/dist/src/lib/types/basic-life.d.ts +30 -0
  302. package/typescript/dist/src/lib/types/basic-life.d.ts.map +1 -0
  303. package/typescript/dist/src/lib/types/basic-life.js +137 -0
  304. package/typescript/dist/src/lib/types/basic-life.js.map +1 -0
  305. package/typescript/dist/src/lib/types/common.d.ts +99 -0
  306. package/typescript/dist/src/lib/types/common.d.ts.map +1 -0
  307. package/typescript/dist/src/lib/types/common.js +29 -0
  308. package/typescript/dist/src/lib/types/common.js.map +1 -0
  309. package/typescript/dist/src/lib/types/critical-illness.d.ts +52 -0
  310. package/typescript/dist/src/lib/types/critical-illness.d.ts.map +1 -0
  311. package/typescript/dist/src/lib/types/critical-illness.js +254 -0
  312. package/typescript/dist/src/lib/types/critical-illness.js.map +1 -0
  313. package/typescript/dist/src/lib/types/dental.d.ts +41 -0
  314. package/typescript/dist/src/lib/types/dental.d.ts.map +1 -0
  315. package/typescript/dist/src/lib/types/dental.js +188 -0
  316. package/typescript/dist/src/lib/types/dental.js.map +1 -0
  317. package/typescript/dist/src/lib/types/hospital-indemnity.d.ts +41 -0
  318. package/typescript/dist/src/lib/types/hospital-indemnity.d.ts.map +1 -0
  319. package/typescript/dist/src/lib/types/hospital-indemnity.js +191 -0
  320. package/typescript/dist/src/lib/types/hospital-indemnity.js.map +1 -0
  321. package/typescript/dist/src/lib/types/index.d.ts +12 -0
  322. package/typescript/dist/src/lib/types/index.d.ts.map +1 -0
  323. package/typescript/dist/src/lib/types/index.js +12 -0
  324. package/typescript/dist/src/lib/types/index.js.map +1 -0
  325. package/typescript/dist/src/lib/types/ltd.d.ts +42 -0
  326. package/typescript/dist/src/lib/types/ltd.d.ts.map +1 -0
  327. package/typescript/dist/src/lib/types/ltd.js +200 -0
  328. package/typescript/dist/src/lib/types/ltd.js.map +1 -0
  329. package/typescript/dist/src/lib/types/std.d.ts +31 -0
  330. package/typescript/dist/src/lib/types/std.d.ts.map +1 -0
  331. package/typescript/dist/src/lib/types/std.js +144 -0
  332. package/typescript/dist/src/lib/types/std.js.map +1 -0
  333. package/typescript/dist/src/lib/types/vision.d.ts +31 -0
  334. package/typescript/dist/src/lib/types/vision.d.ts.map +1 -0
  335. package/typescript/dist/src/lib/types/vision.js +129 -0
  336. package/typescript/dist/src/lib/types/vision.js.map +1 -0
  337. package/typescript/dist/src/lib/types/voluntary-life.d.ts +33 -0
  338. package/typescript/dist/src/lib/types/voluntary-life.d.ts.map +1 -0
  339. package/typescript/dist/src/lib/types/voluntary-life.js +144 -0
  340. package/typescript/dist/src/lib/types/voluntary-life.js.map +1 -0
  341. package/typescript/dist/src/lib/utils/format.d.ts +11 -0
  342. package/typescript/dist/src/lib/utils/format.d.ts.map +1 -0
  343. package/typescript/dist/src/lib/utils/format.js +95 -0
  344. package/typescript/dist/src/lib/utils/format.js.map +1 -0
  345. package/typescript/dist/src/lib/utils/index.d.ts +2 -0
  346. package/typescript/dist/src/lib/utils/index.d.ts.map +1 -0
  347. package/typescript/dist/src/lib/utils/index.js +2 -0
  348. package/typescript/dist/src/lib/utils/index.js.map +1 -0
  349. package/typescript/dist/src/main.d.ts +2 -0
  350. package/typescript/dist/src/main.d.ts.map +1 -0
  351. package/typescript/dist/src/main.js +20 -0
  352. package/typescript/dist/src/main.js.map +1 -0
  353. package/typescript/dist/src/pages/AccidentComparison.d.ts +2 -0
  354. package/typescript/dist/src/pages/AccidentComparison.d.ts.map +1 -0
  355. package/typescript/dist/src/pages/AccidentComparison.js +56 -0
  356. package/typescript/dist/src/pages/AccidentComparison.js.map +1 -0
  357. package/typescript/dist/src/pages/AccidentExplorer.d.ts +2 -0
  358. package/typescript/dist/src/pages/AccidentExplorer.d.ts.map +1 -0
  359. package/typescript/dist/src/pages/AccidentExplorer.js +29 -0
  360. package/typescript/dist/src/pages/AccidentExplorer.js.map +1 -0
  361. package/typescript/dist/src/pages/BasicLifeComparison.d.ts +2 -0
  362. package/typescript/dist/src/pages/BasicLifeComparison.d.ts.map +1 -0
  363. package/typescript/dist/src/pages/BasicLifeComparison.js +59 -0
  364. package/typescript/dist/src/pages/BasicLifeComparison.js.map +1 -0
  365. package/typescript/dist/src/pages/BasicLifeExplorer.d.ts +2 -0
  366. package/typescript/dist/src/pages/BasicLifeExplorer.d.ts.map +1 -0
  367. package/typescript/dist/src/pages/BasicLifeExplorer.js +29 -0
  368. package/typescript/dist/src/pages/BasicLifeExplorer.js.map +1 -0
  369. package/typescript/dist/src/pages/CriticalIllnessComparison.d.ts +2 -0
  370. package/typescript/dist/src/pages/CriticalIllnessComparison.d.ts.map +1 -0
  371. package/typescript/dist/src/pages/CriticalIllnessComparison.js +56 -0
  372. package/typescript/dist/src/pages/CriticalIllnessComparison.js.map +1 -0
  373. package/typescript/dist/src/pages/CriticalIllnessExplorer.d.ts +2 -0
  374. package/typescript/dist/src/pages/CriticalIllnessExplorer.d.ts.map +1 -0
  375. package/typescript/dist/src/pages/CriticalIllnessExplorer.js +29 -0
  376. package/typescript/dist/src/pages/CriticalIllnessExplorer.js.map +1 -0
  377. package/typescript/dist/src/pages/Dashboard.d.ts +2 -0
  378. package/typescript/dist/src/pages/Dashboard.d.ts.map +1 -0
  379. package/typescript/dist/src/pages/Dashboard.js +8 -0
  380. package/typescript/dist/src/pages/Dashboard.js.map +1 -0
  381. package/typescript/dist/src/pages/DentalComparison.d.ts +2 -0
  382. package/typescript/dist/src/pages/DentalComparison.d.ts.map +1 -0
  383. package/typescript/dist/src/pages/DentalComparison.js +64 -0
  384. package/typescript/dist/src/pages/DentalComparison.js.map +1 -0
  385. package/typescript/dist/src/pages/DentalExplorer.d.ts +2 -0
  386. package/typescript/dist/src/pages/DentalExplorer.d.ts.map +1 -0
  387. package/typescript/dist/src/pages/DentalExplorer.js +29 -0
  388. package/typescript/dist/src/pages/DentalExplorer.js.map +1 -0
  389. package/typescript/dist/src/pages/HospitalIndemnityComparison.d.ts +2 -0
  390. package/typescript/dist/src/pages/HospitalIndemnityComparison.d.ts.map +1 -0
  391. package/typescript/dist/src/pages/HospitalIndemnityComparison.js +53 -0
  392. package/typescript/dist/src/pages/HospitalIndemnityComparison.js.map +1 -0
  393. package/typescript/dist/src/pages/HospitalIndemnityExplorer.d.ts +2 -0
  394. package/typescript/dist/src/pages/HospitalIndemnityExplorer.d.ts.map +1 -0
  395. package/typescript/dist/src/pages/HospitalIndemnityExplorer.js +29 -0
  396. package/typescript/dist/src/pages/HospitalIndemnityExplorer.js.map +1 -0
  397. package/typescript/dist/src/pages/LTDComparison.d.ts +2 -0
  398. package/typescript/dist/src/pages/LTDComparison.d.ts.map +1 -0
  399. package/typescript/dist/src/pages/LTDComparison.js +64 -0
  400. package/typescript/dist/src/pages/LTDComparison.js.map +1 -0
  401. package/typescript/dist/src/pages/LTDExplorer.d.ts +2 -0
  402. package/typescript/dist/src/pages/LTDExplorer.d.ts.map +1 -0
  403. package/typescript/dist/src/pages/LTDExplorer.js +29 -0
  404. package/typescript/dist/src/pages/LTDExplorer.js.map +1 -0
  405. package/typescript/dist/src/pages/STDComparison.d.ts +2 -0
  406. package/typescript/dist/src/pages/STDComparison.d.ts.map +1 -0
  407. package/typescript/dist/src/pages/STDComparison.js +58 -0
  408. package/typescript/dist/src/pages/STDComparison.js.map +1 -0
  409. package/typescript/dist/src/pages/STDExplorer.d.ts +2 -0
  410. package/typescript/dist/src/pages/STDExplorer.d.ts.map +1 -0
  411. package/typescript/dist/src/pages/STDExplorer.js +29 -0
  412. package/typescript/dist/src/pages/STDExplorer.js.map +1 -0
  413. package/typescript/dist/src/pages/VisionComparison.d.ts +2 -0
  414. package/typescript/dist/src/pages/VisionComparison.d.ts.map +1 -0
  415. package/typescript/dist/src/pages/VisionComparison.js +64 -0
  416. package/typescript/dist/src/pages/VisionComparison.js.map +1 -0
  417. package/typescript/dist/src/pages/VisionExplorer.d.ts +2 -0
  418. package/typescript/dist/src/pages/VisionExplorer.d.ts.map +1 -0
  419. package/typescript/dist/src/pages/VisionExplorer.js +29 -0
  420. package/typescript/dist/src/pages/VisionExplorer.js.map +1 -0
  421. package/typescript/dist/src/pages/VoluntaryLifeComparison.d.ts +2 -0
  422. package/typescript/dist/src/pages/VoluntaryLifeComparison.d.ts.map +1 -0
  423. package/typescript/dist/src/pages/VoluntaryLifeComparison.js +51 -0
  424. package/typescript/dist/src/pages/VoluntaryLifeComparison.js.map +1 -0
  425. package/typescript/dist/src/pages/VoluntaryLifeExplorer.d.ts +2 -0
  426. package/typescript/dist/src/pages/VoluntaryLifeExplorer.d.ts.map +1 -0
  427. package/typescript/dist/src/pages/VoluntaryLifeExplorer.js +29 -0
  428. package/typescript/dist/src/pages/VoluntaryLifeExplorer.js.map +1 -0
  429. package/typescript/dist/src/runtime/index.d.ts +2 -0
  430. package/typescript/dist/src/runtime/index.d.ts.map +1 -0
  431. package/typescript/dist/src/runtime/index.js +2 -0
  432. package/typescript/dist/src/runtime/index.js.map +1 -0
  433. package/typescript/dist/src/runtime/lifecycle.d.ts +16 -0
  434. package/typescript/dist/src/runtime/lifecycle.d.ts.map +1 -0
  435. package/typescript/dist/src/runtime/lifecycle.js +50 -0
  436. package/typescript/dist/src/runtime/lifecycle.js.map +1 -0
  437. package/typescript/dist/src/server/abort-support.d.ts +20 -0
  438. package/typescript/dist/src/server/abort-support.d.ts.map +1 -0
  439. package/typescript/dist/src/server/abort-support.js +101 -0
  440. package/typescript/dist/src/server/abort-support.js.map +1 -0
  441. package/typescript/dist/src/server/advanced-memory-monitor.d.ts +189 -0
  442. package/typescript/dist/src/server/advanced-memory-monitor.d.ts.map +1 -0
  443. package/typescript/dist/src/server/advanced-memory-monitor.js +718 -0
  444. package/typescript/dist/src/server/advanced-memory-monitor.js.map +1 -0
  445. package/typescript/dist/src/server/architecture-detector.d.ts +72 -0
  446. package/typescript/dist/src/server/architecture-detector.d.ts.map +1 -0
  447. package/typescript/dist/src/server/architecture-detector.js +282 -0
  448. package/typescript/dist/src/server/architecture-detector.js.map +1 -0
  449. package/typescript/dist/src/server/batch-processor-tool.d.ts +69 -0
  450. package/typescript/dist/src/server/batch-processor-tool.d.ts.map +1 -0
  451. package/typescript/dist/src/server/batch-processor-tool.js +651 -0
  452. package/typescript/dist/src/server/batch-processor-tool.js.map +1 -0
  453. package/typescript/dist/src/server/batch-processor.d.ts +73 -0
  454. package/typescript/dist/src/server/batch-processor.d.ts.map +1 -0
  455. package/typescript/dist/src/server/batch-processor.js +264 -0
  456. package/typescript/dist/src/server/batch-processor.js.map +1 -0
  457. package/typescript/dist/src/server/browser-stub.d.ts +18 -0
  458. package/typescript/dist/src/server/browser-stub.d.ts.map +1 -0
  459. package/typescript/dist/src/server/browser-stub.js +21 -0
  460. package/typescript/dist/src/server/browser-stub.js.map +1 -0
  461. package/typescript/dist/src/server/cache.d.ts +92 -0
  462. package/typescript/dist/src/server/cache.d.ts.map +1 -0
  463. package/typescript/dist/src/server/cache.js +217 -0
  464. package/typescript/dist/src/server/cache.js.map +1 -0
  465. package/typescript/dist/src/server/circular-deps.d.ts +85 -0
  466. package/typescript/dist/src/server/circular-deps.d.ts.map +1 -0
  467. package/typescript/dist/src/server/circular-deps.js +331 -0
  468. package/typescript/dist/src/server/circular-deps.js.map +1 -0
  469. package/typescript/dist/src/server/claude-code-env.d.ts +50 -0
  470. package/typescript/dist/src/server/claude-code-env.d.ts.map +1 -0
  471. package/typescript/dist/src/server/claude-code-env.js +116 -0
  472. package/typescript/dist/src/server/claude-code-env.js.map +1 -0
  473. package/typescript/dist/src/server/code-analysis-tool.d.ts +79 -0
  474. package/typescript/dist/src/server/code-analysis-tool.d.ts.map +1 -0
  475. package/typescript/dist/src/server/code-analysis-tool.js +94 -0
  476. package/typescript/dist/src/server/code-analysis-tool.js.map +1 -0
  477. package/typescript/dist/src/server/code-analysis.d.ts +16 -0
  478. package/typescript/dist/src/server/code-analysis.d.ts.map +1 -0
  479. package/typescript/dist/src/server/code-analysis.js +462 -0
  480. package/typescript/dist/src/server/code-analysis.js.map +1 -0
  481. package/typescript/dist/src/server/code-transformation.d.ts +141 -0
  482. package/typescript/dist/src/server/code-transformation.d.ts.map +1 -0
  483. package/typescript/dist/src/server/code-transformation.js +918 -0
  484. package/typescript/dist/src/server/code-transformation.js.map +1 -0
  485. package/typescript/dist/src/server/comprehensive-code-analysis.d.ts +77 -0
  486. package/typescript/dist/src/server/comprehensive-code-analysis.d.ts.map +1 -0
  487. package/typescript/dist/src/server/comprehensive-code-analysis.js +613 -0
  488. package/typescript/dist/src/server/comprehensive-code-analysis.js.map +1 -0
  489. package/typescript/dist/src/server/concurrency.d.ts +5 -0
  490. package/typescript/dist/src/server/concurrency.d.ts.map +1 -0
  491. package/typescript/dist/src/server/concurrency.js +20 -0
  492. package/typescript/dist/src/server/concurrency.js.map +1 -0
  493. package/typescript/dist/src/server/context-manager.d.ts +97 -0
  494. package/typescript/dist/src/server/context-manager.d.ts.map +1 -0
  495. package/typescript/dist/src/server/context-manager.js +410 -0
  496. package/typescript/dist/src/server/context-manager.js.map +1 -0
  497. package/typescript/dist/src/server/context-session-manager.d.ts +47 -0
  498. package/typescript/dist/src/server/context-session-manager.d.ts.map +1 -0
  499. package/typescript/dist/src/server/context-session-manager.js +594 -0
  500. package/typescript/dist/src/server/context-session-manager.js.map +1 -0
  501. package/typescript/dist/src/server/context.d.ts +66 -0
  502. package/typescript/dist/src/server/context.d.ts.map +1 -0
  503. package/typescript/dist/src/server/context.js +275 -0
  504. package/typescript/dist/src/server/context.js.map +1 -0
  505. package/typescript/dist/src/server/dependency-analyzer.d.ts +100 -0
  506. package/typescript/dist/src/server/dependency-analyzer.d.ts.map +1 -0
  507. package/typescript/dist/src/server/dependency-analyzer.js +1117 -0
  508. package/typescript/dist/src/server/dependency-analyzer.js.map +1 -0
  509. package/typescript/dist/src/server/error-handling.d.ts +106 -0
  510. package/typescript/dist/src/server/error-handling.d.ts.map +1 -0
  511. package/typescript/dist/src/server/error-handling.js +363 -0
  512. package/typescript/dist/src/server/error-handling.js.map +1 -0
  513. package/typescript/dist/src/server/file-discovery.d.ts +60 -0
  514. package/typescript/dist/src/server/file-discovery.d.ts.map +1 -0
  515. package/typescript/dist/src/server/file-discovery.js +282 -0
  516. package/typescript/dist/src/server/file-discovery.js.map +1 -0
  517. package/typescript/dist/src/server/file-streaming.d.ts +152 -0
  518. package/typescript/dist/src/server/file-streaming.d.ts.map +1 -0
  519. package/typescript/dist/src/server/file-streaming.js +627 -0
  520. package/typescript/dist/src/server/file-streaming.js.map +1 -0
  521. package/typescript/dist/src/server/files.d.ts +100 -0
  522. package/typescript/dist/src/server/files.d.ts.map +1 -0
  523. package/typescript/dist/src/server/files.js +609 -0
  524. package/typescript/dist/src/server/files.js.map +1 -0
  525. package/typescript/dist/src/server/index.d.ts +54 -0
  526. package/typescript/dist/src/server/index.d.ts.map +1 -0
  527. package/typescript/dist/src/server/index.js +54 -0
  528. package/typescript/dist/src/server/index.js.map +1 -0
  529. package/typescript/dist/src/server/logger.d.ts +95 -0
  530. package/typescript/dist/src/server/logger.d.ts.map +1 -0
  531. package/typescript/dist/src/server/logger.js +271 -0
  532. package/typescript/dist/src/server/logger.js.map +1 -0
  533. package/typescript/dist/src/server/memory-aware-cache.d.ts +169 -0
  534. package/typescript/dist/src/server/memory-aware-cache.d.ts.map +1 -0
  535. package/typescript/dist/src/server/memory-aware-cache.js +655 -0
  536. package/typescript/dist/src/server/memory-aware-cache.js.map +1 -0
  537. package/typescript/dist/src/server/memory-monitor-tool.d.ts +46 -0
  538. package/typescript/dist/src/server/memory-monitor-tool.d.ts.map +1 -0
  539. package/typescript/dist/src/server/memory-monitor-tool.js +381 -0
  540. package/typescript/dist/src/server/memory-monitor-tool.js.map +1 -0
  541. package/typescript/dist/src/server/memory-monitor.d.ts +79 -0
  542. package/typescript/dist/src/server/memory-monitor.d.ts.map +1 -0
  543. package/typescript/dist/src/server/memory-monitor.js +333 -0
  544. package/typescript/dist/src/server/memory-monitor.js.map +1 -0
  545. package/typescript/dist/src/server/optimization-engine.d.ts +68 -0
  546. package/typescript/dist/src/server/optimization-engine.d.ts.map +1 -0
  547. package/typescript/dist/src/server/optimization-engine.js +728 -0
  548. package/typescript/dist/src/server/optimization-engine.js.map +1 -0
  549. package/typescript/dist/src/server/path-manager.d.ts +46 -0
  550. package/typescript/dist/src/server/path-manager.d.ts.map +1 -0
  551. package/typescript/dist/src/server/path-manager.js +155 -0
  552. package/typescript/dist/src/server/path-manager.js.map +1 -0
  553. package/typescript/dist/src/server/pattern-analyzer.d.ts +69 -0
  554. package/typescript/dist/src/server/pattern-analyzer.d.ts.map +1 -0
  555. package/typescript/dist/src/server/pattern-analyzer.js +497 -0
  556. package/typescript/dist/src/server/pattern-analyzer.js.map +1 -0
  557. package/typescript/dist/src/server/performance-observer.d.ts +61 -0
  558. package/typescript/dist/src/server/performance-observer.d.ts.map +1 -0
  559. package/typescript/dist/src/server/performance-observer.js +394 -0
  560. package/typescript/dist/src/server/performance-observer.js.map +1 -0
  561. package/typescript/dist/src/server/performance.d.ts +121 -0
  562. package/typescript/dist/src/server/performance.d.ts.map +1 -0
  563. package/typescript/dist/src/server/performance.js +520 -0
  564. package/typescript/dist/src/server/performance.js.map +1 -0
  565. package/typescript/dist/src/server/report-generator.d.ts +131 -0
  566. package/typescript/dist/src/server/report-generator.d.ts.map +1 -0
  567. package/typescript/dist/src/server/report-generator.js +1158 -0
  568. package/typescript/dist/src/server/report-generator.js.map +1 -0
  569. package/typescript/dist/src/server/resource-lifecycle-manager.d.ts +231 -0
  570. package/typescript/dist/src/server/resource-lifecycle-manager.d.ts.map +1 -0
  571. package/typescript/dist/src/server/resource-lifecycle-manager.js +839 -0
  572. package/typescript/dist/src/server/resource-lifecycle-manager.js.map +1 -0
  573. package/typescript/dist/src/server/retry-operations.d.ts +59 -0
  574. package/typescript/dist/src/server/retry-operations.d.ts.map +1 -0
  575. package/typescript/dist/src/server/retry-operations.js +68 -0
  576. package/typescript/dist/src/server/retry-operations.js.map +1 -0
  577. package/typescript/dist/src/server/retry.d.ts +18 -0
  578. package/typescript/dist/src/server/retry.d.ts.map +1 -0
  579. package/typescript/dist/src/server/retry.js +44 -0
  580. package/typescript/dist/src/server/retry.js.map +1 -0
  581. package/typescript/dist/src/server/retryable.d.ts +2 -0
  582. package/typescript/dist/src/server/retryable.d.ts.map +1 -0
  583. package/typescript/dist/src/server/retryable.js +21 -0
  584. package/typescript/dist/src/server/retryable.js.map +1 -0
  585. package/typescript/dist/src/server/scheduler.d.ts +4 -0
  586. package/typescript/dist/src/server/scheduler.d.ts.map +1 -0
  587. package/typescript/dist/src/server/scheduler.js +21 -0
  588. package/typescript/dist/src/server/scheduler.js.map +1 -0
  589. package/typescript/dist/src/server/security-scanner.d.ts +59 -0
  590. package/typescript/dist/src/server/security-scanner.d.ts.map +1 -0
  591. package/typescript/dist/src/server/security-scanner.js +915 -0
  592. package/typescript/dist/src/server/security-scanner.js.map +1 -0
  593. package/typescript/dist/src/server/security.d.ts +25 -0
  594. package/typescript/dist/src/server/security.d.ts.map +1 -0
  595. package/typescript/dist/src/server/security.js +298 -0
  596. package/typescript/dist/src/server/security.js.map +1 -0
  597. package/typescript/dist/src/server/session-management.d.ts +103 -0
  598. package/typescript/dist/src/server/session-management.d.ts.map +1 -0
  599. package/typescript/dist/src/server/session-management.js +149 -0
  600. package/typescript/dist/src/server/session-management.js.map +1 -0
  601. package/typescript/dist/src/server/session-recovery.d.ts +91 -0
  602. package/typescript/dist/src/server/session-recovery.d.ts.map +1 -0
  603. package/typescript/dist/src/server/session-recovery.js +384 -0
  604. package/typescript/dist/src/server/session-recovery.js.map +1 -0
  605. package/typescript/dist/src/server/session.d.ts +18 -0
  606. package/typescript/dist/src/server/session.d.ts.map +1 -0
  607. package/typescript/dist/src/server/session.js +46 -0
  608. package/typescript/dist/src/server/session.js.map +1 -0
  609. package/typescript/dist/src/server/simple-tools.d.ts +15 -0
  610. package/typescript/dist/src/server/simple-tools.d.ts.map +1 -0
  611. package/typescript/dist/src/server/simple-tools.js +15 -0
  612. package/typescript/dist/src/server/simple-tools.js.map +1 -0
  613. package/typescript/dist/src/server/streaming-utilities.d.ts +107 -0
  614. package/typescript/dist/src/server/streaming-utilities.d.ts.map +1 -0
  615. package/typescript/dist/src/server/streaming-utilities.js +822 -0
  616. package/typescript/dist/src/server/streaming-utilities.js.map +1 -0
  617. package/typescript/dist/src/server/streams.d.ts +48 -0
  618. package/typescript/dist/src/server/streams.d.ts.map +1 -0
  619. package/typescript/dist/src/server/streams.js +489 -0
  620. package/typescript/dist/src/server/streams.js.map +1 -0
  621. package/typescript/dist/src/server/stringify-advanced.d.ts +31 -0
  622. package/typescript/dist/src/server/stringify-advanced.d.ts.map +1 -0
  623. package/typescript/dist/src/server/stringify-advanced.js +183 -0
  624. package/typescript/dist/src/server/stringify-advanced.js.map +1 -0
  625. package/typescript/dist/src/server/structured-clone-tool.d.ts +101 -0
  626. package/typescript/dist/src/server/structured-clone-tool.d.ts.map +1 -0
  627. package/typescript/dist/src/server/structured-clone-tool.js +450 -0
  628. package/typescript/dist/src/server/structured-clone-tool.js.map +1 -0
  629. package/typescript/dist/src/server/structured-clone.d.ts +59 -0
  630. package/typescript/dist/src/server/structured-clone.d.ts.map +1 -0
  631. package/typescript/dist/src/server/structured-clone.js +307 -0
  632. package/typescript/dist/src/server/structured-clone.js.map +1 -0
  633. package/typescript/dist/src/server/test-runner.d.ts +78 -0
  634. package/typescript/dist/src/server/test-runner.d.ts.map +1 -0
  635. package/typescript/dist/src/server/test-runner.js +1024 -0
  636. package/typescript/dist/src/server/test-runner.js.map +1 -0
  637. package/typescript/dist/src/server/tool-helpers.d.ts +6 -0
  638. package/typescript/dist/src/server/tool-helpers.d.ts.map +1 -0
  639. package/typescript/dist/src/server/tool-helpers.js +27 -0
  640. package/typescript/dist/src/server/tool-helpers.js.map +1 -0
  641. package/typescript/dist/src/server/validation.d.ts +79 -0
  642. package/typescript/dist/src/server/validation.d.ts.map +1 -0
  643. package/typescript/dist/src/server/validation.js +613 -0
  644. package/typescript/dist/src/server/validation.js.map +1 -0
  645. package/typescript/dist/src/server/worker-pool.d.ts +87 -0
  646. package/typescript/dist/src/server/worker-pool.d.ts.map +1 -0
  647. package/typescript/dist/src/server/worker-pool.js +586 -0
  648. package/typescript/dist/src/server/worker-pool.js.map +1 -0
  649. package/typescript/dist/src/server/worker-threads.d.ts +95 -0
  650. package/typescript/dist/src/server/worker-threads.d.ts.map +1 -0
  651. package/typescript/dist/src/server/worker-threads.js +1074 -0
  652. package/typescript/dist/src/server/worker-threads.js.map +1 -0
  653. package/typescript/dist/src/server/workflow-orchestrator.d.ts +122 -0
  654. package/typescript/dist/src/server/workflow-orchestrator.d.ts.map +1 -0
  655. package/typescript/dist/src/server/workflow-orchestrator.js +2131 -0
  656. package/typescript/dist/src/server/workflow-orchestrator.js.map +1 -0
  657. package/typescript/dist/src/server/worktree-manager.d.ts +70 -0
  658. package/typescript/dist/src/server/worktree-manager.d.ts.map +1 -0
  659. package/typescript/dist/src/server/worktree-manager.js +741 -0
  660. package/typescript/dist/src/server/worktree-manager.js.map +1 -0
  661. package/typescript/dist/src/shared/constants.d.ts +5 -0
  662. package/typescript/dist/src/shared/constants.d.ts.map +1 -0
  663. package/typescript/dist/src/shared/constants.js +5 -0
  664. package/typescript/dist/src/shared/constants.js.map +1 -0
  665. package/typescript/dist/src/shared/entity-config.d.ts +76 -0
  666. package/typescript/dist/src/shared/entity-config.d.ts.map +1 -0
  667. package/typescript/dist/src/shared/entity-config.js +2 -0
  668. package/typescript/dist/src/shared/entity-config.js.map +1 -0
  669. package/typescript/dist/src/shared/environment.d.ts +18 -0
  670. package/typescript/dist/src/shared/environment.d.ts.map +1 -0
  671. package/typescript/dist/src/shared/environment.js +39 -0
  672. package/typescript/dist/src/shared/environment.js.map +1 -0
  673. package/typescript/dist/src/shared/index.d.ts +6 -0
  674. package/typescript/dist/src/shared/index.d.ts.map +1 -0
  675. package/typescript/dist/src/shared/index.js +6 -0
  676. package/typescript/dist/src/shared/index.js.map +1 -0
  677. package/typescript/dist/src/shared/stringify.d.ts +16 -0
  678. package/typescript/dist/src/shared/stringify.d.ts.map +1 -0
  679. package/typescript/dist/src/shared/stringify.js +195 -0
  680. package/typescript/dist/src/shared/stringify.js.map +1 -0
  681. package/typescript/dist/src/shared/timeout.d.ts +27 -0
  682. package/typescript/dist/src/shared/timeout.d.ts.map +1 -0
  683. package/typescript/dist/src/shared/timeout.js +196 -0
  684. package/typescript/dist/src/shared/timeout.js.map +1 -0
  685. package/typescript/dist/src/types/mcp.d.ts +23 -0
  686. package/typescript/dist/src/types/mcp.d.ts.map +1 -0
  687. package/typescript/dist/src/types/mcp.js +2 -0
  688. package/typescript/dist/src/types/mcp.js.map +1 -0
  689. package/typescript/dist/tsconfig.tsbuildinfo +1 -0
  690. package/typescript/dist/vite.config.d.ts +3 -0
  691. package/typescript/dist/vite.config.d.ts.map +1 -0
  692. package/typescript/dist/vite.config.js +12 -0
  693. package/typescript/dist/vite.config.js.map +1 -0
  694. package/typescript/nextjs.json +17 -0
  695. package/typescript/node.json +10 -0
  696. package/typescript/react-native.json +8 -0
  697. package/typescript/react.json +12 -0
@@ -0,0 +1,61 @@
1
+ /**
2
+ * @fileoverview config-structure.test.mjs
3
+ */
4
+
5
+ import { describe, expect, it } from 'vitest';
6
+
7
+
8
+ // Import all exported configs
9
+ import expoConfig from '../expo.mjs';
10
+ import nextConfig from '../next.mjs';
11
+ import nodeConfig from '../node.mjs';
12
+ import reactConfig from '../react.mjs';
13
+ import storybookConfig from '../storybook.mjs';
14
+ import testConfig from '../test.mjs';
15
+ import { validateESLintConfig } from '../utils/validate-config.mjs';
16
+
17
+ describe('ESLint Config Structure Validation', () => {
18
+ it('should validate node config structure', () => {
19
+ expect(validateESLintConfig(nodeConfig, 'node')).toBe(true);
20
+ });
21
+
22
+ it('should validate react config structure', () => {
23
+ expect(validateESLintConfig(reactConfig, 'react')).toBe(true);
24
+ });
25
+
26
+ it('should validate next config structure', () => {
27
+ expect(validateESLintConfig(nextConfig, 'next')).toBe(true);
28
+ });
29
+
30
+ it('should validate expo config structure', () => {
31
+ expect(validateESLintConfig(expoConfig, 'expo')).toBe(true);
32
+ });
33
+
34
+ it('should validate storybook config structure', () => {
35
+ expect(validateESLintConfig(storybookConfig, 'storybook')).toBe(true);
36
+ });
37
+
38
+ it('should validate test config structure', () => {
39
+ expect(validateESLintConfig(testConfig, 'test')).toBe(true);
40
+ });
41
+ });
42
+
43
+ describe('ESLint Config Structure Validation - Invalid Cases', () => {
44
+ it('should throw on null config', () => {
45
+ expect(() => validateESLintConfig(null, 'null-test')).toThrow(
46
+ '[null-test] Config must be an object or array',
47
+ );
48
+ });
49
+
50
+ it('should throw on primitive config', () => {
51
+ expect(() => validateESLintConfig('string', 'string-test')).toThrow(
52
+ '[string-test] Config must be an object or array',
53
+ );
54
+ });
55
+
56
+ it('should throw on config with invalid plugins type', () => {
57
+ expect(() => validateESLintConfig({ plugins: 'invalid' }, 'invalid-plugins')).toThrow(
58
+ '[invalid-plugins] plugins must be an object',
59
+ );
60
+ });
61
+ });
@@ -0,0 +1,350 @@
1
+ /**
2
+ * @fileoverview Base ESLint configuration for the monorepo
3
+ *
4
+ * This is the foundation configuration that all other ESLint configs extend.
5
+ * It includes:
6
+ * - TypeScript ESLint recommended rules
7
+ * - Security rules (OWASP)
8
+ * - Promise best practices
9
+ * - Unused imports detection
10
+ * - JSDoc validation
11
+ * - YAML and JSON validation
12
+ * - Custom rules (no-used-underscore-vars)
13
+ *
14
+ * **Note**: This config is internal-only and not exported. Use specific configs
15
+ * like `@od-oneapp/config/eslint/node`, `@od-oneapp/config/eslint/react`, etc.
16
+ */
17
+
18
+ import prettier from 'eslint-config-prettier';
19
+ import jsdoc from 'eslint-plugin-jsdoc';
20
+ import pnpmPlugin from 'eslint-plugin-pnpm';
21
+ import promisePlugin from 'eslint-plugin-promise';
22
+ import securityPlugin from 'eslint-plugin-security';
23
+ import unusedImportsPlugin from 'eslint-plugin-unused-imports';
24
+ import ymlPlugin from 'eslint-plugin-yml';
25
+ import jsoncParser from 'jsonc-eslint-parser';
26
+ import tseslint from 'typescript-eslint';
27
+ import * as yamlParser from 'yaml-eslint-parser';
28
+
29
+ import noUsedUnderscoreVars from './rules/no-used-underscore-vars.mjs';
30
+ import { GLOBAL_IGNORES, TYPE_AWARE_IGNORES } from './shared/common-ignores.mjs';
31
+ import { DISABLED_TYPE_AWARE_RULES } from './shared/disabled-type-aware-rules.mjs';
32
+ import { createValidatedConfig } from './utils/create-validated-config.mjs';
33
+
34
+ /**
35
+ * Base ESLint configuration array
36
+ *
37
+ * @type {import('typescript-eslint').ConfigArray}
38
+ */
39
+ const config = tseslint.config(
40
+ {
41
+ // Global ignores - applies to all files
42
+ // Note: .storybook/** is not ignored here so it can be linted by the Storybook config
43
+ // See shared/common-ignores.mjs for the full list (single source of truth)
44
+ ignores: GLOBAL_IGNORES,
45
+ },
46
+ {
47
+ files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts', '**/*.js', '**/*.jsx', '**/*.mjs'],
48
+ },
49
+ ...tseslint.configs.recommended,
50
+ prettier,
51
+ {
52
+ // Only apply type-aware linting to TypeScript files
53
+ files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
54
+ languageOptions: {
55
+ parserOptions: {
56
+ projectService: true,
57
+ },
58
+ },
59
+ // Ignore config files and Storybook files - they're handled by specific configs
60
+ // See shared/common-ignores.mjs TYPE_AWARE_IGNORES for the full list
61
+ ignores: TYPE_AWARE_IGNORES,
62
+ rules: {
63
+ // Disabled in favor of unused-imports plugin
64
+ '@typescript-eslint/no-unused-vars': 'off',
65
+ '@typescript-eslint/consistent-type-imports': [
66
+ 'error',
67
+ {
68
+ prefer: 'type-imports',
69
+ fixStyle: 'inline-type-imports',
70
+ },
71
+ ],
72
+ },
73
+ },
74
+ {
75
+ // Security, Promise, and Unused Imports rules
76
+ files: ['**/*.{ts,tsx,js,jsx,mts,mjs}'],
77
+ plugins: {
78
+ security: securityPlugin,
79
+ promise: promisePlugin,
80
+ 'unused-imports': unusedImportsPlugin,
81
+ 'no-used-underscore-vars': {
82
+ rules: {
83
+ 'no-used-underscore-vars': noUsedUnderscoreVars,
84
+ },
85
+ },
86
+ },
87
+ rules: {
88
+ // Security rules (OWASP)
89
+ 'security/detect-eval-with-expression': 'error',
90
+ 'security/detect-non-literal-require': 'error',
91
+ 'security/detect-buffer-noassert': 'error',
92
+ 'security/detect-unsafe-regex': 'error',
93
+ 'security/detect-child-process': 'error',
94
+ 'security/detect-non-literal-fs-filename': 'warn',
95
+ 'security/detect-object-injection': 'off', // Too noisy
96
+ 'security/detect-possible-timing-attacks': 'warn',
97
+
98
+ // Core security
99
+ 'no-eval': 'error',
100
+ 'no-implied-eval': 'error',
101
+ 'no-new-func': 'error',
102
+
103
+ // Promise rules
104
+ 'promise/always-return': 'warn',
105
+ 'promise/catch-or-return': 'warn',
106
+ 'promise/no-callback-in-promise': 'warn',
107
+ 'promise/param-names': [
108
+ 'error',
109
+ {
110
+ rejectPattern: '^_?reject$',
111
+ resolvePattern: '^_?resolve$',
112
+ },
113
+ ],
114
+ 'promise/prefer-await-to-then': 'warn',
115
+
116
+ // Unused imports (replaces TypeScript built-in)
117
+ 'unused-imports/no-unused-imports': 'error',
118
+ 'unused-imports/no-unused-vars': [
119
+ 'warn',
120
+ {
121
+ args: 'after-used',
122
+ argsIgnorePattern: '^_',
123
+ varsIgnorePattern: '^_',
124
+ caughtErrorsIgnorePattern: '^_',
125
+ },
126
+ ],
127
+
128
+ // Custom rule
129
+ 'no-used-underscore-vars/no-used-underscore-vars': 'error',
130
+
131
+ // General best practices (from XO) - apply to all configs
132
+ // Enforce using @od-oneapp/observability logger instead of console statements
133
+ // Use: import { logInfo, logWarn, logError, logDebug } from '@od-oneapp/shared/logs/client/next'
134
+ 'no-console': 'error',
135
+ 'no-implicit-coercion': 'error',
136
+ 'no-negated-condition': 'off', // Too opinionated
137
+ 'no-unused-expressions': [
138
+ 'error',
139
+ {
140
+ allowShortCircuit: true,
141
+ allowTernary: true,
142
+ allowTaggedTemplates: true,
143
+ },
144
+ ],
145
+ 'prefer-arrow-callback': ['warn', { allowNamedFunctions: true }],
146
+ 'prefer-const': 'error',
147
+ 'prefer-template': 'error',
148
+ 'object-shorthand': ['error', 'always'],
149
+ 'prefer-destructuring': [
150
+ 'warn',
151
+ {
152
+ array: false,
153
+ object: true,
154
+ },
155
+ ],
156
+ },
157
+ },
158
+ {
159
+ // TypeScript rules only apply to TypeScript files (not .js/.mjs)
160
+ // Exclude Storybook files, test config files, and generated files
161
+ // See shared/common-ignores.mjs TYPE_AWARE_IGNORES for the full list
162
+ files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
163
+ ignores: TYPE_AWARE_IGNORES,
164
+ rules: {
165
+ // Type-aware rules that require parserOptions.projectService
166
+ '@typescript-eslint/no-floating-promises': 'error',
167
+ '@typescript-eslint/no-misused-promises': [
168
+ 'error',
169
+ {
170
+ checksConditionals: true,
171
+ checksVoidReturn: true,
172
+ },
173
+ ],
174
+ // TODO: Re-enable prefer-nullish-coalescing rule after fixing existing violations
175
+ // Temporarily disabled due to many existing violations in codebase
176
+ '@typescript-eslint/prefer-nullish-coalescing': 'off',
177
+ '@typescript-eslint/prefer-optional-chain': 'error',
178
+ // Disabled: Too many false positives with runtime checks that TypeScript can't verify
179
+ // Re-enable if needed after fixing remaining legitimate cases
180
+ '@typescript-eslint/no-unnecessary-condition': 'off',
181
+ '@typescript-eslint/no-unnecessary-type-assertion': 'warn',
182
+ '@typescript-eslint/prefer-as-const': 'error',
183
+ '@typescript-eslint/switch-exhaustiveness-check': 'warn',
184
+ '@typescript-eslint/no-non-null-assertion': 'warn',
185
+ '@typescript-eslint/prefer-includes': 'error',
186
+ '@typescript-eslint/prefer-string-starts-ends-with': 'error',
187
+ '@typescript-eslint/no-explicit-any': 'off',
188
+ // Allow implicit any (no-unsafe-* rules are off)
189
+ '@typescript-eslint/no-unsafe-assignment': 'off',
190
+ '@typescript-eslint/no-unsafe-call': 'off',
191
+ '@typescript-eslint/no-unsafe-member-access': 'off',
192
+ '@typescript-eslint/no-unsafe-return': 'off',
193
+ '@typescript-eslint/no-unsafe-argument': 'off',
194
+ '@typescript-eslint/explicit-function-return-type': 'off', // Too strict, TypeScript infers well
195
+ '@typescript-eslint/strict-boolean-expressions': 'off', // Too strict for most codebases
196
+ },
197
+ },
198
+ {
199
+ // Discourage JavaScript files - prefer TypeScript
200
+ files: ['**/*.js', '**/*.jsx', '**/*.mjs'],
201
+ ignores: ['**/generated/**', '**/dist/**'],
202
+ rules: {
203
+ // Note: JavaScript files are supported but discouraged
204
+ // Prefer TypeScript (.ts/.tsx) for type safety and better DX
205
+ // Use .mjs only for ESM JavaScript when TypeScript isn't suitable
206
+ 'no-undef': 'error', // Catch undefined variables in JS files
207
+ // Use standard ESLint no-unused-vars for JS files (disable unused-imports plugin to avoid conflict)
208
+ 'unused-imports/no-unused-vars': 'off',
209
+ 'no-unused-vars': [
210
+ 'warn',
211
+ {
212
+ args: 'after-used', // Consistent with TS config
213
+ argsIgnorePattern: '^_',
214
+ varsIgnorePattern: '^_',
215
+ caughtErrorsIgnorePattern: '^_',
216
+ },
217
+ ],
218
+ // Disable TypeScript-specific rules for JavaScript files
219
+ ...DISABLED_TYPE_AWARE_RULES,
220
+ '@typescript-eslint/no-explicit-any': 'off',
221
+ '@typescript-eslint/consistent-type-imports': 'off',
222
+ },
223
+ },
224
+ {
225
+ // JSDoc plugin for documentation consistency
226
+ // Note: Most jsdoc/require-* rules are off by default; only enabled rules and
227
+ // non-default overrides are specified here
228
+ files: ['**/*.{ts,tsx,js,jsx,mts,cts,mjs}'],
229
+ plugins: {
230
+ jsdoc,
231
+ },
232
+ rules: {
233
+ // JSDoc format and style rules (enforce when JSDoc is used)
234
+ 'jsdoc/check-alignment': 'warn',
235
+ 'jsdoc/check-indentation': 'warn',
236
+ 'jsdoc/check-syntax': 'error',
237
+ 'jsdoc/check-types': 'warn',
238
+ 'jsdoc/empty-tags': 'error',
239
+ 'jsdoc/no-bad-blocks': 'warn',
240
+ 'jsdoc/no-defaults': 'warn',
241
+ 'jsdoc/require-param-name': 'error',
242
+ 'jsdoc/require-property-name': 'error',
243
+ 'jsdoc/valid-types': 'error',
244
+
245
+ // Disable rules that conflict with TypeScript (these are NOT off by default)
246
+ 'jsdoc/no-undefined-types': 'off', // TypeScript handles types
247
+ 'jsdoc/require-returns-check': 'off', // TypeScript provides return types
248
+ },
249
+ },
250
+ {
251
+ // YAML configuration - enforce double quotes
252
+ files: ['**/*.yaml', '**/*.yml'],
253
+ ignores: ['**/pnpm-lock.yaml'],
254
+ languageOptions: {
255
+ parser: yamlParser,
256
+ },
257
+ plugins: {
258
+ yml: ymlPlugin,
259
+ },
260
+ rules: {
261
+ // Prefer double quotes over single quotes in YAML
262
+ 'yml/quotes': [
263
+ 'error',
264
+ {
265
+ prefer: 'double',
266
+ avoidEscape: true, // Allow single quotes only when escaping would be necessary
267
+ },
268
+ ],
269
+ },
270
+ },
271
+ {
272
+ // PNPM package.json validation
273
+ files: ['**/package.json'],
274
+ languageOptions: {
275
+ parser: jsoncParser,
276
+ },
277
+ plugins: {
278
+ pnpm: pnpmPlugin,
279
+ },
280
+ rules: {
281
+ 'pnpm/json-valid-catalog': 'error',
282
+ 'pnpm/json-prefer-workspace-settings': 'warn',
283
+ // Disable TypeScript rules that require type information for JSON files
284
+ '@typescript-eslint/consistent-type-imports': 'off',
285
+ '@typescript-eslint/no-unused-vars': 'off',
286
+ },
287
+ },
288
+ {
289
+ // PNPM workspace YAML validation
290
+ files: ['**/pnpm-workspace.yaml', '**/pnpm-workspace.yml'],
291
+ languageOptions: {
292
+ parser: yamlParser,
293
+ },
294
+ plugins: {
295
+ pnpm: pnpmPlugin,
296
+ },
297
+ rules: {
298
+ 'pnpm/yaml-no-unused-catalog-item': 'error',
299
+ 'pnpm/yaml-no-duplicate-catalog-item': 'error',
300
+ },
301
+ },
302
+ {
303
+ // Config files - allow console (import rules handled in react.mjs which has import plugin)
304
+ files: [
305
+ '**/*.config.{js,ts,mjs}',
306
+ '**/eslint.config.{js,mjs}',
307
+ '**/vitest.config.{ts,js,mjs}',
308
+ '**/playwright.config.{ts,js,mjs}',
309
+ ],
310
+ rules: {
311
+ 'no-console': 'off',
312
+ },
313
+ },
314
+ {
315
+ // Script files - relax security rules
316
+ files: ['**/scripts/**/*.{ts,js,mjs}'],
317
+ rules: {
318
+ 'no-console': 'off',
319
+ 'security/detect-non-literal-fs-filename': 'off',
320
+ 'security/detect-non-literal-require': 'off',
321
+ },
322
+ },
323
+ {
324
+ // .mjs files - allow console for ESM scripts that may need fallback logging
325
+ // These files run directly in Node.js ESM and may use console as fallback
326
+ // when @od-oneapp/shared/logs/client/next cannot be imported (e.g., during build scripts)
327
+ files: ['**/*.mjs'],
328
+ rules: {
329
+ 'no-console': 'off',
330
+ },
331
+ },
332
+ {
333
+ // ESLint config utilities - allow console for validation error fallback (e.g. create-validated-config)
334
+ files: ['**/eslint/utils/**'],
335
+ rules: {
336
+ 'no-console': 'off',
337
+ },
338
+ },
339
+ {
340
+ // Environment validation files - console allowed for early validation warnings
341
+ // These run before @od-oneapp/observability is initialized
342
+ files: ['**/env.ts', '**/env.mts'],
343
+ rules: {
344
+ 'no-console': 'off',
345
+ },
346
+ },
347
+ // Note: Type definition file rules (import/no-duplicates) are in react.mjs which has the import plugin
348
+ );
349
+
350
+ export default createValidatedConfig(config, 'base');
@@ -0,0 +1,97 @@
1
+ /**
2
+ * @fileoverview ESLint configuration for Expo/React Native projects
3
+ *
4
+ * Extends React config and adds React Native specific rules and patterns.
5
+ * Optimized for Expo SDK and React Native development.
6
+ *
7
+ * **Features**:
8
+ * - React Native plugin rules
9
+ * - React Native accessibility props support
10
+ * - React 19.2 support (inherited from react.mjs)
11
+ * - React Native best practices (no inline styles, split platform components)
12
+ *
13
+ * **Use cases**:
14
+ * - Expo applications
15
+ * - React Native applications
16
+ * - Cross-platform mobile development
17
+ *
18
+ * @example
19
+ * ```javascript
20
+ * // eslint.config.mjs
21
+ * import expoConfig from '@od-oneapp/config/eslint/expo';
22
+ * export default expoConfig;
23
+ * ```
24
+ */
25
+
26
+ import reactNative from 'eslint-plugin-react-native';
27
+ import tseslint from 'typescript-eslint';
28
+
29
+ import reactConfig from './react.mjs';
30
+ import { createValidatedConfig } from './utils/create-validated-config.mjs';
31
+
32
+ /**
33
+ * Expo/React Native ESLint configuration
34
+ *
35
+ * @type {import('typescript-eslint').ConfigArray}
36
+ */
37
+ const config = tseslint.config(...reactConfig, {
38
+ files: ['**/*.{ts,tsx,js,jsx,mjs}'],
39
+ plugins: {
40
+ 'react-native': reactNative,
41
+ },
42
+ // Note: React settings (version: 'detect') are inherited from react.mjs
43
+ rules: {
44
+ // React Native specific rules
45
+ 'react-native/no-unused-styles': 'warn',
46
+ 'react-native/split-platform-components': 'warn',
47
+ 'react-native/no-inline-styles': 'warn',
48
+ 'react-native/no-color-literals': 'warn',
49
+ 'react-native/no-raw-text': 'warn',
50
+ 'react-native/no-single-element-style-arrays': 'warn',
51
+
52
+ // Override React web-specific rules for React Native
53
+ 'react/no-unknown-property': [
54
+ 'error',
55
+ {
56
+ ignore: [
57
+ // React Native specific props
58
+ 'accessibilityRole',
59
+ 'accessibilityLabel',
60
+ 'accessibilityHint',
61
+ 'accessibilityState',
62
+ 'accessibilityValue',
63
+ 'accessibilityLiveRegion',
64
+ 'accessibilityViewIsModal',
65
+ 'accessibilityElementsHidden',
66
+ 'testID',
67
+ 'nativeID',
68
+ 'collapsable',
69
+ 'needsOffscreenAlphaCompositing',
70
+ 'renderToHardwareTextureAndroid',
71
+ 'importantForAccessibility',
72
+ 'accessibilityIgnoresInvertColors',
73
+ 'accessibilityElementsHidden',
74
+ 'pointerEvents',
75
+ 'removeClippedSubviews',
76
+ 'shouldRasterizeIOS',
77
+ 'onStartShouldSetResponder',
78
+ 'onMoveShouldSetResponder',
79
+ 'onStartShouldSetResponderCapture',
80
+ 'onMoveShouldSetResponderCapture',
81
+ 'onResponderGrant',
82
+ 'onResponderMove',
83
+ 'onResponderRelease',
84
+ 'onResponderTerminate',
85
+ 'onResponderTerminationRequest',
86
+ 'elevation',
87
+ 'hitSlop',
88
+ ],
89
+ },
90
+ ],
91
+
92
+ // React Native best practices
93
+ 'react/jsx-no-leaked-render': 'off', // React Native handles this differently
94
+ },
95
+ });
96
+
97
+ export default createValidatedConfig(config, 'expo');
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @fileoverview Combined ESLint configuration for Next.js projects with test support
3
+ *
4
+ * Combines Next.js config with test config, filtering out conflicting TypeScript ESLint
5
+ * configs to avoid "Cannot redefine plugin" errors.
6
+ *
7
+ * **Use cases**:
8
+ * - Next.js projects that need test file linting
9
+ * - Single config for both app and test files
10
+ *
11
+ * **Note**: This is a convenience export. You can also combine manually:
12
+ * ```javascript
13
+ * import nextConfig from '@od-oneapp/config/eslint/next';
14
+ * import testConfig from '@od-oneapp/config/eslint/test';
15
+ * import { filterTypeScriptESLintConfigs } from '@od-oneapp/config/eslint/utils/filter-ts-eslint-configs';
16
+ * export default [...nextConfig, ...filterTypeScriptESLintConfigs(testConfig)];
17
+ * ```
18
+ *
19
+ * @example
20
+ * ```javascript
21
+ * // eslint.config.mjs
22
+ * import nextTestConfig from '@od-oneapp/config/eslint/next-test';
23
+ * export default nextTestConfig;
24
+ * ```
25
+ */
26
+
27
+ import nextConfig from './next.mjs';
28
+ import testConfig from './test.mjs';
29
+ import { createValidatedConfig } from './utils/create-validated-config.mjs';
30
+ import { filterTypeScriptESLintConfigs } from './utils/filter-ts-eslint-configs.mjs';
31
+
32
+ // Filter out TypeScript ESLint configs from testConfig since nextConfig (eslint-config-next) provides them
33
+ // This avoids "Cannot redefine plugin" errors
34
+ const testConfigWithoutTS = filterTypeScriptESLintConfigs(testConfig);
35
+
36
+ /**
37
+ * Combined Next.js + Test ESLint configuration
38
+ *
39
+ * @type {import('typescript-eslint').ConfigArray}
40
+ */
41
+ const config = [...nextConfig, ...testConfigWithoutTS];
42
+
43
+ export default createValidatedConfig(config, 'next-test');
@@ -0,0 +1,74 @@
1
+ /**
2
+ * @fileoverview ESLint configuration for Next.js 16 projects
3
+ *
4
+ * Extends React config and integrates with `eslint-config-next` for Next.js-specific rules.
5
+ * Includes Core Web Vitals optimizations for Next.js 16 performance.
6
+ *
7
+ * **Features**:
8
+ * - Next.js 16 App Router rules
9
+ * - Core Web Vitals optimizations
10
+ * - React 19.2 support (inherited from react.mjs)
11
+ * - TypeScript ESLint (provided by eslint-config-next)
12
+ * - Import and JSX-a11y plugins (provided by eslint-config-next)
13
+ *
14
+ * **Note**: Filters out conflicting plugins from react.mjs to avoid "Cannot redefine plugin" errors.
15
+ * The Next.js config provides its own optimized versions of these plugins.
16
+ *
17
+ * @example
18
+ * ```javascript
19
+ * // eslint.config.mjs
20
+ * import nextConfig from '@od-oneapp/config/eslint/next';
21
+ * export default nextConfig;
22
+ * ```
23
+ */
24
+
25
+ import nextMain from 'eslint-config-next';
26
+ import nextVitals from 'eslint-config-next/core-web-vitals';
27
+ import tseslint from 'typescript-eslint';
28
+
29
+ import reactConfig from './react.mjs';
30
+ import { createValidatedConfig } from './utils/create-validated-config.mjs';
31
+ import { filterPluginsForNextJs } from './utils/filter-ts-eslint-configs.mjs';
32
+
33
+ // Filter out plugin definitions and TypeScript ESLint configs from reactConfig
34
+ // since nextMain (eslint-config-next) will provide them
35
+ // This avoids "Cannot redefine plugin" errors
36
+ const reactConfigWithoutPlugins = filterPluginsForNextJs(reactConfig);
37
+
38
+ /**
39
+ * Next.js ESLint configuration
40
+ *
41
+ * @type {import('typescript-eslint').ConfigArray}
42
+ */
43
+ const config = tseslint.config(
44
+ // Apply React config (without import/jsx-a11y plugins to avoid conflicts)
45
+ ...reactConfigWithoutPlugins,
46
+ // Main Next.js config - includes all Next.js rules, React rules, TypeScript rules, and Next.js plugin
47
+ // Next.js provides: react, react-hooks, import, jsx-a11y plugins with Next.js-optimized settings
48
+ ...nextMain,
49
+ // Additional Core Web Vitals rules for Next.js 16 performance optimization
50
+ // These enforce Web Vitals best practices specific to Next.js 16
51
+ ...nextVitals,
52
+ {
53
+ // Next.js 16 specific rule overrides and enhancements
54
+ rules: {
55
+ // Core Web Vitals optimizations for Next.js 16
56
+ '@next/next/no-html-link-for-pages': 'error',
57
+ '@next/next/no-img-element': 'error',
58
+
59
+ // Next.js 16 App Router specific rules
60
+ '@next/next/no-before-interactive-script-outside-document': 'error',
61
+ '@next/next/no-assign-module-variable': 'error',
62
+ '@next/next/no-head-element': 'error',
63
+
64
+ // Performance and best practices for Next.js 16
65
+ '@next/next/no-page-custom-font': 'warn',
66
+ '@next/next/no-unwanted-polyfillio': 'warn',
67
+ },
68
+ // Override default ignores of eslint-config-next
69
+ // Note: .storybook/** is not ignored here so it can be linted by the Storybook config
70
+ ignores: ['**/.next/**', '**/out/**', '**/build/**', '**/next-env.d.ts'],
71
+ },
72
+ );
73
+
74
+ export default createValidatedConfig(config, 'next');