@ohos-ports/nx 23.2.0-beta.0 → 23.2.1-beta.0

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 (1349) hide show
  1. package/README.md +13 -60
  2. package/local-natives.js +59 -0
  3. package/package.json +9 -534
  4. package/LICENSE +0 -22
  5. package/dist/bin/init-local.d.ts +0 -8
  6. package/dist/bin/init-local.js +0 -186
  7. package/dist/bin/nx-cloud.d.ts +0 -3
  8. package/dist/bin/nx-cloud.js +0 -47
  9. package/dist/bin/nx.d.ts +0 -3
  10. package/dist/bin/nx.js +0 -341
  11. package/dist/bin/post-install.d.ts +0 -1
  12. package/dist/bin/post-install.js +0 -52
  13. package/dist/bin/run-executor.d.ts +0 -1
  14. package/dist/bin/run-executor.js +0 -66
  15. package/dist/plugins/package-json.d.ts +0 -4
  16. package/dist/plugins/package-json.js +0 -40
  17. package/dist/presets/core.json +0 -1
  18. package/dist/presets/npm.json +0 -7
  19. package/dist/release/changelog-renderer/index.d.ts +0 -110
  20. package/dist/release/changelog-renderer/index.js +0 -381
  21. package/dist/release/index.d.ts +0 -4
  22. package/dist/release/index.js +0 -13
  23. package/dist/src/adapter/angular-json.d.ts +0 -10
  24. package/dist/src/adapter/angular-json.js +0 -129
  25. package/dist/src/adapter/compat.d.ts +0 -2
  26. package/dist/src/adapter/compat.js +0 -154
  27. package/dist/src/adapter/ngcli-adapter.d.ts +0 -105
  28. package/dist/src/adapter/ngcli-adapter.js +0 -1083
  29. package/dist/src/adapter/rxjs-for-await.d.ts +0 -109
  30. package/dist/src/adapter/rxjs-for-await.js +0 -362
  31. package/dist/src/ai/clone-ai-config-repo.d.ts +0 -11
  32. package/dist/src/ai/clone-ai-config-repo.js +0 -155
  33. package/dist/src/ai/configure-ai-agents-disclaimer.d.ts +0 -5
  34. package/dist/src/ai/configure-ai-agents-disclaimer.js +0 -31
  35. package/dist/src/ai/constants.d.ts +0 -46
  36. package/dist/src/ai/constants.js +0 -92
  37. package/dist/src/ai/detect-ai-agent.d.ts +0 -2
  38. package/dist/src/ai/detect-ai-agent.js +0 -12
  39. package/dist/src/ai/set-up-ai-agents/get-agent-rules.d.ts +0 -5
  40. package/dist/src/ai/set-up-ai-agents/get-agent-rules.js +0 -26
  41. package/dist/src/ai/set-up-ai-agents/schema.d.ts +0 -11
  42. package/dist/src/ai/set-up-ai-agents/schema.json +0 -34
  43. package/dist/src/ai/set-up-ai-agents/set-up-ai-agents.d.ts +0 -10
  44. package/dist/src/ai/set-up-ai-agents/set-up-ai-agents.js +0 -578
  45. package/dist/src/ai/utils.d.ts +0 -33
  46. package/dist/src/ai/utils.js +0 -246
  47. package/dist/src/analytics/analytics.d.ts +0 -16
  48. package/dist/src/analytics/analytics.js +0 -246
  49. package/dist/src/analytics/index.d.ts +0 -1
  50. package/dist/src/analytics/index.js +0 -12
  51. package/dist/src/command-line/add/add.d.ts +0 -3
  52. package/dist/src/command-line/add/add.js +0 -138
  53. package/dist/src/command-line/add/command-object.d.ts +0 -8
  54. package/dist/src/command-line/add/command-object.js +0 -28
  55. package/dist/src/command-line/add/completion.d.ts +0 -1
  56. package/dist/src/command-line/add/completion.js +0 -15
  57. package/dist/src/command-line/affected/affected.d.ts +0 -10
  58. package/dist/src/command-line/affected/affected.js +0 -90
  59. package/dist/src/command-line/affected/command-object.d.ts +0 -6
  60. package/dist/src/command-line/affected/command-object.js +0 -83
  61. package/dist/src/command-line/affected/completion.d.ts +0 -1
  62. package/dist/src/command-line/affected/completion.js +0 -15
  63. package/dist/src/command-line/ai/ai-output.d.ts +0 -46
  64. package/dist/src/command-line/ai/ai-output.js +0 -86
  65. package/dist/src/command-line/completion/argv-layout.d.ts +0 -6
  66. package/dist/src/command-line/completion/argv-layout.js +0 -19
  67. package/dist/src/command-line/completion/command-completions.d.ts +0 -19
  68. package/dist/src/command-line/completion/command-completions.js +0 -120
  69. package/dist/src/command-line/completion/command-handlers.d.ts +0 -30
  70. package/dist/src/command-line/completion/command-handlers.js +0 -69
  71. package/dist/src/command-line/completion/command-object.d.ts +0 -10
  72. package/dist/src/command-line/completion/command-object.js +0 -102
  73. package/dist/src/command-line/completion/completion-providers.d.ts +0 -21
  74. package/dist/src/command-line/completion/completion-providers.js +0 -194
  75. package/dist/src/command-line/completion/infix-targets.d.ts +0 -1
  76. package/dist/src/command-line/completion/infix-targets.js +0 -48
  77. package/dist/src/command-line/completion/metadata.d.ts +0 -22
  78. package/dist/src/command-line/completion/metadata.js +0 -71
  79. package/dist/src/command-line/completion/registrations.d.ts +0 -9
  80. package/dist/src/command-line/completion/registrations.js +0 -16
  81. package/dist/src/command-line/completion/scripts/bash.sh +0 -51
  82. package/dist/src/command-line/completion/scripts/fish.fish +0 -47
  83. package/dist/src/command-line/completion/scripts/powershell.ps1 +0 -52
  84. package/dist/src/command-line/completion/scripts/zsh.zsh +0 -69
  85. package/dist/src/command-line/completion/scripts.d.ts +0 -18
  86. package/dist/src/command-line/completion/scripts.js +0 -140
  87. package/dist/src/command-line/completion/trigger.d.ts +0 -3
  88. package/dist/src/command-line/completion/trigger.js +0 -21
  89. package/dist/src/command-line/completion/value-completions.d.ts +0 -3
  90. package/dist/src/command-line/completion/value-completions.js +0 -21
  91. package/dist/src/command-line/configure-ai-agents/command-object.d.ts +0 -8
  92. package/dist/src/command-line/configure-ai-agents/command-object.js +0 -59
  93. package/dist/src/command-line/configure-ai-agents/configure-ai-agents.d.ts +0 -3
  94. package/dist/src/command-line/configure-ai-agents/configure-ai-agents.js +0 -436
  95. package/dist/src/command-line/daemon/command-object.d.ts +0 -3
  96. package/dist/src/command-line/daemon/command-object.js +0 -29
  97. package/dist/src/command-line/daemon/daemon.d.ts +0 -2
  98. package/dist/src/command-line/daemon/daemon.js +0 -31
  99. package/dist/src/command-line/deprecated/command-objects.d.ts +0 -9
  100. package/dist/src/command-line/deprecated/command-objects.js +0 -48
  101. package/dist/src/command-line/examples.d.ts +0 -12
  102. package/dist/src/command-line/examples.js +0 -403
  103. package/dist/src/command-line/exec/command-object.d.ts +0 -2
  104. package/dist/src/command-line/exec/command-object.js +0 -20
  105. package/dist/src/command-line/exec/exec.d.ts +0 -1
  106. package/dist/src/command-line/exec/exec.js +0 -143
  107. package/dist/src/command-line/format/command-object.d.ts +0 -3
  108. package/dist/src/command-line/format/command-object.js +0 -58
  109. package/dist/src/command-line/format/format.d.ts +0 -2
  110. package/dist/src/command-line/format/format.js +0 -216
  111. package/dist/src/command-line/generate/command-object.d.ts +0 -2
  112. package/dist/src/command-line/generate/command-object.js +0 -67
  113. package/dist/src/command-line/generate/completion.d.ts +0 -1
  114. package/dist/src/command-line/generate/completion.js +0 -9
  115. package/dist/src/command-line/generate/generate.d.ts +0 -21
  116. package/dist/src/command-line/generate/generate.js +0 -281
  117. package/dist/src/command-line/generate/generator-utils.d.ts +0 -18
  118. package/dist/src/command-line/generate/generator-utils.js +0 -91
  119. package/dist/src/command-line/graph/command-object.d.ts +0 -25
  120. package/dist/src/command-line/graph/command-object.js +0 -76
  121. package/dist/src/command-line/graph/completion.d.ts +0 -1
  122. package/dist/src/command-line/graph/completion.js +0 -13
  123. package/dist/src/command-line/graph/graph.d.ts +0 -70
  124. package/dist/src/command-line/graph/graph.js +0 -987
  125. package/dist/src/command-line/import/command-object.d.ts +0 -2
  126. package/dist/src/command-line/import/command-object.js +0 -63
  127. package/dist/src/command-line/import/import.d.ts +0 -26
  128. package/dist/src/command-line/import/import.js +0 -590
  129. package/dist/src/command-line/import/utils/ai-output.d.ts +0 -93
  130. package/dist/src/command-line/import/utils/ai-output.js +0 -209
  131. package/dist/src/command-line/import/utils/merge-remote-source.d.ts +0 -2
  132. package/dist/src/command-line/import/utils/merge-remote-source.js +0 -14
  133. package/dist/src/command-line/import/utils/prepare-source-repo.d.ts +0 -2
  134. package/dist/src/command-line/import/utils/prepare-source-repo.js +0 -27
  135. package/dist/src/command-line/index.d.ts +0 -22
  136. package/dist/src/command-line/index.js +0 -26
  137. package/dist/src/command-line/init/ai-agent-prompts.d.ts +0 -2
  138. package/dist/src/command-line/init/ai-agent-prompts.js +0 -30
  139. package/dist/src/command-line/init/command-object.d.ts +0 -2
  140. package/dist/src/command-line/init/command-object.js +0 -118
  141. package/dist/src/command-line/init/configure-plugins.d.ts +0 -34
  142. package/dist/src/command-line/init/configure-plugins.js +0 -214
  143. package/dist/src/command-line/init/implementation/add-nx-to-monorepo.d.ts +0 -6
  144. package/dist/src/command-line/init/implementation/add-nx-to-monorepo.js +0 -122
  145. package/dist/src/command-line/init/implementation/add-nx-to-nest.d.ts +0 -5
  146. package/dist/src/command-line/init/implementation/add-nx-to-nest.js +0 -353
  147. package/dist/src/command-line/init/implementation/add-nx-to-npm-repo.d.ts +0 -6
  148. package/dist/src/command-line/init/implementation/add-nx-to-npm-repo.js +0 -70
  149. package/dist/src/command-line/init/implementation/add-nx-to-turborepo.d.ts +0 -4
  150. package/dist/src/command-line/init/implementation/add-nx-to-turborepo.js +0 -37
  151. package/dist/src/command-line/init/implementation/angular/index.d.ts +0 -2
  152. package/dist/src/command-line/init/implementation/angular/index.js +0 -130
  153. package/dist/src/command-line/init/implementation/angular/integrated-workspace.d.ts +0 -1
  154. package/dist/src/command-line/init/implementation/angular/integrated-workspace.js +0 -9
  155. package/dist/src/command-line/init/implementation/angular/legacy-angular-versions.d.ts +0 -2
  156. package/dist/src/command-line/init/implementation/angular/legacy-angular-versions.js +0 -155
  157. package/dist/src/command-line/init/implementation/angular/standalone-workspace.d.ts +0 -1
  158. package/dist/src/command-line/init/implementation/angular/standalone-workspace.js +0 -204
  159. package/dist/src/command-line/init/implementation/angular/types.d.ts +0 -20
  160. package/dist/src/command-line/init/implementation/angular/types.js +0 -2
  161. package/dist/src/command-line/init/implementation/check-compatible-with-plugins.d.ts +0 -15
  162. package/dist/src/command-line/init/implementation/check-compatible-with-plugins.js +0 -136
  163. package/dist/src/command-line/init/implementation/deduce-default-base.d.ts +0 -1
  164. package/dist/src/command-line/init/implementation/deduce-default-base.js +0 -53
  165. package/dist/src/command-line/init/implementation/dot-nx/add-nx-scripts.d.ts +0 -11
  166. package/dist/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +0 -151
  167. package/dist/src/command-line/init/implementation/dot-nx/nxw.d.ts +0 -1
  168. package/dist/src/command-line/init/implementation/dot-nx/nxw.js +0 -123
  169. package/dist/src/command-line/init/implementation/format.d.ts +0 -18
  170. package/dist/src/command-line/init/implementation/format.js +0 -114
  171. package/dist/src/command-line/init/implementation/utils.d.ts +0 -35
  172. package/dist/src/command-line/init/implementation/utils.js +0 -422
  173. package/dist/src/command-line/init/init-v1.d.ts +0 -8
  174. package/dist/src/command-line/init/init-v1.js +0 -101
  175. package/dist/src/command-line/init/init-v2.d.ts +0 -23
  176. package/dist/src/command-line/init/init-v2.js +0 -622
  177. package/dist/src/command-line/init/utils/ai-output.d.ts +0 -72
  178. package/dist/src/command-line/init/utils/ai-output.js +0 -180
  179. package/dist/src/command-line/list/command-object.d.ts +0 -2
  180. package/dist/src/command-line/list/command-object.js +0 -21
  181. package/dist/src/command-line/list/list.d.ts +0 -15
  182. package/dist/src/command-line/list/list.js +0 -48
  183. package/dist/src/command-line/mcp/command-object.d.ts +0 -2
  184. package/dist/src/command-line/mcp/command-object.js +0 -29
  185. package/dist/src/command-line/mcp/mcp.d.ts +0 -2
  186. package/dist/src/command-line/mcp/mcp.js +0 -60
  187. package/dist/src/command-line/migrate/agentic/capture-generator-output.d.ts +0 -22
  188. package/dist/src/command-line/migrate/agentic/capture-generator-output.js +0 -100
  189. package/dist/src/command-line/migrate/agentic/cli-args.d.ts +0 -12
  190. package/dist/src/command-line/migrate/agentic/cli-args.js +0 -38
  191. package/dist/src/command-line/migrate/agentic/definitions.d.ts +0 -6
  192. package/dist/src/command-line/migrate/agentic/definitions.js +0 -148
  193. package/dist/src/command-line/migrate/agentic/detect-installed.d.ts +0 -10
  194. package/dist/src/command-line/migrate/agentic/detect-installed.js +0 -68
  195. package/dist/src/command-line/migrate/agentic/handoff-gitignore.d.ts +0 -61
  196. package/dist/src/command-line/migrate/agentic/handoff-gitignore.js +0 -78
  197. package/dist/src/command-line/migrate/agentic/handoff.d.ts +0 -69
  198. package/dist/src/command-line/migrate/agentic/handoff.js +0 -193
  199. package/dist/src/command-line/migrate/agentic/inception.d.ts +0 -9
  200. package/dist/src/command-line/migrate/agentic/inception.js +0 -15
  201. package/dist/src/command-line/migrate/agentic/print-dropped-agent-context.d.ts +0 -17
  202. package/dist/src/command-line/migrate/agentic/print-dropped-agent-context.js +0 -57
  203. package/dist/src/command-line/migrate/agentic/prompts/generic-validation.d.ts +0 -56
  204. package/dist/src/command-line/migrate/agentic/prompts/generic-validation.js +0 -66
  205. package/dist/src/command-line/migrate/agentic/prompts/hybrid-prompt-migration.d.ts +0 -49
  206. package/dist/src/command-line/migrate/agentic/prompts/hybrid-prompt-migration.js +0 -53
  207. package/dist/src/command-line/migrate/agentic/prompts/prompt-migration.d.ts +0 -26
  208. package/dist/src/command-line/migrate/agentic/prompts/prompt-migration.js +0 -27
  209. package/dist/src/command-line/migrate/agentic/prompts/shared-rendering.d.ts +0 -19
  210. package/dist/src/command-line/migrate/agentic/prompts/shared-rendering.js +0 -145
  211. package/dist/src/command-line/migrate/agentic/prompts/system-prompt.d.ts +0 -46
  212. package/dist/src/command-line/migrate/agentic/prompts/system-prompt.js +0 -90
  213. package/dist/src/command-line/migrate/agentic/run-step.d.ts +0 -68
  214. package/dist/src/command-line/migrate/agentic/run-step.js +0 -124
  215. package/dist/src/command-line/migrate/agentic/runner.d.ts +0 -33
  216. package/dist/src/command-line/migrate/agentic/runner.js +0 -444
  217. package/dist/src/command-line/migrate/agentic/select.d.ts +0 -24
  218. package/dist/src/command-line/migrate/agentic/select.js +0 -251
  219. package/dist/src/command-line/migrate/agentic/types.d.ts +0 -132
  220. package/dist/src/command-line/migrate/agentic/types.js +0 -37
  221. package/dist/src/command-line/migrate/command-object.d.ts +0 -53
  222. package/dist/src/command-line/migrate/command-object.js +0 -152
  223. package/dist/src/command-line/migrate/execute-migration.d.ts +0 -91
  224. package/dist/src/command-line/migrate/execute-migration.js +0 -474
  225. package/dist/src/command-line/migrate/migrate-analytics.d.ts +0 -106
  226. package/dist/src/command-line/migrate/migrate-analytics.js +0 -317
  227. package/dist/src/command-line/migrate/migrate-commits.d.ts +0 -80
  228. package/dist/src/command-line/migrate/migrate-commits.js +0 -217
  229. package/dist/src/command-line/migrate/migrate-config.d.ts +0 -29
  230. package/dist/src/command-line/migrate/migrate-config.js +0 -112
  231. package/dist/src/command-line/migrate/migrate-output.d.ts +0 -218
  232. package/dist/src/command-line/migrate/migrate-output.js +0 -302
  233. package/dist/src/command-line/migrate/migrate-ui-api.d.ts +0 -89
  234. package/dist/src/command-line/migrate/migrate-ui-api.js +0 -437
  235. package/dist/src/command-line/migrate/migrate.d.ts +0 -242
  236. package/dist/src/command-line/migrate/migrate.js +0 -2807
  237. package/dist/src/command-line/migrate/migration-shape.d.ts +0 -16
  238. package/dist/src/command-line/migrate/migration-shape.js +0 -13
  239. package/dist/src/command-line/migrate/multi-major.d.ts +0 -37
  240. package/dist/src/command-line/migrate/multi-major.js +0 -215
  241. package/dist/src/command-line/migrate/prompt-files.d.ts +0 -31
  242. package/dist/src/command-line/migrate/prompt-files.js +0 -141
  243. package/dist/src/command-line/migrate/resolve-package-version.d.ts +0 -24
  244. package/dist/src/command-line/migrate/resolve-package-version.js +0 -245
  245. package/dist/src/command-line/migrate/run/agent-output.d.ts +0 -20
  246. package/dist/src/command-line/migrate/run/agent-output.js +0 -65
  247. package/dist/src/command-line/migrate/run/index.d.ts +0 -9
  248. package/dist/src/command-line/migrate/run/index.js +0 -23
  249. package/dist/src/command-line/migrate/run/orchestrator.d.ts +0 -20
  250. package/dist/src/command-line/migrate/run/orchestrator.js +0 -1200
  251. package/dist/src/command-line/migrate/run/run-id.d.ts +0 -16
  252. package/dist/src/command-line/migrate/run/run-id.js +0 -56
  253. package/dist/src/command-line/migrate/run/run-state.d.ts +0 -157
  254. package/dist/src/command-line/migrate/run/run-state.js +0 -438
  255. package/dist/src/command-line/migrate/run/state-lock.d.ts +0 -25
  256. package/dist/src/command-line/migrate/run/state-lock.js +0 -76
  257. package/dist/src/command-line/migrate/run/state-machine.d.ts +0 -84
  258. package/dist/src/command-line/migrate/run/state-machine.js +0 -315
  259. package/dist/src/command-line/migrate/run/util.d.ts +0 -59
  260. package/dist/src/command-line/migrate/run/util.js +0 -148
  261. package/dist/src/command-line/migrate/run/worker.d.ts +0 -16
  262. package/dist/src/command-line/migrate/run/worker.js +0 -682
  263. package/dist/src/command-line/migrate/run-migration-process.js +0 -110
  264. package/dist/src/command-line/migrate/safe-prompt.d.ts +0 -21
  265. package/dist/src/command-line/migrate/safe-prompt.js +0 -47
  266. package/dist/src/command-line/migrate/sort-migrations.d.ts +0 -16
  267. package/dist/src/command-line/migrate/sort-migrations.js +0 -32
  268. package/dist/src/command-line/migrate/step-actions.d.ts +0 -5
  269. package/dist/src/command-line/migrate/step-actions.js +0 -12
  270. package/dist/src/command-line/migrate/text.d.ts +0 -18
  271. package/dist/src/command-line/migrate/text.js +0 -26
  272. package/dist/src/command-line/migrate/update-filters.d.ts +0 -11
  273. package/dist/src/command-line/migrate/update-filters.js +0 -45
  274. package/dist/src/command-line/migrate/version-skew-guard.d.ts +0 -60
  275. package/dist/src/command-line/migrate/version-skew-guard.js +0 -175
  276. package/dist/src/command-line/migrate/version-utils.d.ts +0 -5
  277. package/dist/src/command-line/migrate/version-utils.js +0 -52
  278. package/dist/src/command-line/new/command-object.d.ts +0 -2
  279. package/dist/src/command-line/new/command-object.js +0 -26
  280. package/dist/src/command-line/new/new.d.ts +0 -3
  281. package/dist/src/command-line/new/new.js +0 -30
  282. package/dist/src/command-line/nx-cloud/apply-locally/apply-locally.d.ts +0 -4
  283. package/dist/src/command-line/nx-cloud/apply-locally/apply-locally.js +0 -13
  284. package/dist/src/command-line/nx-cloud/apply-locally/command-object.d.ts +0 -2
  285. package/dist/src/command-line/nx-cloud/apply-locally/command-object.js +0 -16
  286. package/dist/src/command-line/nx-cloud/complete-run/command-object.d.ts +0 -2
  287. package/dist/src/command-line/nx-cloud/complete-run/command-object.js +0 -17
  288. package/dist/src/command-line/nx-cloud/complete-run/stop-all-agents.d.ts +0 -4
  289. package/dist/src/command-line/nx-cloud/complete-run/stop-all-agents.js +0 -13
  290. package/dist/src/command-line/nx-cloud/connect/command-object.d.ts +0 -3
  291. package/dist/src/command-line/nx-cloud/connect/command-object.js +0 -28
  292. package/dist/src/command-line/nx-cloud/connect/connect-to-nx-cloud.d.ts +0 -13
  293. package/dist/src/command-line/nx-cloud/connect/connect-to-nx-cloud.js +0 -266
  294. package/dist/src/command-line/nx-cloud/connect/view-logs.d.ts +0 -1
  295. package/dist/src/command-line/nx-cloud/connect/view-logs.js +0 -55
  296. package/dist/src/command-line/nx-cloud/download-cloud-client/command-object.d.ts +0 -2
  297. package/dist/src/command-line/nx-cloud/download-cloud-client/command-object.js +0 -13
  298. package/dist/src/command-line/nx-cloud/download-cloud-client/download-cloud-client.d.ts +0 -4
  299. package/dist/src/command-line/nx-cloud/download-cloud-client/download-cloud-client.js +0 -32
  300. package/dist/src/command-line/nx-cloud/fix-ci/command-object.d.ts +0 -2
  301. package/dist/src/command-line/nx-cloud/fix-ci/command-object.js +0 -16
  302. package/dist/src/command-line/nx-cloud/fix-ci/fix-ci.d.ts +0 -4
  303. package/dist/src/command-line/nx-cloud/fix-ci/fix-ci.js +0 -13
  304. package/dist/src/command-line/nx-cloud/login/command-object.d.ts +0 -2
  305. package/dist/src/command-line/nx-cloud/login/command-object.js +0 -20
  306. package/dist/src/command-line/nx-cloud/login/login.d.ts +0 -5
  307. package/dist/src/command-line/nx-cloud/login/login.js +0 -10
  308. package/dist/src/command-line/nx-cloud/logout/command-object.d.ts +0 -2
  309. package/dist/src/command-line/nx-cloud/logout/command-object.js +0 -16
  310. package/dist/src/command-line/nx-cloud/logout/logout.d.ts +0 -4
  311. package/dist/src/command-line/nx-cloud/logout/logout.js +0 -7
  312. package/dist/src/command-line/nx-cloud/record/command-object.d.ts +0 -2
  313. package/dist/src/command-line/nx-cloud/record/command-object.js +0 -19
  314. package/dist/src/command-line/nx-cloud/record/record.d.ts +0 -5
  315. package/dist/src/command-line/nx-cloud/record/record.js +0 -33
  316. package/dist/src/command-line/nx-cloud/start-agent/command-object.d.ts +0 -2
  317. package/dist/src/command-line/nx-cloud/start-agent/command-object.js +0 -16
  318. package/dist/src/command-line/nx-cloud/start-agent/start-agent.d.ts +0 -4
  319. package/dist/src/command-line/nx-cloud/start-agent/start-agent.js +0 -13
  320. package/dist/src/command-line/nx-cloud/start-ci-run/command-object.d.ts +0 -2
  321. package/dist/src/command-line/nx-cloud/start-ci-run/command-object.js +0 -16
  322. package/dist/src/command-line/nx-cloud/start-ci-run/start-ci-run.d.ts +0 -4
  323. package/dist/src/command-line/nx-cloud/start-ci-run/start-ci-run.js +0 -13
  324. package/dist/src/command-line/nx-cloud/start-nx-agents/command-object.d.ts +0 -2
  325. package/dist/src/command-line/nx-cloud/start-nx-agents/command-object.js +0 -16
  326. package/dist/src/command-line/nx-cloud/start-nx-agents/start-nx-agents.d.ts +0 -4
  327. package/dist/src/command-line/nx-cloud/start-nx-agents/start-nx-agents.js +0 -13
  328. package/dist/src/command-line/nx-cloud/utils.d.ts +0 -2
  329. package/dist/src/command-line/nx-cloud/utils.js +0 -34
  330. package/dist/src/command-line/nx-commands.d.ts +0 -10
  331. package/dist/src/command-line/nx-commands.js +0 -183
  332. package/dist/src/command-line/register/command-object.d.ts +0 -6
  333. package/dist/src/command-line/register/command-object.js +0 -27
  334. package/dist/src/command-line/register/register.d.ts +0 -2
  335. package/dist/src/command-line/register/register.js +0 -9
  336. package/dist/src/command-line/release/changelog/commit-utils.d.ts +0 -13
  337. package/dist/src/command-line/release/changelog/commit-utils.js +0 -63
  338. package/dist/src/command-line/release/changelog/version-plan-filtering.d.ts +0 -43
  339. package/dist/src/command-line/release/changelog/version-plan-filtering.js +0 -156
  340. package/dist/src/command-line/release/changelog/version-plan-utils.d.ts +0 -31
  341. package/dist/src/command-line/release/changelog/version-plan-utils.js +0 -92
  342. package/dist/src/command-line/release/changelog.d.ts +0 -28
  343. package/dist/src/command-line/release/changelog.js +0 -905
  344. package/dist/src/command-line/release/command-object.d.ts +0 -96
  345. package/dist/src/command-line/release/command-object.js +0 -342
  346. package/dist/src/command-line/release/config/config.d.ts +0 -70
  347. package/dist/src/command-line/release/config/config.js +0 -1204
  348. package/dist/src/command-line/release/config/conventional-commits.d.ts +0 -2
  349. package/dist/src/command-line/release/config/conventional-commits.js +0 -106
  350. package/dist/src/command-line/release/config/deep-merge-json.d.ts +0 -1
  351. package/dist/src/command-line/release/config/deep-merge-json.js +0 -28
  352. package/dist/src/command-line/release/config/filter-release-groups.d.ts +0 -23
  353. package/dist/src/command-line/release/config/filter-release-groups.js +0 -157
  354. package/dist/src/command-line/release/config/use-legacy-versioning.d.ts +0 -2
  355. package/dist/src/command-line/release/config/use-legacy-versioning.js +0 -8
  356. package/dist/src/command-line/release/config/version-plans.d.ts +0 -42
  357. package/dist/src/command-line/release/config/version-plans.js +0 -278
  358. package/dist/src/command-line/release/index.d.ts +0 -49
  359. package/dist/src/command-line/release/index.js +0 -49
  360. package/dist/src/command-line/release/plan-check.d.ts +0 -4
  361. package/dist/src/command-line/release/plan-check.js +0 -170
  362. package/dist/src/command-line/release/plan.d.ts +0 -4
  363. package/dist/src/command-line/release/plan.js +0 -248
  364. package/dist/src/command-line/release/publish.d.ts +0 -9
  365. package/dist/src/command-line/release/publish.js +0 -295
  366. package/dist/src/command-line/release/release.d.ts +0 -5
  367. package/dist/src/command-line/release/release.js +0 -299
  368. package/dist/src/command-line/release/utils/diff.d.ts +0 -21
  369. package/dist/src/command-line/release/utils/diff.js +0 -168
  370. package/dist/src/command-line/release/utils/exec-command.d.ts +0 -1
  371. package/dist/src/command-line/release/utils/exec-command.js +0 -34
  372. package/dist/src/command-line/release/utils/generate-version-plan-content.d.ts +0 -1
  373. package/dist/src/command-line/release/utils/generate-version-plan-content.js +0 -20
  374. package/dist/src/command-line/release/utils/get-touched-projects-for-group.d.ts +0 -7
  375. package/dist/src/command-line/release/utils/get-touched-projects-for-group.js +0 -78
  376. package/dist/src/command-line/release/utils/git.d.ts +0 -126
  377. package/dist/src/command-line/release/utils/git.js +0 -597
  378. package/dist/src/command-line/release/utils/launch-editor.d.ts +0 -1
  379. package/dist/src/command-line/release/utils/launch-editor.js +0 -46
  380. package/dist/src/command-line/release/utils/markdown.d.ts +0 -6
  381. package/dist/src/command-line/release/utils/markdown.js +0 -28
  382. package/dist/src/command-line/release/utils/print-changes.d.ts +0 -6
  383. package/dist/src/command-line/release/utils/print-changes.js +0 -63
  384. package/dist/src/command-line/release/utils/print-config.d.ts +0 -7
  385. package/dist/src/command-line/release/utils/print-config.js +0 -36
  386. package/dist/src/command-line/release/utils/release-graph.d.ts +0 -248
  387. package/dist/src/command-line/release/utils/release-graph.js +0 -769
  388. package/dist/src/command-line/release/utils/remote-release-clients/extract-repo-slug.d.ts +0 -9
  389. package/dist/src/command-line/release/utils/remote-release-clients/extract-repo-slug.js +0 -61
  390. package/dist/src/command-line/release/utils/remote-release-clients/github.d.ts +0 -58
  391. package/dist/src/command-line/release/utils/remote-release-clients/github.js +0 -336
  392. package/dist/src/command-line/release/utils/remote-release-clients/gitlab.d.ts +0 -62
  393. package/dist/src/command-line/release/utils/remote-release-clients/gitlab.js +0 -259
  394. package/dist/src/command-line/release/utils/remote-release-clients/remote-release-client.d.ts +0 -111
  395. package/dist/src/command-line/release/utils/remote-release-clients/remote-release-client.js +0 -138
  396. package/dist/src/command-line/release/utils/repository-git-tags.d.ts +0 -25
  397. package/dist/src/command-line/release/utils/repository-git-tags.js +0 -125
  398. package/dist/src/command-line/release/utils/resolve-changelog-renderer.d.ts +0 -2
  399. package/dist/src/command-line/release/utils/resolve-changelog-renderer.js +0 -22
  400. package/dist/src/command-line/release/utils/resolve-nx-json-error-message.d.ts +0 -1
  401. package/dist/src/command-line/release/utils/resolve-nx-json-error-message.js +0 -53
  402. package/dist/src/command-line/release/utils/resolve-semver-specifier.d.ts +0 -7
  403. package/dist/src/command-line/release/utils/resolve-semver-specifier.js +0 -41
  404. package/dist/src/command-line/release/utils/semver.d.ts +0 -26
  405. package/dist/src/command-line/release/utils/semver.js +0 -111
  406. package/dist/src/command-line/release/utils/shared-legacy.d.ts +0 -25
  407. package/dist/src/command-line/release/utils/shared-legacy.js +0 -2
  408. package/dist/src/command-line/release/utils/shared.d.ts +0 -64
  409. package/dist/src/command-line/release/utils/shared.js +0 -379
  410. package/dist/src/command-line/release/utils/version-plan-utils.d.ts +0 -40
  411. package/dist/src/command-line/release/utils/version-plan-utils.js +0 -111
  412. package/dist/src/command-line/release/version/derive-specifier-from-conventional-commits.d.ts +0 -8
  413. package/dist/src/command-line/release/version/derive-specifier-from-conventional-commits.js +0 -61
  414. package/dist/src/command-line/release/version/deriver-specifier-from-version-plans.d.ts +0 -8
  415. package/dist/src/command-line/release/version/deriver-specifier-from-version-plans.js +0 -59
  416. package/dist/src/command-line/release/version/project-logger.d.ts +0 -8
  417. package/dist/src/command-line/release/version/project-logger.js +0 -47
  418. package/dist/src/command-line/release/version/release-group-processor.d.ts +0 -139
  419. package/dist/src/command-line/release/version/release-group-processor.js +0 -706
  420. package/dist/src/command-line/release/version/resolve-current-version.d.ts +0 -32
  421. package/dist/src/command-line/release/version/resolve-current-version.js +0 -240
  422. package/dist/src/command-line/release/version/topological-sort.d.ts +0 -9
  423. package/dist/src/command-line/release/version/topological-sort.js +0 -41
  424. package/dist/src/command-line/release/version/version-actions.d.ts +0 -224
  425. package/dist/src/command-line/release/version/version-actions.js +0 -255
  426. package/dist/src/command-line/release/version.d.ts +0 -28
  427. package/dist/src/command-line/release/version.js +0 -382
  428. package/dist/src/command-line/repair/command-object.d.ts +0 -2
  429. package/dist/src/command-line/repair/command-object.js +0 -21
  430. package/dist/src/command-line/repair/repair.d.ts +0 -3
  431. package/dist/src/command-line/repair/repair.js +0 -41
  432. package/dist/src/command-line/report/command-object.d.ts +0 -2
  433. package/dist/src/command-line/report/command-object.js +0 -12
  434. package/dist/src/command-line/report/report.d.ts +0 -71
  435. package/dist/src/command-line/report/report.js +0 -405
  436. package/dist/src/command-line/reset/command-object.d.ts +0 -8
  437. package/dist/src/command-line/reset/command-object.js +0 -27
  438. package/dist/src/command-line/reset/reset.d.ts +0 -2
  439. package/dist/src/command-line/reset/reset.js +0 -185
  440. package/dist/src/command-line/run/command-object.d.ts +0 -6
  441. package/dist/src/command-line/run/command-object.js +0 -43
  442. package/dist/src/command-line/run/completion.d.ts +0 -1
  443. package/dist/src/command-line/run/completion.js +0 -7
  444. package/dist/src/command-line/run/executor-utils.d.ts +0 -12
  445. package/dist/src/command-line/run/executor-utils.js +0 -96
  446. package/dist/src/command-line/run/run-one.d.ts +0 -17
  447. package/dist/src/command-line/run/run-one.js +0 -155
  448. package/dist/src/command-line/run/run.d.ts +0 -51
  449. package/dist/src/command-line/run/run.js +0 -179
  450. package/dist/src/command-line/run-many/command-object.d.ts +0 -2
  451. package/dist/src/command-line/run-many/command-object.js +0 -18
  452. package/dist/src/command-line/run-many/completion.d.ts +0 -1
  453. package/dist/src/command-line/run-many/completion.js +0 -13
  454. package/dist/src/command-line/run-many/run-many.d.ts +0 -10
  455. package/dist/src/command-line/run-many/run-many.js +0 -90
  456. package/dist/src/command-line/show/command-object.d.ts +0 -40
  457. package/dist/src/command-line/show/command-object.js +0 -237
  458. package/dist/src/command-line/show/completion.d.ts +0 -1
  459. package/dist/src/command-line/show/completion.js +0 -27
  460. package/dist/src/command-line/show/project.d.ts +0 -2
  461. package/dist/src/command-line/show/project.js +0 -103
  462. package/dist/src/command-line/show/projects.d.ts +0 -2
  463. package/dist/src/command-line/show/projects.js +0 -80
  464. package/dist/src/command-line/show/show-target/index.d.ts +0 -3
  465. package/dist/src/command-line/show/show-target/index.js +0 -9
  466. package/dist/src/command-line/show/show-target/info.d.ts +0 -28
  467. package/dist/src/command-line/show/show-target/info.js +0 -389
  468. package/dist/src/command-line/show/show-target/inputs.d.ts +0 -2
  469. package/dist/src/command-line/show/show-target/inputs.js +0 -83
  470. package/dist/src/command-line/show/show-target/outputs.d.ts +0 -2
  471. package/dist/src/command-line/show/show-target/outputs.js +0 -70
  472. package/dist/src/command-line/show/show-target/utils.d.ts +0 -54
  473. package/dist/src/command-line/show/show-target/utils.js +0 -265
  474. package/dist/src/command-line/sync/command-object.d.ts +0 -6
  475. package/dist/src/command-line/sync/command-object.js +0 -21
  476. package/dist/src/command-line/sync/sync.d.ts +0 -6
  477. package/dist/src/command-line/sync/sync.js +0 -120
  478. package/dist/src/command-line/watch/command-object.d.ts +0 -2
  479. package/dist/src/command-line/watch/command-object.js +0 -91
  480. package/dist/src/command-line/watch/completion.d.ts +0 -1
  481. package/dist/src/command-line/watch/completion.js +0 -10
  482. package/dist/src/command-line/watch/watch.d.ts +0 -31
  483. package/dist/src/command-line/watch/watch.js +0 -211
  484. package/dist/src/command-line/yargs-utils/arguments-of.d.ts +0 -11
  485. package/dist/src/command-line/yargs-utils/arguments-of.js +0 -9
  486. package/dist/src/command-line/yargs-utils/documentation.d.ts +0 -2
  487. package/dist/src/command-line/yargs-utils/documentation.js +0 -12
  488. package/dist/src/command-line/yargs-utils/shared-options.d.ts +0 -91
  489. package/dist/src/command-line/yargs-utils/shared-options.js +0 -397
  490. package/dist/src/commands-runner/command-graph.d.ts +0 -13
  491. package/dist/src/commands-runner/command-graph.js +0 -2
  492. package/dist/src/commands-runner/create-command-graph.d.ts +0 -4
  493. package/dist/src/commands-runner/create-command-graph.js +0 -72
  494. package/dist/src/commands-runner/get-command-projects.d.ts +0 -3
  495. package/dist/src/commands-runner/get-command-projects.js +0 -33
  496. package/dist/src/config/calculate-default-project-name.d.ts +0 -4
  497. package/dist/src/config/calculate-default-project-name.js +0 -41
  498. package/dist/src/config/configuration.d.ts +0 -8
  499. package/dist/src/config/configuration.js +0 -17
  500. package/dist/src/config/misc-interfaces.d.ts +0 -266
  501. package/dist/src/config/misc-interfaces.js +0 -2
  502. package/dist/src/config/nx-json.d.ts +0 -963
  503. package/dist/src/config/nx-json.js +0 -40
  504. package/dist/src/config/project-graph.d.ts +0 -137
  505. package/dist/src/config/project-graph.js +0 -45
  506. package/dist/src/config/schema-utils.d.ts +0 -37
  507. package/dist/src/config/schema-utils.js +0 -199
  508. package/dist/src/config/task-graph.d.ts +0 -6
  509. package/dist/src/config/task-graph.js +0 -2
  510. package/dist/src/config/to-project-name.d.ts +0 -5
  511. package/dist/src/config/to-project-name.js +0 -12
  512. package/dist/src/config/workspace-json-project-json.d.ts +0 -273
  513. package/dist/src/config/workspace-json-project-json.js +0 -2
  514. package/dist/src/core/graph/environment.js +0 -1
  515. package/dist/src/core/graph/favicon.ico +0 -0
  516. package/dist/src/core/graph/index.html +0 -32
  517. package/dist/src/core/graph/main.js +0 -1
  518. package/dist/src/core/graph/runtime.js +0 -1
  519. package/dist/src/core/graph/styles.css +0 -2
  520. package/dist/src/core/graph/styles.js +0 -1
  521. package/dist/src/daemon/cache.d.ts +0 -10
  522. package/dist/src/daemon/cache.js +0 -58
  523. package/dist/src/daemon/client/client.d.ts +0 -161
  524. package/dist/src/daemon/client/client.js +0 -1255
  525. package/dist/src/daemon/client/daemon-environment.d.ts +0 -64
  526. package/dist/src/daemon/client/daemon-environment.js +0 -378
  527. package/dist/src/daemon/client/daemon-socket-messenger.d.ts +0 -12
  528. package/dist/src/daemon/client/daemon-socket-messenger.js +0 -63
  529. package/dist/src/daemon/is-nx-version-mismatch.d.ts +0 -1
  530. package/dist/src/daemon/is-nx-version-mismatch.js +0 -8
  531. package/dist/src/daemon/is-on-daemon.d.ts +0 -1
  532. package/dist/src/daemon/is-on-daemon.js +0 -6
  533. package/dist/src/daemon/is-v8-serializer-enabled.d.ts +0 -5
  534. package/dist/src/daemon/is-v8-serializer-enabled.js +0 -10
  535. package/dist/src/daemon/logger.d.ts +0 -39
  536. package/dist/src/daemon/logger.js +0 -80
  537. package/dist/src/daemon/message-types/configure-ai-agents.d.ts +0 -20
  538. package/dist/src/daemon/message-types/configure-ai-agents.js +0 -19
  539. package/dist/src/daemon/message-types/daemon-message.d.ts +0 -39
  540. package/dist/src/daemon/message-types/daemon-message.js +0 -54
  541. package/dist/src/daemon/message-types/flush-sync-generator-changes-to-disk.d.ts +0 -6
  542. package/dist/src/daemon/message-types/flush-sync-generator-changes-to-disk.js +0 -11
  543. package/dist/src/daemon/message-types/force-shutdown.d.ts +0 -5
  544. package/dist/src/daemon/message-types/force-shutdown.js +0 -11
  545. package/dist/src/daemon/message-types/get-context-file-data.d.ts +0 -5
  546. package/dist/src/daemon/message-types/get-context-file-data.js +0 -11
  547. package/dist/src/daemon/message-types/get-files-in-directory.d.ts +0 -6
  548. package/dist/src/daemon/message-types/get-files-in-directory.js +0 -11
  549. package/dist/src/daemon/message-types/get-nx-workspace-files.d.ts +0 -6
  550. package/dist/src/daemon/message-types/get-nx-workspace-files.js +0 -11
  551. package/dist/src/daemon/message-types/get-registered-sync-generators.d.ts +0 -5
  552. package/dist/src/daemon/message-types/get-registered-sync-generators.js +0 -11
  553. package/dist/src/daemon/message-types/get-sync-generator-changes.d.ts +0 -6
  554. package/dist/src/daemon/message-types/get-sync-generator-changes.js +0 -11
  555. package/dist/src/daemon/message-types/glob.d.ts +0 -14
  556. package/dist/src/daemon/message-types/glob.js +0 -19
  557. package/dist/src/daemon/message-types/hash-glob.d.ts +0 -13
  558. package/dist/src/daemon/message-types/hash-glob.js +0 -19
  559. package/dist/src/daemon/message-types/nx-console.d.ts +0 -17
  560. package/dist/src/daemon/message-types/nx-console.js +0 -19
  561. package/dist/src/daemon/message-types/register-project-graph-listener.d.ts +0 -5
  562. package/dist/src/daemon/message-types/register-project-graph-listener.js +0 -11
  563. package/dist/src/daemon/message-types/run-tasks-execution-hooks.d.ts +0 -13
  564. package/dist/src/daemon/message-types/run-tasks-execution-hooks.js +0 -19
  565. package/dist/src/daemon/message-types/streaming-messages.d.ts +0 -14
  566. package/dist/src/daemon/message-types/streaming-messages.js +0 -19
  567. package/dist/src/daemon/message-types/task-history.d.ts +0 -19
  568. package/dist/src/daemon/message-types/task-history.js +0 -27
  569. package/dist/src/daemon/message-types/update-workspace-context.d.ts +0 -8
  570. package/dist/src/daemon/message-types/update-workspace-context.js +0 -11
  571. package/dist/src/daemon/sandbox-socket-hint.d.ts +0 -27
  572. package/dist/src/daemon/sandbox-socket-hint.js +0 -136
  573. package/dist/src/daemon/server/client-socket-context.d.ts +0 -23
  574. package/dist/src/daemon/server/client-socket-context.js +0 -88
  575. package/dist/src/daemon/server/dotenv-graph-changes.d.ts +0 -97
  576. package/dist/src/daemon/server/dotenv-graph-changes.js +0 -284
  577. package/dist/src/daemon/server/file-watching/changed-projects.d.ts +0 -10
  578. package/dist/src/daemon/server/file-watching/changed-projects.js +0 -53
  579. package/dist/src/daemon/server/file-watching/file-change-events.d.ts +0 -7
  580. package/dist/src/daemon/server/file-watching/file-change-events.js +0 -19
  581. package/dist/src/daemon/server/file-watching/file-watcher-sockets.d.ts +0 -17
  582. package/dist/src/daemon/server/file-watching/file-watcher-sockets.js +0 -82
  583. package/dist/src/daemon/server/file-watching/route-workspace-changes.d.ts +0 -9
  584. package/dist/src/daemon/server/file-watching/route-workspace-changes.js +0 -76
  585. package/dist/src/daemon/server/handle-client-env.d.ts +0 -8
  586. package/dist/src/daemon/server/handle-client-env.js +0 -92
  587. package/dist/src/daemon/server/handle-configure-ai-agents.d.ts +0 -3
  588. package/dist/src/daemon/server/handle-configure-ai-agents.js +0 -101
  589. package/dist/src/daemon/server/handle-context-file-data.d.ts +0 -2
  590. package/dist/src/daemon/server/handle-context-file-data.js +0 -12
  591. package/dist/src/daemon/server/handle-flush-sync-generator-changes-to-disk.d.ts +0 -2
  592. package/dist/src/daemon/server/handle-flush-sync-generator-changes-to-disk.js +0 -11
  593. package/dist/src/daemon/server/handle-force-shutdown.d.ts +0 -5
  594. package/dist/src/daemon/server/handle-force-shutdown.js +0 -18
  595. package/dist/src/daemon/server/handle-get-files-in-directory.d.ts +0 -2
  596. package/dist/src/daemon/server/handle-get-files-in-directory.js +0 -12
  597. package/dist/src/daemon/server/handle-get-registered-sync-generators.d.ts +0 -2
  598. package/dist/src/daemon/server/handle-get-registered-sync-generators.js +0 -11
  599. package/dist/src/daemon/server/handle-get-sync-generator-changes.d.ts +0 -2
  600. package/dist/src/daemon/server/handle-get-sync-generator-changes.js +0 -20
  601. package/dist/src/daemon/server/handle-glob.d.ts +0 -3
  602. package/dist/src/daemon/server/handle-glob.js +0 -20
  603. package/dist/src/daemon/server/handle-hash-glob.d.ts +0 -3
  604. package/dist/src/daemon/server/handle-hash-glob.js +0 -20
  605. package/dist/src/daemon/server/handle-hash-tasks.d.ts +0 -12
  606. package/dist/src/daemon/server/handle-hash-tasks.js +0 -28
  607. package/dist/src/daemon/server/handle-nx-console.d.ts +0 -3
  608. package/dist/src/daemon/server/handle-nx-console.js +0 -54
  609. package/dist/src/daemon/server/handle-nx-workspace-files.d.ts +0 -2
  610. package/dist/src/daemon/server/handle-nx-workspace-files.js +0 -12
  611. package/dist/src/daemon/server/handle-outputs-changes.d.ts +0 -10
  612. package/dist/src/daemon/server/handle-outputs-changes.js +0 -86
  613. package/dist/src/daemon/server/handle-outputs-tracking.d.ts +0 -15
  614. package/dist/src/daemon/server/handle-outputs-tracking.js +0 -35
  615. package/dist/src/daemon/server/handle-process-in-background.d.ts +0 -6
  616. package/dist/src/daemon/server/handle-process-in-background.js +0 -32
  617. package/dist/src/daemon/server/handle-request-project-graph.d.ts +0 -3
  618. package/dist/src/daemon/server/handle-request-project-graph.js +0 -36
  619. package/dist/src/daemon/server/handle-request-shutdown.d.ts +0 -5
  620. package/dist/src/daemon/server/handle-request-shutdown.js +0 -27
  621. package/dist/src/daemon/server/handle-task-history.d.ts +0 -13
  622. package/dist/src/daemon/server/handle-task-history.js +0 -30
  623. package/dist/src/daemon/server/handle-tasks-execution-hooks.d.ts +0 -19
  624. package/dist/src/daemon/server/handle-tasks-execution-hooks.js +0 -35
  625. package/dist/src/daemon/server/handle-update-workspace-context.d.ts +0 -2
  626. package/dist/src/daemon/server/handle-update-workspace-context.js +0 -11
  627. package/dist/src/daemon/server/latest-nx.d.ts +0 -10
  628. package/dist/src/daemon/server/latest-nx.js +0 -56
  629. package/dist/src/daemon/server/nx-console-operations.d.ts +0 -26
  630. package/dist/src/daemon/server/nx-console-operations.js +0 -97
  631. package/dist/src/daemon/server/outputs-tracking.d.ts +0 -23
  632. package/dist/src/daemon/server/outputs-tracking.js +0 -120
  633. package/dist/src/daemon/server/project-graph-incremental-recomputation.d.ts +0 -47
  634. package/dist/src/daemon/server/project-graph-incremental-recomputation.js +0 -660
  635. package/dist/src/daemon/server/project-graph-listener-sockets.d.ts +0 -7
  636. package/dist/src/daemon/server/project-graph-listener-sockets.js +0 -25
  637. package/dist/src/daemon/server/server.d.ts +0 -10
  638. package/dist/src/daemon/server/server.js +0 -465
  639. package/dist/src/daemon/server/shutdown-utils.d.ts +0 -23
  640. package/dist/src/daemon/server/shutdown-utils.js +0 -159
  641. package/dist/src/daemon/server/start.d.ts +0 -1
  642. package/dist/src/daemon/server/start.js +0 -20
  643. package/dist/src/daemon/server/sync-generators.d.ts +0 -14
  644. package/dist/src/daemon/server/sync-generators.js +0 -368
  645. package/dist/src/daemon/server/watcher.d.ts +0 -18
  646. package/dist/src/daemon/server/watcher.js +0 -126
  647. package/dist/src/daemon/socket-utils.d.ts +0 -43
  648. package/dist/src/daemon/socket-utils.js +0 -131
  649. package/dist/src/daemon/tmp-dir.d.ts +0 -62
  650. package/dist/src/daemon/tmp-dir.js +0 -477
  651. package/dist/src/devkit-exports.d.ts +0 -139
  652. package/dist/src/devkit-exports.js +0 -143
  653. package/dist/src/devkit-internals.d.ts +0 -144
  654. package/dist/src/devkit-internals.js +0 -331
  655. package/dist/src/devkit-testing-exports.d.ts +0 -2
  656. package/dist/src/devkit-testing-exports.js +0 -8
  657. package/dist/src/executors/noop/noop.impl.d.ts +0 -3
  658. package/dist/src/executors/noop/noop.impl.js +0 -6
  659. package/dist/src/executors/noop/schema.json +0 -10
  660. package/dist/src/executors/run-commands/run-commands.impl.d.ts +0 -59
  661. package/dist/src/executors/run-commands/run-commands.impl.js +0 -301
  662. package/dist/src/executors/run-commands/running-tasks.d.ts +0 -52
  663. package/dist/src/executors/run-commands/running-tasks.js +0 -603
  664. package/dist/src/executors/run-commands/schema.json +0 -198
  665. package/dist/src/executors/run-script/run-script.impl.d.ts +0 -8
  666. package/dist/src/executors/run-script/run-script.impl.js +0 -86
  667. package/dist/src/executors/run-script/schema.json +0 -28
  668. package/dist/src/executors/utils/convert-nx-executor.d.ts +0 -10
  669. package/dist/src/executors/utils/convert-nx-executor.js +0 -83
  670. package/dist/src/generators/internal-utils/format-changed-files.d.ts +0 -24
  671. package/dist/src/generators/internal-utils/format-changed-files.js +0 -163
  672. package/dist/src/generators/testing-utils/create-tree-with-empty-workspace.d.ts +0 -26
  673. package/dist/src/generators/testing-utils/create-tree-with-empty-workspace.js +0 -70
  674. package/dist/src/generators/testing-utils/create-tree.d.ts +0 -5
  675. package/dist/src/generators/testing-utils/create-tree.js +0 -14
  676. package/dist/src/generators/tree.d.ts +0 -127
  677. package/dist/src/generators/tree.js +0 -310
  678. package/dist/src/generators/utils/generate-files.d.ts +0 -44
  679. package/dist/src/generators/utils/generate-files.js +0 -114
  680. package/dist/src/generators/utils/glob.d.ts +0 -22
  681. package/dist/src/generators/utils/glob.js +0 -51
  682. package/dist/src/generators/utils/json.d.ts +0 -28
  683. package/dist/src/generators/utils/json.js +0 -48
  684. package/dist/src/generators/utils/nx-json.d.ts +0 -10
  685. package/dist/src/generators/utils/nx-json.js +0 -62
  686. package/dist/src/generators/utils/project-configuration.d.ts +0 -51
  687. package/dist/src/generators/utils/project-configuration.js +0 -299
  688. package/dist/src/hasher/check-task-files.d.ts +0 -86
  689. package/dist/src/hasher/check-task-files.js +0 -378
  690. package/dist/src/hasher/create-task-hasher.d.ts +0 -4
  691. package/dist/src/hasher/create-task-hasher.js +0 -15
  692. package/dist/src/hasher/file-hasher.d.ts +0 -3
  693. package/dist/src/hasher/file-hasher.js +0 -23
  694. package/dist/src/hasher/hash-plan-inspector.d.ts +0 -33
  695. package/dist/src/hasher/hash-plan-inspector.js +0 -70
  696. package/dist/src/hasher/hash-task.d.ts +0 -17
  697. package/dist/src/hasher/hash-task.js +0 -191
  698. package/dist/src/hasher/native-task-hasher-impl.d.ts +0 -18
  699. package/dist/src/hasher/native-task-hasher-impl.js +0 -38
  700. package/dist/src/hasher/task-hasher.d.ts +0 -160
  701. package/dist/src/hasher/task-hasher.js +0 -301
  702. package/dist/src/index.d.ts +0 -1
  703. package/dist/src/index.js +0 -2
  704. package/dist/src/migrations/update-15-0-0/prefix-outputs.d.ts +0 -2
  705. package/dist/src/migrations/update-15-0-0/prefix-outputs.js +0 -54
  706. package/dist/src/migrations/update-16-0-0/remove-nrwl-cli.d.ts +0 -2
  707. package/dist/src/migrations/update-16-0-0/remove-nrwl-cli.js +0 -16
  708. package/dist/src/migrations/update-16-0-0/update-depends-on-to-tokens.d.ts +0 -2
  709. package/dist/src/migrations/update-16-0-0/update-depends-on-to-tokens.js +0 -82
  710. package/dist/src/migrations/update-16-0-0/update-nx-cloud-runner.d.ts +0 -2
  711. package/dist/src/migrations/update-16-0-0/update-nx-cloud-runner.js +0 -29
  712. package/dist/src/migrations/update-16-2-0/remove-run-commands-output-path.d.ts +0 -2
  713. package/dist/src/migrations/update-16-2-0/remove-run-commands-output-path.js +0 -50
  714. package/dist/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.d.ts +0 -12
  715. package/dist/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.js +0 -67
  716. package/dist/src/migrations/update-17-0-0/move-cache-directory.d.ts +0 -2
  717. package/dist/src/migrations/update-17-0-0/move-cache-directory.js +0 -35
  718. package/dist/src/migrations/update-17-0-0/move-cache-directory.md +0 -31
  719. package/dist/src/migrations/update-17-0-0/rm-default-collection-npm-scope.d.ts +0 -2
  720. package/dist/src/migrations/update-17-0-0/rm-default-collection-npm-scope.js +0 -72
  721. package/dist/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.d.ts +0 -2
  722. package/dist/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.js +0 -126
  723. package/dist/src/migrations/update-17-2-0/move-default-base.d.ts +0 -5
  724. package/dist/src/migrations/update-17-2-0/move-default-base.js +0 -20
  725. package/dist/src/migrations/update-17-3-0/update-nxw.d.ts +0 -2
  726. package/dist/src/migrations/update-17-3-0/update-nxw.js +0 -7
  727. package/dist/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +0 -2
  728. package/dist/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +0 -11
  729. package/dist/src/migrations/update-19-2-0/move-workspace-data-directory.d.ts +0 -4
  730. package/dist/src/migrations/update-19-2-0/move-workspace-data-directory.js +0 -33
  731. package/dist/src/migrations/update-19-2-4/set-project-name.d.ts +0 -2
  732. package/dist/src/migrations/update-19-2-4/set-project-name.js +0 -34
  733. package/dist/src/migrations/update-20-0-0/move-use-daemon-process.d.ts +0 -2
  734. package/dist/src/migrations/update-20-0-0/move-use-daemon-process.js +0 -25
  735. package/dist/src/migrations/update-20-0-0/move-use-daemon-process.md +0 -27
  736. package/dist/src/migrations/update-20-0-1/use-legacy-cache.d.ts +0 -2
  737. package/dist/src/migrations/update-20-0-1/use-legacy-cache.js +0 -20
  738. package/dist/src/migrations/update-20-0-1/use-legacy-cache.md +0 -24
  739. package/dist/src/migrations/update-21-0-0/release-changelog-config-changes.d.ts +0 -2
  740. package/dist/src/migrations/update-21-0-0/release-changelog-config-changes.js +0 -38
  741. package/dist/src/migrations/update-21-0-0/release-changelog-config-changes.md +0 -49
  742. package/dist/src/migrations/update-21-0-0/release-version-config-changes.d.ts +0 -2
  743. package/dist/src/migrations/update-21-0-0/release-version-config-changes.js +0 -101
  744. package/dist/src/migrations/update-21-0-0/release-version-config-changes.md +0 -54
  745. package/dist/src/migrations/update-21-0-0/remove-custom-tasks-runner.d.ts +0 -2
  746. package/dist/src/migrations/update-21-0-0/remove-custom-tasks-runner.js +0 -38
  747. package/dist/src/migrations/update-21-0-0/remove-custom-tasks-runner.md +0 -28
  748. package/dist/src/migrations/update-21-0-0/remove-legacy-cache.d.ts +0 -2
  749. package/dist/src/migrations/update-21-0-0/remove-legacy-cache.js +0 -17
  750. package/dist/src/migrations/update-21-0-0/remove-legacy-cache.md +0 -22
  751. package/dist/src/migrations/update-22-0-0/consolidate-release-tag-config.d.ts +0 -2
  752. package/dist/src/migrations/update-22-0-0/consolidate-release-tag-config.js +0 -100
  753. package/dist/src/migrations/update-22-0-0/release-version-config-changes.d.ts +0 -2
  754. package/dist/src/migrations/update-22-0-0/release-version-config-changes.js +0 -101
  755. package/dist/src/migrations/update-22-1-0/update-nx-wrapper.d.ts +0 -2
  756. package/dist/src/migrations/update-22-1-0/update-nx-wrapper.js +0 -7
  757. package/dist/src/migrations/update-22-2-0/add-self-healing-to-gitignore.d.ts +0 -2
  758. package/dist/src/migrations/update-22-2-0/add-self-healing-to-gitignore.js +0 -19
  759. package/dist/src/migrations/update-22-2-0/add-self-healing-to-gitignore.md +0 -11
  760. package/dist/src/migrations/update-22-6-0/add-claude-settings-local-to-git-ignore.d.ts +0 -2
  761. package/dist/src/migrations/update-22-6-0/add-claude-settings-local-to-git-ignore.js +0 -16
  762. package/dist/src/migrations/update-22-6-0/add-claude-worktrees-to-git-ignore.d.ts +0 -2
  763. package/dist/src/migrations/update-22-6-0/add-claude-worktrees-to-git-ignore.js +0 -16
  764. package/dist/src/migrations/update-22-6-0/enable-analytics-prompt.d.ts +0 -2
  765. package/dist/src/migrations/update-22-6-0/enable-analytics-prompt.js +0 -23
  766. package/dist/src/migrations/update-22-7-0/add-polygraph-to-git-ignore.d.ts +0 -2
  767. package/dist/src/migrations/update-22-7-0/add-polygraph-to-git-ignore.js +0 -16
  768. package/dist/src/migrations/update-23-0-0/add-migrate-runs-to-git-ignore.d.ts +0 -2
  769. package/dist/src/migrations/update-23-0-0/add-migrate-runs-to-git-ignore.js +0 -16
  770. package/dist/src/migrations/update-23-0-0/consolidate-release-tag-config.d.ts +0 -9
  771. package/dist/src/migrations/update-23-0-0/consolidate-release-tag-config.js +0 -18
  772. package/dist/src/migrations/update-23-2-0/set-cache-on-executor-target-defaults.d.ts +0 -12
  773. package/dist/src/migrations/update-23-2-0/set-cache-on-executor-target-defaults.js +0 -250
  774. package/dist/src/migrations/update-23-2-0/set-cache-on-executor-target-defaults.md +0 -50
  775. package/dist/src/migrations/utils/target-defaults.d.ts +0 -28
  776. package/dist/src/migrations/utils/target-defaults.js +0 -46
  777. package/dist/src/native/assert-supported-platform.d.ts +0 -1
  778. package/dist/src/native/assert-supported-platform.js +0 -39
  779. package/dist/src/native/browser.js +0 -1
  780. package/dist/src/native/index.d.ts +0 -858
  781. package/dist/src/native/index.js +0 -222
  782. package/dist/src/native/native-bindings.js +0 -642
  783. package/dist/src/native/native-file-cache-location.d.ts +0 -17
  784. package/dist/src/native/native-file-cache-location.js +0 -97
  785. package/dist/src/native/nx.openharmony-arm64.node +0 -0
  786. package/dist/src/native/nx.wasi-browser.js +0 -131
  787. package/dist/src/native/nx.wasi.cjs +0 -161
  788. package/dist/src/native/nx.wasm32-wasi.debug.wasm +0 -0
  789. package/dist/src/native/nx.wasm32-wasi.wasm +0 -0
  790. package/dist/src/native/transform-objects.d.ts +0 -3
  791. package/dist/src/native/transform-objects.js +0 -51
  792. package/dist/src/native/wasi-worker-browser.mjs +0 -30
  793. package/dist/src/native/wasi-worker.mjs +0 -63
  794. package/dist/src/nx-cloud/debug-logger.d.ts +0 -1
  795. package/dist/src/nx-cloud/debug-logger.js +0 -8
  796. package/dist/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.d.ts +0 -14
  797. package/dist/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +0 -159
  798. package/dist/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +0 -41
  799. package/dist/src/nx-cloud/models/onboarding-status.d.ts +0 -1
  800. package/dist/src/nx-cloud/models/onboarding-status.js +0 -2
  801. package/dist/src/nx-cloud/nx-cloud-tasks-runner-shell.d.ts +0 -16
  802. package/dist/src/nx-cloud/nx-cloud-tasks-runner-shell.js +0 -41
  803. package/dist/src/nx-cloud/resolution-helpers.d.ts +0 -1
  804. package/dist/src/nx-cloud/resolution-helpers.js +0 -19
  805. package/dist/src/nx-cloud/update-manager.d.ts +0 -23
  806. package/dist/src/nx-cloud/update-manager.js +0 -267
  807. package/dist/src/nx-cloud/utilities/axios.d.ts +0 -4
  808. package/dist/src/nx-cloud/utilities/axios.js +0 -17
  809. package/dist/src/nx-cloud/utilities/client.d.ts +0 -10
  810. package/dist/src/nx-cloud/utilities/client.js +0 -42
  811. package/dist/src/nx-cloud/utilities/environment.d.ts +0 -3
  812. package/dist/src/nx-cloud/utilities/environment.js +0 -48
  813. package/dist/src/nx-cloud/utilities/get-cloud-options.d.ts +0 -5
  814. package/dist/src/nx-cloud/utilities/get-cloud-options.js +0 -26
  815. package/dist/src/nx-cloud/utilities/is-workspace-claimed.d.ts +0 -1
  816. package/dist/src/nx-cloud/utilities/is-workspace-claimed.js +0 -25
  817. package/dist/src/nx-cloud/utilities/onboarding.d.ts +0 -5
  818. package/dist/src/nx-cloud/utilities/onboarding.js +0 -31
  819. package/dist/src/nx-cloud/utilities/url-shorten.d.ts +0 -2
  820. package/dist/src/nx-cloud/utilities/url-shorten.js +0 -85
  821. package/dist/src/plugins/js/hasher/hasher.d.ts +0 -5
  822. package/dist/src/plugins/js/hasher/hasher.js +0 -51
  823. package/dist/src/plugins/js/index.d.ts +0 -4
  824. package/dist/src/plugins/js/index.js +0 -201
  825. package/dist/src/plugins/js/lock-file/bun-parser.d.ts +0 -14
  826. package/dist/src/plugins/js/lock-file/bun-parser.js +0 -992
  827. package/dist/src/plugins/js/lock-file/lock-file.d.ts +0 -85
  828. package/dist/src/plugins/js/lock-file/lock-file.js +0 -442
  829. package/dist/src/plugins/js/lock-file/npm-parser.d.ts +0 -10
  830. package/dist/src/plugins/js/lock-file/npm-parser.js +0 -595
  831. package/dist/src/plugins/js/lock-file/pnpm-parser.d.ts +0 -10
  832. package/dist/src/plugins/js/lock-file/pnpm-parser.js +0 -1047
  833. package/dist/src/plugins/js/lock-file/project-graph-pruning.d.ts +0 -35
  834. package/dist/src/plugins/js/lock-file/project-graph-pruning.js +0 -290
  835. package/dist/src/plugins/js/lock-file/pruned-output.d.ts +0 -330
  836. package/dist/src/plugins/js/lock-file/pruned-output.js +0 -1441
  837. package/dist/src/plugins/js/lock-file/utils/package-json.d.ts +0 -10
  838. package/dist/src/plugins/js/lock-file/utils/package-json.js +0 -38
  839. package/dist/src/plugins/js/lock-file/utils/pnpm-normalizer.d.ts +0 -21
  840. package/dist/src/plugins/js/lock-file/utils/pnpm-normalizer.js +0 -875
  841. package/dist/src/plugins/js/lock-file/yarn-parser.d.ts +0 -10
  842. package/dist/src/plugins/js/lock-file/yarn-parser.js +0 -536
  843. package/dist/src/plugins/js/package-json/create-package-json.d.ts +0 -29
  844. package/dist/src/plugins/js/package-json/create-package-json.js +0 -312
  845. package/dist/src/plugins/js/project-graph/affected/lock-file-changes.d.ts +0 -3
  846. package/dist/src/plugins/js/project-graph/affected/lock-file-changes.js +0 -150
  847. package/dist/src/plugins/js/project-graph/affected/npm-packages.d.ts +0 -4
  848. package/dist/src/plugins/js/project-graph/affected/npm-packages.js +0 -124
  849. package/dist/src/plugins/js/project-graph/affected/touched-projects.d.ts +0 -2
  850. package/dist/src/plugins/js/project-graph/affected/touched-projects.js +0 -18
  851. package/dist/src/plugins/js/project-graph/affected/tsconfig-json-changes.d.ts +0 -4
  852. package/dist/src/plugins/js/project-graph/affected/tsconfig-json-changes.js +0 -63
  853. package/dist/src/plugins/js/project-graph/build-dependencies/build-dependencies.d.ts +0 -6
  854. package/dist/src/plugins/js/project-graph/build-dependencies/build-dependencies.js +0 -45
  855. package/dist/src/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.d.ts +0 -4
  856. package/dist/src/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.js +0 -88
  857. package/dist/src/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.d.ts +0 -4
  858. package/dist/src/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.js +0 -75
  859. package/dist/src/plugins/js/project-graph/build-dependencies/target-project-locator.d.ts +0 -81
  860. package/dist/src/plugins/js/project-graph/build-dependencies/target-project-locator.js +0 -464
  861. package/dist/src/plugins/js/project-graph/build-nodes/build-npm-package-nodes.d.ts +0 -2
  862. package/dist/src/plugins/js/project-graph/build-nodes/build-npm-package-nodes.js +0 -31
  863. package/dist/src/plugins/js/utils/config.d.ts +0 -2
  864. package/dist/src/plugins/js/utils/config.js +0 -61
  865. package/dist/src/plugins/js/utils/get-workspace-packages-from-graph.d.ts +0 -2
  866. package/dist/src/plugins/js/utils/get-workspace-packages-from-graph.js +0 -13
  867. package/dist/src/plugins/js/utils/packages.d.ts +0 -8
  868. package/dist/src/plugins/js/utils/packages.js +0 -91
  869. package/dist/src/plugins/js/utils/register.d.ts +0 -350
  870. package/dist/src/plugins/js/utils/register.js +0 -1270
  871. package/dist/src/plugins/js/utils/resolve-relative-to-dir.d.ts +0 -5
  872. package/dist/src/plugins/js/utils/resolve-relative-to-dir.js +0 -17
  873. package/dist/src/plugins/js/utils/typescript.d.ts +0 -32
  874. package/dist/src/plugins/js/utils/typescript.js +0 -157
  875. package/dist/src/plugins/js/versions.d.ts +0 -1
  876. package/dist/src/plugins/js/versions.js +0 -4
  877. package/dist/src/plugins/package-json/create-nodes.d.ts +0 -28
  878. package/dist/src/plugins/package-json/create-nodes.js +0 -243
  879. package/dist/src/plugins/package-json/index.d.ts +0 -2
  880. package/dist/src/plugins/package-json/index.js +0 -6
  881. package/dist/src/plugins/project-json/build-nodes/project-json.d.ts +0 -5
  882. package/dist/src/plugins/project-json/build-nodes/project-json.js +0 -33
  883. package/dist/src/project-graph/affected/affected-project-graph-models.d.ts +0 -11
  884. package/dist/src/project-graph/affected/affected-project-graph-models.js +0 -2
  885. package/dist/src/project-graph/affected/affected-project-graph.d.ts +0 -4
  886. package/dist/src/project-graph/affected/affected-project-graph.js +0 -90
  887. package/dist/src/project-graph/affected/locators/project-glob-changes.d.ts +0 -2
  888. package/dist/src/project-graph/affected/locators/project-glob-changes.js +0 -47
  889. package/dist/src/project-graph/affected/locators/workspace-json-changes.d.ts +0 -4
  890. package/dist/src/project-graph/affected/locators/workspace-json-changes.js +0 -47
  891. package/dist/src/project-graph/affected/locators/workspace-projects.d.ts +0 -3
  892. package/dist/src/project-graph/affected/locators/workspace-projects.js +0 -74
  893. package/dist/src/project-graph/build-project-graph.d.ts +0 -26
  894. package/dist/src/project-graph/build-project-graph.js +0 -309
  895. package/dist/src/project-graph/error-types.d.ts +0 -151
  896. package/dist/src/project-graph/error-types.js +0 -484
  897. package/dist/src/project-graph/file-map-utils.d.ts +0 -18
  898. package/dist/src/project-graph/file-map-utils.js +0 -61
  899. package/dist/src/project-graph/file-utils.d.ts +0 -31
  900. package/dist/src/project-graph/file-utils.js +0 -187
  901. package/dist/src/project-graph/nx-deps-cache.d.ts +0 -62
  902. package/dist/src/project-graph/nx-deps-cache.js +0 -345
  903. package/dist/src/project-graph/operators.d.ts +0 -11
  904. package/dist/src/project-graph/operators.js +0 -70
  905. package/dist/src/project-graph/plugins/get-plugins.d.ts +0 -51
  906. package/dist/src/project-graph/plugins/get-plugins.js +0 -401
  907. package/dist/src/project-graph/plugins/in-process-loader.d.ts +0 -10
  908. package/dist/src/project-graph/plugins/in-process-loader.js +0 -61
  909. package/dist/src/project-graph/plugins/index.d.ts +0 -4
  910. package/dist/src/project-graph/plugins/index.js +0 -12
  911. package/dist/src/project-graph/plugins/isolation/enabled.d.ts +0 -1
  912. package/dist/src/project-graph/plugins/isolation/enabled.js +0 -19
  913. package/dist/src/project-graph/plugins/isolation/index.d.ts +0 -1
  914. package/dist/src/project-graph/plugins/isolation/index.js +0 -5
  915. package/dist/src/project-graph/plugins/isolation/isolated-plugin.d.ts +0 -79
  916. package/dist/src/project-graph/plugins/isolation/isolated-plugin.js +0 -553
  917. package/dist/src/project-graph/plugins/isolation/load-isolated-plugin.d.ts +0 -3
  918. package/dist/src/project-graph/plugins/isolation/load-isolated-plugin.js +0 -24
  919. package/dist/src/project-graph/plugins/isolation/message-types.d.ts +0 -59
  920. package/dist/src/project-graph/plugins/isolation/message-types.js +0 -9
  921. package/dist/src/project-graph/plugins/isolation/messaging.d.ts +0 -155
  922. package/dist/src/project-graph/plugins/isolation/messaging.js +0 -87
  923. package/dist/src/project-graph/plugins/isolation/plugin-lifecycle-manager.d.ts +0 -82
  924. package/dist/src/project-graph/plugins/isolation/plugin-lifecycle-manager.js +0 -188
  925. package/dist/src/project-graph/plugins/isolation/plugin-worker.d.ts +0 -2
  926. package/dist/src/project-graph/plugins/isolation/plugin-worker.js +0 -221
  927. package/dist/src/project-graph/plugins/isolation/worker-streaming.d.ts +0 -14
  928. package/dist/src/project-graph/plugins/isolation/worker-streaming.js +0 -39
  929. package/dist/src/project-graph/plugins/load-resolved-plugin.d.ts +0 -3
  930. package/dist/src/project-graph/plugins/load-resolved-plugin.js +0 -24
  931. package/dist/src/project-graph/plugins/loaded-nx-plugin.d.ts +0 -41
  932. package/dist/src/project-graph/plugins/loaded-nx-plugin.js +0 -104
  933. package/dist/src/project-graph/plugins/public-api.d.ts +0 -139
  934. package/dist/src/project-graph/plugins/public-api.js +0 -4
  935. package/dist/src/project-graph/plugins/resolve-plugin.d.ts +0 -25
  936. package/dist/src/project-graph/plugins/resolve-plugin.js +0 -277
  937. package/dist/src/project-graph/plugins/tasks-execution-hooks.d.ts +0 -3
  938. package/dist/src/project-graph/plugins/tasks-execution-hooks.js +0 -67
  939. package/dist/src/project-graph/plugins/transpiler.d.ts +0 -20
  940. package/dist/src/project-graph/plugins/transpiler.js +0 -99
  941. package/dist/src/project-graph/plugins/utils.d.ts +0 -4
  942. package/dist/src/project-graph/plugins/utils.js +0 -32
  943. package/dist/src/project-graph/project-graph-builder.d.ts +0 -133
  944. package/dist/src/project-graph/project-graph-builder.js +0 -395
  945. package/dist/src/project-graph/project-graph.d.ts +0 -54
  946. package/dist/src/project-graph/project-graph.js +0 -460
  947. package/dist/src/project-graph/utils/build-all-workspace-files.d.ts +0 -2
  948. package/dist/src/project-graph/utils/build-all-workspace-files.js +0 -14
  949. package/dist/src/project-graph/utils/find-project-for-path.d.ts +0 -20
  950. package/dist/src/project-graph/utils/find-project-for-path.js +0 -55
  951. package/dist/src/project-graph/utils/implicit-project-dependencies.d.ts +0 -3
  952. package/dist/src/project-graph/utils/implicit-project-dependencies.js +0 -18
  953. package/dist/src/project-graph/utils/normalize-project-nodes.d.ts +0 -6
  954. package/dist/src/project-graph/utils/normalize-project-nodes.js +0 -117
  955. package/dist/src/project-graph/utils/project-configuration/name-substitution-manager.d.ts +0 -48
  956. package/dist/src/project-graph/utils/project-configuration/name-substitution-manager.js +0 -270
  957. package/dist/src/project-graph/utils/project-configuration/project-nodes-manager.d.ts +0 -49
  958. package/dist/src/project-graph/utils/project-configuration/project-nodes-manager.js +0 -296
  959. package/dist/src/project-graph/utils/project-configuration/source-maps.d.ts +0 -34
  960. package/dist/src/project-graph/utils/project-configuration/source-maps.js +0 -85
  961. package/dist/src/project-graph/utils/project-configuration/target-defaults.d.ts +0 -50
  962. package/dist/src/project-graph/utils/project-configuration/target-defaults.js +0 -466
  963. package/dist/src/project-graph/utils/project-configuration/target-merging.d.ts +0 -32
  964. package/dist/src/project-graph/utils/project-configuration/target-merging.js +0 -507
  965. package/dist/src/project-graph/utils/project-configuration/target-normalization.d.ts +0 -12
  966. package/dist/src/project-graph/utils/project-configuration/target-normalization.js +0 -313
  967. package/dist/src/project-graph/utils/project-configuration/utils.d.ts +0 -38
  968. package/dist/src/project-graph/utils/project-configuration/utils.js +0 -215
  969. package/dist/src/project-graph/utils/project-configuration-utils.d.ts +0 -86
  970. package/dist/src/project-graph/utils/project-configuration-utils.js +0 -325
  971. package/dist/src/project-graph/utils/retrieve-workspace-files.d.ts +0 -35
  972. package/dist/src/project-graph/utils/retrieve-workspace-files.js +0 -110
  973. package/dist/src/tasks-runner/batch/batch-messages.d.ts +0 -35
  974. package/dist/src/tasks-runner/batch/batch-messages.js +0 -9
  975. package/dist/src/tasks-runner/batch/run-batch.d.ts +0 -1
  976. package/dist/src/tasks-runner/batch/run-batch.js +0 -78
  977. package/dist/src/tasks-runner/cache.d.ts +0 -94
  978. package/dist/src/tasks-runner/cache.js +0 -604
  979. package/dist/src/tasks-runner/create-task-graph.d.ts +0 -41
  980. package/dist/src/tasks-runner/create-task-graph.js +0 -305
  981. package/dist/src/tasks-runner/default-tasks-runner.d.ts +0 -25
  982. package/dist/src/tasks-runner/default-tasks-runner.js +0 -74
  983. package/dist/src/tasks-runner/fork.d.ts +0 -1
  984. package/dist/src/tasks-runner/fork.js +0 -73
  985. package/dist/src/tasks-runner/forked-process-task-runner.d.ts +0 -42
  986. package/dist/src/tasks-runner/forked-process-task-runner.js +0 -299
  987. package/dist/src/tasks-runner/init-tasks-runner.d.ts +0 -7
  988. package/dist/src/tasks-runner/init-tasks-runner.js +0 -86
  989. package/dist/src/tasks-runner/is-tui-enabled.d.ts +0 -18
  990. package/dist/src/tasks-runner/is-tui-enabled.js +0 -93
  991. package/dist/src/tasks-runner/legacy-depends-on-warning.d.ts +0 -18
  992. package/dist/src/tasks-runner/legacy-depends-on-warning.js +0 -109
  993. package/dist/src/tasks-runner/life-cycle.d.ts +0 -86
  994. package/dist/src/tasks-runner/life-cycle.js +0 -148
  995. package/dist/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.d.ts +0 -25
  996. package/dist/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.js +0 -366
  997. package/dist/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.d.ts +0 -24
  998. package/dist/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.js +0 -238
  999. package/dist/src/tasks-runner/life-cycles/empty-terminal-output-life-cycle.d.ts +0 -5
  1000. package/dist/src/tasks-runner/life-cycles/empty-terminal-output-life-cycle.js +0 -16
  1001. package/dist/src/tasks-runner/life-cycles/formatting-utils.d.ts +0 -3
  1002. package/dist/src/tasks-runner/life-cycles/formatting-utils.js +0 -55
  1003. package/dist/src/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.d.ts +0 -13
  1004. package/dist/src/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.js +0 -67
  1005. package/dist/src/tasks-runner/life-cycles/performance-analysis.d.ts +0 -173
  1006. package/dist/src/tasks-runner/life-cycles/performance-analysis.js +0 -508
  1007. package/dist/src/tasks-runner/life-cycles/performance-life-cycle.d.ts +0 -59
  1008. package/dist/src/tasks-runner/life-cycles/performance-life-cycle.js +0 -193
  1009. package/dist/src/tasks-runner/life-cycles/performance-report.d.ts +0 -77
  1010. package/dist/src/tasks-runner/life-cycles/performance-report.js +0 -428
  1011. package/dist/src/tasks-runner/life-cycles/pretty-time.d.ts +0 -4
  1012. package/dist/src/tasks-runner/life-cycles/pretty-time.js +0 -73
  1013. package/dist/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.d.ts +0 -54
  1014. package/dist/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.js +0 -203
  1015. package/dist/src/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.d.ts +0 -54
  1016. package/dist/src/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.js +0 -193
  1017. package/dist/src/tasks-runner/life-cycles/store-run-information-life-cycle.d.ts +0 -17
  1018. package/dist/src/tasks-runner/life-cycles/store-run-information-life-cycle.js +0 -87
  1019. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle-old.d.ts +0 -11
  1020. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle-old.js +0 -91
  1021. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle.d.ts +0 -16
  1022. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle.js +0 -112
  1023. package/dist/src/tasks-runner/life-cycles/task-profiling-life-cycle.d.ts +0 -14
  1024. package/dist/src/tasks-runner/life-cycles/task-profiling-life-cycle.js +0 -73
  1025. package/dist/src/tasks-runner/life-cycles/task-results-life-cycle.d.ts +0 -6
  1026. package/dist/src/tasks-runner/life-cycles/task-results-life-cycle.js +0 -17
  1027. package/dist/src/tasks-runner/life-cycles/task-telemetry-life-cycle.d.ts +0 -9
  1028. package/dist/src/tasks-runner/life-cycles/task-telemetry-life-cycle.js +0 -42
  1029. package/dist/src/tasks-runner/life-cycles/task-timings-life-cycle.d.ts +0 -8
  1030. package/dist/src/tasks-runner/life-cycles/task-timings-life-cycle.js +0 -39
  1031. package/dist/src/tasks-runner/life-cycles/tui-summary-life-cycle.d.ts +0 -19
  1032. package/dist/src/tasks-runner/life-cycles/tui-summary-life-cycle.js +0 -339
  1033. package/dist/src/tasks-runner/life-cycles/view-logs-utils.d.ts +0 -1
  1034. package/dist/src/tasks-runner/life-cycles/view-logs-utils.js +0 -15
  1035. package/dist/src/tasks-runner/process-metrics-service.d.ts +0 -53
  1036. package/dist/src/tasks-runner/process-metrics-service.js +0 -161
  1037. package/dist/src/tasks-runner/pseudo-ipc.d.ts +0 -48
  1038. package/dist/src/tasks-runner/pseudo-ipc.js +0 -157
  1039. package/dist/src/tasks-runner/pseudo-terminal.d.ts +0 -72
  1040. package/dist/src/tasks-runner/pseudo-terminal.js +0 -209
  1041. package/dist/src/tasks-runner/remove-old-cache-records.d.ts +0 -1
  1042. package/dist/src/tasks-runner/remove-old-cache-records.js +0 -60
  1043. package/dist/src/tasks-runner/run-command.d.ts +0 -42
  1044. package/dist/src/tasks-runner/run-command.js +0 -895
  1045. package/dist/src/tasks-runner/running-tasks/batch-process.d.ts +0 -74
  1046. package/dist/src/tasks-runner/running-tasks/batch-process.js +0 -263
  1047. package/dist/src/tasks-runner/running-tasks/node-child-process.d.ts +0 -40
  1048. package/dist/src/tasks-runner/running-tasks/node-child-process.js +0 -175
  1049. package/dist/src/tasks-runner/running-tasks/noop-child-process.d.ts +0 -16
  1050. package/dist/src/tasks-runner/running-tasks/noop-child-process.js +0 -22
  1051. package/dist/src/tasks-runner/running-tasks/output-prefix.d.ts +0 -13
  1052. package/dist/src/tasks-runner/running-tasks/output-prefix.js +0 -63
  1053. package/dist/src/tasks-runner/running-tasks/running-task.d.ts +0 -11
  1054. package/dist/src/tasks-runner/running-tasks/running-task.js +0 -6
  1055. package/dist/src/tasks-runner/running-tasks/shared-running-task.d.ts +0 -14
  1056. package/dist/src/tasks-runner/running-tasks/shared-running-task.js +0 -30
  1057. package/dist/src/tasks-runner/task-env-paths.d.ts +0 -1
  1058. package/dist/src/tasks-runner/task-env-paths.js +0 -45
  1059. package/dist/src/tasks-runner/task-env.d.ts +0 -56
  1060. package/dist/src/tasks-runner/task-env.js +0 -237
  1061. package/dist/src/tasks-runner/task-graph-utils.d.ts +0 -30
  1062. package/dist/src/tasks-runner/task-graph-utils.js +0 -225
  1063. package/dist/src/tasks-runner/task-io-service.d.ts +0 -96
  1064. package/dist/src/tasks-runner/task-io-service.js +0 -122
  1065. package/dist/src/tasks-runner/task-orchestrator.d.ts +0 -260
  1066. package/dist/src/tasks-runner/task-orchestrator.js +0 -1521
  1067. package/dist/src/tasks-runner/tasks-runner.d.ts +0 -24
  1068. package/dist/src/tasks-runner/tasks-runner.js +0 -2
  1069. package/dist/src/tasks-runner/tasks-schedule.d.ts +0 -48
  1070. package/dist/src/tasks-runner/tasks-schedule.js +0 -258
  1071. package/dist/src/tasks-runner/utils.d.ts +0 -61
  1072. package/dist/src/tasks-runner/utils.js +0 -447
  1073. package/dist/src/utils/ab-testing.d.ts +0 -59
  1074. package/dist/src/utils/ab-testing.js +0 -142
  1075. package/dist/src/utils/acknowledge-build-scripts.d.ts +0 -13
  1076. package/dist/src/utils/acknowledge-build-scripts.js +0 -102
  1077. package/dist/src/utils/all-file-data.d.ts +0 -2
  1078. package/dist/src/utils/all-file-data.js +0 -8
  1079. package/dist/src/utils/analytics-enabled.d.ts +0 -7
  1080. package/dist/src/utils/analytics-enabled.js +0 -11
  1081. package/dist/src/utils/analytics-prompt.d.ts +0 -9
  1082. package/dist/src/utils/analytics-prompt.js +0 -81
  1083. package/dist/src/utils/assert-workspace-validity.d.ts +0 -3
  1084. package/dist/src/utils/assert-workspace-validity.js +0 -90
  1085. package/dist/src/utils/async-iterator.d.ts +0 -2
  1086. package/dist/src/utils/async-iterator.js +0 -18
  1087. package/dist/src/utils/binary-extensions.d.ts +0 -1
  1088. package/dist/src/utils/binary-extensions.js +0 -279
  1089. package/dist/src/utils/cache-directory.d.ts +0 -68
  1090. package/dist/src/utils/cache-directory.js +0 -337
  1091. package/dist/src/utils/call-sites.d.ts +0 -14
  1092. package/dist/src/utils/call-sites.js +0 -28
  1093. package/dist/src/utils/catalog/bun-manager-utils.d.ts +0 -8
  1094. package/dist/src/utils/catalog/bun-manager-utils.js +0 -174
  1095. package/dist/src/utils/catalog/bun-manager.d.ts +0 -28
  1096. package/dist/src/utils/catalog/bun-manager.js +0 -130
  1097. package/dist/src/utils/catalog/index.d.ts +0 -22
  1098. package/dist/src/utils/catalog/index.js +0 -87
  1099. package/dist/src/utils/catalog/manager-factory.d.ts +0 -5
  1100. package/dist/src/utils/catalog/manager-factory.js +0 -23
  1101. package/dist/src/utils/catalog/manager-utils.d.ts +0 -15
  1102. package/dist/src/utils/catalog/manager-utils.js +0 -237
  1103. package/dist/src/utils/catalog/manager.d.ts +0 -52
  1104. package/dist/src/utils/catalog/manager.js +0 -43
  1105. package/dist/src/utils/catalog/pnpm-manager.d.ts +0 -23
  1106. package/dist/src/utils/catalog/pnpm-manager.js +0 -142
  1107. package/dist/src/utils/catalog/types.d.ts +0 -15
  1108. package/dist/src/utils/catalog/types.js +0 -2
  1109. package/dist/src/utils/catalog/yarn-manager.d.ts +0 -26
  1110. package/dist/src/utils/catalog/yarn-manager.js +0 -130
  1111. package/dist/src/utils/child-process.d.ts +0 -52
  1112. package/dist/src/utils/child-process.js +0 -194
  1113. package/dist/src/utils/chunkify.d.ts +0 -17
  1114. package/dist/src/utils/chunkify.js +0 -51
  1115. package/dist/src/utils/code-frames.d.ts +0 -14
  1116. package/dist/src/utils/code-frames.js +0 -116
  1117. package/dist/src/utils/collapse-expanded-outputs.d.ts +0 -10
  1118. package/dist/src/utils/collapse-expanded-outputs.js +0 -72
  1119. package/dist/src/utils/command-line-utils.d.ts +0 -57
  1120. package/dist/src/utils/command-line-utils.js +0 -259
  1121. package/dist/src/utils/compile-cache.d.ts +0 -24
  1122. package/dist/src/utils/compile-cache.js +0 -49
  1123. package/dist/src/utils/consume-messages-from-socket.d.ts +0 -44
  1124. package/dist/src/utils/consume-messages-from-socket.js +0 -291
  1125. package/dist/src/utils/db-connection.d.ts +0 -14
  1126. package/dist/src/utils/db-connection.js +0 -56
  1127. package/dist/src/utils/default-base.d.ts +0 -1
  1128. package/dist/src/utils/default-base.js +0 -17
  1129. package/dist/src/utils/delayed-spinner.d.ts +0 -51
  1130. package/dist/src/utils/delayed-spinner.js +0 -88
  1131. package/dist/src/utils/dotenv.d.ts +0 -7
  1132. package/dist/src/utils/dotenv.js +0 -19
  1133. package/dist/src/utils/enable-compile-cache.d.ts +0 -1
  1134. package/dist/src/utils/enable-compile-cache.js +0 -7
  1135. package/dist/src/utils/exit-codes.d.ts +0 -24
  1136. package/dist/src/utils/exit-codes.js +0 -94
  1137. package/dist/src/utils/fileutils.d.ts +0 -72
  1138. package/dist/src/utils/fileutils.js +0 -117
  1139. package/dist/src/utils/find-matching-projects.d.ts +0 -18
  1140. package/dist/src/utils/find-matching-projects.js +0 -222
  1141. package/dist/src/utils/find-workspace-root.d.ts +0 -11
  1142. package/dist/src/utils/find-workspace-root.js +0 -33
  1143. package/dist/src/utils/formatters/index.d.ts +0 -13
  1144. package/dist/src/utils/formatters/index.js +0 -74
  1145. package/dist/src/utils/formatters/oxfmt.d.ts +0 -32
  1146. package/dist/src/utils/formatters/oxfmt.js +0 -764
  1147. package/dist/src/utils/formatters/prettier.d.ts +0 -26
  1148. package/dist/src/utils/formatters/prettier.js +0 -201
  1149. package/dist/src/utils/formatters/shared.d.ts +0 -5
  1150. package/dist/src/utils/formatters/shared.js +0 -8
  1151. package/dist/src/utils/get-package-name-from-import-path.d.ts +0 -1
  1152. package/dist/src/utils/get-package-name-from-import-path.js +0 -17
  1153. package/dist/src/utils/git-revision.d.ts +0 -12
  1154. package/dist/src/utils/git-revision.js +0 -25
  1155. package/dist/src/utils/git-utils.d.ts +0 -106
  1156. package/dist/src/utils/git-utils.index-filter.d.ts +0 -1
  1157. package/dist/src/utils/git-utils.index-filter.js +0 -23
  1158. package/dist/src/utils/git-utils.js +0 -933
  1159. package/dist/src/utils/git-utils.tree-filter.d.ts +0 -1
  1160. package/dist/src/utils/git-utils.tree-filter.js +0 -47
  1161. package/dist/src/utils/git-worktrees.d.ts +0 -30
  1162. package/dist/src/utils/git-worktrees.js +0 -212
  1163. package/dist/src/utils/globs.d.ts +0 -3
  1164. package/dist/src/utils/globs.js +0 -18
  1165. package/dist/src/utils/handle-errors.d.ts +0 -1
  1166. package/dist/src/utils/handle-errors.js +0 -91
  1167. package/dist/src/utils/handle-import.d.ts +0 -15
  1168. package/dist/src/utils/handle-import.js +0 -86
  1169. package/dist/src/utils/has-nx-js-plugin.d.ts +0 -9
  1170. package/dist/src/utils/has-nx-js-plugin.js +0 -24
  1171. package/dist/src/utils/ignore.d.ts +0 -178
  1172. package/dist/src/utils/ignore.js +0 -294
  1173. package/dist/src/utils/installation-directory.d.ts +0 -2
  1174. package/dist/src/utils/installation-directory.js +0 -12
  1175. package/dist/src/utils/installed-nx-version.d.ts +0 -23
  1176. package/dist/src/utils/installed-nx-version.js +0 -113
  1177. package/dist/src/utils/is-ci.d.ts +0 -1
  1178. package/dist/src/utils/is-ci.js +0 -26
  1179. package/dist/src/utils/is-sandbox.d.ts +0 -1
  1180. package/dist/src/utils/is-sandbox.js +0 -11
  1181. package/dist/src/utils/json-diff.d.ts +0 -18
  1182. package/dist/src/utils/json-diff.js +0 -112
  1183. package/dist/src/utils/json.d.ts +0 -44
  1184. package/dist/src/utils/json.js +0 -62
  1185. package/dist/src/utils/kill-child-on-host-exit.d.ts +0 -7
  1186. package/dist/src/utils/kill-child-on-host-exit.js +0 -42
  1187. package/dist/src/utils/legacy-task-history.d.ts +0 -8
  1188. package/dist/src/utils/legacy-task-history.js +0 -87
  1189. package/dist/src/utils/logger.d.ts +0 -23
  1190. package/dist/src/utils/logger.js +0 -74
  1191. package/dist/src/utils/long-running-target.d.ts +0 -10
  1192. package/dist/src/utils/long-running-target.js +0 -19
  1193. package/dist/src/utils/machine-id-cache.d.ts +0 -5
  1194. package/dist/src/utils/machine-id-cache.js +0 -93
  1195. package/dist/src/utils/min-release-age/behavior/bun.d.ts +0 -30
  1196. package/dist/src/utils/min-release-age/behavior/bun.js +0 -274
  1197. package/dist/src/utils/min-release-age/behavior/npm.d.ts +0 -21
  1198. package/dist/src/utils/min-release-age/behavior/npm.js +0 -296
  1199. package/dist/src/utils/min-release-age/behavior/pnpm.d.ts +0 -23
  1200. package/dist/src/utils/min-release-age/behavior/pnpm.js +0 -527
  1201. package/dist/src/utils/min-release-age/behavior/yarn.d.ts +0 -22
  1202. package/dist/src/utils/min-release-age/behavior/yarn.js +0 -314
  1203. package/dist/src/utils/min-release-age/constants.d.ts +0 -3
  1204. package/dist/src/utils/min-release-age/constants.js +0 -8
  1205. package/dist/src/utils/min-release-age/errors.d.ts +0 -28
  1206. package/dist/src/utils/min-release-age/errors.js +0 -22
  1207. package/dist/src/utils/min-release-age/packument.d.ts +0 -13
  1208. package/dist/src/utils/min-release-age/packument.js +0 -34
  1209. package/dist/src/utils/min-release-age/pick.d.ts +0 -72
  1210. package/dist/src/utils/min-release-age/pick.js +0 -206
  1211. package/dist/src/utils/min-release-age/pnpm-exclude-writer.d.ts +0 -12
  1212. package/dist/src/utils/min-release-age/pnpm-exclude-writer.js +0 -58
  1213. package/dist/src/utils/min-release-age/policy.d.ts +0 -38
  1214. package/dist/src/utils/min-release-age/policy.js +0 -59
  1215. package/dist/src/utils/min-release-age/resolve.d.ts +0 -8
  1216. package/dist/src/utils/min-release-age/resolve.js +0 -14
  1217. package/dist/src/utils/nx-cloud-utils.d.ts +0 -4
  1218. package/dist/src/utils/nx-cloud-utils.js +0 -28
  1219. package/dist/src/utils/nx-console-prompt.d.ts +0 -1
  1220. package/dist/src/utils/nx-console-prompt.js +0 -61
  1221. package/dist/src/utils/nx-key.d.ts +0 -6
  1222. package/dist/src/utils/nx-key.js +0 -50
  1223. package/dist/src/utils/nx-package-group.d.ts +0 -8
  1224. package/dist/src/utils/nx-package-group.js +0 -15
  1225. package/dist/src/utils/nx-tmp-dir.d.ts +0 -23
  1226. package/dist/src/utils/nx-tmp-dir.js +0 -45
  1227. package/dist/src/utils/object-sort.d.ts +0 -1
  1228. package/dist/src/utils/object-sort.js +0 -9
  1229. package/dist/src/utils/output.d.ts +0 -232
  1230. package/dist/src/utils/output.js +0 -548
  1231. package/dist/src/utils/owned-private-dir.d.ts +0 -145
  1232. package/dist/src/utils/owned-private-dir.js +0 -362
  1233. package/dist/src/utils/package-json.d.ts +0 -231
  1234. package/dist/src/utils/package-json.js +0 -387
  1235. package/dist/src/utils/package-manager-config/bunfig.d.ts +0 -14
  1236. package/dist/src/utils/package-manager-config/bunfig.js +0 -49
  1237. package/dist/src/utils/package-manager-config/npmrc.d.ts +0 -23
  1238. package/dist/src/utils/package-manager-config/npmrc.js +0 -124
  1239. package/dist/src/utils/package-manager-config/pnpm-config.d.ts +0 -17
  1240. package/dist/src/utils/package-manager-config/pnpm-config.js +0 -60
  1241. package/dist/src/utils/package-manager.d.ts +0 -161
  1242. package/dist/src/utils/package-manager.js +0 -850
  1243. package/dist/src/utils/params.d.ts +0 -146
  1244. package/dist/src/utils/params.js +0 -768
  1245. package/dist/src/utils/path.d.ts +0 -19
  1246. package/dist/src/utils/path.js +0 -38
  1247. package/dist/src/utils/perf-hooks.d.ts +0 -19
  1248. package/dist/src/utils/perf-logging.d.ts +0 -1
  1249. package/dist/src/utils/perf-logging.js +0 -46
  1250. package/dist/src/utils/permission-errors.d.ts +0 -11
  1251. package/dist/src/utils/permission-errors.js +0 -17
  1252. package/dist/src/utils/plugin-cache-utils.d.ts +0 -82
  1253. package/dist/src/utils/plugin-cache-utils.js +0 -212
  1254. package/dist/src/utils/plugin-progress-text.d.ts +0 -1
  1255. package/dist/src/utils/plugin-progress-text.js +0 -15
  1256. package/dist/src/utils/plugins/atomizer-utils.d.ts +0 -11
  1257. package/dist/src/utils/plugins/atomizer-utils.js +0 -23
  1258. package/dist/src/utils/plugins/core-plugins.d.ts +0 -6
  1259. package/dist/src/utils/plugins/core-plugins.js +0 -117
  1260. package/dist/src/utils/plugins/index.d.ts +0 -5
  1261. package/dist/src/utils/plugins/index.js +0 -15
  1262. package/dist/src/utils/plugins/installed-plugins.d.ts +0 -5
  1263. package/dist/src/utils/plugins/installed-plugins.js +0 -76
  1264. package/dist/src/utils/plugins/local-plugins.d.ts +0 -22
  1265. package/dist/src/utils/plugins/local-plugins.js +0 -60
  1266. package/dist/src/utils/plugins/output.d.ts +0 -34
  1267. package/dist/src/utils/plugins/output.js +0 -201
  1268. package/dist/src/utils/plugins/plugin-capabilities.d.ts +0 -15
  1269. package/dist/src/utils/plugins/plugin-capabilities.js +0 -78
  1270. package/dist/src/utils/pnpm-workspace.d.ts +0 -8
  1271. package/dist/src/utils/pnpm-workspace.js +0 -2
  1272. package/dist/src/utils/print-help.d.ts +0 -11
  1273. package/dist/src/utils/print-help.js +0 -259
  1274. package/dist/src/utils/progress-topics.d.ts +0 -19
  1275. package/dist/src/utils/progress-topics.js +0 -21
  1276. package/dist/src/utils/project-graph-utils.d.ts +0 -18
  1277. package/dist/src/utils/project-graph-utils.js +0 -78
  1278. package/dist/src/utils/promised-based-queue.d.ts +0 -6
  1279. package/dist/src/utils/promised-based-queue.js +0 -43
  1280. package/dist/src/utils/prompt-helpers.d.ts +0 -53
  1281. package/dist/src/utils/prompt-helpers.js +0 -111
  1282. package/dist/src/utils/provenance.d.ts +0 -47
  1283. package/dist/src/utils/provenance.js +0 -107
  1284. package/dist/src/utils/registry-config/bun.d.ts +0 -2
  1285. package/dist/src/utils/registry-config/bun.js +0 -257
  1286. package/dist/src/utils/registry-config/index.d.ts +0 -13
  1287. package/dist/src/utils/registry-config/index.js +0 -102
  1288. package/dist/src/utils/registry-config/pnpm.d.ts +0 -2
  1289. package/dist/src/utils/registry-config/pnpm.js +0 -1551
  1290. package/dist/src/utils/registry-config/utils.d.ts +0 -195
  1291. package/dist/src/utils/registry-config/utils.js +0 -496
  1292. package/dist/src/utils/registry-config/yarn-berry.d.ts +0 -2
  1293. package/dist/src/utils/registry-config/yarn-berry.js +0 -612
  1294. package/dist/src/utils/registry-config/yarn-classic.d.ts +0 -2
  1295. package/dist/src/utils/registry-config/yarn-classic.js +0 -1001
  1296. package/dist/src/utils/require-nx-key.d.ts +0 -1
  1297. package/dist/src/utils/require-nx-key.js +0 -23
  1298. package/dist/src/utils/safe-spawn.d.ts +0 -24
  1299. package/dist/src/utils/safe-spawn.js +0 -104
  1300. package/dist/src/utils/serializable-error.d.ts +0 -4
  1301. package/dist/src/utils/serializable-error.js +0 -33
  1302. package/dist/src/utils/serialize-overrides-into-command-line.d.ts +0 -3
  1303. package/dist/src/utils/serialize-overrides-into-command-line.js +0 -41
  1304. package/dist/src/utils/serialize-target.d.ts +0 -1
  1305. package/dist/src/utils/serialize-target.js +0 -6
  1306. package/dist/src/utils/shell-quoting.d.ts +0 -25
  1307. package/dist/src/utils/shell-quoting.js +0 -76
  1308. package/dist/src/utils/socket-refused-exit-code.d.ts +0 -15
  1309. package/dist/src/utils/socket-refused-exit-code.js +0 -18
  1310. package/dist/src/utils/spinner.d.ts +0 -24
  1311. package/dist/src/utils/spinner.js +0 -77
  1312. package/dist/src/utils/split-target.d.ts +0 -15
  1313. package/dist/src/utils/split-target.js +0 -239
  1314. package/dist/src/utils/strip-indents.d.ts +0 -14
  1315. package/dist/src/utils/strip-indents.js +0 -23
  1316. package/dist/src/utils/sync-generators.d.ts +0 -66
  1317. package/dist/src/utils/sync-generators.js +0 -355
  1318. package/dist/src/utils/tar.d.ts +0 -8
  1319. package/dist/src/utils/tar.js +0 -44
  1320. package/dist/src/utils/task-history.d.ts +0 -17
  1321. package/dist/src/utils/task-history.js +0 -51
  1322. package/dist/src/utils/terminal-link.d.ts +0 -20
  1323. package/dist/src/utils/terminal-link.js +0 -85
  1324. package/dist/src/utils/update-nxw.d.ts +0 -2
  1325. package/dist/src/utils/update-nxw.js +0 -22
  1326. package/dist/src/utils/versions.d.ts +0 -1
  1327. package/dist/src/utils/versions.js +0 -4
  1328. package/dist/src/utils/wait-for-socket-connection.d.ts +0 -26
  1329. package/dist/src/utils/wait-for-socket-connection.js +0 -59
  1330. package/dist/src/utils/workspace-context.d.ts +0 -21
  1331. package/dist/src/utils/workspace-context.js +0 -120
  1332. package/dist/src/utils/workspace-id.d.ts +0 -20
  1333. package/dist/src/utils/workspace-id.js +0 -54
  1334. package/dist/src/utils/workspace-root.d.ts +0 -6
  1335. package/dist/src/utils/workspace-root.js +0 -40
  1336. package/dist/src/utils/write-formatted-json-file.d.ts +0 -7
  1337. package/dist/src/utils/write-formatted-json-file.js +0 -24
  1338. package/dist/src/utils/yarn-syml/index.d.ts +0 -23
  1339. package/dist/src/utils/yarn-syml/index.js +0 -151
  1340. package/dist/src/utils/yarn-syml/syml-grammar.js +0 -1911
  1341. package/dist/tasks-runners/default.d.ts +0 -1
  1342. package/dist/tasks-runners/default.js +0 -5
  1343. package/executors.json +0 -19
  1344. package/generators.json +0 -16
  1345. package/migrations.json +0 -195
  1346. package/schemas/migrations-schema.json +0 -186
  1347. package/schemas/nx-schema.json +0 -1615
  1348. package/schemas/project-schema.json +0 -426
  1349. package/schemas/workspace-schema.json +0 -185
@@ -1,136 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sandboxSocketHint = sandboxSocketHint;
4
- const native_1 = require("../native");
5
- const is_sandbox_1 = require("../utils/is-sandbox");
6
- const nx_tmp_dir_1 = require("../utils/nx-tmp-dir");
7
- /**
8
- * The containers a sandbox has to allow, best first — not the directory finally
9
- * used. Socket resolution walks a chain and the winning tier depends on what it
10
- * could establish, so naming one root would be wrong wherever the other was
11
- * picked. These are also the paths an allowlist entry covers: everything Nx
12
- * binds lives beneath them.
13
- *
14
- * The home root is shown as the literal `~/.nx` rather than expanded, because a
15
- * committed allowlist entry has to expand per user to be worth sharing.
16
- *
17
- * A configured NX_SOCKET_DIR overrides the chain entirely, so it is named on its
18
- * own — pointing someone at the default roots when their sockets are somewhere
19
- * else is worse than saying nothing. `||` rather than `??` matches how
20
- * `tmp-dir` reads it: an empty value means unset.
21
- *
22
- * Read from `utils/nx-tmp-dir` rather than from `daemon/tmp-dir`, whose module
23
- * scope establishes directories and resolves a socket tier on import. Plugin
24
- * workers print this hint, and must not pay that to do it.
25
- */
26
- function socketRoots() {
27
- const configured = process.env.NX_SOCKET_DIR || process.env.NX_DAEMON_SOCKET_DIR;
28
- if (configured) {
29
- return configured;
30
- }
31
- return [nx_tmp_dir_1.NX_TMP_DIR, nx_tmp_dir_1.NX_HOME_TMP_DIR ? '~/.nx' : undefined]
32
- .filter(Boolean)
33
- .join(' or ');
34
- }
35
- /**
36
- * Guidance for a unix socket Nx was not allowed to use. The lead line names
37
- * denied permission, which is the part Nx can observe; a sandbox is the most
38
- * common source but not the only one, so which remedy applies is left to the
39
- * list rather than decided in the first sentence.
40
- *
41
- * Every sandbox-shaped line — the `configure-ai-agents` remediation, the
42
- * per-agent setting, the knowledge base link — is dropped unless a sandbox is
43
- * actually running. A root-owned socket dir on a plain workstation reaches this
44
- * hint too, and there the permission line is the whole truth, so it is stated
45
- * outright rather than offered as the one item of a list.
46
- *
47
- * Lives in its own module (rather than the daemon client) so that plugin
48
- * workers and the plugin host can use it without pulling in the daemon
49
- * client's module-level `DaemonClient` singleton.
50
- */
51
- function sandboxSocketHint({ certain = false, } = {}) {
52
- const roots = socketRoots();
53
- const sandboxRemedy = sandboxSpecificRemedy(roots, certain);
54
- const lead = certain
55
- ? `Nx was denied permission to use its unix socket under ${roots}.`
56
- : `Nx could not use its unix socket under ${roots}. Denied permission on that directory is a common cause.`;
57
- const permissionRemedy = `Get permission to create sockets under ${roots}, or set NX_SOCKET_DIR to a directory you do have permission for.`;
58
- if (sandboxRemedy.length === 0) {
59
- return [lead, permissionRemedy];
60
- }
61
- return [
62
- lead,
63
- 'To fix this, do one of the following:',
64
- // Only Claude Code: the generator's `sandbox` block sits inside
65
- // `hasAgent('claude')`, so offering this to a Codex or Copilot CLI user
66
- // sends them to a command that writes nothing they need.
67
- ...((0, native_1.detectAiAgent)() === 'claude'
68
- ? [
69
- ' - Run `nx configure-ai-agents` to write the sandbox allowances Nx needs. Agent sandboxes usually block writes to their own settings file, so this may have to be run from a regular terminal rather than through the agent.',
70
- ]
71
- : []),
72
- ...sandboxRemedy.map((remedy) => ` - ${remedy}`),
73
- ` - ${permissionRemedy}`,
74
- 'See https://nx.dev/docs/kb/nx-sandbox-unix-sockets for details.',
75
- ];
76
- }
77
- /**
78
- * The per-agent form of "allow sockets under these roots", or nothing at all
79
- * when nothing indicates a sandbox.
80
- *
81
- * A detected agent is not itself that indication: every Claude Code session sets
82
- * `CLAUDECODE`, but only a sandboxed one sets `SANDBOX_RUNTIME` (measured on
83
- * 2.1.248 with `sandbox.enabled` both ways). What counts is `isSandbox()`, or —
84
- * for a *known* agent — an errno proving the socket was refused. Copilot CLI
85
- * needs that second arm: its sandbox sets no variable `isSandbox()` reads
86
- * (measured on 1.0.80, where a bind under both roots is refused while `$TMPDIR`
87
- * succeeds), so the errno is the only evidence Nx ever gets. An unknown
88
- * environment gets no such benefit, because there a refusal is just a refusal —
89
- * a root-owned socket dir left by `sudo nx` reads identically.
90
- *
91
- * The agent then decides *which* setting to name, because each sandbox gates
92
- * socket creation on something different and a single generic sentence sends at
93
- * least one of them to a setting that does not exist:
94
- *
95
- * - Claude Code gates on the path allowlist. A scoped `allowUnixSockets` entry
96
- * covers binding as well as connecting, so it is sufficient and preferable to
97
- * `allowAllUnixSockets`, which opens every socket on the machine.
98
- * - Codex gates on `network_access` instead, and has no path-scoped socket
99
- * setting. `writable_roots` alone does not unblock a bind. That grant is a
100
- * broad one, so the line says what it costs rather than presenting it as
101
- * equivalent to the scoped entries.
102
- * - Copilot CLI gates on the path like Claude, but reads its sandbox policy
103
- * only from the user-level settings file, so this is the one agent
104
- * `configure-ai-agents` cannot configure by writing into the workspace.
105
- *
106
- * Any other agent, or none, leaves the setting unknown, so the fallback can only
107
- * describe the grant.
108
- */
109
- function sandboxSpecificRemedy(roots, certain) {
110
- const sandboxed = (0, is_sandbox_1.isSandbox)();
111
- const agent = (0, native_1.detectAiAgent)();
112
- const knownAgent = agent === 'claude' || agent === 'codex' || agent === 'copilot-cli';
113
- if (knownAgent && !sandboxed && !certain) {
114
- return [];
115
- }
116
- switch (agent) {
117
- case 'claude':
118
- return [
119
- `Add ${roots} to \`sandbox.network.allowUnixSockets\` and to \`sandbox.filesystem.allowRead\`/\`allowWrite\` in \`.claude/settings.json\`. The scoped entry covers creating sockets, not only connecting to them.`,
120
- ];
121
- case 'copilot-cli':
122
- return [
123
- `Add ${roots} to \`sandbox.userPolicy.filesystem.readwritePaths\` in \`~/.copilot/settings.json\`. Copilot CLI reads sandbox policy only from that user-level file, so a copy committed to the workspace has no effect.`,
124
- ];
125
- case 'codex':
126
- return [
127
- `In \`~/.codex/config.toml\`, set \`sandbox_workspace_write.network_access\` to true and add ${roots} to \`sandbox_workspace_write.writable_roots\`. Codex has no setting that scopes sockets to a path, and \`network_access\` also grants general network access, so this is a broader grant than the other agents need.`,
128
- ];
129
- default:
130
- return sandboxed
131
- ? [
132
- `Allow your sandbox to create unix sockets under ${roots}, not only connect to them, and grant read and write on those directories.`,
133
- ]
134
- : [];
135
- }
136
- }
@@ -1,23 +0,0 @@
1
- import type { Socket } from 'net';
2
- import { ProgressTopic } from '../../utils/progress-topics';
3
- import { EmitLogLevel } from '../message-types/streaming-messages';
4
- export declare function subscribeClientToTopic(socket: Socket, topic: ProgressTopic): void;
5
- export declare function unsubscribeClientFromTopic(socket: Socket, topic: ProgressTopic): void;
6
- export declare function getTopicSubscribers(topic: ProgressTopic): Set<Socket>;
7
- export declare function assertOnDaemon(helperName: string): void;
8
- /**
9
- * Writes a streaming message over the given socket using the daemon's
10
- * configured serialization format, length-prefixed like any other message.
11
- * Errors are logged to the daemon's stdout (redirected to the daemon
12
- * log) rather than propagated — a disconnected client shouldn't tear
13
- * down the current request handler or other subscribers.
14
- */
15
- export declare function writeStreamingMessage(socket: Socket, payload: unknown, description: string): void;
16
- /**
17
- * Broadcasts a progress message to every client currently subscribed to
18
- * the given topic. No-op when there are no subscribers.
19
- *
20
- * Must only be invoked from inside the Nx daemon process.
21
- */
22
- export declare function sendProgressMessageToTopic(topic: ProgressTopic, message: string): void;
23
- export declare function sendEmitLogMessageToTopic(topic: ProgressTopic, message: string, level: EmitLogLevel): void;
@@ -1,88 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.subscribeClientToTopic = subscribeClientToTopic;
4
- exports.unsubscribeClientFromTopic = unsubscribeClientFromTopic;
5
- exports.getTopicSubscribers = getTopicSubscribers;
6
- exports.assertOnDaemon = assertOnDaemon;
7
- exports.writeStreamingMessage = writeStreamingMessage;
8
- exports.sendProgressMessageToTopic = sendProgressMessageToTopic;
9
- exports.sendEmitLogMessageToTopic = sendEmitLogMessageToTopic;
10
- const is_on_daemon_1 = require("../is-on-daemon");
11
- const logger_1 = require("../logger");
12
- const streaming_messages_1 = require("../message-types/streaming-messages");
13
- const socket_utils_1 = require("../socket-utils");
14
- const topicSubscribers = new Map();
15
- function subscribeClientToTopic(socket, topic) {
16
- let subscribers = getTopicSubscribers(topic);
17
- if (!subscribers) {
18
- subscribers = new Set();
19
- topicSubscribers.set(topic, subscribers);
20
- }
21
- subscribers.add(socket);
22
- }
23
- function unsubscribeClientFromTopic(socket, topic) {
24
- const subscribers = getTopicSubscribers(topic);
25
- if (!subscribers)
26
- return;
27
- subscribers.delete(socket);
28
- }
29
- function getTopicSubscribers(topic) {
30
- const subscribers = topicSubscribers.get(topic);
31
- if (!subscribers) {
32
- const set = new Set();
33
- topicSubscribers.set(topic, set);
34
- return set;
35
- }
36
- return subscribers;
37
- }
38
- function assertOnDaemon(helperName) {
39
- if (!(0, is_on_daemon_1.isOnDaemon)()) {
40
- throw new Error(`${helperName} can only be called from the Nx daemon process.`);
41
- }
42
- }
43
- /**
44
- * Writes a streaming message over the given socket using the daemon's
45
- * configured serialization format, length-prefixed like any other message.
46
- * Errors are logged to the daemon's stdout (redirected to the daemon
47
- * log) rather than propagated — a disconnected client shouldn't tear
48
- * down the current request handler or other subscribers.
49
- */
50
- function writeStreamingMessage(socket, payload, description) {
51
- try {
52
- logger_1.serverLogger.log('Streaming message to client:', description);
53
- (0, socket_utils_1.sendMessage)(socket, payload, undefined, (err) => {
54
- if (err) {
55
- console.log(`Streaming message write error (client likely disconnected): ${err.message}`);
56
- }
57
- });
58
- }
59
- catch (e) {
60
- console.log(`Failed to send streaming message to client: ${e instanceof Error ? e.message : String(e)}`);
61
- }
62
- }
63
- /**
64
- * Broadcasts a progress message to every client currently subscribed to
65
- * the given topic. No-op when there are no subscribers.
66
- *
67
- * Must only be invoked from inside the Nx daemon process.
68
- */
69
- function sendProgressMessageToTopic(topic, message) {
70
- assertOnDaemon('sendProgressMessageToTopic');
71
- const subscribers = getTopicSubscribers(topic);
72
- if (!subscribers?.size)
73
- return;
74
- const payload = { type: streaming_messages_1.UPDATE_PROGRESS_MESSAGE, message };
75
- for (const socket of subscribers) {
76
- writeStreamingMessage(socket, payload, 'progress update for topic ' + topic);
77
- }
78
- }
79
- function sendEmitLogMessageToTopic(topic, message, level) {
80
- assertOnDaemon('sendEmitLogMessageToTopic');
81
- const subscribers = getTopicSubscribers(topic);
82
- if (!subscribers?.size)
83
- return;
84
- const payload = { type: streaming_messages_1.EMIT_LOG, message, level };
85
- for (const socket of subscribers) {
86
- writeStreamingMessage(socket, payload, 'emit log message to ' + topic);
87
- }
88
- }
@@ -1,97 +0,0 @@
1
- import type { ProjectGraph } from '../../config/project-graph';
2
- import { type WatchEvent } from '../../native';
3
- export interface DotEnvChangeClassification {
4
- invalidating: string[];
5
- unclassified: WatchEvent[];
6
- }
7
- /**
8
- * Splits the change events into `invalidating`: the paths with the dotenv name
9
- * shape getEnvPathsForTask loads (`.env[.<id>]` / `.<id>.env` variants), under
10
- * the workspace root or a project root, whose content actually changed; and
11
- * `unclassified`: the dotenv-shaped events under no known root. The
12
- * invalidating names are a superset of what any task loads: target and
13
- * configuration names are unknown here, so `.env.staging` is reported whether
14
- * or not a task loads it. The daemon uses this to refresh its graph cache so
15
- * createNodes re-resolves config that reads process.env.
16
- *
17
- * Only the workspace root and project roots invalidate: getEnvPathsForTask
18
- * loads dotenv files from those, never from an arbitrary subdirectory (e.g. one
19
- * under node_modules), and the outputs watcher spans the whole workspace root.
20
- * An unclassified event is not necessarily irrelevant, though: the graph it was
21
- * classified against can predate the file's project root (none is committed
22
- * during the initial computation, and a replaced graph lacks a project that
23
- * computation is adding), so the caller queues it for replay against the next
24
- * graph a computation is about to serve rather than dropping it.
25
- *
26
- * Known limitation: a `.nxignore`d dotenv file never reaches this watcher (the
27
- * native watcher applies `.nxignore` even with `use_ignore: false`), so a warm
28
- * edit of one does not invalidate the graph. The cold path still resolves it:
29
- * getGraphTimeDotEnvForTask reads dotenv from disk directly.
30
- */
31
- export declare function classifyDotEnvChanges(changeEvents: WatchEvent[], projectGraph: ProjectGraph | undefined): DotEnvChangeClassification;
32
- /**
33
- * `generation` is the recomputation generation current at queue time; the
34
- * drain compares it against the serving computation's generation to prove
35
- * whether that computation started before the event arrived.
36
- */
37
- export declare function queuePendingDotEnvEvents(paths: string[], generation: number): void;
38
- /**
39
- * Takes and clears the queued unclassified events, returning the paths that
40
- * are dotenv files under a root of `projectGraph` and were queued at or after
41
- * `sinceGeneration` (the serving computation's generation). A path queued
42
- * earlier is dropped safely: the computation claimed its generation after the
43
- * event was queued, so it read the file after the edit landed. Content hashes
44
- * are neither consulted nor recorded here, and any hash recorded for a
45
- * drained path is dropped: a hash taken mid-computation is not proof any
46
- * served graph observed those bytes (the computation may read intermediate
47
- * content), so suppressing a later event on it could leave the graph stale.
48
- * `overflowed` means events were lost at or after `sinceGeneration`, so the
49
- * caller cannot prove its graph fresh and must invalidate; an overflow
50
- * recorded earlier is dropped by the same rule as a queued entry. A relevant
51
- * overflow also drops every recorded hash: with events lost, a retained hash
52
- * (even for a path that invalidated directly and never entered the queue)
53
- * could suppress a later event over intermediate bytes read by the successor
54
- * this drain forces. That successor is already being forced, so clearing
55
- * adds no recomputation.
56
- *
57
- * A stamp records callback time, not edit time, so an event whose edit a
58
- * workspace-watcher-triggered computation already observed can still
59
- * invalidate it: one redundant recompute, accepted because the callback
60
- * cannot prove which side of that computation's file read the edit landed on.
61
- */
62
- export declare function drainPendingDotEnvEvents(projectGraph: ProjectGraph | undefined, sinceGeneration: number): {
63
- invalidating: string[];
64
- overflowed: boolean;
65
- };
66
- /**
67
- * Whether the queue holds evidence that a computation at `sinceGeneration`
68
- * may have read a dotenv file before a reported edit landed: an entry or an
69
- * overflow stamped at or after that generation. Consumes nothing and
70
- * classifies against no roots: the error paths use this to decide on a retry,
71
- * where there may be no graph to classify against, and a spurious retry costs
72
- * one recompute on an already failing path. A persistent error retries once,
73
- * because the retry's successor claims a generation above every stamp
74
- * recorded so far.
75
- */
76
- export declare function hasPendingDotEnvEvidence(sinceGeneration: number): boolean;
77
- /**
78
- * Like hasPendingDotEnvEvidence, but classifies each entry against the roots
79
- * of `projectGraph`: evidence is an overflow stamped at or after
80
- * `sinceGeneration`, or an entry so stamped whose path is a dotenv file under
81
- * one of the graph's roots. The warm-reuse check uses this, where the graph
82
- * the cache serves exists and is exactly what a recompute would refresh;
83
- * skipping paths under none of its roots avoids recomputing for events only
84
- * a future graph could classify, and consuming nothing leaves those entries
85
- * queued for that computation's drain.
86
- */
87
- export declare function hasRelevantPendingDotEnvEvidence(projectGraph: ProjectGraph | undefined, sinceGeneration: number): boolean;
88
- /**
89
- * Drops every recorded content hash. Each computation clears on claiming its
90
- * generation, bounding every hash to the window since the last claim: an
91
- * older hash is not proof the graph a successor serves observed those bytes,
92
- * and kept, it could suppress a callback that lands while the successor
93
- * reads. The error-path retry and the warm-reuse check also clear when they
94
- * force a successor while preserving the queue for its drain.
95
- */
96
- export declare function clearDotEnvFileHashes(): void;
97
- export declare function _resetPendingDotEnvEvents(): void;
@@ -1,284 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.classifyDotEnvChanges = classifyDotEnvChanges;
4
- exports.queuePendingDotEnvEvents = queuePendingDotEnvEvents;
5
- exports.drainPendingDotEnvEvents = drainPendingDotEnvEvents;
6
- exports.hasPendingDotEnvEvidence = hasPendingDotEnvEvidence;
7
- exports.hasRelevantPendingDotEnvEvidence = hasRelevantPendingDotEnvEvidence;
8
- exports.clearDotEnvFileHashes = clearDotEnvFileHashes;
9
- exports._resetPendingDotEnvEvents = _resetPendingDotEnvEvents;
10
- const node_path_1 = require("node:path");
11
- const native_1 = require("../../native");
12
- const workspace_root_1 = require("../../utils/workspace-root");
13
- // Last-seen content hash per dotenv file, so a byte-identical rewrite (an editor
14
- // save that changes nothing) does not invalidate the graph cache.
15
- const dotEnvFileHashes = new Map();
16
- // getEnvPathsForTask loads `.env`, `.env.local`, `.local.env` and the
17
- // target-scoped `.env.<id>[.local]` / `.<id>[.local].env` variants. The `<id>`
18
- // (a target or configuration name) may itself contain `/`, so the name is
19
- // matched relative to the owning root rather than by basename.
20
- const DOTENV_PREFIXED = /^\.env(\..+)?$/;
21
- const DOTENV_SUFFIXED = /^\..+\.env$/;
22
- function isDotEnvName(name) {
23
- return DOTENV_PREFIXED.test(name) || DOTENV_SUFFIXED.test(name);
24
- }
25
- /**
26
- * Splits the change events into `invalidating`: the paths with the dotenv name
27
- * shape getEnvPathsForTask loads (`.env[.<id>]` / `.<id>.env` variants), under
28
- * the workspace root or a project root, whose content actually changed; and
29
- * `unclassified`: the dotenv-shaped events under no known root. The
30
- * invalidating names are a superset of what any task loads: target and
31
- * configuration names are unknown here, so `.env.staging` is reported whether
32
- * or not a task loads it. The daemon uses this to refresh its graph cache so
33
- * createNodes re-resolves config that reads process.env.
34
- *
35
- * Only the workspace root and project roots invalidate: getEnvPathsForTask
36
- * loads dotenv files from those, never from an arbitrary subdirectory (e.g. one
37
- * under node_modules), and the outputs watcher spans the whole workspace root.
38
- * An unclassified event is not necessarily irrelevant, though: the graph it was
39
- * classified against can predate the file's project root (none is committed
40
- * during the initial computation, and a replaced graph lacks a project that
41
- * computation is adding), so the caller queues it for replay against the next
42
- * graph a computation is about to serve rather than dropping it.
43
- *
44
- * Known limitation: a `.nxignore`d dotenv file never reaches this watcher (the
45
- * native watcher applies `.nxignore` even with `use_ignore: false`), so a warm
46
- * edit of one does not invalidate the graph. The cold path still resolves it:
47
- * getGraphTimeDotEnvForTask reads dotenv from disk directly.
48
- */
49
- function classifyDotEnvChanges(changeEvents, projectGraph) {
50
- // Outputs batches rarely touch dotenv files, so the O(projects) roots set is
51
- // only built once a path clears this superset-of-dotenv-names check.
52
- const candidates = changeEvents.filter((event) => mayBeDotEnvPath(event.path));
53
- if (candidates.length === 0) {
54
- return { invalidating: [], unclassified: [] };
55
- }
56
- const roots = graphTimeDotEnvRoots(projectGraph);
57
- const invalidating = [];
58
- const unclassified = [];
59
- for (const event of candidates) {
60
- const { path, type } = event;
61
- if (!isDotEnvUnderRoot(path, roots)) {
62
- // A recorded hash stops being proof the graph observed the current
63
- // content once an event for the path cannot be classified: the pending
64
- // replay can drop it, and a later classified event with the same bytes
65
- // would then be suppressed as an unchanged rewrite over a graph that
66
- // observed a different state (e.g. the file's absence).
67
- dotEnvFileHashes.delete(path);
68
- unclassified.push(event);
69
- continue;
70
- }
71
- if (type === "delete" /* EventType.delete */) {
72
- // A removed dotenv file drops the vars it set, so the config resolves
73
- // differently; there is no content to hash.
74
- dotEnvFileHashes.delete(path);
75
- invalidating.push(path);
76
- continue;
77
- }
78
- const hash = (0, native_1.hashFile)((0, node_path_1.join)(workspace_root_1.workspaceRoot, path));
79
- if (hash !== null && dotEnvFileHashes.get(path) === hash) {
80
- continue;
81
- }
82
- // hashFile returns null on a vanished/unreadable file; when we cannot prove
83
- // the content is unchanged, report the path rather than risk a stale graph.
84
- if (hash !== null) {
85
- dotEnvFileHashes.set(path, hash);
86
- }
87
- else {
88
- dotEnvFileHashes.delete(path);
89
- }
90
- invalidating.push(path);
91
- }
92
- return { invalidating, unclassified };
93
- }
94
- // Superset of the names both regexes accept: a prefixed name's first segment
95
- // starts with `.env` and a suffixed name's last segment ends with `.env`, even
96
- // when the target/configuration identifier contains `/`.
97
- function mayBeDotEnvPath(path) {
98
- // Nearly every outputs path lacks the substring, so check it before the
99
- // per-segment split: this runs for every path in every outputs batch.
100
- if (!path.includes('.env')) {
101
- return false;
102
- }
103
- return path
104
- .split('/')
105
- .some((segment) => segment.startsWith('.env') || segment.endsWith('.env'));
106
- }
107
- function graphTimeDotEnvRoots(projectGraph) {
108
- const roots = new Set(['.']);
109
- if (projectGraph) {
110
- for (const node of Object.values(projectGraph.nodes)) {
111
- roots.add(node.data.root);
112
- }
113
- }
114
- return roots;
115
- }
116
- /**
117
- * Whether `path` is a dotenv file that getEnvPathsForTask would load from the
118
- * workspace root or a project root. For a project root, the name relative to
119
- * the root may contain `/` because a target/configuration identifier can, and
120
- * every root ancestor is tried, so a nested project root does not shadow a
121
- * parent's slash-identifier dotenv. At the workspace root, only
122
- * single-segment names match.
123
- */
124
- function isDotEnvUnderRoot(path, roots) {
125
- for (let slash = path.lastIndexOf('/'); slash > 0; slash = path.lastIndexOf('/', slash - 1)) {
126
- const dir = path.slice(0, slash);
127
- // Keep walking past a closer root that yields no dotenv name: the same path
128
- // can still be a slash-identifier dotenv for a shallower (parent) root.
129
- if (roots.has(dir) && isDotEnvName(path.slice(slash + 1))) {
130
- return true;
131
- }
132
- }
133
- // No project-root ancestor: a workspace-root dotenv, single-segment names
134
- // only. A deeper path (e.g. `.github/workflows/ci.env`) has the dotenv name
135
- // shape only for a target identifier containing `/`; accepting those would
136
- // invalidate on every write under such dot-directories.
137
- return roots.has('.') && !path.includes('/') && isDotEnvName(path);
138
- }
139
- // Paths of dotenv-shaped events whose graph refresh is not provably scheduled:
140
- // paths under no known root on arrival (the next graph may know the root) and
141
- // edits to tracked files (the workspace watcher schedules the refresh, but a
142
- // computation already in flight may have read the file before the edit). Each
143
- // maps to the recomputation generation current at queue time, so the pre-serve
144
- // replay can prove whether a computation started before the event arrived.
145
- const pendingDotEnvEvents = new Map();
146
- // Bounds daemon-lived growth when nothing drains for a long time. The
147
- // generation current when the last event was lost stands in for the lost
148
- // stamps, so overflow follows the same freshness rule as a queued entry.
149
- const MAX_PENDING_DOTENV_EVENTS = 1024;
150
- let pendingDotEnvEventsOverflowedAtGeneration;
151
- /**
152
- * `generation` is the recomputation generation current at queue time; the
153
- * drain compares it against the serving computation's generation to prove
154
- * whether that computation started before the event arrived.
155
- */
156
- function queuePendingDotEnvEvents(paths, generation) {
157
- for (const path of paths) {
158
- if (pendingDotEnvEvents.size >= MAX_PENDING_DOTENV_EVENTS &&
159
- !pendingDotEnvEvents.has(path)) {
160
- pendingDotEnvEventsOverflowedAtGeneration = generation;
161
- // A lost path never reaches a drain, so its recorded hash would outlive
162
- // the queue's deletion discipline and could suppress a later event over
163
- // a graph that observed different bytes. Drop it while the identity is
164
- // still known.
165
- dotEnvFileHashes.delete(path);
166
- }
167
- else {
168
- pendingDotEnvEvents.set(path, generation);
169
- }
170
- }
171
- }
172
- /**
173
- * Takes and clears the queued unclassified events, returning the paths that
174
- * are dotenv files under a root of `projectGraph` and were queued at or after
175
- * `sinceGeneration` (the serving computation's generation). A path queued
176
- * earlier is dropped safely: the computation claimed its generation after the
177
- * event was queued, so it read the file after the edit landed. Content hashes
178
- * are neither consulted nor recorded here, and any hash recorded for a
179
- * drained path is dropped: a hash taken mid-computation is not proof any
180
- * served graph observed those bytes (the computation may read intermediate
181
- * content), so suppressing a later event on it could leave the graph stale.
182
- * `overflowed` means events were lost at or after `sinceGeneration`, so the
183
- * caller cannot prove its graph fresh and must invalidate; an overflow
184
- * recorded earlier is dropped by the same rule as a queued entry. A relevant
185
- * overflow also drops every recorded hash: with events lost, a retained hash
186
- * (even for a path that invalidated directly and never entered the queue)
187
- * could suppress a later event over intermediate bytes read by the successor
188
- * this drain forces. That successor is already being forced, so clearing
189
- * adds no recomputation.
190
- *
191
- * A stamp records callback time, not edit time, so an event whose edit a
192
- * workspace-watcher-triggered computation already observed can still
193
- * invalidate it: one redundant recompute, accepted because the callback
194
- * cannot prove which side of that computation's file read the edit landed on.
195
- */
196
- function drainPendingDotEnvEvents(projectGraph, sinceGeneration) {
197
- const entries = Array.from(pendingDotEnvEvents.entries());
198
- const overflowed = pendingDotEnvEventsOverflowedAtGeneration !== undefined &&
199
- pendingDotEnvEventsOverflowedAtGeneration >= sinceGeneration;
200
- pendingDotEnvEvents.clear();
201
- pendingDotEnvEventsOverflowedAtGeneration = undefined;
202
- if (overflowed) {
203
- dotEnvFileHashes.clear();
204
- }
205
- if (entries.length === 0) {
206
- return { invalidating: [], overflowed };
207
- }
208
- const roots = graphTimeDotEnvRoots(projectGraph);
209
- const invalidating = [];
210
- for (const [path, generation] of entries) {
211
- dotEnvFileHashes.delete(path);
212
- if (generation >= sinceGeneration && isDotEnvUnderRoot(path, roots)) {
213
- invalidating.push(path);
214
- }
215
- }
216
- return { invalidating, overflowed };
217
- }
218
- /**
219
- * Whether the queue holds evidence that a computation at `sinceGeneration`
220
- * may have read a dotenv file before a reported edit landed: an entry or an
221
- * overflow stamped at or after that generation. Consumes nothing and
222
- * classifies against no roots: the error paths use this to decide on a retry,
223
- * where there may be no graph to classify against, and a spurious retry costs
224
- * one recompute on an already failing path. A persistent error retries once,
225
- * because the retry's successor claims a generation above every stamp
226
- * recorded so far.
227
- */
228
- function hasPendingDotEnvEvidence(sinceGeneration) {
229
- if (pendingDotEnvEventsOverflowedAtGeneration !== undefined &&
230
- pendingDotEnvEventsOverflowedAtGeneration >= sinceGeneration) {
231
- return true;
232
- }
233
- for (const generation of pendingDotEnvEvents.values()) {
234
- if (generation >= sinceGeneration) {
235
- return true;
236
- }
237
- }
238
- return false;
239
- }
240
- /**
241
- * Like hasPendingDotEnvEvidence, but classifies each entry against the roots
242
- * of `projectGraph`: evidence is an overflow stamped at or after
243
- * `sinceGeneration`, or an entry so stamped whose path is a dotenv file under
244
- * one of the graph's roots. The warm-reuse check uses this, where the graph
245
- * the cache serves exists and is exactly what a recompute would refresh;
246
- * skipping paths under none of its roots avoids recomputing for events only
247
- * a future graph could classify, and consuming nothing leaves those entries
248
- * queued for that computation's drain.
249
- */
250
- function hasRelevantPendingDotEnvEvidence(projectGraph, sinceGeneration) {
251
- if (pendingDotEnvEventsOverflowedAtGeneration !== undefined &&
252
- pendingDotEnvEventsOverflowedAtGeneration >= sinceGeneration) {
253
- return true;
254
- }
255
- let roots;
256
- for (const [path, generation] of pendingDotEnvEvents) {
257
- if (generation < sinceGeneration) {
258
- continue;
259
- }
260
- if (!roots) {
261
- roots = graphTimeDotEnvRoots(projectGraph);
262
- }
263
- if (isDotEnvUnderRoot(path, roots)) {
264
- return true;
265
- }
266
- }
267
- return false;
268
- }
269
- /**
270
- * Drops every recorded content hash. Each computation clears on claiming its
271
- * generation, bounding every hash to the window since the last claim: an
272
- * older hash is not proof the graph a successor serves observed those bytes,
273
- * and kept, it could suppress a callback that lands while the successor
274
- * reads. The error-path retry and the warm-reuse check also clear when they
275
- * force a successor while preserving the queue for its drain.
276
- */
277
- function clearDotEnvFileHashes() {
278
- dotEnvFileHashes.clear();
279
- }
280
- // Test helper: the queue is daemon-lived module state.
281
- function _resetPendingDotEnvEvents() {
282
- pendingDotEnvEvents.clear();
283
- pendingDotEnvEventsOverflowedAtGeneration = undefined;
284
- }
@@ -1,10 +0,0 @@
1
- export type ChangedFile = {
2
- path: string;
3
- type: 'create' | 'update' | 'delete';
4
- };
5
- export declare function getProjectsAndGlobalChanges(createdFiles: string[] | null, updatedFiles: string[] | null, deletedFiles: string[] | null): {
6
- projects: {
7
- [changedProject: string]: ChangedFile[];
8
- };
9
- globalFiles: ChangedFile[];
10
- };