@warlock.js/core 4.0.30 → 4.0.39

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 (703) hide show
  1. package/esm/cli/index.js +2 -1
  2. package/esm/cli/index.js.map +1 -1
  3. package/esm/cli/start.js +132 -2
  4. package/esm/cli/start.js.map +1 -1
  5. package/esm/index.js +72 -1
  6. package/esm/index.js.map +1 -1
  7. package/package.json +71 -65
  8. package/esm/application.d.ts +0 -27
  9. package/esm/application.d.ts.map +0 -1
  10. package/esm/bootstrap/setup.d.ts +0 -7
  11. package/esm/bootstrap/setup.d.ts.map +0 -1
  12. package/esm/bootstrap/setup.js +0 -38
  13. package/esm/bootstrap/setup.js.map +0 -1
  14. package/esm/bootstrap.d.ts +0 -2
  15. package/esm/bootstrap.d.ts.map +0 -1
  16. package/esm/bootstrap.js +0 -5
  17. package/esm/bootstrap.js.map +0 -1
  18. package/esm/cache/database-cache-driver.d.ts +0 -56
  19. package/esm/cache/database-cache-driver.d.ts.map +0 -1
  20. package/esm/cache/database-cache-driver.js +0 -96
  21. package/esm/cache/database-cache-driver.js.map +0 -1
  22. package/esm/cache/index.d.ts +0 -3
  23. package/esm/cache/index.d.ts.map +0 -1
  24. package/esm/cache/index.js +0 -1
  25. package/esm/cache/index.js.map +0 -1
  26. package/esm/cli/cli-command.d.ts +0 -115
  27. package/esm/cli/cli-command.d.ts.map +0 -1
  28. package/esm/cli/cli-command.js +0 -224
  29. package/esm/cli/cli-command.js.map +0 -1
  30. package/esm/cli/cli-commands.manager.d.ts +0 -71
  31. package/esm/cli/cli-commands.manager.d.ts.map +0 -1
  32. package/esm/cli/cli-commands.manager.js +0 -345
  33. package/esm/cli/cli-commands.manager.js.map +0 -1
  34. package/esm/cli/cli-commands.utils.d.ts +0 -68
  35. package/esm/cli/cli-commands.utils.d.ts.map +0 -1
  36. package/esm/cli/cli-commands.utils.js +0 -182
  37. package/esm/cli/cli-commands.utils.js.map +0 -1
  38. package/esm/cli/commands/build.command.d.ts +0 -2
  39. package/esm/cli/commands/build.command.d.ts.map +0 -1
  40. package/esm/cli/commands/build.command.js +0 -8
  41. package/esm/cli/commands/build.command.js.map +0 -1
  42. package/esm/cli/commands/dev-server.command.d.ts +0 -2
  43. package/esm/cli/commands/dev-server.command.d.ts.map +0 -1
  44. package/esm/cli/commands/dev-server.command.js +0 -16
  45. package/esm/cli/commands/dev-server.command.js.map +0 -1
  46. package/esm/cli/commands/start-production.command.d.ts +0 -2
  47. package/esm/cli/commands/start-production.command.d.ts.map +0 -1
  48. package/esm/cli/commands/start-production.command.js +0 -65
  49. package/esm/cli/commands/start-production.command.js.map +0 -1
  50. package/esm/cli/commands/typings-generator.command.d.ts +0 -2
  51. package/esm/cli/commands/typings-generator.command.d.ts.map +0 -1
  52. package/esm/cli/commands/typings-generator.command.js +0 -40
  53. package/esm/cli/commands/typings-generator.command.js.map +0 -1
  54. package/esm/cli/commands-loader.d.ts +0 -18
  55. package/esm/cli/commands-loader.d.ts.map +0 -1
  56. package/esm/cli/commands-loader.js +0 -45
  57. package/esm/cli/commands-loader.js.map +0 -1
  58. package/esm/cli/framework-cli-commands.d.ts +0 -2
  59. package/esm/cli/framework-cli-commands.d.ts.map +0 -1
  60. package/esm/cli/framework-cli-commands.js +0 -6
  61. package/esm/cli/framework-cli-commands.js.map +0 -1
  62. package/esm/cli/index.d.ts +0 -3
  63. package/esm/cli/index.d.ts.map +0 -1
  64. package/esm/cli/parse-cli-args.d.ts +0 -18
  65. package/esm/cli/parse-cli-args.d.ts.map +0 -1
  66. package/esm/cli/parse-cli-args.js +0 -82
  67. package/esm/cli/parse-cli-args.js.map +0 -1
  68. package/esm/cli/start.d.ts +0 -2
  69. package/esm/cli/start.d.ts.map +0 -1
  70. package/esm/cli/string-similarity.d.ts +0 -44
  71. package/esm/cli/string-similarity.d.ts.map +0 -1
  72. package/esm/cli/string-similarity.js +0 -57
  73. package/esm/cli/string-similarity.js.map +0 -1
  74. package/esm/cli/types.d.ts +0 -201
  75. package/esm/cli/types.d.ts.map +0 -1
  76. package/esm/config/config-getter.d.ts +0 -35
  77. package/esm/config/config-getter.d.ts.map +0 -1
  78. package/esm/config/config-getter.js +0 -21
  79. package/esm/config/config-getter.js.map +0 -1
  80. package/esm/config/config-handlers.d.ts +0 -19
  81. package/esm/config/config-handlers.d.ts.map +0 -1
  82. package/esm/config/config-handlers.js +0 -47
  83. package/esm/config/config-handlers.js.map +0 -1
  84. package/esm/config/config-loader.d.ts +0 -37
  85. package/esm/config/config-loader.d.ts.map +0 -1
  86. package/esm/config/config-loader.js +0 -83
  87. package/esm/config/config-loader.js.map +0 -1
  88. package/esm/config/config-manager.d.ts +0 -22
  89. package/esm/config/config-manager.d.ts.map +0 -1
  90. package/esm/config/config-manager.js +0 -25
  91. package/esm/config/config-manager.js.map +0 -1
  92. package/esm/config/config-special-handlers.d.ts +0 -17
  93. package/esm/config/config-special-handlers.d.ts.map +0 -1
  94. package/esm/config/config-special-handlers.js +0 -23
  95. package/esm/config/config-special-handlers.js.map +0 -1
  96. package/esm/config/index.d.ts +0 -5
  97. package/esm/config/index.d.ts.map +0 -1
  98. package/esm/config/load-config-files.d.ts +0 -6
  99. package/esm/config/load-config-files.d.ts.map +0 -1
  100. package/esm/config/load-config-files.js +0 -19
  101. package/esm/config/load-config-files.js.map +0 -1
  102. package/esm/config/types.d.ts +0 -52
  103. package/esm/config/types.d.ts.map +0 -1
  104. package/esm/database/decorators/index.d.ts +0 -2
  105. package/esm/database/decorators/index.d.ts.map +0 -1
  106. package/esm/database/decorators/sluggable.d.ts +0 -2
  107. package/esm/database/decorators/sluggable.d.ts.map +0 -1
  108. package/esm/database/decorators/sluggable.js +0 -8
  109. package/esm/database/decorators/sluggable.js.map +0 -1
  110. package/esm/database/index.d.ts +0 -3
  111. package/esm/database/index.d.ts.map +0 -1
  112. package/esm/database/models/database-log/database-log.d.ts +0 -13
  113. package/esm/database/models/database-log/database-log.d.ts.map +0 -1
  114. package/esm/database/models/database-log/database-log.js +0 -16
  115. package/esm/database/models/database-log/database-log.js.map +0 -1
  116. package/esm/database/models/database-log/index.d.ts +0 -2
  117. package/esm/database/models/database-log/index.d.ts.map +0 -1
  118. package/esm/dev2-server/config-handlers.d.ts +0 -8
  119. package/esm/dev2-server/config-handlers.d.ts.map +0 -1
  120. package/esm/dev2-server/config-loader.d.ts +0 -61
  121. package/esm/dev2-server/config-loader.d.ts.map +0 -1
  122. package/esm/dev2-server/connectors/base-connector.d.ts +0 -49
  123. package/esm/dev2-server/connectors/base-connector.d.ts.map +0 -1
  124. package/esm/dev2-server/connectors/base-connector.js +0 -48
  125. package/esm/dev2-server/connectors/base-connector.js.map +0 -1
  126. package/esm/dev2-server/connectors/cache-connector.d.ts +0 -23
  127. package/esm/dev2-server/connectors/cache-connector.d.ts.map +0 -1
  128. package/esm/dev2-server/connectors/cache-connector.js +0 -35
  129. package/esm/dev2-server/connectors/cache-connector.js.map +0 -1
  130. package/esm/dev2-server/connectors/connectors-manager.d.ts +0 -38
  131. package/esm/dev2-server/connectors/connectors-manager.d.ts.map +0 -1
  132. package/esm/dev2-server/connectors/connectors-manager.js +0 -80
  133. package/esm/dev2-server/connectors/connectors-manager.js.map +0 -1
  134. package/esm/dev2-server/connectors/database-connector.d.ts +0 -23
  135. package/esm/dev2-server/connectors/database-connector.d.ts.map +0 -1
  136. package/esm/dev2-server/connectors/database-connector.js +0 -42
  137. package/esm/dev2-server/connectors/database-connector.js.map +0 -1
  138. package/esm/dev2-server/connectors/http-connector.d.ts +0 -29
  139. package/esm/dev2-server/connectors/http-connector.d.ts.map +0 -1
  140. package/esm/dev2-server/connectors/http-connector.js +0 -69
  141. package/esm/dev2-server/connectors/http-connector.js.map +0 -1
  142. package/esm/dev2-server/connectors/index.d.ts +0 -11
  143. package/esm/dev2-server/connectors/index.d.ts.map +0 -1
  144. package/esm/dev2-server/connectors/types.d.ts +0 -49
  145. package/esm/dev2-server/connectors/types.d.ts.map +0 -1
  146. package/esm/dev2-server/connectors/types.js +0 -9
  147. package/esm/dev2-server/connectors/types.js.map +0 -1
  148. package/esm/dev2-server/create-worker.d.ts +0 -34
  149. package/esm/dev2-server/create-worker.d.ts.map +0 -1
  150. package/esm/dev2-server/create-worker.js +0 -37
  151. package/esm/dev2-server/create-worker.js.map +0 -1
  152. package/esm/dev2-server/dependency-graph.d.ts +0 -93
  153. package/esm/dev2-server/dependency-graph.d.ts.map +0 -1
  154. package/esm/dev2-server/dependency-graph.js +0 -266
  155. package/esm/dev2-server/dependency-graph.js.map +0 -1
  156. package/esm/dev2-server/dev-logger.d.ts +0 -14
  157. package/esm/dev2-server/dev-logger.d.ts.map +0 -1
  158. package/esm/dev2-server/dev-logger.js +0 -130
  159. package/esm/dev2-server/dev-logger.js.map +0 -1
  160. package/esm/dev2-server/development-server.d.ts +0 -47
  161. package/esm/dev2-server/development-server.d.ts.map +0 -1
  162. package/esm/dev2-server/development-server.js +0 -135
  163. package/esm/dev2-server/development-server.js.map +0 -1
  164. package/esm/dev2-server/events.d.ts +0 -5
  165. package/esm/dev2-server/events.d.ts.map +0 -1
  166. package/esm/dev2-server/events.js +0 -4
  167. package/esm/dev2-server/events.js.map +0 -1
  168. package/esm/dev2-server/file-event-handler.d.ts +0 -156
  169. package/esm/dev2-server/file-event-handler.d.ts.map +0 -1
  170. package/esm/dev2-server/file-event-handler.js +0 -300
  171. package/esm/dev2-server/file-event-handler.js.map +0 -1
  172. package/esm/dev2-server/file-manager.d.ts +0 -385
  173. package/esm/dev2-server/file-manager.d.ts.map +0 -1
  174. package/esm/dev2-server/file-manager.js +0 -580
  175. package/esm/dev2-server/file-manager.js.map +0 -1
  176. package/esm/dev2-server/file-operations.d.ts +0 -203
  177. package/esm/dev2-server/file-operations.d.ts.map +0 -1
  178. package/esm/dev2-server/file-operations.js +0 -365
  179. package/esm/dev2-server/file-operations.js.map +0 -1
  180. package/esm/dev2-server/files-orchestrator.d.ts +0 -146
  181. package/esm/dev2-server/files-orchestrator.d.ts.map +0 -1
  182. package/esm/dev2-server/files-orchestrator.js +0 -314
  183. package/esm/dev2-server/files-orchestrator.js.map +0 -1
  184. package/esm/dev2-server/files-watcher.d.ts +0 -67
  185. package/esm/dev2-server/files-watcher.d.ts.map +0 -1
  186. package/esm/dev2-server/files-watcher.js +0 -95
  187. package/esm/dev2-server/files-watcher.js.map +0 -1
  188. package/esm/dev2-server/flags.d.ts +0 -10
  189. package/esm/dev2-server/flags.d.ts.map +0 -1
  190. package/esm/dev2-server/flags.js +0 -9
  191. package/esm/dev2-server/flags.js.map +0 -1
  192. package/esm/dev2-server/health-checker/checkers/base-health-checker.d.ts +0 -52
  193. package/esm/dev2-server/health-checker/checkers/base-health-checker.d.ts.map +0 -1
  194. package/esm/dev2-server/health-checker/checkers/base-health-checker.js +0 -71
  195. package/esm/dev2-server/health-checker/checkers/base-health-checker.js.map +0 -1
  196. package/esm/dev2-server/health-checker/checkers/eslint-health-checker.d.ts +0 -40
  197. package/esm/dev2-server/health-checker/checkers/eslint-health-checker.d.ts.map +0 -1
  198. package/esm/dev2-server/health-checker/checkers/eslint-health-checker.js +0 -217
  199. package/esm/dev2-server/health-checker/checkers/eslint-health-checker.js.map +0 -1
  200. package/esm/dev2-server/health-checker/checkers/typescript-health-checker.d.ts +0 -56
  201. package/esm/dev2-server/health-checker/checkers/typescript-health-checker.d.ts.map +0 -1
  202. package/esm/dev2-server/health-checker/checkers/typescript-health-checker.js +0 -279
  203. package/esm/dev2-server/health-checker/checkers/typescript-health-checker.js.map +0 -1
  204. package/esm/dev2-server/health-checker/file-health-checker.contract.d.ts +0 -59
  205. package/esm/dev2-server/health-checker/file-health-checker.contract.d.ts.map +0 -1
  206. package/esm/dev2-server/health-checker/file-health-result.d.ts +0 -68
  207. package/esm/dev2-server/health-checker/file-health-result.d.ts.map +0 -1
  208. package/esm/dev2-server/health-checker/file-health-result.js +0 -40
  209. package/esm/dev2-server/health-checker/file-health-result.js.map +0 -1
  210. package/esm/dev2-server/health-checker/files-healthcare.manager.d.ts +0 -115
  211. package/esm/dev2-server/health-checker/files-healthcare.manager.d.ts.map +0 -1
  212. package/esm/dev2-server/health-checker/files-healthcare.manager.js +0 -422
  213. package/esm/dev2-server/health-checker/files-healthcare.manager.js.map +0 -1
  214. package/esm/dev2-server/health-checker/index.d.ts +0 -6
  215. package/esm/dev2-server/health-checker/index.d.ts.map +0 -1
  216. package/esm/dev2-server/health-checker/workers/eslint-health.worker.d.ts +0 -2
  217. package/esm/dev2-server/health-checker/workers/eslint-health.worker.d.ts.map +0 -1
  218. package/esm/dev2-server/health-checker/workers/eslint-health.worker.js +0 -214
  219. package/esm/dev2-server/health-checker/workers/eslint-health.worker.js.map +0 -1
  220. package/esm/dev2-server/health-checker/workers/ts-health.worker.d.ts +0 -2
  221. package/esm/dev2-server/health-checker/workers/ts-health.worker.d.ts.map +0 -1
  222. package/esm/dev2-server/health-checker/workers/ts-health.worker.js +0 -261
  223. package/esm/dev2-server/health-checker/workers/ts-health.worker.js.map +0 -1
  224. package/esm/dev2-server/import-transformer.d.ts +0 -17
  225. package/esm/dev2-server/import-transformer.d.ts.map +0 -1
  226. package/esm/dev2-server/import-transformer.js +0 -236
  227. package/esm/dev2-server/import-transformer.js.map +0 -1
  228. package/esm/dev2-server/index.d.ts +0 -1
  229. package/esm/dev2-server/index.d.ts.map +0 -1
  230. package/esm/dev2-server/layer-executor.d.ts +0 -60
  231. package/esm/dev2-server/layer-executor.d.ts.map +0 -1
  232. package/esm/dev2-server/layer-executor.js +0 -309
  233. package/esm/dev2-server/layer-executor.js.map +0 -1
  234. package/esm/dev2-server/manifest-manager.d.ts +0 -80
  235. package/esm/dev2-server/manifest-manager.d.ts.map +0 -1
  236. package/esm/dev2-server/manifest-manager.js +0 -107
  237. package/esm/dev2-server/manifest-manager.js.map +0 -1
  238. package/esm/dev2-server/module-loader.d.ts +0 -104
  239. package/esm/dev2-server/module-loader.d.ts.map +0 -1
  240. package/esm/dev2-server/module-loader.js +0 -251
  241. package/esm/dev2-server/module-loader.js.map +0 -1
  242. package/esm/dev2-server/package-json-manager.d.ts +0 -16
  243. package/esm/dev2-server/package-json-manager.d.ts.map +0 -1
  244. package/esm/dev2-server/package-json-manager.js +0 -20
  245. package/esm/dev2-server/package-json-manager.js.map +0 -1
  246. package/esm/dev2-server/parse-imports.d.ts +0 -13
  247. package/esm/dev2-server/parse-imports.d.ts.map +0 -1
  248. package/esm/dev2-server/parse-imports.js +0 -329
  249. package/esm/dev2-server/parse-imports.js.map +0 -1
  250. package/esm/dev2-server/path.d.ts +0 -39
  251. package/esm/dev2-server/path.d.ts.map +0 -1
  252. package/esm/dev2-server/path.js +0 -56
  253. package/esm/dev2-server/path.js.map +0 -1
  254. package/esm/dev2-server/runtime-import-helper.d.ts +0 -9
  255. package/esm/dev2-server/runtime-import-helper.d.ts.map +0 -1
  256. package/esm/dev2-server/runtime-import-helper.js +0 -150
  257. package/esm/dev2-server/runtime-import-helper.js.map +0 -1
  258. package/esm/dev2-server/special-files-collector.d.ts +0 -114
  259. package/esm/dev2-server/special-files-collector.d.ts.map +0 -1
  260. package/esm/dev2-server/special-files-collector.js +0 -212
  261. package/esm/dev2-server/special-files-collector.js.map +0 -1
  262. package/esm/dev2-server/start-development-server.d.ts +0 -7
  263. package/esm/dev2-server/start-development-server.d.ts.map +0 -1
  264. package/esm/dev2-server/start-development-server.js +0 -21
  265. package/esm/dev2-server/start-development-server.js.map +0 -1
  266. package/esm/dev2-server/transpile-file.d.ts +0 -11
  267. package/esm/dev2-server/transpile-file.d.ts.map +0 -1
  268. package/esm/dev2-server/transpile-file.js +0 -21
  269. package/esm/dev2-server/transpile-file.js.map +0 -1
  270. package/esm/dev2-server/tsconfig-manager.d.ts +0 -45
  271. package/esm/dev2-server/tsconfig-manager.d.ts.map +0 -1
  272. package/esm/dev2-server/tsconfig-manager.js +0 -107
  273. package/esm/dev2-server/tsconfig-manager.js.map +0 -1
  274. package/esm/dev2-server/type-generator.d.ts +0 -115
  275. package/esm/dev2-server/type-generator.d.ts.map +0 -1
  276. package/esm/dev2-server/type-generator.js +0 -566
  277. package/esm/dev2-server/type-generator.js.map +0 -1
  278. package/esm/dev2-server/types.d.ts +0 -30
  279. package/esm/dev2-server/types.d.ts.map +0 -1
  280. package/esm/dev2-server/utils.d.ts +0 -15
  281. package/esm/dev2-server/utils.d.ts.map +0 -1
  282. package/esm/dev2-server/utils.js +0 -40
  283. package/esm/dev2-server/utils.js.map +0 -1
  284. package/esm/http/config.d.ts +0 -10
  285. package/esm/http/config.d.ts.map +0 -1
  286. package/esm/http/config.js +0 -22
  287. package/esm/http/config.js.map +0 -1
  288. package/esm/http/createHttpApplication.d.ts +0 -3
  289. package/esm/http/createHttpApplication.d.ts.map +0 -1
  290. package/esm/http/createHttpApplication.js +0 -28
  291. package/esm/http/createHttpApplication.js.map +0 -1
  292. package/esm/http/database/RequestLog.d.ts +0 -13
  293. package/esm/http/database/RequestLog.d.ts.map +0 -1
  294. package/esm/http/database/RequestLog.js +0 -25
  295. package/esm/http/database/RequestLog.js.map +0 -1
  296. package/esm/http/errors/index.d.ts +0 -2
  297. package/esm/http/errors/index.d.ts.map +0 -1
  298. package/esm/http/errors/resource-not-found.error.d.ts +0 -21
  299. package/esm/http/errors/resource-not-found.error.d.ts.map +0 -1
  300. package/esm/http/errors/resource-not-found.error.js +0 -40
  301. package/esm/http/errors/resource-not-found.error.js.map +0 -1
  302. package/esm/http/events.d.ts +0 -4
  303. package/esm/http/events.d.ts.map +0 -1
  304. package/esm/http/events.js +0 -26
  305. package/esm/http/events.js.map +0 -1
  306. package/esm/http/index.d.ts +0 -16
  307. package/esm/http/index.d.ts.map +0 -1
  308. package/esm/http/middleware/cache-response-middleware.d.ts +0 -34
  309. package/esm/http/middleware/cache-response-middleware.d.ts.map +0 -1
  310. package/esm/http/middleware/cache-response-middleware.js +0 -45
  311. package/esm/http/middleware/cache-response-middleware.js.map +0 -1
  312. package/esm/http/middleware/index.d.ts +0 -3
  313. package/esm/http/middleware/index.d.ts.map +0 -1
  314. package/esm/http/middleware/inject-request-context.d.ts +0 -35
  315. package/esm/http/middleware/inject-request-context.d.ts.map +0 -1
  316. package/esm/http/middleware/inject-request-context.js +0 -110
  317. package/esm/http/middleware/inject-request-context.js.map +0 -1
  318. package/esm/http/plugins/index.d.ts +0 -3
  319. package/esm/http/plugins/index.d.ts.map +0 -1
  320. package/esm/http/plugins.d.ts +0 -3
  321. package/esm/http/plugins.d.ts.map +0 -1
  322. package/esm/http/plugins.js +0 -39
  323. package/esm/http/plugins.js.map +0 -1
  324. package/esm/http/request-controller.d.ts +0 -11
  325. package/esm/http/request-controller.d.ts.map +0 -1
  326. package/esm/http/request-controller.js +0 -9
  327. package/esm/http/request-controller.js.map +0 -1
  328. package/esm/http/request.d.ts +0 -376
  329. package/esm/http/request.d.ts.map +0 -1
  330. package/esm/http/request.js +0 -729
  331. package/esm/http/request.js.map +0 -1
  332. package/esm/http/response.d.ts +0 -271
  333. package/esm/http/response.d.ts.map +0 -1
  334. package/esm/http/response.js +0 -574
  335. package/esm/http/response.js.map +0 -1
  336. package/esm/http/server.d.ts +0 -8
  337. package/esm/http/server.d.ts.map +0 -1
  338. package/esm/http/server.js +0 -15
  339. package/esm/http/server.js.map +0 -1
  340. package/esm/http/types.d.ts +0 -174
  341. package/esm/http/types.d.ts.map +0 -1
  342. package/esm/http/uploaded-file.d.ts +0 -445
  343. package/esm/http/uploaded-file.d.ts.map +0 -1
  344. package/esm/http/uploaded-file.js +0 -694
  345. package/esm/http/uploaded-file.js.map +0 -1
  346. package/esm/http/uploads-config.d.ts +0 -26
  347. package/esm/http/uploads-config.d.ts.map +0 -1
  348. package/esm/http/uploads-config.js +0 -35
  349. package/esm/http/uploads-config.js.map +0 -1
  350. package/esm/http/uploads-types.d.ts +0 -236
  351. package/esm/http/uploads-types.d.ts.map +0 -1
  352. package/esm/image/image.d.ts +0 -382
  353. package/esm/image/image.d.ts.map +0 -1
  354. package/esm/image/image.js +0 -552
  355. package/esm/image/image.js.map +0 -1
  356. package/esm/image/index.d.ts +0 -2
  357. package/esm/image/index.d.ts.map +0 -1
  358. package/esm/index.d.ts +0 -29
  359. package/esm/index.d.ts.map +0 -1
  360. package/esm/logger/index.d.ts +0 -3
  361. package/esm/logger/index.d.ts.map +0 -1
  362. package/esm/logger/logger.d.ts +0 -3
  363. package/esm/logger/logger.d.ts.map +0 -1
  364. package/esm/logger/logger.js +0 -16
  365. package/esm/logger/logger.js.map +0 -1
  366. package/esm/logger/types.d.ts +0 -39
  367. package/esm/logger/types.d.ts.map +0 -1
  368. package/esm/mail/config.d.ts +0 -83
  369. package/esm/mail/config.d.ts.map +0 -1
  370. package/esm/mail/config.js +0 -152
  371. package/esm/mail/config.js.map +0 -1
  372. package/esm/mail/events.d.ts +0 -96
  373. package/esm/mail/events.d.ts.map +0 -1
  374. package/esm/mail/events.js +0 -123
  375. package/esm/mail/events.js.map +0 -1
  376. package/esm/mail/index.d.ts +0 -10
  377. package/esm/mail/index.d.ts.map +0 -1
  378. package/esm/mail/mail.d.ts +0 -175
  379. package/esm/mail/mail.d.ts.map +0 -1
  380. package/esm/mail/mail.js +0 -286
  381. package/esm/mail/mail.js.map +0 -1
  382. package/esm/mail/mailer-pool.d.ts +0 -26
  383. package/esm/mail/mailer-pool.d.ts.map +0 -1
  384. package/esm/mail/mailer-pool.js +0 -95
  385. package/esm/mail/mailer-pool.js.map +0 -1
  386. package/esm/mail/react-mail.d.ts +0 -6
  387. package/esm/mail/react-mail.d.ts.map +0 -1
  388. package/esm/mail/react-mail.js +0 -25
  389. package/esm/mail/react-mail.js.map +0 -1
  390. package/esm/mail/send-mail.d.ts +0 -33
  391. package/esm/mail/send-mail.d.ts.map +0 -1
  392. package/esm/mail/send-mail.js +0 -309
  393. package/esm/mail/send-mail.js.map +0 -1
  394. package/esm/mail/test-mailbox.d.ts +0 -110
  395. package/esm/mail/test-mailbox.d.ts.map +0 -1
  396. package/esm/mail/test-mailbox.js +0 -143
  397. package/esm/mail/test-mailbox.js.map +0 -1
  398. package/esm/mail/types.d.ts +0 -245
  399. package/esm/mail/types.d.ts.map +0 -1
  400. package/esm/mail/types.js +0 -13
  401. package/esm/mail/types.js.map +0 -1
  402. package/esm/manifest/manifest-manager.d.ts +0 -74
  403. package/esm/manifest/manifest-manager.d.ts.map +0 -1
  404. package/esm/manifest/manifest-manager.js +0 -88
  405. package/esm/manifest/manifest-manager.js.map +0 -1
  406. package/esm/output/index.d.ts +0 -3
  407. package/esm/output/index.d.ts.map +0 -1
  408. package/esm/output/output.d.ts +0 -193
  409. package/esm/output/output.d.ts.map +0 -1
  410. package/esm/output/output.js +0 -599
  411. package/esm/output/output.js.map +0 -1
  412. package/esm/output/types.d.ts +0 -23
  413. package/esm/output/types.d.ts.map +0 -1
  414. package/esm/production/build-app-production.d.ts +0 -6
  415. package/esm/production/build-app-production.d.ts.map +0 -1
  416. package/esm/production/build-app-production.js +0 -8
  417. package/esm/production/build-app-production.js.map +0 -1
  418. package/esm/production/esbuild-plugins.d.ts +0 -5
  419. package/esm/production/esbuild-plugins.d.ts.map +0 -1
  420. package/esm/production/esbuild-plugins.js +0 -23
  421. package/esm/production/esbuild-plugins.js.map +0 -1
  422. package/esm/production/production-builder.d.ts +0 -76
  423. package/esm/production/production-builder.d.ts.map +0 -1
  424. package/esm/production/production-builder.js +0 -245
  425. package/esm/production/production-builder.js.map +0 -1
  426. package/esm/react/index.d.ts +0 -3
  427. package/esm/react/index.d.ts.map +0 -1
  428. package/esm/react/index.js +0 -7
  429. package/esm/react/index.js.map +0 -1
  430. package/esm/repositories/base-repository-manager.d.ts +0 -47
  431. package/esm/repositories/base-repository-manager.d.ts.map +0 -1
  432. package/esm/repositories/base-repository-manager.js +0 -63
  433. package/esm/repositories/base-repository-manager.js.map +0 -1
  434. package/esm/repositories/index.d.ts +0 -8
  435. package/esm/repositories/index.d.ts.map +0 -1
  436. package/esm/repositories/repository-destroyer-manager.d.ts +0 -21
  437. package/esm/repositories/repository-destroyer-manager.d.ts.map +0 -1
  438. package/esm/repositories/repository-destroyer-manager.js +0 -38
  439. package/esm/repositories/repository-destroyer-manager.js.map +0 -1
  440. package/esm/repositories/repository-filler-manager.d.ts +0 -60
  441. package/esm/repositories/repository-filler-manager.d.ts.map +0 -1
  442. package/esm/repositories/repository-filler-manager.js +0 -102
  443. package/esm/repositories/repository-filler-manager.js.map +0 -1
  444. package/esm/repositories/repository-filler.d.ts +0 -26
  445. package/esm/repositories/repository-filler.d.ts.map +0 -1
  446. package/esm/repositories/repository-filler.js +0 -63
  447. package/esm/repositories/repository-filler.js.map +0 -1
  448. package/esm/repositories/repository-list-manager.d.ts +0 -385
  449. package/esm/repositories/repository-list-manager.d.ts.map +0 -1
  450. package/esm/repositories/repository-list-manager.js +0 -812
  451. package/esm/repositories/repository-list-manager.js.map +0 -1
  452. package/esm/repositories/repository-listing.d.ts +0 -82
  453. package/esm/repositories/repository-listing.d.ts.map +0 -1
  454. package/esm/repositories/repository-listing.js +0 -177
  455. package/esm/repositories/repository-listing.js.map +0 -1
  456. package/esm/repositories/repository-manager.d.ts +0 -5
  457. package/esm/repositories/repository-manager.d.ts.map +0 -1
  458. package/esm/repositories/repository-manager.js +0 -2
  459. package/esm/repositories/repository-manager.js.map +0 -1
  460. package/esm/repositories/types.d.ts +0 -114
  461. package/esm/repositories/types.d.ts.map +0 -1
  462. package/esm/repositories/utils.d.ts +0 -3
  463. package/esm/repositories/utils.d.ts.map +0 -1
  464. package/esm/repositories/utils.js +0 -7
  465. package/esm/repositories/utils.js.map +0 -1
  466. package/esm/restful/index.d.ts +0 -2
  467. package/esm/restful/index.d.ts.map +0 -1
  468. package/esm/restful/restful.d.ts +0 -110
  469. package/esm/restful/restful.d.ts.map +0 -1
  470. package/esm/restful/restful.js +0 -317
  471. package/esm/restful/restful.js.map +0 -1
  472. package/esm/router/index.d.ts +0 -4
  473. package/esm/router/index.d.ts.map +0 -1
  474. package/esm/router/route-registry.d.ts +0 -30
  475. package/esm/router/route-registry.d.ts.map +0 -1
  476. package/esm/router/route-registry.js +0 -67
  477. package/esm/router/route-registry.js.map +0 -1
  478. package/esm/router/route.d.ts +0 -34
  479. package/esm/router/route.d.ts.map +0 -1
  480. package/esm/router/router.d.ts +0 -169
  481. package/esm/router/router.d.ts.map +0 -1
  482. package/esm/router/router.js +0 -564
  483. package/esm/router/router.js.map +0 -1
  484. package/esm/router/types.d.ts +0 -258
  485. package/esm/router/types.d.ts.map +0 -1
  486. package/esm/router/utils.d.ts +0 -5
  487. package/esm/router/utils.d.ts.map +0 -1
  488. package/esm/router/utils.js +0 -6
  489. package/esm/router/utils.js.map +0 -1
  490. package/esm/storage/config.d.ts +0 -8
  491. package/esm/storage/config.d.ts.map +0 -1
  492. package/esm/storage/config.js +0 -6
  493. package/esm/storage/config.js.map +0 -1
  494. package/esm/storage/drivers/cloud-driver.d.ts +0 -127
  495. package/esm/storage/drivers/cloud-driver.d.ts.map +0 -1
  496. package/esm/storage/drivers/cloud-driver.js +0 -406
  497. package/esm/storage/drivers/cloud-driver.js.map +0 -1
  498. package/esm/storage/drivers/do-spaces-driver.d.ts +0 -47
  499. package/esm/storage/drivers/do-spaces-driver.d.ts.map +0 -1
  500. package/esm/storage/drivers/do-spaces-driver.js +0 -52
  501. package/esm/storage/drivers/do-spaces-driver.js.map +0 -1
  502. package/esm/storage/drivers/local-driver.d.ts +0 -136
  503. package/esm/storage/drivers/local-driver.d.ts.map +0 -1
  504. package/esm/storage/drivers/local-driver.js +0 -409
  505. package/esm/storage/drivers/local-driver.js.map +0 -1
  506. package/esm/storage/drivers/r2-driver.d.ts +0 -50
  507. package/esm/storage/drivers/r2-driver.d.ts.map +0 -1
  508. package/esm/storage/drivers/r2-driver.js +0 -59
  509. package/esm/storage/drivers/r2-driver.js.map +0 -1
  510. package/esm/storage/drivers/s3-driver.d.ts +0 -32
  511. package/esm/storage/drivers/s3-driver.d.ts.map +0 -1
  512. package/esm/storage/drivers/s3-driver.js +0 -34
  513. package/esm/storage/drivers/s3-driver.js.map +0 -1
  514. package/esm/storage/index.d.ts +0 -12
  515. package/esm/storage/index.d.ts.map +0 -1
  516. package/esm/storage/scoped-storage.d.ts +0 -402
  517. package/esm/storage/scoped-storage.d.ts.map +0 -1
  518. package/esm/storage/scoped-storage.js +0 -488
  519. package/esm/storage/scoped-storage.js.map +0 -1
  520. package/esm/storage/storage-file.d.ts +0 -216
  521. package/esm/storage/storage-file.d.ts.map +0 -1
  522. package/esm/storage/storage-file.js +0 -358
  523. package/esm/storage/storage-file.js.map +0 -1
  524. package/esm/storage/storage.d.ts +0 -582
  525. package/esm/storage/storage.d.ts.map +0 -1
  526. package/esm/storage/storage.js +0 -941
  527. package/esm/storage/storage.js.map +0 -1
  528. package/esm/storage/types.d.ts +0 -728
  529. package/esm/storage/types.d.ts.map +0 -1
  530. package/esm/storage/utils/mime.d.ts +0 -33
  531. package/esm/storage/utils/mime.d.ts.map +0 -1
  532. package/esm/storage/utils/mime.js +0 -45
  533. package/esm/storage/utils/mime.js.map +0 -1
  534. package/esm/store/index.d.ts +0 -25
  535. package/esm/store/index.d.ts.map +0 -1
  536. package/esm/store/index.js +0 -52
  537. package/esm/store/index.js.map +0 -1
  538. package/esm/tests/boot-testing.d.ts +0 -7
  539. package/esm/tests/boot-testing.d.ts.map +0 -1
  540. package/esm/tests/boot-testing.js +0 -23
  541. package/esm/tests/boot-testing.js.map +0 -1
  542. package/esm/tests/create-http-test-application.d.ts +0 -25
  543. package/esm/tests/create-http-test-application.d.ts.map +0 -1
  544. package/esm/tests/create-http-test-application.js +0 -76
  545. package/esm/tests/create-http-test-application.js.map +0 -1
  546. package/esm/tests/http-response-output-test.d.ts +0 -42
  547. package/esm/tests/http-response-output-test.d.ts.map +0 -1
  548. package/esm/tests/http-response-output-test.js +0 -53
  549. package/esm/tests/http-response-output-test.js.map +0 -1
  550. package/esm/tests/http-test-response.d.ts +0 -75
  551. package/esm/tests/http-test-response.d.ts.map +0 -1
  552. package/esm/tests/index.d.ts +0 -4
  553. package/esm/tests/index.d.ts.map +0 -1
  554. package/esm/tests/init-testing.d.ts +0 -7
  555. package/esm/tests/init-testing.d.ts.map +0 -1
  556. package/esm/tests/types.d.ts +0 -10
  557. package/esm/tests/types.d.ts.map +0 -1
  558. package/esm/utils/app-log.d.ts +0 -8
  559. package/esm/utils/app-log.d.ts.map +0 -1
  560. package/esm/utils/app-log.js +0 -7
  561. package/esm/utils/app-log.js.map +0 -1
  562. package/esm/utils/cleanup-temp-files.d.ts +0 -5
  563. package/esm/utils/cleanup-temp-files.d.ts.map +0 -1
  564. package/esm/utils/database-log.d.ts +0 -25
  565. package/esm/utils/database-log.d.ts.map +0 -1
  566. package/esm/utils/database-log.js +0 -44
  567. package/esm/utils/database-log.js.map +0 -1
  568. package/esm/utils/date-output.d.ts +0 -69
  569. package/esm/utils/date-output.d.ts.map +0 -1
  570. package/esm/utils/date-output.js +0 -62
  571. package/esm/utils/date-output.js.map +0 -1
  572. package/esm/utils/date-output.test.d.ts +0 -2
  573. package/esm/utils/date-output.test.d.ts.map +0 -1
  574. package/esm/utils/download-file.d.ts +0 -3
  575. package/esm/utils/download-file.d.ts.map +0 -1
  576. package/esm/utils/environment.d.ts +0 -4
  577. package/esm/utils/environment.d.ts.map +0 -1
  578. package/esm/utils/environment.js +0 -6
  579. package/esm/utils/environment.js.map +0 -1
  580. package/esm/utils/get-localized.d.ts +0 -10
  581. package/esm/utils/get-localized.d.ts.map +0 -1
  582. package/esm/utils/get-localized.js +0 -15
  583. package/esm/utils/get-localized.js.map +0 -1
  584. package/esm/utils/get-localized.test.d.ts +0 -2
  585. package/esm/utils/get-localized.test.d.ts.map +0 -1
  586. package/esm/utils/index.d.ts +0 -13
  587. package/esm/utils/index.d.ts.map +0 -1
  588. package/esm/utils/internal.d.ts +0 -4
  589. package/esm/utils/internal.d.ts.map +0 -1
  590. package/esm/utils/paths.d.ts +0 -55
  591. package/esm/utils/paths.d.ts.map +0 -1
  592. package/esm/utils/paths.js +0 -89
  593. package/esm/utils/paths.js.map +0 -1
  594. package/esm/utils/promise-all-object.d.ts +0 -8
  595. package/esm/utils/promise-all-object.d.ts.map +0 -1
  596. package/esm/utils/promise-all-object.js +0 -12
  597. package/esm/utils/promise-all-object.js.map +0 -1
  598. package/esm/utils/queue.d.ts +0 -49
  599. package/esm/utils/queue.d.ts.map +0 -1
  600. package/esm/utils/queue.js +0 -89
  601. package/esm/utils/queue.js.map +0 -1
  602. package/esm/utils/sleep.d.ts +0 -2
  603. package/esm/utils/sleep.d.ts.map +0 -1
  604. package/esm/utils/sleep.js +0 -3
  605. package/esm/utils/sleep.js.map +0 -1
  606. package/esm/utils/sluggable.d.ts +0 -5
  607. package/esm/utils/sluggable.d.ts.map +0 -1
  608. package/esm/utils/sluggable.js +0 -15
  609. package/esm/utils/sluggable.js.map +0 -1
  610. package/esm/utils/sluggable.test.d.ts +0 -2
  611. package/esm/utils/sluggable.test.d.ts.map +0 -1
  612. package/esm/utils/to-json.d.ts +0 -2
  613. package/esm/utils/to-json.d.ts.map +0 -1
  614. package/esm/utils/to-json.js +0 -26
  615. package/esm/utils/to-json.js.map +0 -1
  616. package/esm/utils/types.d.ts +0 -22
  617. package/esm/utils/types.d.ts.map +0 -1
  618. package/esm/utils/urls.d.ts +0 -21
  619. package/esm/utils/urls.d.ts.map +0 -1
  620. package/esm/utils/urls.js +0 -31
  621. package/esm/utils/urls.js.map +0 -1
  622. package/esm/validation/database/exists-except-current-id.d.ts +0 -7
  623. package/esm/validation/database/exists-except-current-id.d.ts.map +0 -1
  624. package/esm/validation/database/exists-except-current-id.js +0 -23
  625. package/esm/validation/database/exists-except-current-id.js.map +0 -1
  626. package/esm/validation/database/exists-except-current-user.d.ts +0 -7
  627. package/esm/validation/database/exists-except-current-user.d.ts.map +0 -1
  628. package/esm/validation/database/exists-except-current-user.js +0 -25
  629. package/esm/validation/database/exists-except-current-user.js.map +0 -1
  630. package/esm/validation/database/exists.d.ts +0 -7
  631. package/esm/validation/database/exists.d.ts.map +0 -1
  632. package/esm/validation/database/exists.js +0 -21
  633. package/esm/validation/database/exists.js.map +0 -1
  634. package/esm/validation/database/index.d.ts +0 -12
  635. package/esm/validation/database/index.d.ts.map +0 -1
  636. package/esm/validation/database/types.d.ts +0 -68
  637. package/esm/validation/database/types.d.ts.map +0 -1
  638. package/esm/validation/database/unique-except-current-id.d.ts +0 -7
  639. package/esm/validation/database/unique-except-current-id.d.ts.map +0 -1
  640. package/esm/validation/database/unique-except-current-id.js +0 -23
  641. package/esm/validation/database/unique-except-current-id.js.map +0 -1
  642. package/esm/validation/database/unique-except-current-user.d.ts +0 -7
  643. package/esm/validation/database/unique-except-current-user.d.ts.map +0 -1
  644. package/esm/validation/database/unique-except-current-user.js +0 -25
  645. package/esm/validation/database/unique-except-current-user.js.map +0 -1
  646. package/esm/validation/database/unique.d.ts +0 -7
  647. package/esm/validation/database/unique.d.ts.map +0 -1
  648. package/esm/validation/database/unique.js +0 -30
  649. package/esm/validation/database/unique.js.map +0 -1
  650. package/esm/validation/file/file.d.ts +0 -22
  651. package/esm/validation/file/file.d.ts.map +0 -1
  652. package/esm/validation/file/file.js +0 -60
  653. package/esm/validation/file/file.js.map +0 -1
  654. package/esm/validation/file/index.d.ts +0 -6
  655. package/esm/validation/file/index.d.ts.map +0 -1
  656. package/esm/validation/index.d.ts +0 -16
  657. package/esm/validation/index.d.ts.map +0 -1
  658. package/esm/validation/init.d.ts +0 -7
  659. package/esm/validation/init.d.ts.map +0 -1
  660. package/esm/validation/init.js +0 -34
  661. package/esm/validation/init.js.map +0 -1
  662. package/esm/validation/plugins/database-plugin.d.ts +0 -14
  663. package/esm/validation/plugins/database-plugin.d.ts.map +0 -1
  664. package/esm/validation/plugins/database-plugin.js +0 -95
  665. package/esm/validation/plugins/database-plugin.js.map +0 -1
  666. package/esm/validation/plugins/file-plugin.d.ts +0 -11
  667. package/esm/validation/plugins/file-plugin.d.ts.map +0 -1
  668. package/esm/validation/plugins/file-plugin.js +0 -17
  669. package/esm/validation/plugins/file-plugin.js.map +0 -1
  670. package/esm/validation/plugins/index.d.ts +0 -9
  671. package/esm/validation/plugins/index.d.ts.map +0 -1
  672. package/esm/validation/plugins/localized-plugin.d.ts +0 -11
  673. package/esm/validation/plugins/localized-plugin.d.ts.map +0 -1
  674. package/esm/validation/plugins/localized-plugin.js +0 -19
  675. package/esm/validation/plugins/localized-plugin.js.map +0 -1
  676. package/esm/validation/types.d.ts +0 -87
  677. package/esm/validation/types.d.ts.map +0 -1
  678. package/esm/validation/validateAll.d.ts +0 -7
  679. package/esm/validation/validateAll.d.ts.map +0 -1
  680. package/esm/validation/validateAll.js +0 -39
  681. package/esm/validation/validateAll.js.map +0 -1
  682. package/esm/validation/validators/file-validator.d.ts +0 -40
  683. package/esm/validation/validators/file-validator.d.ts.map +0 -1
  684. package/esm/validation/validators/file-validator.js +0 -94
  685. package/esm/validation/validators/file-validator.js.map +0 -1
  686. package/esm/validation/validators/index.d.ts +0 -7
  687. package/esm/validation/validators/index.d.ts.map +0 -1
  688. package/esm/warlock-config/default-configurations.d.ts +0 -3
  689. package/esm/warlock-config/default-configurations.d.ts.map +0 -1
  690. package/esm/warlock-config/default-configurations.js +0 -8
  691. package/esm/warlock-config/default-configurations.js.map +0 -1
  692. package/esm/warlock-config/define-config.d.ts +0 -3
  693. package/esm/warlock-config/define-config.d.ts.map +0 -1
  694. package/esm/warlock-config/define-config.js +0 -3
  695. package/esm/warlock-config/define-config.js.map +0 -1
  696. package/esm/warlock-config/index.d.ts +0 -4
  697. package/esm/warlock-config/index.d.ts.map +0 -1
  698. package/esm/warlock-config/types.d.ts +0 -79
  699. package/esm/warlock-config/types.d.ts.map +0 -1
  700. package/esm/warlock-config/warlock-config.manager.d.ts +0 -83
  701. package/esm/warlock-config/warlock-config.manager.d.ts.map +0 -1
  702. package/esm/warlock-config/warlock-config.manager.js +0 -141
  703. package/esm/warlock-config/warlock-config.manager.js.map +0 -1
@@ -1,146 +0,0 @@
1
- import { DependencyGraph } from "./dependency-graph";
2
- import { FileManager } from "./file-manager";
3
- import { FileOperations } from "./file-operations";
4
- import { FilesWatcher } from "./files-watcher";
5
- import { FilesHealthcareManager } from "./health-checker/files-healthcare.manager";
6
- import { ModuleLoader } from "./module-loader";
7
- import { SpecialFilesCollector } from "./special-files-collector";
8
- export declare class FilesOrchestrator {
9
- readonly filesWatcher: FilesWatcher;
10
- readonly files: Map<string, FileManager>;
11
- private readonly manifest;
12
- private readonly dependencyGraph;
13
- private readonly healthCheckerManager;
14
- readonly fileOperations: FileOperations;
15
- private readonly eventHandler;
16
- readonly specialFilesCollector: SpecialFilesCollector;
17
- readonly moduleLoader: ModuleLoader;
18
- /**
19
- * Creates the FilesOrchestrator instance
20
- *
21
- * Initializes all subsystems:
22
- * - FileOperations for file lifecycle management
23
- * - FileEventHandler for processing file system events
24
- */
25
- constructor();
26
- /**
27
- * Parse and add the given file to files list
28
- */
29
- add(relativePath: string): Promise<FileManager>;
30
- /**
31
- * Add then load the file through the modules load
32
- */
33
- load<T>(relativePath: string, type?: string): Promise<T>;
34
- /**
35
- * Get the dependency graph
36
- * Provides read-only access to the dependency graph for external use
37
- */
38
- getDependencyGraph(): DependencyGraph;
39
- /**
40
- * Get invalidation chain for a file
41
- * Returns all files that need to be reloaded when the given file changes
42
- */
43
- getInvalidationChain(file: string): string[];
44
- /**
45
- * Get all tracked files
46
- */
47
- getFiles(): Map<string, FileManager>;
48
- /**
49
- * Get health checker manager
50
- */
51
- getHealthCheckerManager(): FilesHealthcareManager;
52
- /**
53
- * Initialize the files orchestrator
54
- */
55
- init(): Promise<void>;
56
- /**
57
- * Initialize all development server features
58
- *
59
- * This is the main initialization sequence that:
60
- * 1. Discovers all TypeScript/JavaScript files in the project
61
- * 2. Reconciles filesystem state with cached manifest
62
- * 3. Builds the dependency graph for HMR
63
- * 4. Persists file metadata to manifest
64
- *
65
- * Each file is fully processed (including import transforms) during
66
- * reconciliation because transforms compute cache paths deterministically
67
- * and don't depend on other files being processed first.
68
- *
69
- * @example
70
- * ```typescript
71
- * await filesOrchestrator.init();
72
- * await filesOrchestrator.initiaizeAll();
73
- * await filesOrchestrator.watchFiles();
74
- * ```
75
- */
76
- initiaizeAll(): Promise<void>;
77
- /**
78
- * Check the health of the given files
79
- */
80
- checkHealth(files: {
81
- added: string[];
82
- changed: string[];
83
- deleted: string[];
84
- }): Promise<void>;
85
- /**
86
- * Check health state for all files
87
- */
88
- startCheckingHealth(): Promise<void>;
89
- /**
90
- * Get all TypeScript/JavaScript files from the filesystem
91
- * This always scans the actual filesystem, ignoring any cached data
92
- * @returns Array of relative file paths
93
- */
94
- getAllFilesFromFilesystem(): Promise<string[]>;
95
- /**
96
- * Process all files fresh (no manifest exists)
97
- *
98
- * This happens on first run or when manifest is deleted.
99
- * Each file is fully processed including import transforms.
100
- *
101
- * @param filePaths Array of relative file paths
102
- */
103
- processAllFilesFresh(filePaths: string[]): Promise<void>;
104
- /**
105
- * Reconcile filesystem state with manifest data
106
- * This handles: new files, deleted files, and changed files
107
- */
108
- private reconcileFiles;
109
- /**
110
- * Process newly discovered files (in filesystem but not in manifest)
111
- *
112
- * Each file is fully processed including import transforms.
113
- *
114
- * @param filePaths Array of relative file paths
115
- */
116
- private processNewFiles;
117
- /**
118
- * Remove deleted files from tracking
119
- * @param filePaths Array of relative file paths
120
- */
121
- private processDeletedFiles;
122
- /**
123
- * Process existing files (check if they changed since last run)
124
- *
125
- * For unchanged files, loads from cache.
126
- * For changed files, reprocesses fully.
127
- *
128
- * @param filePaths Array of relative file paths
129
- */
130
- private processExistingFiles;
131
- /**
132
- * Update dependents in all FileManager instances from dependency graph
133
- */
134
- private updateFileDependents;
135
- /**
136
- * Sync all FileManager instances to manifest
137
- * Uses relative paths as keys for portability
138
- */
139
- private syncFilesToManifest;
140
- /**
141
- * Start file watcher to detect changes during development
142
- */
143
- watchFiles(): Promise<void>;
144
- }
145
- export declare const filesOrchestrator: FilesOrchestrator;
146
- //# sourceMappingURL=files-orchestrator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files-orchestrator.d.ts","sourceRoot":"","sources":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AY;IA2BzB;;OAEG;IACU,WAAW,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE;IAiBzF;;OAEG;IACU,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC;IAYjD;;;;OAIG;IACU,yBAAyB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAM3D;;;;;;;OAOG;IACU,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE;IAyBrD;;;OAGG;YACW,cAAc;IAgC5B;;;;;;OAMG;YACW,eAAe;IAoB7B;;;OAGG;YACW,mBAAmB;IAwBjC;;;;;;;OAOG;YACW,oBAAoB;IAqBlC;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAO5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;OAEG;IACU,UAAU;CAqBxB;AAED,eAAO,MAAM,iBAAiB,mBAA0B,CAAC"}
@@ -1,314 +0,0 @@
1
- import {colors}from'@mongez/copper';import {unlinkAsync}from'@mongez/fs';import {init}from'es-module-lexer';import {warlockConfigManager}from'../warlock-config/warlock-config.manager.js';import {DependencyGraph}from'./dependency-graph.js';import {devLogDim,devLogSuccess}from'./dev-logger.js';import {FileEventHandler}from'./file-event-handler.js';import {FileManager}from'./file-manager.js';import {FileOperations}from'./file-operations.js';import {FilesWatcher}from'./files-watcher.js';import {FILE_PROCESSING_BATCH_SIZE}from'./flags.js';import {EslintHealthChecker}from'./health-checker/checkers/eslint-health-checker.js';import {TypescriptHealthChecker}from'./health-checker/checkers/typescript-health-checker.js';import {FilesHealthcareManager}from'./health-checker/files-healthcare.manager.js';import {ManifestManager}from'./manifest-manager.js';import {ModuleLoader}from'./module-loader.js';import {packageJsonManager}from'./package-json-manager.js';import {Path}from'./path.js';import {initializeRuntimeImportHelper}from'./runtime-import-helper.js';import {SpecialFilesCollector}from'./special-files-collector.js';import {tsconfigManager}from'./tsconfig-manager.js';import {getFilesFromDirectory,createFreshWarlockDirectory,warlockCachePath}from'./utils.js';class FilesOrchestrator {
2
- filesWatcher = new FilesWatcher();
3
- files = new Map();
4
- manifest = new ManifestManager(this.files);
5
- dependencyGraph = new DependencyGraph();
6
- healthCheckerManager = new FilesHealthcareManager(this.files);
7
- fileOperations;
8
- eventHandler;
9
- specialFilesCollector = new SpecialFilesCollector();
10
- moduleLoader = new ModuleLoader(this.specialFilesCollector);
11
- /**
12
- * Creates the FilesOrchestrator instance
13
- *
14
- * Initializes all subsystems:
15
- * - FileOperations for file lifecycle management
16
- * - FileEventHandler for processing file system events
17
- */
18
- constructor() {
19
- // Create file operations with all dependencies
20
- this.fileOperations = new FileOperations(this.files, this.dependencyGraph, this.manifest, this.specialFilesCollector);
21
- // Create event handler with all required dependencies
22
- this.eventHandler = new FileEventHandler(this.fileOperations, this.manifest, this.dependencyGraph, this.files);
23
- }
24
- /**
25
- * Parse and add the given file to files list
26
- */
27
- async add(relativePath) {
28
- return this.fileOperations.addFile(relativePath);
29
- }
30
- /**
31
- * Add then load the file through the modules load
32
- */
33
- async load(relativePath, type = "other") {
34
- const fileManager = await this.add(relativePath);
35
- return this.moduleLoader.loadModule(fileManager, fileManager.type || type);
36
- }
37
- /**
38
- * Get the dependency graph
39
- * Provides read-only access to the dependency graph for external use
40
- */
41
- getDependencyGraph() {
42
- return this.dependencyGraph;
43
- }
44
- /**
45
- * Get invalidation chain for a file
46
- * Returns all files that need to be reloaded when the given file changes
47
- */
48
- getInvalidationChain(file) {
49
- return this.dependencyGraph.getInvalidationChain(file);
50
- }
51
- /**
52
- * Get all tracked files
53
- */
54
- getFiles() {
55
- return this.files;
56
- }
57
- /**
58
- * Get health checker manager
59
- */
60
- getHealthCheckerManager() {
61
- return this.healthCheckerManager;
62
- }
63
- /**
64
- * Initialize the files orchestrator
65
- */
66
- async init() {
67
- // Initialize es-module-lexer (it's a promise, not a function)
68
- await init;
69
- // Initialize configuration managers
70
- await Promise.all([tsconfigManager.init(), packageJsonManager.init()]);
71
- // Initialize runtime import helper (for HMR cache busting)
72
- initializeRuntimeImportHelper();
73
- }
74
- /**
75
- * Initialize all development server features
76
- *
77
- * This is the main initialization sequence that:
78
- * 1. Discovers all TypeScript/JavaScript files in the project
79
- * 2. Reconciles filesystem state with cached manifest
80
- * 3. Builds the dependency graph for HMR
81
- * 4. Persists file metadata to manifest
82
- *
83
- * Each file is fully processed (including import transforms) during
84
- * reconciliation because transforms compute cache paths deterministically
85
- * and don't depend on other files being processed first.
86
- *
87
- * @example
88
- * ```typescript
89
- * await filesOrchestrator.init();
90
- * await filesOrchestrator.initiaizeAll();
91
- * await filesOrchestrator.watchFiles();
92
- * ```
93
- */
94
- async initiaizeAll() {
95
- const [filesInFilesystem, manifestExists] = await Promise.all([
96
- this.getAllFilesFromFilesystem(),
97
- this.manifest.init(),
98
- ]);
99
- // STEP 1: Reconcile filesystem with manifest
100
- // Each file is fully processed (transpile + transform + save)
101
- if (!manifestExists) {
102
- // No manifest = fresh start, process all files
103
- await this.processAllFilesFresh(filesInFilesystem);
104
- }
105
- else {
106
- // Manifest exists = reconcile differences
107
- await this.reconcileFiles(filesInFilesystem);
108
- }
109
- // STEP 2: Build dependency graph from all processed files
110
- this.dependencyGraph.build(this.files);
111
- // STEP 3: Update dependents in FileManager instances
112
- this.updateFileDependents();
113
- // STEP 4: Sync all files to manifest and save
114
- this.syncFilesToManifest();
115
- await this.manifest.save();
116
- }
117
- /**
118
- * Check the health of the given files
119
- */
120
- async checkHealth(files) {
121
- const filesToCheck = files.added
122
- .concat(files.changed)
123
- .map((file) => this.files.get(Path.toRelative(file)))
124
- .filter((file) => !!file);
125
- const filesToDelete = files.deleted
126
- .map((file) => this.files.get(Path.toRelative(file)))
127
- .filter((file) => !!file);
128
- await this.healthCheckerManager.onFileChanges(filesToCheck);
129
- this.healthCheckerManager.removeFiles(filesToDelete);
130
- this.healthCheckerManager.checkFiles(filesToCheck);
131
- }
132
- /**
133
- * Check health state for all files
134
- */
135
- async startCheckingHealth() {
136
- devLogDim("Started File Health Checks in the background.");
137
- const typescriptHealthChecker = new TypescriptHealthChecker();
138
- const eslintHealthChecker = new EslintHealthChecker();
139
- await this.healthCheckerManager
140
- .setHealthCheckers([typescriptHealthChecker, eslintHealthChecker])
141
- .initialize(); // Initialize workers
142
- await this.healthCheckerManager.validateAllFiles();
143
- }
144
- /**
145
- * Get all TypeScript/JavaScript files from the filesystem
146
- * This always scans the actual filesystem, ignoring any cached data
147
- * @returns Array of relative file paths
148
- */
149
- async getAllFilesFromFilesystem() {
150
- const absolutePaths = await getFilesFromDirectory();
151
- // Convert to relative paths for consistency throughout the system
152
- return absolutePaths.map((absPath) => Path.toRelative(absPath));
153
- }
154
- /**
155
- * Process all files fresh (no manifest exists)
156
- *
157
- * This happens on first run or when manifest is deleted.
158
- * Each file is fully processed including import transforms.
159
- *
160
- * @param filePaths Array of relative file paths
161
- */
162
- async processAllFilesFresh(filePaths) {
163
- devLogDim(`processing ${filePaths.length} files...`);
164
- // Ensure .warlock directory exists
165
- await createFreshWarlockDirectory();
166
- const BATCH_SIZE = FILE_PROCESSING_BATCH_SIZE;
167
- for (let i = 0; i < filePaths.length; i += BATCH_SIZE) {
168
- const batch = filePaths.slice(i, i + BATCH_SIZE);
169
- await Promise.all(batch.map(async (relativePath) => {
170
- const absolutePath = Path.toAbsolute(relativePath);
171
- const fileManager = new FileManager(absolutePath, this.files, this.fileOperations);
172
- this.files.set(relativePath, fileManager);
173
- // Full processing (transforms work because cache paths are deterministic)
174
- await fileManager.process();
175
- }));
176
- }
177
- devLogSuccess(`processed ${filePaths.length} files`);
178
- }
179
- /**
180
- * Reconcile filesystem state with manifest data
181
- * This handles: new files, deleted files, and changed files
182
- */
183
- async reconcileFiles(filesInFilesystem) {
184
- const filesInManifest = new Set(this.manifest.getAllFilePaths());
185
- const filesInFilesystemSet = new Set(filesInFilesystem);
186
- // Find new files (in filesystem but not in manifest)
187
- const newFiles = filesInFilesystem.filter((file) => !filesInManifest.has(file));
188
- // Find deleted files (in manifest but not in filesystem)
189
- const deletedFiles = Array.from(filesInManifest).filter((file) => !filesInFilesystemSet.has(file));
190
- // Find existing files (in both)
191
- const existingFiles = filesInFilesystem.filter((file) => filesInManifest.has(file));
192
- if (newFiles.length > 0 || deletedFiles.length > 0) {
193
- const newText = newFiles.length > 0 ? colors.green(newFiles.length) : 0;
194
- const deletedText = deletedFiles.length > 0 ? colors.red(deletedFiles.length) : 0;
195
- const existingText = existingFiles.length > 0 ? colors.blue(existingFiles.length) : 0;
196
- devLogDim(`reconciling: ${newText} new, ${deletedText} deleted, ${existingText} existing`);
197
- }
198
- // Process new files
199
- await this.processNewFiles(newFiles);
200
- // Remove deleted files
201
- await this.processDeletedFiles(deletedFiles);
202
- // Process existing files (check for changes)
203
- await this.processExistingFiles(existingFiles);
204
- }
205
- /**
206
- * Process newly discovered files (in filesystem but not in manifest)
207
- *
208
- * Each file is fully processed including import transforms.
209
- *
210
- * @param filePaths Array of relative file paths
211
- */
212
- async processNewFiles(filePaths) {
213
- if (filePaths.length === 0)
214
- return;
215
- const BATCH_SIZE = FILE_PROCESSING_BATCH_SIZE;
216
- for (let i = 0; i < filePaths.length; i += BATCH_SIZE) {
217
- const batch = filePaths.slice(i, i + BATCH_SIZE);
218
- await Promise.all(batch.map(async (relativePath) => {
219
- const absolutePath = Path.toAbsolute(relativePath);
220
- const fileManager = new FileManager(absolutePath, this.files, this.fileOperations);
221
- this.files.set(relativePath, fileManager);
222
- // Full processing
223
- await fileManager.process();
224
- }));
225
- }
226
- }
227
- /**
228
- * Remove deleted files from tracking
229
- * @param filePaths Array of relative file paths
230
- */
231
- async processDeletedFiles(filePaths) {
232
- if (filePaths.length === 0)
233
- return;
234
- for (const relativePath of filePaths) {
235
- // Get file info from manifest before deletion
236
- const manifestEntry = this.manifest.getFile(relativePath);
237
- if (manifestEntry) {
238
- // Delete cache file
239
- try {
240
- await unlinkAsync(warlockCachePath(manifestEntry.cachePath));
241
- }
242
- catch (error) {
243
- // Cache file might not exist, ignore
244
- }
245
- }
246
- // Remove from manifest
247
- this.manifest.removeFile(relativePath);
248
- // Remove from files map
249
- this.files.delete(relativePath);
250
- }
251
- }
252
- /**
253
- * Process existing files (check if they changed since last run)
254
- *
255
- * For unchanged files, loads from cache.
256
- * For changed files, reprocesses fully.
257
- *
258
- * @param filePaths Array of relative file paths
259
- */
260
- async processExistingFiles(filePaths) {
261
- if (filePaths.length === 0)
262
- return;
263
- const BATCH_SIZE = FILE_PROCESSING_BATCH_SIZE;
264
- for (let i = 0; i < filePaths.length; i += BATCH_SIZE) {
265
- const batch = filePaths.slice(i, i + BATCH_SIZE);
266
- await Promise.all(batch.map(async (relativePath) => {
267
- const manifestData = this.manifest.getFile(relativePath);
268
- const absolutePath = Path.toAbsolute(relativePath);
269
- const fileManager = new FileManager(absolutePath, this.files, this.fileOperations);
270
- this.files.set(relativePath, fileManager);
271
- // Initialize with manifest (uses cache if unchanged, reprocesses if changed)
272
- await fileManager.init(manifestData);
273
- }));
274
- }
275
- }
276
- /**
277
- * Update dependents in all FileManager instances from dependency graph
278
- */
279
- updateFileDependents() {
280
- for (const [relativePath, fileManager] of this.files) {
281
- const dependents = this.dependencyGraph.getDependents(relativePath);
282
- fileManager.dependents = dependents;
283
- }
284
- }
285
- /**
286
- * Sync all FileManager instances to manifest
287
- * Uses relative paths as keys for portability
288
- */
289
- syncFilesToManifest() {
290
- for (const [relativePath, fileManager] of this.files) {
291
- this.manifest.setFile(relativePath, fileManager.toManifest());
292
- }
293
- }
294
- /**
295
- * Start file watcher to detect changes during development
296
- */
297
- async watchFiles() {
298
- devLogSuccess("watching for file changes");
299
- // Connect file watcher to event handler
300
- this.filesWatcher.onFileChange((absolutePath) => {
301
- this.eventHandler.handleFileChange(absolutePath);
302
- });
303
- this.filesWatcher.onFileAdd((absolutePath) => {
304
- this.eventHandler.handleFileAdd(absolutePath);
305
- });
306
- this.filesWatcher.onFileDelete((absolutePath) => {
307
- this.eventHandler.handleFileDelete(absolutePath);
308
- });
309
- // Get watch config from warlock.config.ts (if loaded)
310
- const watchConfig = warlockConfigManager.get("devServer")?.watch;
311
- await this.filesWatcher.watch(watchConfig);
312
- }
313
- }
314
- const filesOrchestrator = new FilesOrchestrator();export{FilesOrchestrator,filesOrchestrator};//# sourceMappingURL=files-orchestrator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files-orchestrator.js","sources":["../../src/dev2-server/files-orchestrator.ts"],"sourcesContent":[null],"names":[],"mappings":"wvCAuBa,iBAAiB,CAAA;AACZ,IAAA,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;AAClC,IAAA,KAAK,GAAG,IAAI,GAAG,EAAuB,CAAC;IACtC,QAAQ,GAAG,IAAI,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC3C,IAAA,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;IACxC,oBAAoB,GAAG,IAAI,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC/D,IAAA,cAAc,CAAiB;AAC9B,IAAA,YAAY,CAAmB;AAChC,IAAA,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAC;IACpD,YAAY,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAE5E;;;;;;AAMG;AACH,IAAA,WAAA,GAAA;;QAEE,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CACtC,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,qBAAqB,CAC3B,CAAC;;QAGF,IAAI,CAAC,YAAY,GAAG,IAAI,gBAAgB,CACtC,IAAI,CAAC,cAAc,EACnB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,KAAK,CACX,CAAC;KACH;AAED;;AAEG;IACI,MAAM,GAAG,CAAC,YAAoB,EAAA;QACnC,OAAO,IAAI,CAAC,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C,CAAC;AACnD,SAAC,CAAC,CAAC;;QAGH,MAAM,WAAW,GAAG,oBAAoB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC;QAEjE,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;KAC5C;AACF,CAAA;AAEY,MAAA,iBAAiB,GAAG,IAAI,iBAAiB"}
@@ -1,67 +0,0 @@
1
- type FileWatcherEvent = "change" | "delete" | "add" | "error" | "addDir" | "unlinkDir";
2
- type FileChangeCallback = (filePath: string) => void;
3
- type FileDeleteCallback = (filePath: string) => void;
4
- type FileAddCallback = (filePath: string) => void;
5
- type FileErrorCallback = (filePath: string, error: Error) => void;
6
- type FileAddDirCallback = (filePath: string) => void;
7
- type FileUnlinkDirCallback = (filePath: string) => void;
8
- type OnFileEventCallback = FileChangeCallback | FileDeleteCallback | FileAddCallback | FileErrorCallback | FileAddDirCallback | FileUnlinkDirCallback;
9
- /**
10
- * Watch configuration options
11
- */
12
- export type WatchConfig = {
13
- /**
14
- * Glob patterns to include
15
- */
16
- include?: string[];
17
- /**
18
- * Glob patterns to exclude
19
- */
20
- exclude?: string[];
21
- };
22
- export declare class FilesWatcher {
23
- /**
24
- * File watcher id
25
- */
26
- private id;
27
- /**
28
- * Watch for files changes
29
- * @param config Optional watch configuration
30
- */
31
- watch(config?: WatchConfig): Promise<void>;
32
- /**
33
- * Trigger event immediately (no debouncing here)
34
- * Debouncing is handled at the orchestrator level for batch processing
35
- */
36
- private triggerEvent;
37
- /**
38
- * On file change event
39
- */
40
- onFileChange(callback: FileChangeCallback): import("@mongez/events").EventSubscription;
41
- /**
42
- * On file delete event
43
- */
44
- onFileDelete(callback: FileDeleteCallback): import("@mongez/events").EventSubscription;
45
- /**
46
- * On file add event
47
- */
48
- onFileAdd(callback: FileAddCallback): import("@mongez/events").EventSubscription;
49
- /**
50
- * On file error event
51
- */
52
- onFileError(callback: FileErrorCallback): import("@mongez/events").EventSubscription;
53
- /**
54
- * On file add dir event
55
- */
56
- onDirectoryAdd(callback: FileAddDirCallback): import("@mongez/events").EventSubscription;
57
- /**
58
- * On file unlink dir event
59
- */
60
- onDirectoryRemove(callback: FileUnlinkDirCallback): import("@mongez/events").EventSubscription;
61
- /**
62
- * On file event
63
- */
64
- on(event: FileWatcherEvent, callback: OnFileEventCallback): import("@mongez/events").EventSubscription;
65
- }
66
- export {};
67
- //# sourceMappingURL=files-watcher.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files-watcher.d.ts","sourceRoot":"","sources":["../../src/dev2-server/files-watcher.ts"],"names":[],"mappings":"AAMA,KAAK,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEvF,KAAK,kBAAkB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;AACrD,KAAK,kBAAkB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;AACrD,KAAK,eAAe,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;AAClD,KAAK,iBAAiB,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AAClE,KAAK,kBAAkB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;AACrD,KAAK,qBAAqB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;AACxD,KAAK,mBAAmB,GACpB,kBAAkB,GAClB,kBAAkB,GAClB,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,qBAAqB,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAOF,qBAAa,YAAY;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAmB;IAE7B;;;OAGG;IACU,KAAK,CAAC,MAAM,CAAC,EAAE,WAAW;IAqCvC;;;OAGG;IACH,OAAO,CAAC,YAAY;IAIpB;;OAEG;IACI,YAAY,CAAC,QAAQ,EAAE,kBAAkB;IAIhD;;OAEG;IACI,YAAY,CAAC,QAAQ,EAAE,kBAAkB;IAIhD;;OAEG;IACI,SAAS,CAAC,QAAQ,EAAE,eAAe;IAI1C;;OAEG;IACI,WAAW,CAAC,QAAQ,EAAE,iBAAiB;IAI9C;;OAEG;IACI,cAAc,CAAC,QAAQ,EAAE,kBAAkB;IAIlD;;OAEG;IACI,iBAAiB,CAAC,QAAQ,EAAE,qBAAqB;IAIxD;;OAEG;IACI,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,mBAAmB;CAGjE"}
@@ -1,95 +0,0 @@
1
- import events from'@mongez/events';import {Random}from'@mongez/reinforcements';import chokidar from'chokidar';import'@warlock.js/logger';import'@warlock.js/cascade';import'../utils/date-output.js';import'../http/middleware/inject-request-context.js';import {rootPath,srcPath}from'../utils/paths.js';import'@mongez/slug';import'@mongez/supportive-is';import {Path}from'./path.js';/**
2
- * Default patterns to exclude from watching
3
- */
4
- const DEFAULT_EXCLUDE = ["**/node_modules/**", "**/dist/**", "**/.warlock/**", "**/.git/**"];
5
- class FilesWatcher {
6
- /**
7
- * File watcher id
8
- */
9
- id = Random.string();
10
- /**
11
- * Watch for files changes
12
- * @param config Optional watch configuration
13
- */
14
- async watch(config) {
15
- // watch for .env file change and any changes in the src directory
16
- const paths = [rootPath(".env"), srcPath()].map((path) => Path.normalize(path));
17
- // Merge default exclude with config exclude
18
- const ignored = [...DEFAULT_EXCLUDE, ...(config?.exclude || [])];
19
- const watcher = chokidar.watch(paths, {
20
- ignoreInitial: true,
21
- ignored,
22
- persistent: true,
23
- usePolling: false,
24
- interval: 100,
25
- binaryInterval: 300,
26
- awaitWriteFinish: {
27
- stabilityThreshold: 100,
28
- pollInterval: 50,
29
- },
30
- // On Windows, explicitly enable recursive watching
31
- depth: 99,
32
- });
33
- watcher.on("add", (filePath) => this.triggerEvent("add", filePath));
34
- watcher.on("change", (filePath) => this.triggerEvent("change", filePath));
35
- watcher.on("unlink", (filePath) => this.triggerEvent("delete", filePath));
36
- watcher.on("addDir", (filePath) => this.triggerEvent("addDir", filePath));
37
- watcher.on("unlinkDir", (filePath) => this.triggerEvent("unlinkDir", filePath));
38
- // watcher.on("error", (error: Error, filePath: string) =>
39
- // this.triggerEvent("error", filePath, error),
40
- // );
41
- // Cleanup on process exit
42
- process.on("SIGINT", async () => {
43
- await watcher.close();
44
- });
45
- }
46
- /**
47
- * Trigger event immediately (no debouncing here)
48
- * Debouncing is handled at the orchestrator level for batch processing
49
- */
50
- triggerEvent(event, filePath, error) {
51
- events.trigger(`file-watcher.${this.id}.${event}`, Path.normalize(filePath), error);
52
- }
53
- /**
54
- * On file change event
55
- */
56
- onFileChange(callback) {
57
- return this.on("change", callback);
58
- }
59
- /**
60
- * On file delete event
61
- */
62
- onFileDelete(callback) {
63
- return this.on("delete", callback);
64
- }
65
- /**
66
- * On file add event
67
- */
68
- onFileAdd(callback) {
69
- return this.on("add", callback);
70
- }
71
- /**
72
- * On file error event
73
- */
74
- onFileError(callback) {
75
- return this.on("error", callback);
76
- }
77
- /**
78
- * On file add dir event
79
- */
80
- onDirectoryAdd(callback) {
81
- return this.on("addDir", callback);
82
- }
83
- /**
84
- * On file unlink dir event
85
- */
86
- onDirectoryRemove(callback) {
87
- return this.on("unlinkDir", callback);
88
- }
89
- /**
90
- * On file event
91
- */
92
- on(event, callback) {
93
- return events.subscribe(`file-watcher.${this.id}.${event}`, callback);
94
- }
95
- }export{FilesWatcher};//# sourceMappingURL=files-watcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files-watcher.js","sources":["../../src/dev2-server/files-watcher.ts"],"sourcesContent":[null],"names":[],"mappings":"2XAoCA;;AAEG;AACH,MAAM,eAAe,G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AAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;KACpC;AAED;;AAEG;AACI,IAAA,iBAAiB,CAAC,QAA+B,EAAA;QACtD,OAAO,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;KACvC;AAED;;AAEG;IACI,EAAE,CAAC,KAAuB,EAAE,QAA6B,EAAA;AAC9D,QAAA,OAAO,MAAM,CAAC,SAAS,CAAC,gBAAgB,IAAI,CAAC,EAAE,CAAA,CAAA,EAAI,KAAK,CAAA,CAAE,EAAE,QAAQ,CAAC,CAAC;KACvE;AACF"}
@@ -1,10 +0,0 @@
1
- export declare const MANIFEST_PATH: string;
2
- /**
3
- * Number of files to process in parallel per batch
4
- * Adjust this value to optimize performance vs memory usage
5
- * - Lower values (10-20): More stable, less memory, slower
6
- * - Higher values (100-200): Faster, more memory, potential instability
7
- * - Recommended: 50 for most projects
8
- */
9
- export declare const FILE_PROCESSING_BATCH_SIZE = 500;
10
- //# sourceMappingURL=flags.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../../src/dev2-server/flags.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAA+B,CAAC;AAE1D;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,MAAM,CAAC"}