nx 20.8.4 → 22.7.7

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 (1561) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +5 -5
  3. package/dist/bin/init-local.d.ts +8 -0
  4. package/dist/bin/init-local.js +197 -0
  5. package/dist/bin/nx.d.ts +3 -0
  6. package/dist/bin/nx.js +306 -0
  7. package/dist/bin/post-install.js +52 -0
  8. package/dist/plugins/package-json.d.ts +4 -0
  9. package/dist/plugins/package-json.js +38 -0
  10. package/dist/release/changelog-renderer/index.d.ts +109 -0
  11. package/dist/release/changelog-renderer/index.js +367 -0
  12. package/dist/src/adapter/angular-json.js +130 -0
  13. package/dist/src/adapter/compat.d.ts +2 -0
  14. package/dist/src/adapter/compat.js +153 -0
  15. package/dist/src/adapter/ngcli-adapter.d.ts +104 -0
  16. package/dist/src/adapter/ngcli-adapter.js +1001 -0
  17. package/dist/src/ai/clone-ai-config-repo.d.ts +11 -0
  18. package/dist/src/ai/clone-ai-config-repo.js +155 -0
  19. package/dist/src/ai/constants.d.ts +26 -0
  20. package/dist/src/ai/constants.js +71 -0
  21. package/dist/src/ai/detect-ai-agent.d.ts +2 -0
  22. package/dist/src/ai/detect-ai-agent.js +12 -0
  23. package/dist/src/ai/set-up-ai-agents/get-agent-rules.d.ts +5 -0
  24. package/dist/src/ai/set-up-ai-agents/get-agent-rules.js +26 -0
  25. package/dist/src/ai/set-up-ai-agents/schema.d.ts +11 -0
  26. package/dist/src/ai/set-up-ai-agents/schema.json +34 -0
  27. package/dist/src/ai/set-up-ai-agents/set-up-ai-agents.d.ts +10 -0
  28. package/dist/src/ai/set-up-ai-agents/set-up-ai-agents.js +516 -0
  29. package/dist/src/ai/utils.d.ts +20 -0
  30. package/dist/src/ai/utils.js +217 -0
  31. package/dist/src/analytics/analytics.d.ts +10 -0
  32. package/dist/src/analytics/analytics.js +236 -0
  33. package/dist/src/analytics/index.d.ts +1 -0
  34. package/dist/src/analytics/index.js +11 -0
  35. package/dist/src/command-line/add/add.js +126 -0
  36. package/dist/src/command-line/add/command-object.js +28 -0
  37. package/dist/src/command-line/affected/affected.js +89 -0
  38. package/dist/src/command-line/affected/command-object.js +83 -0
  39. package/dist/src/command-line/ai/ai-output.d.ts +46 -0
  40. package/dist/src/command-line/ai/ai-output.js +86 -0
  41. package/dist/src/command-line/configure-ai-agents/command-object.d.ts +8 -0
  42. package/dist/src/command-line/configure-ai-agents/command-object.js +47 -0
  43. package/dist/src/command-line/configure-ai-agents/configure-ai-agents.d.ts +3 -0
  44. package/dist/src/command-line/configure-ai-agents/configure-ai-agents.js +425 -0
  45. package/dist/src/command-line/daemon/command-object.d.ts +3 -0
  46. package/dist/src/command-line/daemon/command-object.js +29 -0
  47. package/dist/src/command-line/daemon/daemon.js +31 -0
  48. package/dist/src/command-line/examples.d.ts +12 -0
  49. package/dist/src/command-line/examples.js +403 -0
  50. package/dist/src/command-line/exec/command-object.js +20 -0
  51. package/dist/src/command-line/exec/exec.js +143 -0
  52. package/dist/src/command-line/format/command-object.js +58 -0
  53. package/dist/src/command-line/format/format.js +233 -0
  54. package/dist/src/command-line/generate/command-object.js +67 -0
  55. package/dist/src/command-line/generate/generate.js +281 -0
  56. package/dist/src/command-line/graph/command-object.js +76 -0
  57. package/dist/src/command-line/graph/graph.d.ts +69 -0
  58. package/dist/src/command-line/graph/graph.js +978 -0
  59. package/dist/src/command-line/import/command-object.js +63 -0
  60. package/dist/src/command-line/import/import.d.ts +26 -0
  61. package/dist/src/command-line/import/import.js +600 -0
  62. package/dist/src/command-line/import/utils/ai-output.d.ts +93 -0
  63. package/dist/src/command-line/import/utils/ai-output.js +209 -0
  64. package/dist/src/command-line/import/utils/merge-remote-source.js +14 -0
  65. package/dist/src/command-line/import/utils/prepare-source-repo.js +27 -0
  66. package/dist/src/command-line/index.d.ts +22 -0
  67. package/dist/src/command-line/index.js +26 -0
  68. package/dist/src/command-line/init/ai-agent-prompts.d.ts +2 -0
  69. package/dist/src/command-line/init/ai-agent-prompts.js +35 -0
  70. package/dist/src/command-line/init/command-object.js +108 -0
  71. package/dist/src/command-line/init/configure-plugins.js +210 -0
  72. package/dist/src/command-line/init/implementation/add-nx-to-monorepo.d.ts +6 -0
  73. package/dist/src/command-line/init/implementation/add-nx-to-monorepo.js +140 -0
  74. package/dist/src/command-line/init/implementation/add-nx-to-nest.js +356 -0
  75. package/dist/src/command-line/init/implementation/add-nx-to-npm-repo.d.ts +6 -0
  76. package/dist/src/command-line/init/implementation/add-nx-to-npm-repo.js +82 -0
  77. package/dist/src/command-line/init/implementation/add-nx-to-turborepo.js +50 -0
  78. package/dist/src/command-line/init/implementation/angular/index.js +133 -0
  79. package/dist/src/command-line/init/implementation/angular/integrated-workspace.js +12 -0
  80. package/dist/src/command-line/init/implementation/angular/legacy-angular-versions.js +149 -0
  81. package/dist/src/command-line/init/implementation/angular/standalone-workspace.js +204 -0
  82. package/dist/src/command-line/init/implementation/check-compatible-with-plugins.js +134 -0
  83. package/dist/src/command-line/init/implementation/deduce-default-base.js +53 -0
  84. package/dist/src/command-line/init/implementation/dot-nx/add-nx-scripts.d.ts +10 -0
  85. package/dist/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +137 -0
  86. package/dist/src/command-line/init/implementation/dot-nx/nxw.js +123 -0
  87. package/dist/src/command-line/init/implementation/utils.d.ts +27 -0
  88. package/dist/src/command-line/init/implementation/utils.js +343 -0
  89. package/dist/src/command-line/init/init-v1.d.ts +8 -0
  90. package/dist/src/command-line/init/init-v1.js +104 -0
  91. package/dist/src/command-line/init/init-v2.d.ts +23 -0
  92. package/dist/src/command-line/init/init-v2.js +609 -0
  93. package/dist/src/command-line/init/utils/ai-output.d.ts +72 -0
  94. package/dist/src/command-line/init/utils/ai-output.js +180 -0
  95. package/dist/src/command-line/list/command-object.js +21 -0
  96. package/dist/src/command-line/list/list.d.ts +15 -0
  97. package/dist/src/command-line/list/list.js +48 -0
  98. package/dist/src/command-line/mcp/command-object.d.ts +2 -0
  99. package/dist/src/command-line/mcp/command-object.js +29 -0
  100. package/dist/src/command-line/mcp/mcp.d.ts +2 -0
  101. package/dist/src/command-line/mcp/mcp.js +60 -0
  102. package/dist/src/command-line/migrate/command-object.js +79 -0
  103. package/dist/src/command-line/migrate/migrate-ui-api.d.ts +76 -0
  104. package/dist/src/command-line/migrate/migrate-ui-api.js +354 -0
  105. package/dist/src/command-line/migrate/migrate.d.ts +151 -0
  106. package/dist/src/command-line/migrate/migrate.js +1608 -0
  107. package/dist/src/command-line/migrate/run-migration-process.js +87 -0
  108. package/dist/src/command-line/new/command-object.js +26 -0
  109. package/dist/src/command-line/nx-cloud/apply-locally/apply-locally.d.ts +4 -0
  110. package/dist/src/command-line/nx-cloud/apply-locally/apply-locally.js +13 -0
  111. package/dist/src/command-line/nx-cloud/apply-locally/command-object.d.ts +2 -0
  112. package/dist/src/command-line/nx-cloud/apply-locally/command-object.js +16 -0
  113. package/dist/src/command-line/nx-cloud/complete-run/command-object.d.ts +2 -0
  114. package/dist/src/command-line/nx-cloud/complete-run/command-object.js +17 -0
  115. package/dist/src/command-line/nx-cloud/complete-run/stop-all-agents.d.ts +4 -0
  116. package/dist/src/command-line/nx-cloud/complete-run/stop-all-agents.js +13 -0
  117. package/dist/src/command-line/nx-cloud/connect/command-object.js +28 -0
  118. package/dist/src/command-line/nx-cloud/connect/connect-to-nx-cloud.d.ts +13 -0
  119. package/dist/src/command-line/nx-cloud/connect/connect-to-nx-cloud.js +253 -0
  120. package/dist/src/command-line/nx-cloud/connect/view-logs.js +53 -0
  121. package/dist/src/command-line/nx-cloud/download-cloud-client/command-object.d.ts +2 -0
  122. package/dist/src/command-line/nx-cloud/download-cloud-client/command-object.js +13 -0
  123. package/dist/src/command-line/nx-cloud/download-cloud-client/download-cloud-client.d.ts +4 -0
  124. package/dist/src/command-line/nx-cloud/download-cloud-client/download-cloud-client.js +32 -0
  125. package/dist/src/command-line/nx-cloud/fix-ci/command-object.d.ts +2 -0
  126. package/dist/src/command-line/nx-cloud/fix-ci/command-object.js +16 -0
  127. package/dist/src/command-line/nx-cloud/fix-ci/fix-ci.d.ts +4 -0
  128. package/dist/src/command-line/nx-cloud/fix-ci/fix-ci.js +13 -0
  129. package/dist/src/command-line/nx-cloud/login/command-object.js +20 -0
  130. package/dist/src/command-line/nx-cloud/login/login.js +10 -0
  131. package/dist/src/command-line/nx-cloud/logout/command-object.js +16 -0
  132. package/dist/src/command-line/nx-cloud/logout/logout.js +7 -0
  133. package/dist/src/command-line/nx-cloud/record/command-object.d.ts +2 -0
  134. package/dist/src/command-line/nx-cloud/record/command-object.js +19 -0
  135. package/dist/src/command-line/nx-cloud/record/record.d.ts +5 -0
  136. package/dist/src/command-line/nx-cloud/record/record.js +33 -0
  137. package/dist/src/command-line/nx-cloud/start-agent/command-object.d.ts +2 -0
  138. package/dist/src/command-line/nx-cloud/start-agent/command-object.js +16 -0
  139. package/dist/src/command-line/nx-cloud/start-agent/start-agent.d.ts +4 -0
  140. package/dist/src/command-line/nx-cloud/start-agent/start-agent.js +13 -0
  141. package/dist/src/command-line/nx-cloud/start-ci-run/command-object.d.ts +2 -0
  142. package/dist/src/command-line/nx-cloud/start-ci-run/command-object.js +16 -0
  143. package/dist/src/command-line/nx-cloud/start-ci-run/start-ci-run.d.ts +4 -0
  144. package/dist/src/command-line/nx-cloud/start-ci-run/start-ci-run.js +13 -0
  145. package/dist/src/command-line/nx-cloud/utils.d.ts +2 -0
  146. package/dist/src/command-line/nx-cloud/utils.js +34 -0
  147. package/dist/src/command-line/nx-commands.d.ts +10 -0
  148. package/dist/src/command-line/nx-commands.js +170 -0
  149. package/dist/src/command-line/register/command-object.js +27 -0
  150. package/dist/src/command-line/release/changelog/commit-utils.d.ts +13 -0
  151. package/dist/src/command-line/release/changelog/commit-utils.js +63 -0
  152. package/dist/src/command-line/release/changelog/version-plan-filtering.d.ts +41 -0
  153. package/dist/src/command-line/release/changelog/version-plan-filtering.js +152 -0
  154. package/dist/src/command-line/release/changelog/version-plan-utils.d.ts +31 -0
  155. package/dist/src/command-line/release/changelog/version-plan-utils.js +92 -0
  156. package/dist/src/command-line/release/changelog.d.ts +21 -0
  157. package/dist/src/command-line/release/changelog.js +893 -0
  158. package/dist/src/command-line/release/command-object.d.ts +84 -0
  159. package/dist/src/command-line/release/command-object.js +342 -0
  160. package/dist/src/command-line/release/config/config.d.ts +73 -0
  161. package/dist/src/command-line/release/config/config.js +1172 -0
  162. package/dist/src/command-line/release/config/conventional-commits.js +106 -0
  163. package/dist/src/command-line/release/config/filter-release-groups.d.ts +23 -0
  164. package/dist/src/command-line/release/config/use-legacy-versioning.d.ts +2 -0
  165. package/dist/src/command-line/release/config/use-legacy-versioning.js +8 -0
  166. package/dist/src/command-line/release/config/version-plans.js +278 -0
  167. package/dist/src/command-line/release/index.d.ts +49 -0
  168. package/dist/src/command-line/release/index.js +49 -0
  169. package/dist/src/command-line/release/plan-check.js +170 -0
  170. package/dist/src/command-line/release/plan.js +261 -0
  171. package/dist/src/command-line/release/publish.d.ts +9 -0
  172. package/dist/src/command-line/release/publish.js +290 -0
  173. package/dist/src/command-line/release/release.d.ts +5 -0
  174. package/dist/src/command-line/release/release.js +300 -0
  175. package/dist/src/command-line/release/utils/diff.d.ts +21 -0
  176. package/dist/src/command-line/release/utils/diff.js +168 -0
  177. package/dist/src/command-line/release/utils/exec-command.js +34 -0
  178. package/dist/src/command-line/release/utils/get-touched-projects-for-group.js +78 -0
  179. package/dist/src/command-line/release/utils/git.d.ts +120 -0
  180. package/dist/src/command-line/release/utils/git.js +560 -0
  181. package/dist/src/command-line/release/utils/launch-editor.js +46 -0
  182. package/dist/src/command-line/release/utils/print-changes.js +63 -0
  183. package/dist/src/command-line/release/utils/release-graph.d.ts +230 -0
  184. package/dist/src/command-line/release/utils/release-graph.js +710 -0
  185. package/dist/src/command-line/release/utils/remote-release-clients/extract-repo-slug.d.ts +9 -0
  186. package/dist/src/command-line/release/utils/remote-release-clients/extract-repo-slug.js +61 -0
  187. package/dist/src/command-line/release/utils/remote-release-clients/github.d.ts +58 -0
  188. package/dist/src/command-line/release/utils/remote-release-clients/github.js +342 -0
  189. package/dist/src/command-line/release/utils/remote-release-clients/gitlab.d.ts +62 -0
  190. package/dist/src/command-line/release/utils/remote-release-clients/gitlab.js +268 -0
  191. package/dist/src/command-line/release/utils/remote-release-clients/remote-release-client.d.ts +111 -0
  192. package/dist/src/command-line/release/utils/remote-release-clients/remote-release-client.js +138 -0
  193. package/dist/src/command-line/release/utils/repository-git-tags.d.ts +25 -0
  194. package/dist/src/command-line/release/utils/repository-git-tags.js +125 -0
  195. package/dist/src/command-line/release/utils/resolve-changelog-renderer.d.ts +2 -0
  196. package/dist/src/command-line/release/utils/resolve-changelog-renderer.js +34 -0
  197. package/dist/src/command-line/release/utils/resolve-nx-json-error-message.js +53 -0
  198. package/dist/src/command-line/release/utils/resolve-semver-specifier.d.ts +7 -0
  199. package/dist/src/command-line/release/utils/resolve-semver-specifier.js +58 -0
  200. package/dist/src/command-line/release/utils/semver.d.ts +26 -0
  201. package/dist/src/command-line/release/utils/semver.js +111 -0
  202. package/dist/src/command-line/release/utils/shared.d.ts +64 -0
  203. package/dist/src/command-line/release/utils/shared.js +363 -0
  204. package/dist/src/command-line/release/utils/version-plan-utils.d.ts +40 -0
  205. package/dist/src/command-line/release/utils/version-plan-utils.js +111 -0
  206. package/dist/src/command-line/release/version/derive-specifier-from-conventional-commits.d.ts +8 -0
  207. package/dist/src/command-line/release/version/derive-specifier-from-conventional-commits.js +56 -0
  208. package/dist/src/command-line/release/version/project-logger.js +47 -0
  209. package/dist/src/command-line/release/version/release-group-processor.d.ts +115 -0
  210. package/dist/src/command-line/release/version/release-group-processor.js +632 -0
  211. package/dist/src/command-line/release/version/resolve-current-version.d.ts +32 -0
  212. package/dist/src/command-line/release/version/resolve-current-version.js +240 -0
  213. package/dist/src/command-line/release/version/topological-sort.js +41 -0
  214. package/dist/src/command-line/release/version/version-actions.d.ts +199 -0
  215. package/dist/src/command-line/release/version/version-actions.js +251 -0
  216. package/dist/src/command-line/release/version.d.ts +25 -0
  217. package/dist/src/command-line/release/version.js +368 -0
  218. package/dist/src/command-line/repair/command-object.js +21 -0
  219. package/dist/src/command-line/repair/repair.js +41 -0
  220. package/dist/src/command-line/report/command-object.js +12 -0
  221. package/dist/src/command-line/report/report.d.ts +71 -0
  222. package/dist/src/command-line/report/report.js +404 -0
  223. package/dist/src/command-line/reset/command-object.js +27 -0
  224. package/dist/src/command-line/reset/reset.js +178 -0
  225. package/dist/src/command-line/run/command-object.js +43 -0
  226. package/dist/src/command-line/run/executor-utils.d.ts +12 -0
  227. package/dist/src/command-line/run/executor-utils.js +96 -0
  228. package/dist/src/command-line/run/run-one.d.ts +17 -0
  229. package/dist/src/command-line/run/run-one.js +154 -0
  230. package/dist/src/command-line/run/run.js +179 -0
  231. package/dist/src/command-line/run-many/command-object.js +18 -0
  232. package/dist/src/command-line/run-many/run-many.js +89 -0
  233. package/dist/src/command-line/show/command-object.d.ts +40 -0
  234. package/dist/src/command-line/show/command-object.js +237 -0
  235. package/dist/src/command-line/show/project.js +103 -0
  236. package/dist/src/command-line/show/projects.js +80 -0
  237. package/dist/src/command-line/show/show-target/index.d.ts +3 -0
  238. package/dist/src/command-line/show/show-target/index.js +9 -0
  239. package/dist/src/command-line/show/show-target/info.d.ts +27 -0
  240. package/dist/src/command-line/show/show-target/info.js +299 -0
  241. package/dist/src/command-line/show/show-target/inputs.d.ts +2 -0
  242. package/dist/src/command-line/show/show-target/inputs.js +186 -0
  243. package/dist/src/command-line/show/show-target/outputs.d.ts +2 -0
  244. package/dist/src/command-line/show/show-target/outputs.js +195 -0
  245. package/dist/src/command-line/show/show-target/utils.d.ts +26 -0
  246. package/dist/src/command-line/show/show-target/utils.js +185 -0
  247. package/dist/src/command-line/sync/command-object.js +21 -0
  248. package/dist/src/command-line/sync/sync.js +120 -0
  249. package/dist/src/command-line/watch/command-object.js +71 -0
  250. package/dist/src/command-line/watch/watch.d.ts +24 -0
  251. package/dist/src/command-line/watch/watch.js +198 -0
  252. package/dist/src/command-line/yargs-utils/arguments-of.d.ts +11 -0
  253. package/dist/src/command-line/yargs-utils/arguments-of.js +9 -0
  254. package/dist/src/command-line/yargs-utils/documentation.js +12 -0
  255. package/dist/src/command-line/yargs-utils/shared-options.d.ts +91 -0
  256. package/dist/src/command-line/yargs-utils/shared-options.js +395 -0
  257. package/dist/src/commands-runner/get-command-projects.js +33 -0
  258. package/dist/src/config/misc-interfaces.d.ts +229 -0
  259. package/dist/src/config/nx-json.d.ts +862 -0
  260. package/dist/src/config/nx-json.js +40 -0
  261. package/dist/src/config/schema-utils.js +126 -0
  262. package/dist/src/config/task-graph.d.ts +109 -0
  263. package/dist/src/config/workspace-json-project-json.d.ts +263 -0
  264. package/dist/src/core/graph/index.html +32 -0
  265. package/dist/src/core/graph/main.js +1 -0
  266. package/dist/src/core/graph/runtime.js +1 -0
  267. package/dist/src/core/graph/styles.css +3 -0
  268. package/dist/src/core/graph/styles.js +1 -0
  269. package/dist/src/daemon/cache.d.ts +10 -0
  270. package/dist/src/daemon/cache.js +58 -0
  271. package/dist/src/daemon/client/client.d.ts +117 -0
  272. package/dist/src/daemon/client/client.js +1040 -0
  273. package/dist/src/daemon/client/daemon-environment.d.ts +4 -0
  274. package/dist/src/daemon/client/daemon-environment.js +121 -0
  275. package/dist/src/daemon/client/daemon-socket-messenger.d.ts +12 -0
  276. package/dist/src/daemon/client/daemon-socket-messenger.js +54 -0
  277. package/dist/src/daemon/is-nx-version-mismatch.d.ts +1 -0
  278. package/dist/src/daemon/is-nx-version-mismatch.js +8 -0
  279. package/dist/src/daemon/is-v8-serializer-enabled.d.ts +5 -0
  280. package/dist/src/daemon/is-v8-serializer-enabled.js +10 -0
  281. package/dist/src/daemon/logger.d.ts +39 -0
  282. package/dist/src/daemon/logger.js +80 -0
  283. package/dist/src/daemon/message-types/configure-ai-agents.d.ts +20 -0
  284. package/dist/src/daemon/message-types/configure-ai-agents.js +19 -0
  285. package/dist/src/daemon/message-types/daemon-message.d.ts +6 -0
  286. package/dist/src/daemon/message-types/daemon-message.js +6 -0
  287. package/dist/src/daemon/message-types/nx-console.d.ts +17 -0
  288. package/dist/src/daemon/message-types/nx-console.js +19 -0
  289. package/dist/src/daemon/message-types/register-project-graph-listener.d.ts +5 -0
  290. package/dist/src/daemon/message-types/register-project-graph-listener.js +11 -0
  291. package/dist/src/daemon/message-types/streaming-messages.d.ts +14 -0
  292. package/dist/src/daemon/message-types/streaming-messages.js +19 -0
  293. package/dist/src/daemon/server/client-socket-context.d.ts +23 -0
  294. package/dist/src/daemon/server/client-socket-context.js +89 -0
  295. package/dist/src/daemon/server/file-watching/file-change-events.d.ts +7 -0
  296. package/dist/src/daemon/server/file-watching/file-change-events.js +19 -0
  297. package/dist/src/daemon/server/file-watching/file-watcher-sockets.js +66 -0
  298. package/dist/src/daemon/server/handle-configure-ai-agents.d.ts +3 -0
  299. package/dist/src/daemon/server/handle-configure-ai-agents.js +101 -0
  300. package/dist/src/daemon/server/handle-context-file-data.js +12 -0
  301. package/dist/src/daemon/server/handle-flush-sync-generator-changes-to-disk.js +11 -0
  302. package/dist/src/daemon/server/handle-get-files-in-directory.js +12 -0
  303. package/dist/src/daemon/server/handle-get-registered-sync-generators.js +11 -0
  304. package/dist/src/daemon/server/handle-get-sync-generator-changes.js +20 -0
  305. package/dist/src/daemon/server/handle-glob.js +20 -0
  306. package/dist/src/daemon/server/handle-hash-tasks.d.ts +12 -0
  307. package/dist/src/daemon/server/handle-hash-tasks.js +28 -0
  308. package/dist/src/daemon/server/handle-nx-console.d.ts +3 -0
  309. package/dist/src/daemon/server/handle-nx-console.js +54 -0
  310. package/dist/src/daemon/server/handle-nx-workspace-files.js +12 -0
  311. package/dist/src/daemon/server/handle-outputs-tracking.d.ts +15 -0
  312. package/dist/src/daemon/server/handle-outputs-tracking.js +35 -0
  313. package/dist/src/daemon/server/handle-process-in-background.js +32 -0
  314. package/dist/src/daemon/server/handle-request-project-graph.d.ts +3 -0
  315. package/dist/src/daemon/server/handle-request-project-graph.js +36 -0
  316. package/dist/src/daemon/server/handle-task-history.d.ts +13 -0
  317. package/dist/src/daemon/server/handle-task-history.js +30 -0
  318. package/dist/src/daemon/server/handle-tasks-execution-hooks.d.ts +19 -0
  319. package/dist/src/daemon/server/handle-tasks-execution-hooks.js +35 -0
  320. package/dist/src/daemon/server/latest-nx.d.ts +10 -0
  321. package/dist/src/daemon/server/latest-nx.js +51 -0
  322. package/dist/src/daemon/server/nx-console-operations.d.ts +26 -0
  323. package/dist/src/daemon/server/nx-console-operations.js +97 -0
  324. package/dist/src/daemon/server/outputs-tracking.d.ts +23 -0
  325. package/dist/src/daemon/server/outputs-tracking.js +120 -0
  326. package/dist/src/daemon/server/project-graph-incremental-recomputation.d.ts +29 -0
  327. package/dist/src/daemon/server/project-graph-incremental-recomputation.js +411 -0
  328. package/dist/src/daemon/server/project-graph-listener-sockets.d.ts +7 -0
  329. package/dist/src/daemon/server/project-graph-listener-sockets.js +25 -0
  330. package/dist/src/daemon/server/server.d.ts +10 -0
  331. package/dist/src/daemon/server/server.js +519 -0
  332. package/dist/src/daemon/server/shutdown-utils.d.ts +18 -0
  333. package/dist/src/daemon/server/shutdown-utils.js +152 -0
  334. package/dist/src/daemon/server/start.d.ts +1 -0
  335. package/dist/src/daemon/server/start.js +20 -0
  336. package/dist/src/daemon/server/sync-generators.d.ts +14 -0
  337. package/dist/src/daemon/server/sync-generators.js +368 -0
  338. package/dist/src/daemon/server/watcher.d.ts +11 -0
  339. package/dist/src/daemon/server/watcher.js +98 -0
  340. package/dist/src/daemon/socket-utils.d.ts +23 -0
  341. package/dist/src/daemon/socket-utils.js +96 -0
  342. package/dist/src/daemon/tmp-dir.d.ts +12 -0
  343. package/dist/src/daemon/tmp-dir.js +71 -0
  344. package/dist/src/devkit-exports.d.ts +139 -0
  345. package/dist/src/devkit-internals.d.ts +35 -0
  346. package/dist/src/devkit-internals.js +75 -0
  347. package/dist/src/executors/noop/schema.json +10 -0
  348. package/dist/src/executors/run-commands/run-commands.impl.d.ts +59 -0
  349. package/dist/src/executors/run-commands/run-commands.impl.js +301 -0
  350. package/dist/src/executors/run-commands/running-tasks.d.ts +45 -0
  351. package/dist/src/executors/run-commands/running-tasks.js +513 -0
  352. package/dist/src/executors/run-commands/schema.json +198 -0
  353. package/dist/src/executors/run-script/run-script.impl.js +93 -0
  354. package/dist/src/executors/run-script/schema.json +28 -0
  355. package/dist/src/executors/utils/convert-nx-executor.js +83 -0
  356. package/dist/src/generators/internal-utils/format-changed-files-with-prettier-if-available.d.ts +19 -0
  357. package/dist/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js +81 -0
  358. package/dist/src/generators/tree.js +310 -0
  359. package/dist/src/generators/utils/generate-files.d.ts +44 -0
  360. package/dist/src/generators/utils/generate-files.js +114 -0
  361. package/dist/src/generators/utils/nx-json.d.ts +10 -0
  362. package/dist/src/generators/utils/nx-json.js +52 -0
  363. package/dist/src/generators/utils/project-configuration.js +307 -0
  364. package/dist/src/hasher/hash-plan-inspector.d.ts +33 -0
  365. package/dist/src/hasher/hash-plan-inspector.js +70 -0
  366. package/dist/src/hasher/hash-task.d.ts +17 -0
  367. package/dist/src/hasher/hash-task.js +191 -0
  368. package/dist/src/hasher/native-task-hasher-impl.d.ts +18 -0
  369. package/dist/src/hasher/native-task-hasher-impl.js +38 -0
  370. package/dist/src/hasher/task-hasher.d.ts +160 -0
  371. package/dist/src/hasher/task-hasher.js +299 -0
  372. package/dist/src/migrations/update-15-0-0/prefix-outputs.d.ts +2 -0
  373. package/dist/src/migrations/update-15-0-0/prefix-outputs.js +49 -0
  374. package/dist/src/migrations/update-16-0-0/remove-nrwl-cli.d.ts +2 -0
  375. package/dist/src/migrations/update-16-0-0/remove-nrwl-cli.js +16 -0
  376. package/dist/src/migrations/update-16-0-0/update-depends-on-to-tokens.d.ts +2 -0
  377. package/dist/src/migrations/update-16-0-0/update-depends-on-to-tokens.js +97 -0
  378. package/dist/src/migrations/update-16-0-0/update-nx-cloud-runner.d.ts +2 -0
  379. package/dist/src/migrations/update-16-0-0/update-nx-cloud-runner.js +29 -0
  380. package/dist/src/migrations/update-16-2-0/remove-run-commands-output-path.d.ts +2 -0
  381. package/dist/src/migrations/update-16-2-0/remove-run-commands-output-path.js +45 -0
  382. package/dist/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.d.ts +12 -0
  383. package/dist/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.js +67 -0
  384. package/dist/src/migrations/update-17-0-0/move-cache-directory.js +35 -0
  385. package/dist/src/migrations/update-17-2-0/move-default-base.js +20 -0
  386. package/dist/src/migrations/update-21-0-0/release-changelog-config-changes.d.ts +2 -0
  387. package/dist/src/migrations/update-21-0-0/release-changelog-config-changes.js +38 -0
  388. package/dist/src/migrations/update-21-0-0/release-version-config-changes.d.ts +2 -0
  389. package/dist/src/migrations/update-21-0-0/release-version-config-changes.js +101 -0
  390. package/dist/src/migrations/update-21-0-0/remove-custom-tasks-runner.d.ts +2 -0
  391. package/dist/src/migrations/update-21-0-0/remove-custom-tasks-runner.js +38 -0
  392. package/dist/src/migrations/update-21-0-0/remove-legacy-cache.d.ts +2 -0
  393. package/dist/src/migrations/update-21-0-0/remove-legacy-cache.js +17 -0
  394. package/dist/src/migrations/update-22-0-0/consolidate-release-tag-config.d.ts +2 -0
  395. package/dist/src/migrations/update-22-0-0/consolidate-release-tag-config.js +100 -0
  396. package/dist/src/migrations/update-22-0-0/release-version-config-changes.d.ts +2 -0
  397. package/dist/src/migrations/update-22-0-0/release-version-config-changes.js +101 -0
  398. package/dist/src/migrations/update-22-1-0/update-nx-wrapper.d.ts +2 -0
  399. package/dist/src/migrations/update-22-1-0/update-nx-wrapper.js +7 -0
  400. package/dist/src/migrations/update-22-2-0/add-self-healing-to-gitignore.d.ts +2 -0
  401. package/dist/src/migrations/update-22-2-0/add-self-healing-to-gitignore.js +19 -0
  402. package/dist/src/migrations/update-22-6-0/add-claude-settings-local-to-git-ignore.d.ts +2 -0
  403. package/dist/src/migrations/update-22-6-0/add-claude-settings-local-to-git-ignore.js +16 -0
  404. package/dist/src/migrations/update-22-6-0/add-claude-worktrees-to-git-ignore.d.ts +2 -0
  405. package/dist/src/migrations/update-22-6-0/add-claude-worktrees-to-git-ignore.js +16 -0
  406. package/dist/src/migrations/update-22-6-0/enable-analytics-prompt.d.ts +2 -0
  407. package/dist/src/migrations/update-22-6-0/enable-analytics-prompt.js +23 -0
  408. package/dist/src/migrations/update-22-7-0/add-polygraph-to-git-ignore.d.ts +2 -0
  409. package/dist/src/migrations/update-22-7-0/add-polygraph-to-git-ignore.js +16 -0
  410. package/dist/src/native/index.d.ts +672 -0
  411. package/dist/src/native/index.js +173 -0
  412. package/dist/src/native/native-bindings.js +635 -0
  413. package/dist/src/native/native-file-cache-location.js +23 -0
  414. package/dist/src/native/nx.wasi-browser.js +131 -0
  415. package/dist/src/native/nx.wasi.cjs +161 -0
  416. package/dist/src/native/nx.wasm32-wasi.debug.wasm +0 -0
  417. package/dist/src/native/nx.wasm32-wasi.wasm +0 -0
  418. package/dist/src/native/wasi-worker-browser.mjs +30 -0
  419. package/dist/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.d.ts +14 -0
  420. package/dist/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +159 -0
  421. package/dist/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +41 -0
  422. package/dist/src/nx-cloud/nx-cloud-tasks-runner-shell.js +41 -0
  423. package/dist/src/nx-cloud/update-manager.d.ts +23 -0
  424. package/dist/src/nx-cloud/update-manager.js +267 -0
  425. package/dist/src/nx-cloud/utilities/axios.d.ts +4 -0
  426. package/dist/src/nx-cloud/utilities/axios.js +17 -0
  427. package/dist/src/nx-cloud/utilities/client.d.ts +10 -0
  428. package/dist/src/nx-cloud/utilities/client.js +42 -0
  429. package/dist/src/nx-cloud/utilities/environment.js +48 -0
  430. package/dist/src/nx-cloud/utilities/onboarding.js +28 -0
  431. package/dist/src/nx-cloud/utilities/url-shorten.d.ts +5 -0
  432. package/dist/src/nx-cloud/utilities/url-shorten.js +84 -0
  433. package/dist/src/plugins/js/index.d.ts +4 -0
  434. package/dist/src/plugins/js/index.js +201 -0
  435. package/dist/src/plugins/js/lock-file/bun-parser.d.ts +14 -0
  436. package/dist/src/plugins/js/lock-file/bun-parser.js +936 -0
  437. package/dist/src/plugins/js/lock-file/lock-file.d.ts +38 -0
  438. package/dist/src/plugins/js/lock-file/lock-file.js +255 -0
  439. package/dist/src/plugins/js/lock-file/npm-parser.d.ts +10 -0
  440. package/dist/src/plugins/js/lock-file/npm-parser.js +544 -0
  441. package/dist/src/plugins/js/lock-file/pnpm-parser.d.ts +10 -0
  442. package/dist/src/plugins/js/lock-file/pnpm-parser.js +660 -0
  443. package/dist/src/plugins/js/lock-file/project-graph-pruning.d.ts +11 -0
  444. package/dist/src/plugins/js/lock-file/project-graph-pruning.js +210 -0
  445. package/dist/src/plugins/js/lock-file/utils/package-json.d.ts +10 -0
  446. package/dist/src/plugins/js/lock-file/utils/package-json.js +38 -0
  447. package/dist/src/plugins/js/lock-file/utils/pnpm-normalizer.js +873 -0
  448. package/dist/src/plugins/js/lock-file/yarn-parser.d.ts +10 -0
  449. package/dist/src/plugins/js/lock-file/yarn-parser.js +509 -0
  450. package/dist/src/plugins/js/package-json/create-package-json.js +291 -0
  451. package/dist/src/plugins/js/project-graph/affected/lock-file-changes.d.ts +5 -0
  452. package/dist/src/plugins/js/project-graph/affected/lock-file-changes.js +72 -0
  453. package/dist/src/plugins/js/project-graph/affected/npm-packages.js +93 -0
  454. package/dist/src/plugins/js/project-graph/build-dependencies/build-dependencies.js +45 -0
  455. package/dist/src/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.js +86 -0
  456. package/dist/src/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.js +75 -0
  457. package/dist/src/plugins/js/project-graph/build-dependencies/target-project-locator.d.ts +74 -0
  458. package/dist/src/plugins/js/project-graph/build-dependencies/target-project-locator.js +429 -0
  459. package/dist/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.js +121 -0
  460. package/dist/src/plugins/js/utils/get-workspace-packages-from-graph.d.ts +2 -0
  461. package/dist/src/plugins/js/utils/get-workspace-packages-from-graph.js +13 -0
  462. package/dist/src/plugins/js/utils/register.d.ts +159 -0
  463. package/dist/src/plugins/js/utils/register.js +485 -0
  464. package/dist/src/plugins/js/utils/typescript.d.ts +23 -0
  465. package/dist/src/plugins/js/utils/typescript.js +142 -0
  466. package/dist/src/plugins/js/versions.d.ts +1 -0
  467. package/dist/src/plugins/js/versions.js +4 -0
  468. package/dist/src/plugins/package-json/create-nodes.d.ts +27 -0
  469. package/dist/src/plugins/package-json/create-nodes.js +239 -0
  470. package/dist/src/plugins/project-json/build-nodes/project-json.d.ts +5 -0
  471. package/dist/src/plugins/project-json/build-nodes/project-json.js +33 -0
  472. package/dist/src/project-graph/affected/affected-project-graph.js +90 -0
  473. package/dist/src/project-graph/build-project-graph.d.ts +23 -0
  474. package/dist/src/project-graph/build-project-graph.js +304 -0
  475. package/dist/src/project-graph/error-types.d.ts +140 -0
  476. package/dist/src/project-graph/error-types.js +419 -0
  477. package/dist/src/project-graph/file-utils.d.ts +24 -0
  478. package/dist/src/project-graph/file-utils.js +114 -0
  479. package/dist/src/project-graph/nx-deps-cache.d.ts +62 -0
  480. package/dist/src/project-graph/nx-deps-cache.js +345 -0
  481. package/dist/src/project-graph/plugins/get-plugins.d.ts +5 -0
  482. package/dist/src/project-graph/plugins/get-plugins.js +224 -0
  483. package/dist/src/project-graph/plugins/in-process-loader.d.ts +10 -0
  484. package/dist/src/project-graph/plugins/in-process-loader.js +61 -0
  485. package/dist/src/project-graph/plugins/isolation/enabled.js +22 -0
  486. package/dist/src/project-graph/plugins/isolation/index.d.ts +1 -0
  487. package/dist/src/project-graph/plugins/isolation/index.js +5 -0
  488. package/dist/src/project-graph/plugins/isolation/isolated-plugin.d.ts +62 -0
  489. package/dist/src/project-graph/plugins/isolation/isolated-plugin.js +474 -0
  490. package/dist/src/project-graph/plugins/isolation/load-isolated-plugin.d.ts +3 -0
  491. package/dist/src/project-graph/plugins/isolation/load-isolated-plugin.js +24 -0
  492. package/dist/src/project-graph/plugins/isolation/message-types.d.ts +59 -0
  493. package/dist/src/project-graph/plugins/isolation/message-types.js +9 -0
  494. package/dist/src/project-graph/plugins/isolation/messaging.d.ts +142 -0
  495. package/dist/src/project-graph/plugins/isolation/messaging.js +86 -0
  496. package/dist/src/project-graph/plugins/isolation/plugin-lifecycle-manager.d.ts +82 -0
  497. package/dist/src/project-graph/plugins/isolation/plugin-lifecycle-manager.js +188 -0
  498. package/dist/src/project-graph/plugins/isolation/plugin-worker.d.ts +2 -0
  499. package/dist/src/project-graph/plugins/isolation/plugin-worker.js +151 -0
  500. package/dist/src/project-graph/plugins/isolation/worker-streaming.d.ts +14 -0
  501. package/dist/src/project-graph/plugins/isolation/worker-streaming.js +39 -0
  502. package/dist/src/project-graph/plugins/load-resolved-plugin.d.ts +3 -0
  503. package/dist/src/project-graph/plugins/load-resolved-plugin.js +24 -0
  504. package/dist/src/project-graph/plugins/loaded-nx-plugin.d.ts +41 -0
  505. package/dist/src/project-graph/plugins/loaded-nx-plugin.js +101 -0
  506. package/dist/src/project-graph/plugins/public-api.d.ts +120 -0
  507. package/dist/src/project-graph/plugins/resolve-plugin.d.ts +18 -0
  508. package/dist/src/project-graph/plugins/resolve-plugin.js +256 -0
  509. package/dist/src/project-graph/plugins/transpiler.js +47 -0
  510. package/dist/src/project-graph/plugins/utils.d.ts +4 -0
  511. package/dist/src/project-graph/plugins/utils.js +32 -0
  512. package/dist/src/project-graph/project-graph.d.ts +54 -0
  513. package/dist/src/project-graph/project-graph.js +411 -0
  514. package/dist/src/project-graph/utils/normalize-project-nodes.d.ts +6 -0
  515. package/dist/src/project-graph/utils/normalize-project-nodes.js +117 -0
  516. package/dist/src/project-graph/utils/project-configuration/name-substitution-manager.d.ts +74 -0
  517. package/dist/src/project-graph/utils/project-configuration/name-substitution-manager.js +469 -0
  518. package/dist/src/project-graph/utils/project-configuration/project-nodes-manager.d.ts +39 -0
  519. package/dist/src/project-graph/utils/project-configuration/project-nodes-manager.js +264 -0
  520. package/dist/src/project-graph/utils/project-configuration/source-maps.d.ts +69 -0
  521. package/dist/src/project-graph/utils/project-configuration/source-maps.js +94 -0
  522. package/dist/src/project-graph/utils/project-configuration/target-merging.d.ts +31 -0
  523. package/dist/src/project-graph/utils/project-configuration/target-merging.js +332 -0
  524. package/dist/src/project-graph/utils/project-configuration/target-normalization.d.ts +12 -0
  525. package/dist/src/project-graph/utils/project-configuration/target-normalization.js +177 -0
  526. package/dist/src/project-graph/utils/project-configuration-utils.d.ts +51 -0
  527. package/dist/src/project-graph/utils/project-configuration-utils.js +238 -0
  528. package/dist/src/project-graph/utils/retrieve-workspace-files.d.ts +26 -0
  529. package/dist/src/tasks-runner/batch/run-batch.js +75 -0
  530. package/dist/src/tasks-runner/cache.d.ts +94 -0
  531. package/dist/src/tasks-runner/cache.js +604 -0
  532. package/dist/src/tasks-runner/create-task-graph.d.ts +42 -0
  533. package/dist/src/tasks-runner/create-task-graph.js +313 -0
  534. package/dist/src/tasks-runner/default-tasks-runner.js +71 -0
  535. package/dist/src/tasks-runner/fork.js +73 -0
  536. package/dist/src/tasks-runner/forked-process-task-runner.d.ts +42 -0
  537. package/dist/src/tasks-runner/forked-process-task-runner.js +294 -0
  538. package/dist/src/tasks-runner/init-tasks-runner.d.ts +22 -0
  539. package/dist/src/tasks-runner/init-tasks-runner.js +149 -0
  540. package/dist/src/tasks-runner/is-tui-enabled.d.ts +18 -0
  541. package/dist/src/tasks-runner/is-tui-enabled.js +91 -0
  542. package/dist/src/tasks-runner/life-cycle.d.ts +75 -0
  543. package/dist/src/tasks-runner/life-cycle.js +141 -0
  544. package/dist/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.js +366 -0
  545. package/dist/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.js +238 -0
  546. package/dist/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.js +109 -0
  547. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle-old.d.ts +11 -0
  548. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle-old.js +91 -0
  549. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle.d.ts +16 -0
  550. package/dist/src/tasks-runner/life-cycles/task-history-life-cycle.js +112 -0
  551. package/dist/src/tasks-runner/life-cycles/task-telemetry-life-cycle.d.ts +9 -0
  552. package/dist/src/tasks-runner/life-cycles/task-telemetry-life-cycle.js +42 -0
  553. package/dist/src/tasks-runner/life-cycles/tui-summary-life-cycle.d.ts +19 -0
  554. package/dist/src/tasks-runner/life-cycles/tui-summary-life-cycle.js +339 -0
  555. package/dist/src/tasks-runner/process-metrics-service.d.ts +53 -0
  556. package/dist/src/tasks-runner/process-metrics-service.js +161 -0
  557. package/dist/src/tasks-runner/pseudo-ipc.js +156 -0
  558. package/dist/src/tasks-runner/pseudo-terminal.d.ts +57 -0
  559. package/dist/src/tasks-runner/pseudo-terminal.js +171 -0
  560. package/dist/src/tasks-runner/run-command.d.ts +42 -0
  561. package/dist/src/tasks-runner/run-command.js +876 -0
  562. package/dist/src/tasks-runner/running-tasks/batch-process.d.ts +19 -0
  563. package/dist/src/tasks-runner/running-tasks/batch-process.js +112 -0
  564. package/dist/src/tasks-runner/running-tasks/node-child-process.d.ts +40 -0
  565. package/dist/src/tasks-runner/running-tasks/node-child-process.js +177 -0
  566. package/dist/src/tasks-runner/running-tasks/noop-child-process.d.ts +16 -0
  567. package/dist/src/tasks-runner/running-tasks/noop-child-process.js +22 -0
  568. package/dist/src/tasks-runner/running-tasks/output-prefix.d.ts +13 -0
  569. package/dist/src/tasks-runner/running-tasks/output-prefix.js +63 -0
  570. package/dist/src/tasks-runner/running-tasks/running-task.d.ts +11 -0
  571. package/dist/src/tasks-runner/running-tasks/running-task.js +6 -0
  572. package/dist/src/tasks-runner/running-tasks/shared-running-task.d.ts +14 -0
  573. package/dist/src/tasks-runner/running-tasks/shared-running-task.js +30 -0
  574. package/dist/src/tasks-runner/task-env-paths.d.ts +1 -0
  575. package/dist/src/tasks-runner/task-env-paths.js +45 -0
  576. package/dist/src/tasks-runner/task-env.d.ts +22 -0
  577. package/dist/src/tasks-runner/task-env.js +166 -0
  578. package/dist/src/tasks-runner/task-graph-utils.d.ts +30 -0
  579. package/dist/src/tasks-runner/task-graph-utils.js +225 -0
  580. package/dist/src/tasks-runner/task-io-service.d.ts +96 -0
  581. package/dist/src/tasks-runner/task-io-service.js +122 -0
  582. package/dist/src/tasks-runner/task-orchestrator.d.ts +179 -0
  583. package/dist/src/tasks-runner/task-orchestrator.js +1277 -0
  584. package/dist/src/tasks-runner/tasks-runner.d.ts +24 -0
  585. package/dist/src/tasks-runner/tasks-schedule.d.ts +48 -0
  586. package/dist/src/tasks-runner/tasks-schedule.js +258 -0
  587. package/dist/src/tasks-runner/utils.d.ts +61 -0
  588. package/dist/src/tasks-runner/utils.js +450 -0
  589. package/dist/src/utils/ab-testing.d.ts +50 -0
  590. package/dist/src/utils/ab-testing.js +128 -0
  591. package/dist/src/utils/analytics-prompt.d.ts +12 -0
  592. package/dist/src/utils/analytics-prompt.js +137 -0
  593. package/dist/src/utils/assert-workspace-validity.js +85 -0
  594. package/dist/src/utils/binary-extensions.d.ts +1 -0
  595. package/dist/src/utils/binary-extensions.js +279 -0
  596. package/dist/src/utils/cache-directory.d.ts +9 -0
  597. package/dist/src/utils/cache-directory.js +86 -0
  598. package/dist/src/utils/call-sites.d.ts +14 -0
  599. package/dist/src/utils/call-sites.js +28 -0
  600. package/dist/src/utils/catalog/index.d.ts +9 -0
  601. package/dist/src/utils/catalog/index.js +38 -0
  602. package/dist/src/utils/catalog/manager-factory.d.ts +5 -0
  603. package/dist/src/utils/catalog/manager-factory.js +20 -0
  604. package/dist/src/utils/catalog/manager.d.ts +40 -0
  605. package/dist/src/utils/catalog/manager.js +13 -0
  606. package/dist/src/utils/catalog/pnpm-manager.d.ts +21 -0
  607. package/dist/src/utils/catalog/pnpm-manager.js +249 -0
  608. package/dist/src/utils/catalog/types.d.ts +11 -0
  609. package/dist/src/utils/catalog/types.js +2 -0
  610. package/dist/src/utils/catalog/yarn-manager.d.ts +21 -0
  611. package/dist/src/utils/catalog/yarn-manager.js +249 -0
  612. package/dist/src/utils/child-process.js +91 -0
  613. package/dist/src/utils/code-frames.js +116 -0
  614. package/dist/src/utils/collapse-expanded-outputs.d.ts +10 -0
  615. package/dist/src/utils/collapse-expanded-outputs.js +72 -0
  616. package/dist/src/utils/command-line-utils.d.ts +57 -0
  617. package/dist/src/utils/command-line-utils.js +249 -0
  618. package/dist/src/utils/compile-cache.d.ts +24 -0
  619. package/dist/src/utils/compile-cache.js +49 -0
  620. package/dist/src/utils/consume-messages-from-socket.d.ts +9 -0
  621. package/dist/src/utils/consume-messages-from-socket.js +56 -0
  622. package/dist/src/utils/db-connection.d.ts +14 -0
  623. package/dist/src/utils/db-connection.js +64 -0
  624. package/dist/src/utils/default-base.js +17 -0
  625. package/dist/src/utils/delayed-spinner.d.ts +51 -0
  626. package/dist/src/utils/delayed-spinner.js +88 -0
  627. package/dist/src/utils/dotenv.js +19 -0
  628. package/dist/src/utils/enable-compile-cache.js +7 -0
  629. package/dist/src/utils/exit-codes.d.ts +15 -0
  630. package/dist/src/utils/exit-codes.js +75 -0
  631. package/dist/src/utils/fileutils.js +152 -0
  632. package/dist/src/utils/find-matching-projects.js +222 -0
  633. package/dist/src/utils/git-utils.d.ts +42 -0
  634. package/dist/src/utils/git-utils.index-filter.js +23 -0
  635. package/dist/src/utils/git-utils.js +298 -0
  636. package/dist/src/utils/git-utils.tree-filter.js +47 -0
  637. package/dist/src/utils/handle-errors.js +83 -0
  638. package/dist/src/utils/handle-import.d.ts +12 -0
  639. package/dist/src/utils/handle-import.js +32 -0
  640. package/dist/src/utils/has-nx-js-plugin.d.ts +9 -0
  641. package/dist/src/utils/has-nx-js-plugin.js +24 -0
  642. package/dist/src/utils/ignore.d.ts +9 -0
  643. package/dist/src/utils/ignore.js +42 -0
  644. package/dist/src/utils/installation-directory.js +12 -0
  645. package/dist/src/utils/installed-nx-version.d.ts +8 -0
  646. package/dist/src/utils/installed-nx-version.js +67 -0
  647. package/dist/src/utils/is-ci.d.ts +1 -0
  648. package/dist/src/utils/is-ci.js +26 -0
  649. package/dist/src/utils/is-sandbox.d.ts +1 -0
  650. package/dist/src/utils/is-sandbox.js +9 -0
  651. package/dist/src/utils/logger.d.ts +23 -0
  652. package/dist/src/utils/logger.js +74 -0
  653. package/dist/src/utils/machine-id-cache.d.ts +5 -0
  654. package/dist/src/utils/machine-id-cache.js +93 -0
  655. package/dist/src/utils/nx-cloud-utils.d.ts +4 -0
  656. package/dist/src/utils/nx-cloud-utils.js +28 -0
  657. package/dist/src/utils/nx-console-prompt.d.ts +1 -0
  658. package/dist/src/utils/nx-console-prompt.js +64 -0
  659. package/dist/src/utils/nx-key.d.ts +6 -0
  660. package/dist/src/utils/nx-key.js +50 -0
  661. package/dist/src/utils/output.d.ts +79 -0
  662. package/dist/src/utils/output.js +264 -0
  663. package/dist/src/utils/package-json.d.ts +212 -0
  664. package/dist/src/utils/package-json.js +361 -0
  665. package/dist/src/utils/package-manager.d.ts +122 -0
  666. package/dist/src/utils/package-manager.js +577 -0
  667. package/dist/src/utils/params.d.ts +140 -0
  668. package/dist/src/utils/params.js +710 -0
  669. package/dist/src/utils/path.js +38 -0
  670. package/dist/src/utils/perf-hooks.d.ts +19 -0
  671. package/dist/src/utils/perf-logging.js +46 -0
  672. package/dist/src/utils/plugin-cache-utils.d.ts +73 -0
  673. package/dist/src/utils/plugin-cache-utils.js +202 -0
  674. package/dist/src/utils/plugin-progress-text.d.ts +1 -0
  675. package/dist/src/utils/plugin-progress-text.js +15 -0
  676. package/dist/src/utils/plugins/atomizer-utils.d.ts +11 -0
  677. package/dist/src/utils/plugins/atomizer-utils.js +23 -0
  678. package/dist/src/utils/plugins/index.d.ts +5 -0
  679. package/dist/src/utils/plugins/index.js +15 -0
  680. package/dist/src/utils/plugins/output.d.ts +34 -0
  681. package/dist/src/utils/plugins/output.js +201 -0
  682. package/dist/src/utils/plugins/plugin-capabilities.d.ts +15 -0
  683. package/dist/src/utils/plugins/plugin-capabilities.js +78 -0
  684. package/dist/src/utils/pnpm-workspace.d.ts +8 -0
  685. package/dist/src/utils/pnpm-workspace.js +2 -0
  686. package/dist/src/utils/print-help.js +259 -0
  687. package/dist/src/utils/progress-topics.d.ts +19 -0
  688. package/dist/src/utils/progress-topics.js +21 -0
  689. package/dist/src/utils/project-graph-utils.d.ts +18 -0
  690. package/dist/src/utils/project-graph-utils.js +78 -0
  691. package/dist/src/utils/provenance.d.ts +47 -0
  692. package/dist/src/utils/provenance.js +105 -0
  693. package/dist/src/utils/require-nx-key.js +23 -0
  694. package/dist/src/utils/serialize-overrides-into-command-line.js +41 -0
  695. package/dist/src/utils/shell-quoting.d.ts +10 -0
  696. package/dist/src/utils/shell-quoting.js +41 -0
  697. package/dist/src/utils/spinner.d.ts +12 -0
  698. package/dist/src/utils/spinner.js +61 -0
  699. package/dist/src/utils/split-target.d.ts +15 -0
  700. package/dist/src/utils/split-target.js +239 -0
  701. package/dist/src/utils/sync-generators.d.ts +66 -0
  702. package/dist/src/utils/sync-generators.js +355 -0
  703. package/dist/src/utils/task-history.js +51 -0
  704. package/dist/src/utils/update-nxw.js +22 -0
  705. package/dist/src/utils/versions.js +4 -0
  706. package/dist/src/utils/wait-for-socket-connection.d.ts +15 -0
  707. package/dist/src/utils/wait-for-socket-connection.js +53 -0
  708. package/dist/src/utils/workspace-context.d.ts +21 -0
  709. package/dist/src/utils/workspace-context.js +120 -0
  710. package/dist/src/utils/workspace-root.js +40 -0
  711. package/dist/src/utils/write-formatted-json-file.d.ts +6 -0
  712. package/dist/src/utils/write-formatted-json-file.js +23 -0
  713. package/dist/src/utils/yarn-syml/index.d.ts +23 -0
  714. package/dist/src/utils/yarn-syml/index.js +151 -0
  715. package/dist/src/utils/yarn-syml/syml-grammar.js +1911 -0
  716. package/executors.json +6 -6
  717. package/generators.json +8 -2
  718. package/migrations.json +108 -11
  719. package/package.json +410 -44
  720. package/schemas/nx-schema.json +718 -136
  721. package/schemas/project-schema.json +107 -12
  722. package/.eslintrc.json +0 -146
  723. package/bin/init-local.d.ts +0 -8
  724. package/bin/init-local.js +0 -144
  725. package/bin/nx.d.ts +0 -2
  726. package/bin/nx.js +0 -239
  727. package/bin/post-install.js +0 -66
  728. package/plugins/package-json.d.ts +0 -5
  729. package/plugins/package-json.js +0 -37
  730. package/release/changelog-renderer/index.d.ts +0 -102
  731. package/release/changelog-renderer/index.js +0 -339
  732. package/src/adapter/angular-json.js +0 -122
  733. package/src/adapter/compat.d.ts +0 -2
  734. package/src/adapter/compat.js +0 -145
  735. package/src/adapter/decorate-cli.d.ts +0 -1
  736. package/src/adapter/decorate-cli.js +0 -24
  737. package/src/adapter/ngcli-adapter.d.ts +0 -90
  738. package/src/adapter/ngcli-adapter.js +0 -854
  739. package/src/command-line/add/add.js +0 -123
  740. package/src/command-line/add/command-object.js +0 -27
  741. package/src/command-line/affected/affected.js +0 -88
  742. package/src/command-line/affected/command-object.js +0 -82
  743. package/src/command-line/connect/command-object.js +0 -32
  744. package/src/command-line/connect/connect-to-nx-cloud.d.ts +0 -12
  745. package/src/command-line/connect/connect-to-nx-cloud.js +0 -149
  746. package/src/command-line/connect/view-logs.js +0 -55
  747. package/src/command-line/daemon/command-object.d.ts +0 -2
  748. package/src/command-line/daemon/command-object.js +0 -21
  749. package/src/command-line/daemon/daemon.js +0 -26
  750. package/src/command-line/examples.d.ts +0 -5
  751. package/src/command-line/examples.js +0 -375
  752. package/src/command-line/exec/command-object.js +0 -19
  753. package/src/command-line/exec/exec.js +0 -142
  754. package/src/command-line/format/command-object.js +0 -55
  755. package/src/command-line/format/format.js +0 -199
  756. package/src/command-line/generate/command-object.js +0 -66
  757. package/src/command-line/generate/generate.js +0 -264
  758. package/src/command-line/graph/command-object.js +0 -75
  759. package/src/command-line/graph/graph.d.ts +0 -68
  760. package/src/command-line/graph/graph.js +0 -803
  761. package/src/command-line/import/command-object.js +0 -44
  762. package/src/command-line/import/import.d.ts +0 -25
  763. package/src/command-line/import/import.js +0 -367
  764. package/src/command-line/import/utils/merge-remote-source.js +0 -14
  765. package/src/command-line/import/utils/prepare-source-repo.js +0 -27
  766. package/src/command-line/init/command-object.js +0 -99
  767. package/src/command-line/init/configure-plugins.js +0 -203
  768. package/src/command-line/init/implementation/add-nx-to-monorepo.d.ts +0 -6
  769. package/src/command-line/init/implementation/add-nx-to-monorepo.js +0 -130
  770. package/src/command-line/init/implementation/add-nx-to-nest.js +0 -345
  771. package/src/command-line/init/implementation/add-nx-to-npm-repo.d.ts +0 -6
  772. package/src/command-line/init/implementation/add-nx-to-npm-repo.js +0 -72
  773. package/src/command-line/init/implementation/add-nx-to-turborepo.js +0 -49
  774. package/src/command-line/init/implementation/angular/index.js +0 -125
  775. package/src/command-line/init/implementation/angular/integrated-workspace.js +0 -12
  776. package/src/command-line/init/implementation/angular/legacy-angular-versions.js +0 -123
  777. package/src/command-line/init/implementation/angular/standalone-workspace.js +0 -178
  778. package/src/command-line/init/implementation/check-compatible-with-plugins.js +0 -134
  779. package/src/command-line/init/implementation/deduce-default-base.js +0 -53
  780. package/src/command-line/init/implementation/dot-nx/add-nx-scripts.d.ts +0 -8
  781. package/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +0 -106
  782. package/src/command-line/init/implementation/dot-nx/nxw.js +0 -117
  783. package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.d.ts +0 -1
  784. package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.js +0 -21
  785. package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.d.ts +0 -1
  786. package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.js +0 -20
  787. package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.d.ts +0 -1
  788. package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.js +0 -17
  789. package/src/command-line/init/implementation/react/check-for-uncommitted-changes.d.ts +0 -1
  790. package/src/command-line/init/implementation/react/check-for-uncommitted-changes.js +0 -20
  791. package/src/command-line/init/implementation/react/clean-up-files.d.ts +0 -1
  792. package/src/command-line/init/implementation/react/clean-up-files.js +0 -30
  793. package/src/command-line/init/implementation/react/index.d.ts +0 -4
  794. package/src/command-line/init/implementation/react/index.js +0 -77
  795. package/src/command-line/init/implementation/react/read-name-from-package-json.d.ts +0 -1
  796. package/src/command-line/init/implementation/react/read-name-from-package-json.js +0 -16
  797. package/src/command-line/init/implementation/react/rename-js-to-jsx.d.ts +0 -1
  798. package/src/command-line/init/implementation/react/rename-js-to-jsx.js +0 -22
  799. package/src/command-line/init/implementation/react/tsconfig-setup.d.ts +0 -1
  800. package/src/command-line/init/implementation/react/tsconfig-setup.js +0 -108
  801. package/src/command-line/init/implementation/react/write-vite-config.d.ts +0 -1
  802. package/src/command-line/init/implementation/react/write-vite-config.js +0 -53
  803. package/src/command-line/init/implementation/react/write-vite-index-html.d.ts +0 -1
  804. package/src/command-line/init/implementation/react/write-vite-index-html.js +0 -24
  805. package/src/command-line/init/implementation/utils.d.ts +0 -20
  806. package/src/command-line/init/implementation/utils.js +0 -284
  807. package/src/command-line/init/init-v1.d.ts +0 -11
  808. package/src/command-line/init/init-v1.js +0 -130
  809. package/src/command-line/init/init-v2.d.ts +0 -14
  810. package/src/command-line/init/init-v2.js +0 -257
  811. package/src/command-line/list/command-object.js +0 -15
  812. package/src/command-line/list/list.d.ts +0 -13
  813. package/src/command-line/list/list.js +0 -44
  814. package/src/command-line/login/command-object.js +0 -16
  815. package/src/command-line/login/login.js +0 -19
  816. package/src/command-line/logout/command-object.js +0 -12
  817. package/src/command-line/logout/logout.js +0 -16
  818. package/src/command-line/migrate/command-object.js +0 -77
  819. package/src/command-line/migrate/migrate.d.ts +0 -115
  820. package/src/command-line/migrate/migrate.js +0 -1202
  821. package/src/command-line/new/command-object.js +0 -25
  822. package/src/command-line/nx-commands.d.ts +0 -10
  823. package/src/command-line/nx-commands.js +0 -142
  824. package/src/command-line/register/command-object.js +0 -26
  825. package/src/command-line/release/changelog.d.ts +0 -35
  826. package/src/command-line/release/changelog.js +0 -982
  827. package/src/command-line/release/command-object.d.ts +0 -72
  828. package/src/command-line/release/command-object.js +0 -308
  829. package/src/command-line/release/config/config.d.ts +0 -55
  830. package/src/command-line/release/config/config.js +0 -994
  831. package/src/command-line/release/config/conventional-commits.js +0 -105
  832. package/src/command-line/release/config/filter-release-groups.d.ts +0 -19
  833. package/src/command-line/release/config/use-legacy-versioning.d.ts +0 -2
  834. package/src/command-line/release/config/use-legacy-versioning.js +0 -9
  835. package/src/command-line/release/config/version-plans.js +0 -220
  836. package/src/command-line/release/index.d.ts +0 -37
  837. package/src/command-line/release/index.js +0 -42
  838. package/src/command-line/release/plan-check.js +0 -172
  839. package/src/command-line/release/plan.js +0 -263
  840. package/src/command-line/release/publish.d.ts +0 -9
  841. package/src/command-line/release/publish.js +0 -187
  842. package/src/command-line/release/release.d.ts +0 -5
  843. package/src/command-line/release/release.js +0 -255
  844. package/src/command-line/release/utils/batch-projects-by-generator-config.d.ts +0 -7
  845. package/src/command-line/release/utils/batch-projects-by-generator-config.js +0 -39
  846. package/src/command-line/release/utils/exec-command.js +0 -34
  847. package/src/command-line/release/utils/get-touched-projects-for-group.js +0 -78
  848. package/src/command-line/release/utils/git.d.ts +0 -68
  849. package/src/command-line/release/utils/git.js +0 -492
  850. package/src/command-line/release/utils/github.d.ts +0 -32
  851. package/src/command-line/release/utils/github.js +0 -326
  852. package/src/command-line/release/utils/launch-editor.js +0 -46
  853. package/src/command-line/release/utils/print-changes.js +0 -61
  854. package/src/command-line/release/utils/resolve-changelog-renderer.d.ts +0 -2
  855. package/src/command-line/release/utils/resolve-changelog-renderer.js +0 -30
  856. package/src/command-line/release/utils/resolve-nx-json-error-message.js +0 -52
  857. package/src/command-line/release/utils/resolve-semver-specifier.d.ts +0 -5
  858. package/src/command-line/release/utils/resolve-semver-specifier.js +0 -58
  859. package/src/command-line/release/utils/semver.d.ts +0 -19
  860. package/src/command-line/release/utils/semver.js +0 -66
  861. package/src/command-line/release/utils/shared.d.ts +0 -47
  862. package/src/command-line/release/utils/shared.js +0 -219
  863. package/src/command-line/release/version/derive-specifier-from-conventional-commits.d.ts +0 -7
  864. package/src/command-line/release/version/derive-specifier-from-conventional-commits.js +0 -47
  865. package/src/command-line/release/version/project-logger.js +0 -45
  866. package/src/command-line/release/version/release-group-processor.d.ts +0 -251
  867. package/src/command-line/release/version/release-group-processor.js +0 -1048
  868. package/src/command-line/release/version/resolve-current-version.d.ts +0 -32
  869. package/src/command-line/release/version/resolve-current-version.js +0 -241
  870. package/src/command-line/release/version/test-utils.d.ts +0 -95
  871. package/src/command-line/release/version/test-utils.js +0 -416
  872. package/src/command-line/release/version/topological-sort.js +0 -41
  873. package/src/command-line/release/version/version-actions.d.ts +0 -170
  874. package/src/command-line/release/version/version-actions.js +0 -183
  875. package/src/command-line/release/version-legacy.d.ts +0 -46
  876. package/src/command-line/release/version-legacy.js +0 -453
  877. package/src/command-line/release/version.d.ts +0 -20
  878. package/src/command-line/release/version.js +0 -301
  879. package/src/command-line/repair/command-object.js +0 -20
  880. package/src/command-line/repair/repair.js +0 -36
  881. package/src/command-line/report/command-object.js +0 -11
  882. package/src/command-line/report/report.d.ts +0 -61
  883. package/src/command-line/report/report.js +0 -339
  884. package/src/command-line/reset/command-object.js +0 -26
  885. package/src/command-line/reset/reset.js +0 -131
  886. package/src/command-line/run/command-object.js +0 -42
  887. package/src/command-line/run/executor-utils.d.ts +0 -7
  888. package/src/command-line/run/executor-utils.js +0 -86
  889. package/src/command-line/run/run-one.d.ts +0 -7
  890. package/src/command-line/run/run-one.js +0 -138
  891. package/src/command-line/run/run.js +0 -178
  892. package/src/command-line/run-many/command-object.js +0 -17
  893. package/src/command-line/run-many/run-many.js +0 -89
  894. package/src/command-line/show/command-object.d.ts +0 -26
  895. package/src/command-line/show/command-object.js +0 -115
  896. package/src/command-line/show/project.js +0 -82
  897. package/src/command-line/show/projects.js +0 -81
  898. package/src/command-line/sync/command-object.js +0 -20
  899. package/src/command-line/sync/sync.js +0 -114
  900. package/src/command-line/watch/command-object.js +0 -64
  901. package/src/command-line/watch/watch.d.ts +0 -23
  902. package/src/command-line/watch/watch.js +0 -173
  903. package/src/command-line/yargs-utils/documentation.js +0 -11
  904. package/src/command-line/yargs-utils/shared-options.d.ts +0 -79
  905. package/src/command-line/yargs-utils/shared-options.js +0 -279
  906. package/src/commands-runner/get-command-projects.js +0 -18
  907. package/src/config/misc-interfaces.d.ts +0 -200
  908. package/src/config/nx-json.d.ts +0 -605
  909. package/src/config/nx-json.js +0 -39
  910. package/src/config/schema-utils.js +0 -125
  911. package/src/config/task-graph.d.ts +0 -104
  912. package/src/config/workspace-json-project-json.d.ts +0 -246
  913. package/src/core/graph/index.html +0 -30
  914. package/src/core/graph/main.js +0 -1
  915. package/src/core/graph/runtime.js +0 -1
  916. package/src/core/graph/styles.css +0 -3
  917. package/src/core/graph/styles.js +0 -1
  918. package/src/daemon/cache.d.ts +0 -9
  919. package/src/daemon/cache.js +0 -68
  920. package/src/daemon/client/client.d.ts +0 -77
  921. package/src/daemon/client/client.js +0 -543
  922. package/src/daemon/client/daemon-socket-messenger.d.ts +0 -12
  923. package/src/daemon/client/daemon-socket-messenger.js +0 -26
  924. package/src/daemon/client/exec-is-server-available.js +0 -11
  925. package/src/daemon/client/generate-help-output.d.ts +0 -1
  926. package/src/daemon/client/generate-help-output.js +0 -26
  927. package/src/daemon/server/file-watching/file-watcher-sockets.js +0 -66
  928. package/src/daemon/server/handle-context-file-data.js +0 -12
  929. package/src/daemon/server/handle-flush-sync-generator-changes-to-disk.js +0 -11
  930. package/src/daemon/server/handle-get-files-in-directory.js +0 -12
  931. package/src/daemon/server/handle-get-registered-sync-generators.js +0 -11
  932. package/src/daemon/server/handle-get-sync-generator-changes.js +0 -19
  933. package/src/daemon/server/handle-glob.js +0 -20
  934. package/src/daemon/server/handle-hash-tasks.d.ts +0 -10
  935. package/src/daemon/server/handle-hash-tasks.js +0 -35
  936. package/src/daemon/server/handle-nx-workspace-files.js +0 -12
  937. package/src/daemon/server/handle-outputs-tracking.d.ts +0 -15
  938. package/src/daemon/server/handle-outputs-tracking.js +0 -35
  939. package/src/daemon/server/handle-process-in-background.js +0 -32
  940. package/src/daemon/server/handle-request-project-graph.d.ts +0 -2
  941. package/src/daemon/server/handle-request-project-graph.js +0 -36
  942. package/src/daemon/server/handle-task-history.d.ts +0 -13
  943. package/src/daemon/server/handle-task-history.js +0 -30
  944. package/src/daemon/server/handle-tasks-execution-hooks.d.ts +0 -19
  945. package/src/daemon/server/handle-tasks-execution-hooks.js +0 -35
  946. package/src/daemon/server/logger.d.ts +0 -18
  947. package/src/daemon/server/logger.js +0 -38
  948. package/src/daemon/server/outputs-tracking.d.ts +0 -8
  949. package/src/daemon/server/outputs-tracking.js +0 -93
  950. package/src/daemon/server/project-graph-incremental-recomputation.d.ts +0 -24
  951. package/src/daemon/server/project-graph-incremental-recomputation.js +0 -300
  952. package/src/daemon/server/server.d.ts +0 -9
  953. package/src/daemon/server/server.js +0 -404
  954. package/src/daemon/server/shutdown-utils.d.ts +0 -17
  955. package/src/daemon/server/shutdown-utils.js +0 -91
  956. package/src/daemon/server/start.js +0 -17
  957. package/src/daemon/server/sync-generators.d.ts +0 -13
  958. package/src/daemon/server/sync-generators.js +0 -357
  959. package/src/daemon/server/watcher.d.ts +0 -11
  960. package/src/daemon/server/watcher.js +0 -103
  961. package/src/daemon/socket-utils.d.ts +0 -12
  962. package/src/daemon/socket-utils.js +0 -55
  963. package/src/daemon/tmp-dir.d.ts +0 -12
  964. package/src/daemon/tmp-dir.js +0 -70
  965. package/src/devkit-exports.d.ts +0 -139
  966. package/src/devkit-internals.d.ts +0 -28
  967. package/src/devkit-internals.js +0 -57
  968. package/src/executors/noop/schema.json +0 -10
  969. package/src/executors/run-commands/run-commands.impl.d.ts +0 -58
  970. package/src/executors/run-commands/run-commands.impl.js +0 -487
  971. package/src/executors/run-commands/schema.json +0 -198
  972. package/src/executors/run-script/run-script.impl.js +0 -57
  973. package/src/executors/run-script/schema.json +0 -28
  974. package/src/executors/utils/convert-nx-executor.js +0 -83
  975. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.d.ts +0 -14
  976. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js +0 -66
  977. package/src/generators/tree.js +0 -309
  978. package/src/generators/utils/nx-json.d.ts +0 -11
  979. package/src/generators/utils/nx-json.js +0 -58
  980. package/src/generators/utils/project-configuration.js +0 -289
  981. package/src/hasher/hash-task.d.ts +0 -8
  982. package/src/hasher/hash-task.js +0 -85
  983. package/src/hasher/native-task-hasher-impl.d.ts +0 -18
  984. package/src/hasher/native-task-hasher-impl.js +0 -37
  985. package/src/hasher/task-hasher.d.ts +0 -124
  986. package/src/hasher/task-hasher.js +0 -240
  987. package/src/migrations/update-17-0-0/move-cache-directory.js +0 -35
  988. package/src/migrations/update-17-2-0/move-default-base.js +0 -21
  989. package/src/native/index.d.ts +0 -311
  990. package/src/native/index.js +0 -108
  991. package/src/native/native-bindings.js +0 -393
  992. package/src/native/native-file-cache-location.js +0 -22
  993. package/src/native/nx.wasi-browser.js +0 -117
  994. package/src/native/nx.wasi.cjs +0 -148
  995. package/src/native/nx.wasm32-wasi.wasm +0 -0
  996. package/src/native/tests/__fixtures__/file-lock.fixture.js +0 -20
  997. package/src/native/wasi-worker-browser.mjs +0 -32
  998. package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.d.ts +0 -14
  999. package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +0 -160
  1000. package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +0 -41
  1001. package/src/nx-cloud/nx-cloud-tasks-runner-shell.js +0 -41
  1002. package/src/nx-cloud/update-manager.d.ts +0 -19
  1003. package/src/nx-cloud/update-manager.js +0 -252
  1004. package/src/nx-cloud/utilities/axios.d.ts +0 -2
  1005. package/src/nx-cloud/utilities/axios.js +0 -24
  1006. package/src/nx-cloud/utilities/client.d.ts +0 -10
  1007. package/src/nx-cloud/utilities/client.js +0 -35
  1008. package/src/nx-cloud/utilities/environment.js +0 -47
  1009. package/src/nx-cloud/utilities/onboarding.js +0 -28
  1010. package/src/nx-cloud/utilities/url-shorten.d.ts +0 -10
  1011. package/src/nx-cloud/utilities/url-shorten.js +0 -156
  1012. package/src/plugins/js/index.d.ts +0 -4
  1013. package/src/plugins/js/index.js +0 -106
  1014. package/src/plugins/js/lock-file/lock-file.d.ts +0 -34
  1015. package/src/plugins/js/lock-file/lock-file.js +0 -226
  1016. package/src/plugins/js/lock-file/npm-parser.d.ts +0 -7
  1017. package/src/plugins/js/lock-file/npm-parser.js +0 -475
  1018. package/src/plugins/js/lock-file/pnpm-parser.d.ts +0 -7
  1019. package/src/plugins/js/lock-file/pnpm-parser.js +0 -466
  1020. package/src/plugins/js/lock-file/project-graph-pruning.d.ts +0 -7
  1021. package/src/plugins/js/lock-file/project-graph-pruning.js +0 -154
  1022. package/src/plugins/js/lock-file/utils/package-json.d.ts +0 -10
  1023. package/src/plugins/js/lock-file/utils/package-json.js +0 -35
  1024. package/src/plugins/js/lock-file/utils/pnpm-normalizer.js +0 -854
  1025. package/src/plugins/js/lock-file/yarn-parser.d.ts +0 -7
  1026. package/src/plugins/js/lock-file/yarn-parser.js +0 -494
  1027. package/src/plugins/js/package-json/create-package-json.js +0 -247
  1028. package/src/plugins/js/project-graph/affected/lock-file-changes.d.ts +0 -4
  1029. package/src/plugins/js/project-graph/affected/lock-file-changes.js +0 -29
  1030. package/src/plugins/js/project-graph/affected/npm-packages.js +0 -68
  1031. package/src/plugins/js/project-graph/build-dependencies/build-dependencies.js +0 -45
  1032. package/src/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.js +0 -80
  1033. package/src/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.js +0 -88
  1034. package/src/plugins/js/project-graph/build-dependencies/target-project-locator.d.ts +0 -71
  1035. package/src/plugins/js/project-graph/build-dependencies/target-project-locator.js +0 -358
  1036. package/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.js +0 -120
  1037. package/src/plugins/js/utils/register.d.ts +0 -156
  1038. package/src/plugins/js/utils/register.js +0 -344
  1039. package/src/plugins/js/utils/typescript.d.ts +0 -15
  1040. package/src/plugins/js/utils/typescript.js +0 -98
  1041. package/src/plugins/js/versions.d.ts +0 -1
  1042. package/src/plugins/js/versions.js +0 -4
  1043. package/src/plugins/package-json/create-nodes.d.ts +0 -19
  1044. package/src/plugins/package-json/create-nodes.js +0 -209
  1045. package/src/plugins/project-json/build-nodes/project-json.d.ts +0 -6
  1046. package/src/plugins/project-json/build-nodes/project-json.js +0 -45
  1047. package/src/project-graph/affected/affected-project-graph.js +0 -85
  1048. package/src/project-graph/build-project-graph.d.ts +0 -23
  1049. package/src/project-graph/build-project-graph.js +0 -315
  1050. package/src/project-graph/error-types.d.ts +0 -138
  1051. package/src/project-graph/error-types.js +0 -391
  1052. package/src/project-graph/file-utils.d.ts +0 -30
  1053. package/src/project-graph/file-utils.js +0 -180
  1054. package/src/project-graph/nx-deps-cache.d.ts +0 -51
  1055. package/src/project-graph/nx-deps-cache.js +0 -282
  1056. package/src/project-graph/plugins/get-plugins.d.ts +0 -4
  1057. package/src/project-graph/plugins/get-plugins.js +0 -144
  1058. package/src/project-graph/plugins/in-process-loader.d.ts +0 -10
  1059. package/src/project-graph/plugins/in-process-loader.js +0 -60
  1060. package/src/project-graph/plugins/isolation/enabled.js +0 -19
  1061. package/src/project-graph/plugins/isolation/index.d.ts +0 -3
  1062. package/src/project-graph/plugins/isolation/index.js +0 -8
  1063. package/src/project-graph/plugins/isolation/messaging.d.ts +0 -143
  1064. package/src/project-graph/plugins/isolation/messaging.js +0 -50
  1065. package/src/project-graph/plugins/isolation/plugin-pool.d.ts +0 -3
  1066. package/src/project-graph/plugins/isolation/plugin-pool.js +0 -310
  1067. package/src/project-graph/plugins/isolation/plugin-worker.js +0 -208
  1068. package/src/project-graph/plugins/load-resolved-plugin.d.ts +0 -3
  1069. package/src/project-graph/plugins/load-resolved-plugin.js +0 -22
  1070. package/src/project-graph/plugins/loaded-nx-plugin.d.ts +0 -20
  1071. package/src/project-graph/plugins/loaded-nx-plugin.js +0 -80
  1072. package/src/project-graph/plugins/public-api.d.ts +0 -149
  1073. package/src/project-graph/plugins/resolve-plugin.d.ts +0 -15
  1074. package/src/project-graph/plugins/resolve-plugin.js +0 -134
  1075. package/src/project-graph/plugins/transpiler.js +0 -47
  1076. package/src/project-graph/plugins/utils.d.ts +0 -2
  1077. package/src/project-graph/plugins/utils.js +0 -26
  1078. package/src/project-graph/project-graph.d.ts +0 -53
  1079. package/src/project-graph/project-graph.js +0 -327
  1080. package/src/project-graph/utils/normalize-project-nodes.d.ts +0 -6
  1081. package/src/project-graph/utils/normalize-project-nodes.js +0 -88
  1082. package/src/project-graph/utils/project-configuration-utils.d.ts +0 -74
  1083. package/src/project-graph/utils/project-configuration-utils.js +0 -811
  1084. package/src/project-graph/utils/retrieve-workspace-files.d.ts +0 -26
  1085. package/src/tasks-runner/batch/run-batch.js +0 -75
  1086. package/src/tasks-runner/cache.d.ts +0 -82
  1087. package/src/tasks-runner/cache.js +0 -541
  1088. package/src/tasks-runner/create-task-graph.d.ts +0 -40
  1089. package/src/tasks-runner/create-task-graph.js +0 -270
  1090. package/src/tasks-runner/default-tasks-runner.js +0 -80
  1091. package/src/tasks-runner/fork.js +0 -30
  1092. package/src/tasks-runner/forked-process-task-runner.d.ts +0 -45
  1093. package/src/tasks-runner/forked-process-task-runner.js +0 -427
  1094. package/src/tasks-runner/init-tasks-runner.d.ts +0 -13
  1095. package/src/tasks-runner/init-tasks-runner.js +0 -59
  1096. package/src/tasks-runner/life-cycle.d.ts +0 -50
  1097. package/src/tasks-runner/life-cycle.js +0 -71
  1098. package/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.js +0 -353
  1099. package/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.js +0 -228
  1100. package/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.js +0 -106
  1101. package/src/tasks-runner/life-cycles/task-history-life-cycle-old.d.ts +0 -9
  1102. package/src/tasks-runner/life-cycles/task-history-life-cycle-old.js +0 -54
  1103. package/src/tasks-runner/life-cycles/task-history-life-cycle.d.ts +0 -10
  1104. package/src/tasks-runner/life-cycles/task-history-life-cycle.js +0 -55
  1105. package/src/tasks-runner/pseudo-ipc.js +0 -140
  1106. package/src/tasks-runner/pseudo-terminal.d.ts +0 -45
  1107. package/src/tasks-runner/pseudo-terminal.js +0 -168
  1108. package/src/tasks-runner/run-command.d.ts +0 -36
  1109. package/src/tasks-runner/run-command.js +0 -623
  1110. package/src/tasks-runner/task-env.d.ts +0 -20
  1111. package/src/tasks-runner/task-env.js +0 -171
  1112. package/src/tasks-runner/task-graph-utils.d.ts +0 -21
  1113. package/src/tasks-runner/task-graph-utils.js +0 -111
  1114. package/src/tasks-runner/task-orchestrator.d.ts +0 -53
  1115. package/src/tasks-runner/task-orchestrator.js +0 -468
  1116. package/src/tasks-runner/tasks-runner.d.ts +0 -23
  1117. package/src/tasks-runner/tasks-schedule.d.ts +0 -41
  1118. package/src/tasks-runner/tasks-schedule.js +0 -192
  1119. package/src/tasks-runner/utils.d.ts +0 -57
  1120. package/src/tasks-runner/utils.js +0 -394
  1121. package/src/utils/ab-testing.d.ts +0 -51
  1122. package/src/utils/ab-testing.js +0 -112
  1123. package/src/utils/assert-workspace-validity.js +0 -88
  1124. package/src/utils/cache-directory.d.ts +0 -7
  1125. package/src/utils/cache-directory.js +0 -71
  1126. package/src/utils/child-process.js +0 -112
  1127. package/src/utils/code-frames.js +0 -118
  1128. package/src/utils/collapse-expanded-outputs.d.ts +0 -1
  1129. package/src/utils/collapse-expanded-outputs.js +0 -40
  1130. package/src/utils/command-line-utils.d.ts +0 -56
  1131. package/src/utils/command-line-utils.js +0 -247
  1132. package/src/utils/consume-messages-from-socket.d.ts +0 -1
  1133. package/src/utils/consume-messages-from-socket.js +0 -21
  1134. package/src/utils/db-connection.d.ts +0 -6
  1135. package/src/utils/db-connection.js +0 -29
  1136. package/src/utils/default-base.js +0 -17
  1137. package/src/utils/delayed-spinner.d.ts +0 -42
  1138. package/src/utils/delayed-spinner.js +0 -80
  1139. package/src/utils/dotenv.js +0 -21
  1140. package/src/utils/exit-codes.d.ts +0 -5
  1141. package/src/utils/exit-codes.js +0 -19
  1142. package/src/utils/fileutils.js +0 -151
  1143. package/src/utils/find-matching-projects.js +0 -222
  1144. package/src/utils/git-utils.d.ts +0 -41
  1145. package/src/utils/git-utils.index-filter.d.ts +0 -0
  1146. package/src/utils/git-utils.index-filter.js +0 -21
  1147. package/src/utils/git-utils.js +0 -259
  1148. package/src/utils/git-utils.tree-filter.d.ts +0 -11
  1149. package/src/utils/git-utils.tree-filter.js +0 -45
  1150. package/src/utils/handle-errors.js +0 -82
  1151. package/src/utils/ignore.d.ts +0 -8
  1152. package/src/utils/ignore.js +0 -75
  1153. package/src/utils/installation-directory.js +0 -12
  1154. package/src/utils/is-ci.d.ts +0 -1
  1155. package/src/utils/is-ci.js +0 -23
  1156. package/src/utils/logger.d.ts +0 -12
  1157. package/src/utils/logger.js +0 -52
  1158. package/src/utils/nx-cloud-utils.d.ts +0 -3
  1159. package/src/utils/nx-cloud-utils.js +0 -21
  1160. package/src/utils/nx-key.d.ts +0 -7
  1161. package/src/utils/nx-key.js +0 -52
  1162. package/src/utils/output.d.ts +0 -71
  1163. package/src/utils/output.js +0 -240
  1164. package/src/utils/package-json.d.ts +0 -107
  1165. package/src/utils/package-json.js +0 -179
  1166. package/src/utils/package-manager.d.ts +0 -114
  1167. package/src/utils/package-manager.js +0 -490
  1168. package/src/utils/params.d.ts +0 -137
  1169. package/src/utils/params.js +0 -664
  1170. package/src/utils/path.js +0 -37
  1171. package/src/utils/perf-logging.js +0 -13
  1172. package/src/utils/plugins/index.d.ts +0 -4
  1173. package/src/utils/plugins/index.js +0 -13
  1174. package/src/utils/plugins/output.d.ts +0 -6
  1175. package/src/utils/plugins/output.js +0 -111
  1176. package/src/utils/plugins/plugin-capabilities.d.ts +0 -14
  1177. package/src/utils/plugins/plugin-capabilities.js +0 -76
  1178. package/src/utils/print-help.js +0 -258
  1179. package/src/utils/project-graph-utils.d.ts +0 -13
  1180. package/src/utils/project-graph-utils.js +0 -73
  1181. package/src/utils/require-nx-key.js +0 -22
  1182. package/src/utils/serialize-overrides-into-command-line.js +0 -42
  1183. package/src/utils/split-target.d.ts +0 -3
  1184. package/src/utils/split-target.js +0 -48
  1185. package/src/utils/sync-generators.d.ts +0 -64
  1186. package/src/utils/sync-generators.js +0 -348
  1187. package/src/utils/task-history.js +0 -51
  1188. package/src/utils/update-nxw.js +0 -11
  1189. package/src/utils/versions.js +0 -4
  1190. package/src/utils/workspace-context.d.ts +0 -21
  1191. package/src/utils/workspace-context.js +0 -119
  1192. package/src/utils/workspace-root.js +0 -39
  1193. /package/{bin → dist/bin}/nx-cloud.d.ts +0 -0
  1194. /package/{bin → dist/bin}/nx-cloud.js +0 -0
  1195. /package/{bin → dist/bin}/post-install.d.ts +0 -0
  1196. /package/{bin → dist/bin}/run-executor.d.ts +0 -0
  1197. /package/{bin → dist/bin}/run-executor.js +0 -0
  1198. /package/{presets → dist/presets}/core.json +0 -0
  1199. /package/{presets → dist/presets}/npm.json +0 -0
  1200. /package/{release → dist/release}/index.d.ts +0 -0
  1201. /package/{release → dist/release}/index.js +0 -0
  1202. /package/{src → dist/src}/adapter/angular-json.d.ts +0 -0
  1203. /package/{src → dist/src}/adapter/rxjs-for-await.d.ts +0 -0
  1204. /package/{src → dist/src}/adapter/rxjs-for-await.js +0 -0
  1205. /package/{src → dist/src}/command-line/add/add.d.ts +0 -0
  1206. /package/{src → dist/src}/command-line/add/command-object.d.ts +0 -0
  1207. /package/{src → dist/src}/command-line/affected/affected.d.ts +0 -0
  1208. /package/{src → dist/src}/command-line/affected/command-object.d.ts +0 -0
  1209. /package/{src → dist/src}/command-line/daemon/daemon.d.ts +0 -0
  1210. /package/{src → dist/src}/command-line/deprecated/command-objects.d.ts +0 -0
  1211. /package/{src → dist/src}/command-line/deprecated/command-objects.js +0 -0
  1212. /package/{src → dist/src}/command-line/exec/command-object.d.ts +0 -0
  1213. /package/{src → dist/src}/command-line/exec/exec.d.ts +0 -0
  1214. /package/{src → dist/src}/command-line/format/command-object.d.ts +0 -0
  1215. /package/{src → dist/src}/command-line/format/format.d.ts +0 -0
  1216. /package/{src → dist/src}/command-line/generate/command-object.d.ts +0 -0
  1217. /package/{src → dist/src}/command-line/generate/generate.d.ts +0 -0
  1218. /package/{src → dist/src}/command-line/generate/generator-utils.d.ts +0 -0
  1219. /package/{src → dist/src}/command-line/generate/generator-utils.js +0 -0
  1220. /package/{src → dist/src}/command-line/graph/command-object.d.ts +0 -0
  1221. /package/{src → dist/src}/command-line/import/command-object.d.ts +0 -0
  1222. /package/{src → dist/src}/command-line/import/utils/merge-remote-source.d.ts +0 -0
  1223. /package/{src → dist/src}/command-line/import/utils/prepare-source-repo.d.ts +0 -0
  1224. /package/{src → dist/src}/command-line/init/command-object.d.ts +0 -0
  1225. /package/{src → dist/src}/command-line/init/configure-plugins.d.ts +0 -0
  1226. /package/{src → dist/src}/command-line/init/implementation/add-nx-to-nest.d.ts +0 -0
  1227. /package/{src → dist/src}/command-line/init/implementation/add-nx-to-turborepo.d.ts +0 -0
  1228. /package/{src → dist/src}/command-line/init/implementation/angular/index.d.ts +0 -0
  1229. /package/{src → dist/src}/command-line/init/implementation/angular/integrated-workspace.d.ts +0 -0
  1230. /package/{src → dist/src}/command-line/init/implementation/angular/legacy-angular-versions.d.ts +0 -0
  1231. /package/{src → dist/src}/command-line/init/implementation/angular/standalone-workspace.d.ts +0 -0
  1232. /package/{src → dist/src}/command-line/init/implementation/angular/types.d.ts +0 -0
  1233. /package/{src → dist/src}/command-line/init/implementation/angular/types.js +0 -0
  1234. /package/{src → dist/src}/command-line/init/implementation/check-compatible-with-plugins.d.ts +0 -0
  1235. /package/{src → dist/src}/command-line/init/implementation/deduce-default-base.d.ts +0 -0
  1236. /package/{src → dist/src}/command-line/init/implementation/dot-nx/nxw.d.ts +0 -0
  1237. /package/{src → dist/src}/command-line/list/command-object.d.ts +0 -0
  1238. /package/{src → dist/src}/command-line/migrate/command-object.d.ts +0 -0
  1239. /package/{src → dist/src}/command-line/new/command-object.d.ts +0 -0
  1240. /package/{src → dist/src}/command-line/new/new.d.ts +0 -0
  1241. /package/{src → dist/src}/command-line/new/new.js +0 -0
  1242. /package/{src/command-line → dist/src/command-line/nx-cloud}/connect/command-object.d.ts +0 -0
  1243. /package/{src/command-line → dist/src/command-line/nx-cloud}/connect/view-logs.d.ts +0 -0
  1244. /package/{src/command-line → dist/src/command-line/nx-cloud}/login/command-object.d.ts +0 -0
  1245. /package/{src/command-line → dist/src/command-line/nx-cloud}/login/login.d.ts +0 -0
  1246. /package/{src/command-line → dist/src/command-line/nx-cloud}/logout/command-object.d.ts +0 -0
  1247. /package/{src/command-line → dist/src/command-line/nx-cloud}/logout/logout.d.ts +0 -0
  1248. /package/{src → dist/src}/command-line/register/command-object.d.ts +0 -0
  1249. /package/{src → dist/src}/command-line/register/register.d.ts +0 -0
  1250. /package/{src → dist/src}/command-line/register/register.js +0 -0
  1251. /package/{src → dist/src}/command-line/release/config/conventional-commits.d.ts +0 -0
  1252. /package/{src → dist/src}/command-line/release/config/deep-merge-json.d.ts +0 -0
  1253. /package/{src → dist/src}/command-line/release/config/deep-merge-json.js +0 -0
  1254. /package/{src → dist/src}/command-line/release/config/filter-release-groups.js +0 -0
  1255. /package/{src → dist/src}/command-line/release/config/version-plans.d.ts +0 -0
  1256. /package/{src → dist/src}/command-line/release/plan-check.d.ts +0 -0
  1257. /package/{src → dist/src}/command-line/release/plan.d.ts +0 -0
  1258. /package/{src → dist/src}/command-line/release/utils/exec-command.d.ts +0 -0
  1259. /package/{src → dist/src}/command-line/release/utils/generate-version-plan-content.d.ts +0 -0
  1260. /package/{src → dist/src}/command-line/release/utils/generate-version-plan-content.js +0 -0
  1261. /package/{src → dist/src}/command-line/release/utils/get-touched-projects-for-group.d.ts +0 -0
  1262. /package/{src → dist/src}/command-line/release/utils/launch-editor.d.ts +0 -0
  1263. /package/{src → dist/src}/command-line/release/utils/markdown.d.ts +0 -0
  1264. /package/{src → dist/src}/command-line/release/utils/markdown.js +0 -0
  1265. /package/{src → dist/src}/command-line/release/utils/print-changes.d.ts +0 -0
  1266. /package/{src → dist/src}/command-line/release/utils/print-config.d.ts +0 -0
  1267. /package/{src → dist/src}/command-line/release/utils/print-config.js +0 -0
  1268. /package/{src → dist/src}/command-line/release/utils/resolve-nx-json-error-message.d.ts +0 -0
  1269. /package/{src → dist/src}/command-line/release/utils/shared-legacy.d.ts +0 -0
  1270. /package/{src → dist/src}/command-line/release/utils/shared-legacy.js +0 -0
  1271. /package/{src → dist/src}/command-line/release/version/deriver-specifier-from-version-plans.d.ts +0 -0
  1272. /package/{src → dist/src}/command-line/release/version/deriver-specifier-from-version-plans.js +0 -0
  1273. /package/{src → dist/src}/command-line/release/version/project-logger.d.ts +0 -0
  1274. /package/{src → dist/src}/command-line/release/version/topological-sort.d.ts +0 -0
  1275. /package/{src → dist/src}/command-line/repair/command-object.d.ts +0 -0
  1276. /package/{src → dist/src}/command-line/repair/repair.d.ts +0 -0
  1277. /package/{src → dist/src}/command-line/report/command-object.d.ts +0 -0
  1278. /package/{src → dist/src}/command-line/reset/command-object.d.ts +0 -0
  1279. /package/{src → dist/src}/command-line/reset/reset.d.ts +0 -0
  1280. /package/{src → dist/src}/command-line/run/command-object.d.ts +0 -0
  1281. /package/{src → dist/src}/command-line/run/run.d.ts +0 -0
  1282. /package/{src → dist/src}/command-line/run-many/command-object.d.ts +0 -0
  1283. /package/{src → dist/src}/command-line/run-many/run-many.d.ts +0 -0
  1284. /package/{src → dist/src}/command-line/show/project.d.ts +0 -0
  1285. /package/{src → dist/src}/command-line/show/projects.d.ts +0 -0
  1286. /package/{src → dist/src}/command-line/sync/command-object.d.ts +0 -0
  1287. /package/{src → dist/src}/command-line/sync/sync.d.ts +0 -0
  1288. /package/{src → dist/src}/command-line/watch/command-object.d.ts +0 -0
  1289. /package/{src → dist/src}/command-line/yargs-utils/documentation.d.ts +0 -0
  1290. /package/{src → dist/src}/commands-runner/command-graph.d.ts +0 -0
  1291. /package/{src → dist/src}/commands-runner/command-graph.js +0 -0
  1292. /package/{src → dist/src}/commands-runner/create-command-graph.d.ts +0 -0
  1293. /package/{src → dist/src}/commands-runner/create-command-graph.js +0 -0
  1294. /package/{src → dist/src}/commands-runner/get-command-projects.d.ts +0 -0
  1295. /package/{src → dist/src}/config/calculate-default-project-name.d.ts +0 -0
  1296. /package/{src → dist/src}/config/calculate-default-project-name.js +0 -0
  1297. /package/{src → dist/src}/config/configuration.d.ts +0 -0
  1298. /package/{src → dist/src}/config/configuration.js +0 -0
  1299. /package/{src → dist/src}/config/misc-interfaces.js +0 -0
  1300. /package/{src → dist/src}/config/project-graph.d.ts +0 -0
  1301. /package/{src → dist/src}/config/project-graph.js +0 -0
  1302. /package/{src → dist/src}/config/schema-utils.d.ts +0 -0
  1303. /package/{src → dist/src}/config/task-graph.js +0 -0
  1304. /package/{src → dist/src}/config/to-project-name.d.ts +0 -0
  1305. /package/{src → dist/src}/config/to-project-name.js +0 -0
  1306. /package/{src → dist/src}/config/workspace-json-project-json.js +0 -0
  1307. /package/{src → dist/src}/core/graph/environment.js +0 -0
  1308. /package/{src → dist/src}/core/graph/favicon.ico +0 -0
  1309. /package/{src → dist/src}/daemon/is-on-daemon.d.ts +0 -0
  1310. /package/{src → dist/src}/daemon/is-on-daemon.js +0 -0
  1311. /package/{src → dist/src}/daemon/message-types/flush-sync-generator-changes-to-disk.d.ts +0 -0
  1312. /package/{src → dist/src}/daemon/message-types/flush-sync-generator-changes-to-disk.js +0 -0
  1313. /package/{src → dist/src}/daemon/message-types/force-shutdown.d.ts +0 -0
  1314. /package/{src → dist/src}/daemon/message-types/force-shutdown.js +0 -0
  1315. /package/{src → dist/src}/daemon/message-types/get-context-file-data.d.ts +0 -0
  1316. /package/{src → dist/src}/daemon/message-types/get-context-file-data.js +0 -0
  1317. /package/{src → dist/src}/daemon/message-types/get-files-in-directory.d.ts +0 -0
  1318. /package/{src → dist/src}/daemon/message-types/get-files-in-directory.js +0 -0
  1319. /package/{src → dist/src}/daemon/message-types/get-nx-workspace-files.d.ts +0 -0
  1320. /package/{src → dist/src}/daemon/message-types/get-nx-workspace-files.js +0 -0
  1321. /package/{src → dist/src}/daemon/message-types/get-registered-sync-generators.d.ts +0 -0
  1322. /package/{src → dist/src}/daemon/message-types/get-registered-sync-generators.js +0 -0
  1323. /package/{src → dist/src}/daemon/message-types/get-sync-generator-changes.d.ts +0 -0
  1324. /package/{src → dist/src}/daemon/message-types/get-sync-generator-changes.js +0 -0
  1325. /package/{src → dist/src}/daemon/message-types/glob.d.ts +0 -0
  1326. /package/{src → dist/src}/daemon/message-types/glob.js +0 -0
  1327. /package/{src → dist/src}/daemon/message-types/hash-glob.d.ts +0 -0
  1328. /package/{src → dist/src}/daemon/message-types/hash-glob.js +0 -0
  1329. /package/{src → dist/src}/daemon/message-types/run-tasks-execution-hooks.d.ts +0 -0
  1330. /package/{src → dist/src}/daemon/message-types/run-tasks-execution-hooks.js +0 -0
  1331. /package/{src → dist/src}/daemon/message-types/task-history.d.ts +0 -0
  1332. /package/{src → dist/src}/daemon/message-types/task-history.js +0 -0
  1333. /package/{src → dist/src}/daemon/message-types/update-workspace-context.d.ts +0 -0
  1334. /package/{src → dist/src}/daemon/message-types/update-workspace-context.js +0 -0
  1335. /package/{src → dist/src}/daemon/server/file-watching/changed-projects.d.ts +0 -0
  1336. /package/{src → dist/src}/daemon/server/file-watching/changed-projects.js +0 -0
  1337. /package/{src → dist/src}/daemon/server/file-watching/file-watcher-sockets.d.ts +0 -0
  1338. /package/{src → dist/src}/daemon/server/handle-context-file-data.d.ts +0 -0
  1339. /package/{src → dist/src}/daemon/server/handle-flush-sync-generator-changes-to-disk.d.ts +0 -0
  1340. /package/{src → dist/src}/daemon/server/handle-force-shutdown.d.ts +0 -0
  1341. /package/{src → dist/src}/daemon/server/handle-force-shutdown.js +0 -0
  1342. /package/{src → dist/src}/daemon/server/handle-get-files-in-directory.d.ts +0 -0
  1343. /package/{src → dist/src}/daemon/server/handle-get-registered-sync-generators.d.ts +0 -0
  1344. /package/{src → dist/src}/daemon/server/handle-get-sync-generator-changes.d.ts +0 -0
  1345. /package/{src → dist/src}/daemon/server/handle-glob.d.ts +0 -0
  1346. /package/{src → dist/src}/daemon/server/handle-hash-glob.d.ts +0 -0
  1347. /package/{src → dist/src}/daemon/server/handle-hash-glob.js +0 -0
  1348. /package/{src → dist/src}/daemon/server/handle-nx-workspace-files.d.ts +0 -0
  1349. /package/{src → dist/src}/daemon/server/handle-process-in-background.d.ts +0 -0
  1350. /package/{src → dist/src}/daemon/server/handle-request-shutdown.d.ts +0 -0
  1351. /package/{src → dist/src}/daemon/server/handle-request-shutdown.js +0 -0
  1352. /package/{src → dist/src}/daemon/server/handle-update-workspace-context.d.ts +0 -0
  1353. /package/{src → dist/src}/daemon/server/handle-update-workspace-context.js +0 -0
  1354. /package/{src → dist/src}/devkit-exports.js +0 -0
  1355. /package/{src → dist/src}/devkit-testing-exports.d.ts +0 -0
  1356. /package/{src → dist/src}/devkit-testing-exports.js +0 -0
  1357. /package/{src → dist/src}/executors/noop/noop.impl.d.ts +0 -0
  1358. /package/{src → dist/src}/executors/noop/noop.impl.js +0 -0
  1359. /package/{src → dist/src}/executors/run-script/run-script.impl.d.ts +0 -0
  1360. /package/{src → dist/src}/executors/utils/convert-nx-executor.d.ts +0 -0
  1361. /package/{src → dist/src}/generators/testing-utils/create-tree-with-empty-workspace.d.ts +0 -0
  1362. /package/{src → dist/src}/generators/testing-utils/create-tree-with-empty-workspace.js +0 -0
  1363. /package/{src → dist/src}/generators/testing-utils/create-tree.d.ts +0 -0
  1364. /package/{src → dist/src}/generators/testing-utils/create-tree.js +0 -0
  1365. /package/{src → dist/src}/generators/tree.d.ts +0 -0
  1366. /package/{src → dist/src}/generators/utils/glob.d.ts +0 -0
  1367. /package/{src → dist/src}/generators/utils/glob.js +0 -0
  1368. /package/{src → dist/src}/generators/utils/json.d.ts +0 -0
  1369. /package/{src → dist/src}/generators/utils/json.js +0 -0
  1370. /package/{src → dist/src}/generators/utils/project-configuration.d.ts +0 -0
  1371. /package/{src → dist/src}/hasher/create-task-hasher.d.ts +0 -0
  1372. /package/{src → dist/src}/hasher/create-task-hasher.js +0 -0
  1373. /package/{src → dist/src}/hasher/file-hasher.d.ts +0 -0
  1374. /package/{src → dist/src}/hasher/file-hasher.js +0 -0
  1375. /package/{src → dist/src}/index.d.ts +0 -0
  1376. /package/{src → dist/src}/index.js +0 -0
  1377. /package/{src → dist/src}/migrations/update-17-0-0/move-cache-directory.d.ts +0 -0
  1378. /package/{src → dist/src}/migrations/update-17-0-0/rm-default-collection-npm-scope.d.ts +0 -0
  1379. /package/{src → dist/src}/migrations/update-17-0-0/rm-default-collection-npm-scope.js +0 -0
  1380. /package/{src → dist/src}/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.d.ts +0 -0
  1381. /package/{src → dist/src}/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.js +0 -0
  1382. /package/{src → dist/src}/migrations/update-17-2-0/move-default-base.d.ts +0 -0
  1383. /package/{src → dist/src}/migrations/update-17-3-0/nx-release-path.d.ts +0 -0
  1384. /package/{src → dist/src}/migrations/update-17-3-0/nx-release-path.js +0 -0
  1385. /package/{src → dist/src}/migrations/update-17-3-0/update-nxw.d.ts +0 -0
  1386. /package/{src → dist/src}/migrations/update-17-3-0/update-nxw.js +0 -0
  1387. /package/{src → dist/src}/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +0 -0
  1388. /package/{src → dist/src}/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +0 -0
  1389. /package/{src → dist/src}/migrations/update-19-2-0/move-workspace-data-directory.d.ts +0 -0
  1390. /package/{src → dist/src}/migrations/update-19-2-0/move-workspace-data-directory.js +0 -0
  1391. /package/{src → dist/src}/migrations/update-19-2-4/set-project-name.d.ts +0 -0
  1392. /package/{src → dist/src}/migrations/update-19-2-4/set-project-name.js +0 -0
  1393. /package/{src → dist/src}/migrations/update-20-0-0/move-use-daemon-process.d.ts +0 -0
  1394. /package/{src → dist/src}/migrations/update-20-0-0/move-use-daemon-process.js +0 -0
  1395. /package/{src → dist/src}/migrations/update-20-0-1/use-legacy-cache.d.ts +0 -0
  1396. /package/{src → dist/src}/migrations/update-20-0-1/use-legacy-cache.js +0 -0
  1397. /package/{src → dist/src}/native/assert-supported-platform.d.ts +0 -0
  1398. /package/{src → dist/src}/native/assert-supported-platform.js +0 -0
  1399. /package/{src → dist/src}/native/browser.js +0 -0
  1400. /package/{src → dist/src}/native/native-file-cache-location.d.ts +0 -0
  1401. /package/{src → dist/src}/native/transform-objects.d.ts +0 -0
  1402. /package/{src → dist/src}/native/transform-objects.js +0 -0
  1403. /package/{src → dist/src}/native/wasi-worker.mjs +0 -0
  1404. /package/{src → dist/src}/nx-cloud/debug-logger.d.ts +0 -0
  1405. /package/{src → dist/src}/nx-cloud/debug-logger.js +0 -0
  1406. /package/{src → dist/src}/nx-cloud/models/onboarding-status.d.ts +0 -0
  1407. /package/{src → dist/src}/nx-cloud/models/onboarding-status.js +0 -0
  1408. /package/{src → dist/src}/nx-cloud/nx-cloud-tasks-runner-shell.d.ts +0 -0
  1409. /package/{src → dist/src}/nx-cloud/resolution-helpers.d.ts +0 -0
  1410. /package/{src → dist/src}/nx-cloud/resolution-helpers.js +0 -0
  1411. /package/{src → dist/src}/nx-cloud/utilities/environment.d.ts +0 -0
  1412. /package/{src → dist/src}/nx-cloud/utilities/get-cloud-options.d.ts +0 -0
  1413. /package/{src → dist/src}/nx-cloud/utilities/get-cloud-options.js +0 -0
  1414. /package/{src → dist/src}/nx-cloud/utilities/is-workspace-claimed.d.ts +0 -0
  1415. /package/{src → dist/src}/nx-cloud/utilities/is-workspace-claimed.js +0 -0
  1416. /package/{src → dist/src}/nx-cloud/utilities/onboarding.d.ts +0 -0
  1417. /package/{src → dist/src}/plugins/js/hasher/hasher.d.ts +0 -0
  1418. /package/{src → dist/src}/plugins/js/hasher/hasher.js +0 -0
  1419. /package/{src → dist/src}/plugins/js/lock-file/utils/pnpm-normalizer.d.ts +0 -0
  1420. /package/{src → dist/src}/plugins/js/package-json/create-package-json.d.ts +0 -0
  1421. /package/{src → dist/src}/plugins/js/project-graph/affected/npm-packages.d.ts +0 -0
  1422. /package/{src → dist/src}/plugins/js/project-graph/affected/touched-projects.d.ts +0 -0
  1423. /package/{src → dist/src}/plugins/js/project-graph/affected/touched-projects.js +0 -0
  1424. /package/{src → dist/src}/plugins/js/project-graph/affected/tsconfig-json-changes.d.ts +0 -0
  1425. /package/{src → dist/src}/plugins/js/project-graph/affected/tsconfig-json-changes.js +0 -0
  1426. /package/{src → dist/src}/plugins/js/project-graph/build-dependencies/build-dependencies.d.ts +0 -0
  1427. /package/{src → dist/src}/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.d.ts +0 -0
  1428. /package/{src → dist/src}/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.d.ts +0 -0
  1429. /package/{src → dist/src}/plugins/js/project-graph/build-dependencies/strip-source-code.d.ts +0 -0
  1430. /package/{src → dist/src}/plugins/js/project-graph/build-dependencies/strip-source-code.js +0 -0
  1431. /package/{src → dist/src}/plugins/js/project-graph/build-dependencies/typescript-import-locator.d.ts +0 -0
  1432. /package/{src → dist/src}/plugins/js/project-graph/build-nodes/build-npm-package-nodes.d.ts +0 -0
  1433. /package/{src → dist/src}/plugins/js/project-graph/build-nodes/build-npm-package-nodes.js +0 -0
  1434. /package/{src → dist/src}/plugins/js/utils/config.d.ts +0 -0
  1435. /package/{src → dist/src}/plugins/js/utils/config.js +0 -0
  1436. /package/{src → dist/src}/plugins/js/utils/packages.d.ts +0 -0
  1437. /package/{src → dist/src}/plugins/js/utils/packages.js +0 -0
  1438. /package/{src → dist/src}/plugins/js/utils/resolve-relative-to-dir.d.ts +0 -0
  1439. /package/{src → dist/src}/plugins/js/utils/resolve-relative-to-dir.js +0 -0
  1440. /package/{src → dist/src}/plugins/package-json/index.d.ts +0 -0
  1441. /package/{src → dist/src}/plugins/package-json/index.js +0 -0
  1442. /package/{src → dist/src}/project-graph/affected/affected-project-graph-models.d.ts +0 -0
  1443. /package/{src → dist/src}/project-graph/affected/affected-project-graph-models.js +0 -0
  1444. /package/{src → dist/src}/project-graph/affected/affected-project-graph.d.ts +0 -0
  1445. /package/{src → dist/src}/project-graph/affected/locators/project-glob-changes.d.ts +0 -0
  1446. /package/{src → dist/src}/project-graph/affected/locators/project-glob-changes.js +0 -0
  1447. /package/{src → dist/src}/project-graph/affected/locators/workspace-json-changes.d.ts +0 -0
  1448. /package/{src → dist/src}/project-graph/affected/locators/workspace-json-changes.js +0 -0
  1449. /package/{src → dist/src}/project-graph/affected/locators/workspace-projects.d.ts +0 -0
  1450. /package/{src → dist/src}/project-graph/affected/locators/workspace-projects.js +0 -0
  1451. /package/{src → dist/src}/project-graph/file-map-utils.d.ts +0 -0
  1452. /package/{src → dist/src}/project-graph/file-map-utils.js +0 -0
  1453. /package/{src → dist/src}/project-graph/operators.d.ts +0 -0
  1454. /package/{src → dist/src}/project-graph/operators.js +0 -0
  1455. /package/{src → dist/src}/project-graph/plugins/index.d.ts +0 -0
  1456. /package/{src → dist/src}/project-graph/plugins/index.js +0 -0
  1457. /package/{src → dist/src}/project-graph/plugins/isolation/enabled.d.ts +0 -0
  1458. /package/{src → dist/src}/project-graph/plugins/public-api.js +0 -0
  1459. /package/{src → dist/src}/project-graph/plugins/tasks-execution-hooks.d.ts +0 -0
  1460. /package/{src → dist/src}/project-graph/plugins/tasks-execution-hooks.js +0 -0
  1461. /package/{src → dist/src}/project-graph/plugins/transpiler.d.ts +0 -0
  1462. /package/{src → dist/src}/project-graph/project-graph-builder.d.ts +0 -0
  1463. /package/{src → dist/src}/project-graph/project-graph-builder.js +0 -0
  1464. /package/{src → dist/src}/project-graph/utils/build-all-workspace-files.d.ts +0 -0
  1465. /package/{src → dist/src}/project-graph/utils/build-all-workspace-files.js +0 -0
  1466. /package/{src → dist/src}/project-graph/utils/find-project-for-path.d.ts +0 -0
  1467. /package/{src → dist/src}/project-graph/utils/find-project-for-path.js +0 -0
  1468. /package/{src → dist/src}/project-graph/utils/implicit-project-dependencies.d.ts +0 -0
  1469. /package/{src → dist/src}/project-graph/utils/implicit-project-dependencies.js +0 -0
  1470. /package/{src → dist/src}/project-graph/utils/retrieve-workspace-files.js +0 -0
  1471. /package/{src → dist/src}/tasks-runner/batch/batch-messages.d.ts +0 -0
  1472. /package/{src → dist/src}/tasks-runner/batch/batch-messages.js +0 -0
  1473. /package/{src → dist/src}/tasks-runner/batch/run-batch.d.ts +0 -0
  1474. /package/{src → dist/src}/tasks-runner/default-tasks-runner.d.ts +0 -0
  1475. /package/{src → dist/src}/tasks-runner/fork.d.ts +0 -0
  1476. /package/{src → dist/src}/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.d.ts +0 -0
  1477. /package/{src → dist/src}/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.d.ts +0 -0
  1478. /package/{src → dist/src}/tasks-runner/life-cycles/empty-terminal-output-life-cycle.d.ts +0 -0
  1479. /package/{src → dist/src}/tasks-runner/life-cycles/empty-terminal-output-life-cycle.js +0 -0
  1480. /package/{src → dist/src}/tasks-runner/life-cycles/formatting-utils.d.ts +0 -0
  1481. /package/{src → dist/src}/tasks-runner/life-cycles/formatting-utils.js +0 -0
  1482. /package/{src → dist/src}/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.d.ts +0 -0
  1483. /package/{src → dist/src}/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.js +0 -0
  1484. /package/{src → dist/src}/tasks-runner/life-cycles/pretty-time.d.ts +0 -0
  1485. /package/{src → dist/src}/tasks-runner/life-cycles/pretty-time.js +0 -0
  1486. /package/{src → dist/src}/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.d.ts +0 -0
  1487. /package/{src → dist/src}/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.d.ts +0 -0
  1488. /package/{src → dist/src}/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.js +0 -0
  1489. /package/{src → dist/src}/tasks-runner/life-cycles/store-run-information-life-cycle.d.ts +0 -0
  1490. /package/{src → dist/src}/tasks-runner/life-cycles/store-run-information-life-cycle.js +0 -0
  1491. /package/{src → dist/src}/tasks-runner/life-cycles/task-profiling-life-cycle.d.ts +0 -0
  1492. /package/{src → dist/src}/tasks-runner/life-cycles/task-profiling-life-cycle.js +0 -0
  1493. /package/{src → dist/src}/tasks-runner/life-cycles/task-results-life-cycle.d.ts +0 -0
  1494. /package/{src → dist/src}/tasks-runner/life-cycles/task-results-life-cycle.js +0 -0
  1495. /package/{src → dist/src}/tasks-runner/life-cycles/task-timings-life-cycle.d.ts +0 -0
  1496. /package/{src → dist/src}/tasks-runner/life-cycles/task-timings-life-cycle.js +0 -0
  1497. /package/{src → dist/src}/tasks-runner/life-cycles/view-logs-utils.d.ts +0 -0
  1498. /package/{src → dist/src}/tasks-runner/life-cycles/view-logs-utils.js +0 -0
  1499. /package/{src → dist/src}/tasks-runner/pseudo-ipc.d.ts +0 -0
  1500. /package/{src → dist/src}/tasks-runner/remove-old-cache-records.d.ts +0 -0
  1501. /package/{src → dist/src}/tasks-runner/remove-old-cache-records.js +0 -0
  1502. /package/{src → dist/src}/tasks-runner/tasks-runner.js +0 -0
  1503. /package/{src → dist/src}/utils/all-file-data.d.ts +0 -0
  1504. /package/{src → dist/src}/utils/all-file-data.js +0 -0
  1505. /package/{src → dist/src}/utils/assert-workspace-validity.d.ts +0 -0
  1506. /package/{src → dist/src}/utils/async-iterator.d.ts +0 -0
  1507. /package/{src → dist/src}/utils/async-iterator.js +0 -0
  1508. /package/{src → dist/src}/utils/child-process.d.ts +0 -0
  1509. /package/{src → dist/src}/utils/chunkify.d.ts +0 -0
  1510. /package/{src → dist/src}/utils/chunkify.js +0 -0
  1511. /package/{src → dist/src}/utils/code-frames.d.ts +0 -0
  1512. /package/{src → dist/src}/utils/default-base.d.ts +0 -0
  1513. /package/{src → dist/src}/utils/dotenv.d.ts +0 -0
  1514. /package/{src/daemon/client/exec-is-server-available.d.ts → dist/src/utils/enable-compile-cache.d.ts} +0 -0
  1515. /package/{src → dist/src}/utils/fileutils.d.ts +0 -0
  1516. /package/{src → dist/src}/utils/find-matching-projects.d.ts +0 -0
  1517. /package/{src → dist/src}/utils/find-workspace-root.d.ts +0 -0
  1518. /package/{src → dist/src}/utils/find-workspace-root.js +0 -0
  1519. /package/{src → dist/src}/utils/get-package-name-from-import-path.d.ts +0 -0
  1520. /package/{src → dist/src}/utils/get-package-name-from-import-path.js +0 -0
  1521. /package/{src/daemon/server/start.d.ts → dist/src/utils/git-utils.index-filter.d.ts} +0 -0
  1522. /package/{src/project-graph/plugins/isolation/plugin-worker.d.ts → dist/src/utils/git-utils.tree-filter.d.ts} +0 -0
  1523. /package/{src → dist/src}/utils/globs.d.ts +0 -0
  1524. /package/{src → dist/src}/utils/globs.js +0 -0
  1525. /package/{src → dist/src}/utils/handle-errors.d.ts +0 -0
  1526. /package/{src → dist/src}/utils/installation-directory.d.ts +0 -0
  1527. /package/{src → dist/src}/utils/is-using-prettier.d.ts +0 -0
  1528. /package/{src → dist/src}/utils/is-using-prettier.js +0 -0
  1529. /package/{src → dist/src}/utils/json-diff.d.ts +0 -0
  1530. /package/{src → dist/src}/utils/json-diff.js +0 -0
  1531. /package/{src → dist/src}/utils/json.d.ts +0 -0
  1532. /package/{src → dist/src}/utils/json.js +0 -0
  1533. /package/{src → dist/src}/utils/legacy-task-history.d.ts +0 -0
  1534. /package/{src → dist/src}/utils/legacy-task-history.js +0 -0
  1535. /package/{src → dist/src}/utils/object-sort.d.ts +0 -0
  1536. /package/{src → dist/src}/utils/object-sort.js +0 -0
  1537. /package/{src → dist/src}/utils/path.d.ts +0 -0
  1538. /package/{src → dist/src}/utils/perf-logging.d.ts +0 -0
  1539. /package/{src → dist/src}/utils/plugins/core-plugins.d.ts +0 -0
  1540. /package/{src → dist/src}/utils/plugins/core-plugins.js +0 -0
  1541. /package/{src → dist/src}/utils/plugins/installed-plugins.d.ts +0 -0
  1542. /package/{src → dist/src}/utils/plugins/installed-plugins.js +0 -0
  1543. /package/{src → dist/src}/utils/plugins/local-plugins.d.ts +0 -0
  1544. /package/{src → dist/src}/utils/plugins/local-plugins.js +0 -0
  1545. /package/{src → dist/src}/utils/print-help.d.ts +0 -0
  1546. /package/{src → dist/src}/utils/promised-based-queue.d.ts +0 -0
  1547. /package/{src → dist/src}/utils/promised-based-queue.js +0 -0
  1548. /package/{src → dist/src}/utils/require-nx-key.d.ts +0 -0
  1549. /package/{src → dist/src}/utils/serializable-error.d.ts +0 -0
  1550. /package/{src → dist/src}/utils/serializable-error.js +0 -0
  1551. /package/{src → dist/src}/utils/serialize-overrides-into-command-line.d.ts +0 -0
  1552. /package/{src → dist/src}/utils/serialize-target.d.ts +0 -0
  1553. /package/{src → dist/src}/utils/serialize-target.js +0 -0
  1554. /package/{src → dist/src}/utils/strip-indents.d.ts +0 -0
  1555. /package/{src → dist/src}/utils/strip-indents.js +0 -0
  1556. /package/{src → dist/src}/utils/task-history.d.ts +0 -0
  1557. /package/{src → dist/src}/utils/update-nxw.d.ts +0 -0
  1558. /package/{src → dist/src}/utils/versions.d.ts +0 -0
  1559. /package/{src → dist/src}/utils/workspace-root.d.ts +0 -0
  1560. /package/{tasks-runners → dist/tasks-runners}/default.d.ts +0 -0
  1561. /package/{tasks-runners → dist/tasks-runners}/default.js +0 -0
@@ -1,106 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StaticRunManyTerminalOutputLifeCycle = void 0;
4
- const output_1 = require("../../utils/output");
5
- const utils_1 = require("../utils");
6
- const formatting_utils_1 = require("./formatting-utils");
7
- /**
8
- * The following life cycle's outputs are static, meaning no previous content
9
- * is rewritten or modified as new outputs are added. It is therefore intended
10
- * for use in CI environments.
11
- *
12
- * For the common case of a user executing a command on their local machine,
13
- * the dynamic equivalent of this life cycle is usually preferable.
14
- */
15
- class StaticRunManyTerminalOutputLifeCycle {
16
- constructor(projectNames, tasks, args, taskOverrides) {
17
- this.projectNames = projectNames;
18
- this.tasks = tasks;
19
- this.args = args;
20
- this.taskOverrides = taskOverrides;
21
- this.failedTasks = [];
22
- this.cachedTasks = [];
23
- this.allCompletedTasks = new Map();
24
- }
25
- startCommand() {
26
- if (this.tasks.length === 0) {
27
- return;
28
- }
29
- if (this.projectNames.length <= 0) {
30
- output_1.output.logSingleLine(`No projects with ${(0, formatting_utils_1.formatTargetsAndProjects)(this.projectNames, this.args.targets, this.tasks)} were run`);
31
- return;
32
- }
33
- const bodyLines = this.projectNames.map((affectedProject) => `${output_1.output.dim('-')} ${affectedProject}`);
34
- if (Object.keys(this.taskOverrides).length > 0) {
35
- bodyLines.push('');
36
- bodyLines.push(`${output_1.output.dim('With additional flags:')}`);
37
- Object.entries(this.taskOverrides)
38
- .map(([flag, value]) => (0, formatting_utils_1.formatFlags)('', flag, value))
39
- .forEach((arg) => bodyLines.push(arg));
40
- }
41
- const title = `Running ${(0, formatting_utils_1.formatTargetsAndProjects)(this.projectNames, this.args.targets, this.tasks)}:`;
42
- output_1.output.log({
43
- color: 'cyan',
44
- title,
45
- bodyLines,
46
- });
47
- output_1.output.addVerticalSeparatorWithoutNewLines('cyan');
48
- }
49
- endCommand() {
50
- output_1.output.addNewline();
51
- if (this.tasks.length === 0) {
52
- output_1.output.logSingleLine(`No tasks were run`);
53
- return;
54
- }
55
- if (this.failedTasks.length === 0) {
56
- output_1.output.addVerticalSeparatorWithoutNewLines('green');
57
- const bodyLines = this.cachedTasks.length > 0
58
- ? [
59
- output_1.output.dim(`Nx read the output from the cache instead of running the command for ${this.cachedTasks.length} out of ${this.tasks.length} tasks.`),
60
- ]
61
- : [];
62
- output_1.output.success({
63
- title: `Successfully ran ${(0, formatting_utils_1.formatTargetsAndProjects)(this.projectNames, this.args.targets, this.tasks)}`,
64
- bodyLines,
65
- });
66
- }
67
- else {
68
- output_1.output.addVerticalSeparatorWithoutNewLines('red');
69
- const bodyLines = [];
70
- const skippedTasks = this.skippedTasks();
71
- if (skippedTasks.length > 0) {
72
- bodyLines.push(output_1.output.dim('Tasks not run because their dependencies failed or --nx-bail=true:'), '', ...skippedTasks.map((task) => `${output_1.output.dim('-')} ${task.id}`), '');
73
- }
74
- bodyLines.push(output_1.output.dim('Failed tasks:'), '', ...[...this.failedTasks.values()].map((task) => `${output_1.output.dim('-')} ${task.id}`));
75
- output_1.output.error({
76
- title: `Running ${(0, formatting_utils_1.formatTargetsAndProjects)(this.projectNames, this.args.targets, this.tasks)} failed`,
77
- bodyLines,
78
- });
79
- }
80
- }
81
- skippedTasks() {
82
- return this.tasks.filter((t) => !this.allCompletedTasks.has(t.id));
83
- }
84
- endTasks(taskResults) {
85
- for (let t of taskResults) {
86
- this.allCompletedTasks.set(t.task.id, t.task);
87
- if (t.status === 'failure') {
88
- this.failedTasks.push(t.task);
89
- }
90
- else if (t.status === 'local-cache') {
91
- this.cachedTasks.push(t.task);
92
- }
93
- else if (t.status === 'local-cache-kept-existing') {
94
- this.cachedTasks.push(t.task);
95
- }
96
- else if (t.status === 'remote-cache') {
97
- this.cachedTasks.push(t.task);
98
- }
99
- }
100
- }
101
- printTaskTerminalOutput(task, cacheStatus, terminalOutput) {
102
- const args = (0, utils_1.getPrintableCommandArgsForTask)(task);
103
- output_1.output.logCommandOutput(args.join(' '), cacheStatus, terminalOutput);
104
- }
105
- }
106
- exports.StaticRunManyTerminalOutputLifeCycle = StaticRunManyTerminalOutputLifeCycle;
@@ -1,9 +0,0 @@
1
- import { Task } from '../../config/task-graph';
2
- import { LifeCycle, TaskResult } from '../life-cycle';
3
- export declare class LegacyTaskHistoryLifeCycle implements LifeCycle {
4
- private startTimings;
5
- private taskRuns;
6
- startTasks(tasks: Task[]): void;
7
- endTasks(taskResults: TaskResult[]): Promise<void>;
8
- endCommand(): Promise<void>;
9
- }
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LegacyTaskHistoryLifeCycle = void 0;
4
- const serialize_target_1 = require("../../utils/serialize-target");
5
- const output_1 = require("../../utils/output");
6
- const legacy_task_history_1 = require("../../utils/legacy-task-history");
7
- class LegacyTaskHistoryLifeCycle {
8
- constructor() {
9
- this.startTimings = {};
10
- this.taskRuns = [];
11
- }
12
- startTasks(tasks) {
13
- for (let task of tasks) {
14
- this.startTimings[task.id] = new Date().getTime();
15
- }
16
- }
17
- async endTasks(taskResults) {
18
- const taskRuns = taskResults.map((taskResult) => ({
19
- project: taskResult.task.target.project,
20
- target: taskResult.task.target.target,
21
- configuration: taskResult.task.target.configuration,
22
- hash: taskResult.task.hash,
23
- code: taskResult.code.toString(),
24
- status: taskResult.status,
25
- start: (taskResult.task.startTime ?? this.startTimings[taskResult.task.id]).toString(),
26
- end: (taskResult.task.endTime ?? new Date().getTime()).toString(),
27
- }));
28
- this.taskRuns.push(...taskRuns);
29
- }
30
- async endCommand() {
31
- await (0, legacy_task_history_1.writeTaskRunsToHistory)(this.taskRuns);
32
- const history = await (0, legacy_task_history_1.getHistoryForHashes)(this.taskRuns.map((t) => t.hash));
33
- const flakyTasks = [];
34
- // check if any hash has different exit codes => flaky
35
- for (let hash in history) {
36
- if (history[hash].length > 1 &&
37
- history[hash].some((run) => run.code !== history[hash][0].code)) {
38
- flakyTasks.push((0, serialize_target_1.serializeTarget)(history[hash][0].project, history[hash][0].target, history[hash][0].configuration));
39
- }
40
- }
41
- if (flakyTasks.length > 0) {
42
- output_1.output.warn({
43
- title: `Nx detected ${flakyTasks.length === 1 ? 'a flaky task' : ' flaky tasks'}`,
44
- bodyLines: [
45
- ,
46
- ...flakyTasks.map((t) => ` ${t}`),
47
- '',
48
- `Flaky tasks can disrupt your CI pipeline. Automatically retry them with Nx Cloud. Learn more at https://nx.dev/ci/features/flaky-tasks`,
49
- ],
50
- });
51
- }
52
- }
53
- }
54
- exports.LegacyTaskHistoryLifeCycle = LegacyTaskHistoryLifeCycle;
@@ -1,10 +0,0 @@
1
- import { Task } from '../../config/task-graph';
2
- import { LifeCycle, TaskResult } from '../life-cycle';
3
- export declare class TaskHistoryLifeCycle implements LifeCycle {
4
- private startTimings;
5
- private taskRuns;
6
- private taskHistory;
7
- startTasks(tasks: Task[]): void;
8
- endTasks(taskResults: TaskResult[]): Promise<void>;
9
- endCommand(): Promise<void>;
10
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskHistoryLifeCycle = void 0;
4
- const serialize_target_1 = require("../../utils/serialize-target");
5
- const output_1 = require("../../utils/output");
6
- const task_history_1 = require("../../utils/task-history");
7
- class TaskHistoryLifeCycle {
8
- constructor() {
9
- this.startTimings = {};
10
- this.taskRuns = new Map();
11
- this.taskHistory = (0, task_history_1.getTaskHistory)();
12
- }
13
- startTasks(tasks) {
14
- for (let task of tasks) {
15
- this.startTimings[task.id] = new Date().getTime();
16
- }
17
- }
18
- async endTasks(taskResults) {
19
- taskResults
20
- .map((taskResult) => ({
21
- hash: taskResult.task.hash,
22
- target: taskResult.task.target,
23
- code: taskResult.code,
24
- status: taskResult.status,
25
- start: taskResult.task.startTime ?? this.startTimings[taskResult.task.id],
26
- end: taskResult.task.endTime ?? Date.now(),
27
- }))
28
- .forEach((taskRun) => {
29
- this.taskRuns.set(taskRun.hash, taskRun);
30
- });
31
- }
32
- async endCommand() {
33
- const entries = Array.from(this.taskRuns);
34
- if (!this.taskHistory) {
35
- return;
36
- }
37
- await this.taskHistory.recordTaskRuns(entries.map(([_, v]) => v));
38
- const flakyTasks = await this.taskHistory.getFlakyTasks(entries.map(([hash]) => hash));
39
- if (flakyTasks.length > 0) {
40
- output_1.output.warn({
41
- title: `Nx detected ${flakyTasks.length === 1 ? 'a flaky task' : ' flaky tasks'}`,
42
- bodyLines: [
43
- ,
44
- ...flakyTasks.map((hash) => {
45
- const taskRun = this.taskRuns.get(hash);
46
- return ` ${(0, serialize_target_1.serializeTarget)(taskRun.target.project, taskRun.target.target, taskRun.target.configuration)}`;
47
- }),
48
- '',
49
- `Flaky tasks can disrupt your CI pipeline. Automatically retry them with Nx Cloud. Learn more at https://nx.dev/ci/features/flaky-tasks`,
50
- ],
51
- });
52
- }
53
- }
54
- }
55
- exports.TaskHistoryLifeCycle = TaskHistoryLifeCycle;
@@ -1,140 +0,0 @@
1
- "use strict";
2
- /**
3
- * Node IPC is specific to Node, but when spawning child processes in Rust, it won't have IPC.
4
- *
5
- * Thus, this is a wrapper which is spawned by Rust, which will create a Node IPC channel and pipe it to a ZeroMQ Channel
6
- *
7
- * Main Nx Process
8
- * * Calls Rust Fork Function
9
- * * `node fork.js`
10
- * * Create a Rust - Node.js Agnostic Channel aka Pseudo IPC Channel
11
- * * This returns RustChildProcess
12
- * * RustChildProcess.onMessage(msg => ());
13
- * * pseudo_ipc_channel.on_message() => tx.send(msg);
14
- * * Node.js Fork Wrapper (fork.js)
15
- * * fork(run-command.js) with `inherit` and `ipc`
16
- * * This will create a Node IPC Channel
17
- * * channel = getPseudoIpcChannel(process.env.NX_IPC_CHANNEL_ID)
18
- * * forkChildProcess.on('message', writeToPseudoIpcChannel)
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.PseudoIPCClient = exports.PseudoIPCServer = void 0;
22
- const net_1 = require("net");
23
- const consume_messages_from_socket_1 = require("../utils/consume-messages-from-socket");
24
- class PseudoIPCServer {
25
- constructor(path) {
26
- this.path = path;
27
- this.sockets = new Set();
28
- this.childMessages = [];
29
- this.childReadyMap = new Map();
30
- }
31
- init() {
32
- return new Promise((res) => {
33
- this.server = new net_1.Server((socket) => {
34
- this.sockets.add(socket);
35
- this.registerChildMessages(socket);
36
- socket.on('close', () => {
37
- this.sockets.delete(socket);
38
- });
39
- });
40
- this.server.listen(this.path, () => {
41
- res();
42
- });
43
- });
44
- }
45
- async waitForChildReady(childId) {
46
- return new Promise((res) => {
47
- this.childReadyMap.set(childId, res);
48
- });
49
- }
50
- registerChildMessages(socket) {
51
- socket.on('data', (0, consume_messages_from_socket_1.consumeMessagesFromSocket)(async (rawMessage) => {
52
- const { type, message } = JSON.parse(rawMessage);
53
- if (type === 'TO_PARENT_FROM_CHILDREN') {
54
- for (const childMessage of this.childMessages) {
55
- childMessage.onMessage(message);
56
- }
57
- }
58
- else if (type === 'CHILD_READY') {
59
- const childId = message;
60
- if (this.childReadyMap.has(childId)) {
61
- this.childReadyMap.get(childId)();
62
- }
63
- }
64
- }));
65
- socket.on('close', () => {
66
- for (const childMessage of this.childMessages) {
67
- childMessage.onClose?.();
68
- }
69
- });
70
- socket.on('error', (err) => {
71
- for (const childMessage of this.childMessages) {
72
- childMessage.onError?.(err);
73
- }
74
- });
75
- }
76
- sendMessageToChildren(message) {
77
- this.sockets.forEach((socket) => {
78
- socket.write(JSON.stringify({ type: 'TO_CHILDREN_FROM_PARENT', message }));
79
- // send EOT to indicate that the message has been fully written
80
- socket.write(String.fromCodePoint(4));
81
- });
82
- }
83
- sendMessageToChild(id, message) {
84
- this.sockets.forEach((socket) => {
85
- socket.write(JSON.stringify({ type: 'TO_CHILDREN_FROM_PARENT', id, message }));
86
- socket.write(String.fromCodePoint(4));
87
- });
88
- }
89
- onMessageFromChildren(onMessage, onClose = () => { }, onError = (err) => { }) {
90
- this.childMessages.push({
91
- onMessage,
92
- onClose,
93
- onError,
94
- });
95
- }
96
- close() {
97
- this.server?.close();
98
- this.sockets.forEach((s) => s.destroy());
99
- }
100
- }
101
- exports.PseudoIPCServer = PseudoIPCServer;
102
- class PseudoIPCClient {
103
- constructor(path) {
104
- this.path = path;
105
- this.socket = (0, net_1.connect)(this.path);
106
- }
107
- sendMessageToParent(message) {
108
- this.socket.write(JSON.stringify({ type: 'TO_PARENT_FROM_CHILDREN', message }));
109
- // send EOT to indicate that the message has been fully written
110
- this.socket.write(String.fromCodePoint(4));
111
- }
112
- notifyChildIsReady(id) {
113
- this.socket.write(JSON.stringify({
114
- type: 'CHILD_READY',
115
- message: id,
116
- }));
117
- // send EOT to indicate that the message has been fully written
118
- this.socket.write(String.fromCodePoint(4));
119
- }
120
- onMessageFromParent(forkId, onMessage, onClose = () => { }, onError = (err) => { }) {
121
- this.socket.on('data', (0, consume_messages_from_socket_1.consumeMessagesFromSocket)(async (rawMessage) => {
122
- const { id, type, message } = JSON.parse(rawMessage);
123
- if (type === 'TO_CHILDREN_FROM_PARENT') {
124
- if (id && id === forkId) {
125
- onMessage(message);
126
- }
127
- else if (id === undefined) {
128
- onMessage(message);
129
- }
130
- }
131
- }));
132
- this.socket.on('close', onClose);
133
- this.socket.on('error', onError);
134
- return this;
135
- }
136
- close() {
137
- this.socket?.destroy();
138
- }
139
- }
140
- exports.PseudoIPCClient = PseudoIPCClient;
@@ -1,45 +0,0 @@
1
- import { ChildProcess, RustPseudoTerminal } from '../native';
2
- import { PseudoIPCServer } from './pseudo-ipc';
3
- import { Serializable } from 'child_process';
4
- export declare function getPseudoTerminal(skipSupportCheck?: boolean): PseudoTerminal;
5
- export declare class PseudoTerminal {
6
- private rustPseudoTerminal;
7
- private pseudoIPCPath;
8
- private pseudoIPC;
9
- private initialized;
10
- static isSupported(): boolean;
11
- constructor(rustPseudoTerminal: RustPseudoTerminal);
12
- init(): Promise<void>;
13
- runCommand(command: string, { cwd, execArgv, jsEnv, quiet, tty, }?: {
14
- cwd?: string;
15
- execArgv?: string[];
16
- jsEnv?: Record<string, string>;
17
- quiet?: boolean;
18
- tty?: boolean;
19
- }): PseudoTtyProcess;
20
- fork(id: string, script: string, { cwd, execArgv, jsEnv, quiet, }: {
21
- cwd?: string;
22
- execArgv?: string[];
23
- jsEnv?: Record<string, string>;
24
- quiet?: boolean;
25
- }): Promise<PseudoTtyProcessWithSend>;
26
- sendMessageToChildren(message: Serializable): void;
27
- onMessageFromChildren(callback: (message: Serializable) => void): void;
28
- private setupProcessListeners;
29
- private shutdownPseudoIPC;
30
- }
31
- export declare class PseudoTtyProcess {
32
- private childProcess;
33
- isAlive: boolean;
34
- exitCallbacks: any[];
35
- constructor(childProcess: ChildProcess);
36
- onExit(callback: (code: number) => void): void;
37
- onOutput(callback: (message: string) => void): void;
38
- kill(): void;
39
- }
40
- export declare class PseudoTtyProcessWithSend extends PseudoTtyProcess {
41
- private id;
42
- private pseudoIpc;
43
- constructor(_childProcess: ChildProcess, id: string, pseudoIpc: PseudoIPCServer);
44
- send(message: Serializable): void;
45
- }
@@ -1,168 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PseudoTtyProcessWithSend = exports.PseudoTtyProcess = exports.PseudoTerminal = void 0;
4
- exports.getPseudoTerminal = getPseudoTerminal;
5
- const native_1 = require("../native");
6
- const pseudo_ipc_1 = require("./pseudo-ipc");
7
- const socket_utils_1 = require("../daemon/socket-utils");
8
- const os = require("os");
9
- let pseudoTerminal;
10
- function getPseudoTerminal(skipSupportCheck = false) {
11
- if (!skipSupportCheck && !PseudoTerminal.isSupported()) {
12
- throw new Error('Pseudo terminal is not supported on this platform.');
13
- }
14
- pseudoTerminal ??= new PseudoTerminal(new native_1.RustPseudoTerminal());
15
- return pseudoTerminal;
16
- }
17
- class PseudoTerminal {
18
- static isSupported() {
19
- return process.stdout.isTTY && supportedPtyPlatform();
20
- }
21
- constructor(rustPseudoTerminal) {
22
- this.rustPseudoTerminal = rustPseudoTerminal;
23
- this.pseudoIPCPath = (0, socket_utils_1.getForkedProcessOsSocketPath)(process.pid.toString());
24
- this.pseudoIPC = new pseudo_ipc_1.PseudoIPCServer(this.pseudoIPCPath);
25
- this.initialized = false;
26
- this.setupProcessListeners();
27
- }
28
- async init() {
29
- if (this.initialized) {
30
- return;
31
- }
32
- await this.pseudoIPC.init();
33
- this.initialized = true;
34
- }
35
- runCommand(command, { cwd, execArgv, jsEnv, quiet, tty, } = {}) {
36
- return new PseudoTtyProcess(this.rustPseudoTerminal.runCommand(command, cwd, jsEnv, execArgv, quiet, tty));
37
- }
38
- async fork(id, script, { cwd, execArgv, jsEnv, quiet, }) {
39
- if (!this.initialized) {
40
- throw new Error('Call init() before forking processes');
41
- }
42
- const cp = new PseudoTtyProcessWithSend(this.rustPseudoTerminal.fork(id, script, this.pseudoIPCPath, cwd, jsEnv, execArgv, quiet), id, this.pseudoIPC);
43
- await this.pseudoIPC.waitForChildReady(id);
44
- return cp;
45
- }
46
- sendMessageToChildren(message) {
47
- this.pseudoIPC.sendMessageToChildren(message);
48
- }
49
- onMessageFromChildren(callback) {
50
- this.pseudoIPC.onMessageFromChildren(callback);
51
- }
52
- setupProcessListeners() {
53
- const shutdown = () => {
54
- this.shutdownPseudoIPC();
55
- };
56
- process.on('SIGINT', () => {
57
- this.shutdownPseudoIPC();
58
- });
59
- process.on('SIGTERM', () => {
60
- this.shutdownPseudoIPC();
61
- });
62
- process.on('SIGHUP', () => {
63
- this.shutdownPseudoIPC();
64
- });
65
- process.on('exit', () => {
66
- this.shutdownPseudoIPC();
67
- });
68
- }
69
- shutdownPseudoIPC() {
70
- if (this.initialized) {
71
- this.pseudoIPC.close();
72
- }
73
- }
74
- }
75
- exports.PseudoTerminal = PseudoTerminal;
76
- class PseudoTtyProcess {
77
- constructor(childProcess) {
78
- this.childProcess = childProcess;
79
- this.isAlive = true;
80
- this.exitCallbacks = [];
81
- childProcess.onExit((message) => {
82
- this.isAlive = false;
83
- const exitCode = messageToCode(message);
84
- this.exitCallbacks.forEach((cb) => cb(exitCode));
85
- });
86
- }
87
- onExit(callback) {
88
- this.exitCallbacks.push(callback);
89
- }
90
- onOutput(callback) {
91
- this.childProcess.onOutput(callback);
92
- }
93
- kill() {
94
- try {
95
- this.childProcess.kill();
96
- }
97
- catch {
98
- // when the child process completes before we explicitly call kill, this will throw
99
- // do nothing
100
- }
101
- finally {
102
- if (this.isAlive == true) {
103
- this.isAlive = false;
104
- }
105
- }
106
- }
107
- }
108
- exports.PseudoTtyProcess = PseudoTtyProcess;
109
- class PseudoTtyProcessWithSend extends PseudoTtyProcess {
110
- constructor(_childProcess, id, pseudoIpc) {
111
- super(_childProcess);
112
- this.id = id;
113
- this.pseudoIpc = pseudoIpc;
114
- }
115
- send(message) {
116
- this.pseudoIpc.sendMessageToChild(this.id, message);
117
- }
118
- }
119
- exports.PseudoTtyProcessWithSend = PseudoTtyProcessWithSend;
120
- function messageToCode(message) {
121
- if (message.startsWith('Terminated by ')) {
122
- switch (message.replace('Terminated by ', '').trim()) {
123
- case 'Termination':
124
- return 143;
125
- case 'Interrupt':
126
- return 130;
127
- default:
128
- return 128;
129
- }
130
- }
131
- else if (message.startsWith('Exited with code ')) {
132
- return parseInt(message.replace('Exited with code ', '').trim());
133
- }
134
- else if (message === 'Success') {
135
- return 0;
136
- }
137
- else {
138
- return 1;
139
- }
140
- }
141
- function supportedPtyPlatform() {
142
- if (native_1.IS_WASM) {
143
- return false;
144
- }
145
- if (process.platform !== 'win32') {
146
- return true;
147
- }
148
- // TODO: Re-enable Windows support when it's stable
149
- // Currently, there's an issue with control chars.
150
- // See: https://github.com/nrwl/nx/issues/22358
151
- if (process.env.NX_WINDOWS_PTY_SUPPORT !== 'true') {
152
- return false;
153
- }
154
- let windowsVersion = os.release().split('.');
155
- let windowsBuild = windowsVersion[2];
156
- if (!windowsBuild) {
157
- return false;
158
- }
159
- // Mininum supported Windows version:
160
- // https://en.wikipedia.org/wiki/Windows_10,_version_1809
161
- // https://learn.microsoft.com/en-us/windows/console/createpseudoconsole#requirements
162
- if (+windowsBuild < 17763) {
163
- return false;
164
- }
165
- else {
166
- return true;
167
- }
168
- }
@@ -1,36 +0,0 @@
1
- import { NxJsonConfiguration } from '../config/nx-json';
2
- import { ProjectGraph, ProjectGraphProjectNode } from '../config/project-graph';
3
- import { Task, TaskGraph } from '../config/task-graph';
4
- import { TargetDependencyConfig } from '../config/workspace-json-project-json';
5
- import { NxArgs } from '../utils/command-line-utils';
6
- import { LifeCycle, TaskResult, TaskResults } from './life-cycle';
7
- import { TasksRunner } from './tasks-runner';
8
- export declare function runCommand(projectsToRun: ProjectGraphProjectNode[], currentProjectGraph: ProjectGraph, { nxJson }: {
9
- nxJson: NxJsonConfiguration;
10
- }, nxArgs: NxArgs, overrides: any, initiatingProject: string | null, extraTargetDependencies: Record<string, (TargetDependencyConfig | string)[]>, extraOptions: {
11
- excludeTaskDependencies: boolean;
12
- loadDotEnvFiles: boolean;
13
- }): Promise<NodeJS.Process['exitCode']>;
14
- export declare function runCommandForTasks(projectsToRun: ProjectGraphProjectNode[], currentProjectGraph: ProjectGraph, { nxJson }: {
15
- nxJson: NxJsonConfiguration;
16
- }, nxArgs: NxArgs, overrides: any, initiatingProject: string | null, extraTargetDependencies: Record<string, (TargetDependencyConfig | string)[]>, extraOptions: {
17
- excludeTaskDependencies: boolean;
18
- loadDotEnvFiles: boolean;
19
- }): Promise<TaskResults>;
20
- export declare function invokeTasksRunner({ tasks, projectGraph, taskGraph, lifeCycle, nxJson, nxArgs, loadDotEnvFiles, initiatingProject, }: {
21
- tasks: Task[];
22
- projectGraph: ProjectGraph;
23
- taskGraph: TaskGraph;
24
- lifeCycle: LifeCycle;
25
- nxJson: NxJsonConfiguration;
26
- nxArgs: NxArgs;
27
- loadDotEnvFiles: boolean;
28
- initiatingProject: string | null;
29
- }): Promise<{
30
- [id: string]: TaskResult;
31
- }>;
32
- export declare function getRunner(nxArgs: NxArgs, nxJson: NxJsonConfiguration): {
33
- tasksRunner: TasksRunner;
34
- runnerOptions: any;
35
- };
36
- export declare function getRunnerOptions(runner: string, nxJson: NxJsonConfiguration<string[] | '*'>, nxArgs: NxArgs, isCloudDefault: boolean): any;