nx 17.0.2 → 17.0.4

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 (319) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +9 -4
  3. package/bin/init-local.js +10 -60
  4. package/bin/nx-cloud.js +6 -0
  5. package/bin/nx.js +1 -9
  6. package/bin/post-install.js +5 -1
  7. package/bin/run-executor.js +1 -1
  8. package/migrations.json +18 -0
  9. package/package.json +21 -18
  10. package/plugins/package-json.js +1 -1
  11. package/{changelog-renderer → release/changelog-renderer}/index.d.ts +18 -3
  12. package/{changelog-renderer → release/changelog-renderer}/index.js +78 -34
  13. package/release/index.d.ts +4 -0
  14. package/release/index.js +11 -0
  15. package/schemas/nx-schema.json +203 -19
  16. package/schemas/project-schema.json +20 -0
  17. package/src/adapter/angular-json.js +28 -18
  18. package/src/adapter/compat.d.ts +2 -2
  19. package/src/adapter/compat.js +6 -1
  20. package/src/adapter/ngcli-adapter.d.ts +16 -4
  21. package/src/adapter/ngcli-adapter.js +85 -28
  22. package/src/command-line/add/add.d.ts +2 -0
  23. package/src/command-line/add/add.js +169 -0
  24. package/src/command-line/add/command-object.d.ts +7 -0
  25. package/src/command-line/add/command-object.js +24 -0
  26. package/src/command-line/affected/affected.js +0 -3
  27. package/src/command-line/affected/command-object.d.ts +4 -4
  28. package/src/command-line/affected/command-object.js +53 -26
  29. package/src/command-line/affected/print-affected.js +10 -1
  30. package/src/command-line/connect/command-object.d.ts +1 -2
  31. package/src/command-line/connect/command-object.js +3 -7
  32. package/src/command-line/connect/connect-to-nx-cloud.d.ts +4 -5
  33. package/src/command-line/connect/connect-to-nx-cloud.js +43 -31
  34. package/src/command-line/connect/view-logs.js +5 -21
  35. package/src/command-line/examples.js +18 -0
  36. package/src/command-line/exec/command-object.js +2 -1
  37. package/src/command-line/exec/exec.d.ts +1 -1
  38. package/src/command-line/exec/exec.js +78 -35
  39. package/src/command-line/format/format.js +13 -4
  40. package/src/command-line/generate/generate.js +9 -9
  41. package/src/command-line/generate/generator-utils.d.ts +3 -2
  42. package/src/command-line/generate/generator-utils.js +5 -5
  43. package/src/command-line/graph/graph.d.ts +1 -1
  44. package/src/command-line/graph/graph.js +82 -37
  45. package/src/command-line/init/command-object.js +70 -43
  46. package/src/command-line/init/implementation/add-nx-to-monorepo.d.ts +4 -2
  47. package/src/command-line/init/implementation/add-nx-to-monorepo.js +12 -2
  48. package/src/command-line/init/implementation/add-nx-to-nest.d.ts +1 -1
  49. package/src/command-line/init/implementation/add-nx-to-nest.js +10 -6
  50. package/src/command-line/init/implementation/add-nx-to-npm-repo.d.ts +4 -2
  51. package/src/command-line/init/implementation/add-nx-to-npm-repo.js +15 -4
  52. package/src/command-line/init/implementation/angular/index.js +4 -1
  53. package/src/command-line/init/implementation/angular/legacy-angular-versions.js +10 -5
  54. package/src/command-line/init/implementation/angular/standalone-workspace.js +1 -1
  55. package/src/command-line/init/implementation/angular/types.d.ts +1 -1
  56. package/src/command-line/init/implementation/dot-nx/nxw.js +47 -16
  57. package/src/command-line/init/implementation/react/index.d.ts +1 -1
  58. package/src/command-line/init/implementation/react/index.js +4 -2
  59. package/src/command-line/init/implementation/react/rename-js-to-jsx.js +4 -2
  60. package/src/command-line/init/implementation/utils.d.ts +6 -5
  61. package/src/command-line/init/implementation/utils.js +59 -44
  62. package/src/command-line/init/{init.js → init-v1.js} +5 -13
  63. package/src/command-line/init/init-v2.d.ts +7 -0
  64. package/src/command-line/init/init-v2.js +201 -0
  65. package/src/command-line/list/list.js +6 -5
  66. package/src/command-line/migrate/command-object.js +19 -4
  67. package/src/command-line/migrate/migrate.js +21 -17
  68. package/src/command-line/new/new.js +1 -1
  69. package/src/command-line/nx-commands.js +4 -1
  70. package/src/command-line/release/changelog.d.ts +22 -1
  71. package/src/command-line/release/changelog.js +459 -257
  72. package/src/command-line/release/command-object.d.ts +29 -7
  73. package/src/command-line/release/command-object.js +120 -20
  74. package/src/command-line/release/config/config.d.ts +26 -21
  75. package/src/command-line/release/config/config.js +416 -59
  76. package/src/command-line/release/config/conventional-commits.d.ts +2 -0
  77. package/src/command-line/release/config/conventional-commits.js +98 -0
  78. package/src/command-line/release/config/filter-release-groups.d.ts +1 -2
  79. package/src/command-line/release/config/filter-release-groups.js +38 -1
  80. package/src/command-line/release/index.d.ts +16 -0
  81. package/src/command-line/release/index.js +23 -0
  82. package/src/command-line/release/publish.d.ts +7 -3
  83. package/src/command-line/release/publish.js +89 -37
  84. package/src/command-line/release/release.d.ts +4 -0
  85. package/src/command-line/release/release.js +176 -0
  86. package/src/command-line/release/utils/batch-projects-by-generator-config.d.ts +7 -0
  87. package/src/command-line/release/utils/batch-projects-by-generator-config.js +37 -0
  88. package/src/command-line/release/utils/exec-command.d.ts +1 -0
  89. package/src/command-line/release/utils/exec-command.js +34 -0
  90. package/src/command-line/release/utils/git.d.ts +34 -1
  91. package/src/command-line/release/utils/git.js +238 -34
  92. package/src/command-line/release/utils/github.d.ts +5 -5
  93. package/src/command-line/release/utils/github.js +155 -8
  94. package/src/command-line/release/utils/markdown.js +6 -1
  95. package/src/command-line/release/utils/print-changes.d.ts +1 -1
  96. package/src/command-line/release/utils/print-changes.js +3 -3
  97. package/src/command-line/release/utils/resolve-nx-json-error-message.js +4 -1
  98. package/src/command-line/release/utils/resolve-semver-specifier.d.ts +4 -0
  99. package/src/command-line/release/utils/resolve-semver-specifier.js +58 -0
  100. package/src/command-line/release/utils/semver.d.ts +8 -0
  101. package/src/command-line/release/utils/semver.js +30 -1
  102. package/src/command-line/release/utils/shared.d.ts +39 -0
  103. package/src/command-line/release/utils/shared.js +213 -0
  104. package/src/command-line/release/version.d.ts +37 -3
  105. package/src/command-line/release/version.js +312 -117
  106. package/src/command-line/repair/repair.js +13 -9
  107. package/src/command-line/report/report.js +2 -2
  108. package/src/command-line/run/command-object.d.ts +4 -0
  109. package/src/command-line/run/command-object.js +18 -2
  110. package/src/command-line/run/executor-utils.d.ts +2 -1
  111. package/src/command-line/run/executor-utils.js +4 -4
  112. package/src/command-line/run/run-one.js +3 -6
  113. package/src/command-line/run/run.js +34 -9
  114. package/src/command-line/run-many/command-object.js +4 -1
  115. package/src/command-line/run-many/run-many.js +0 -3
  116. package/src/command-line/show/command-object.d.ts +3 -0
  117. package/src/command-line/show/command-object.js +29 -2
  118. package/src/command-line/show/show.js +9 -0
  119. package/src/command-line/yargs-utils/shared-options.d.ts +4 -1
  120. package/src/command-line/yargs-utils/shared-options.js +23 -9
  121. package/src/commands-runner/command-graph.d.ts +13 -0
  122. package/src/commands-runner/command-graph.js +2 -0
  123. package/src/commands-runner/create-command-graph.d.ts +4 -0
  124. package/src/commands-runner/create-command-graph.js +44 -0
  125. package/src/commands-runner/get-command-projects.d.ts +3 -0
  126. package/src/commands-runner/get-command-projects.js +19 -0
  127. package/src/config/nx-json.d.ts +160 -25
  128. package/src/config/project-graph.d.ts +3 -3
  129. package/src/config/workspace-json-project-json.d.ts +11 -1
  130. package/src/config/workspaces.d.ts +1 -1
  131. package/src/config/workspaces.js +4 -6
  132. package/src/core/graph/3rdpartylicenses.txt +144 -74
  133. package/src/core/graph/environment.js +1 -1
  134. package/src/core/graph/index.html +4 -6
  135. package/src/core/graph/main.js +1 -1
  136. package/src/core/graph/runtime.js +1 -1
  137. package/src/core/graph/styles.css +3 -3
  138. package/src/core/graph/styles.js +1 -1
  139. package/src/daemon/client/client.d.ts +5 -1
  140. package/src/daemon/client/client.js +27 -8
  141. package/src/daemon/client/{socket-messenger.d.ts → daemon-socket-messenger.d.ts} +1 -1
  142. package/src/daemon/client/{socket-messenger.js → daemon-socket-messenger.js} +3 -3
  143. package/src/daemon/daemon-project-graph-error.d.ts +8 -0
  144. package/src/daemon/daemon-project-graph-error.js +13 -0
  145. package/src/daemon/server/handle-hash-tasks.js +12 -2
  146. package/src/daemon/server/handle-request-project-graph.js +1 -1
  147. package/src/daemon/server/project-graph-incremental-recomputation.d.ts +14 -13
  148. package/src/daemon/server/project-graph-incremental-recomputation.js +98 -33
  149. package/src/daemon/server/shutdown-utils.js +2 -4
  150. package/src/daemon/server/watcher.js +0 -3
  151. package/src/daemon/socket-utils.d.ts +2 -1
  152. package/src/daemon/socket-utils.js +15 -4
  153. package/src/daemon/tmp-dir.d.ts +1 -0
  154. package/src/daemon/tmp-dir.js +4 -4
  155. package/src/devkit-exports.d.ts +2 -2
  156. package/src/devkit-exports.js +3 -2
  157. package/src/devkit-internals.d.ts +3 -0
  158. package/src/devkit-internals.js +7 -1
  159. package/src/executors/noop/schema.json +1 -1
  160. package/src/executors/run-commands/run-commands.impl.d.ts +10 -2
  161. package/src/executors/run-commands/run-commands.impl.js +152 -48
  162. package/src/executors/run-commands/schema.json +11 -1
  163. package/src/executors/run-script/run-script.impl.js +43 -11
  164. package/src/executors/utils/convert-nx-executor.js +1 -1
  165. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.d.ts +3 -1
  166. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js +4 -2
  167. package/src/generators/testing-utils/create-tree-with-empty-workspace.js +0 -6
  168. package/src/generators/tree.d.ts +1 -0
  169. package/src/generators/utils/glob.js +2 -2
  170. package/src/generators/utils/project-configuration.js +37 -16
  171. package/src/hasher/create-task-hasher.d.ts +4 -0
  172. package/src/hasher/create-task-hasher.js +16 -0
  173. package/src/hasher/hash-task.js +9 -3
  174. package/src/hasher/native-task-hasher-impl.d.ts +19 -0
  175. package/src/hasher/native-task-hasher-impl.js +37 -0
  176. package/src/hasher/node-task-hasher-impl.d.ts +49 -0
  177. package/src/hasher/node-task-hasher-impl.js +431 -0
  178. package/src/hasher/task-hasher.d.ts +33 -21
  179. package/src/hasher/task-hasher.js +30 -428
  180. package/src/migrations/update-15-0-0/migrate-to-inputs.js +5 -5
  181. package/src/migrations/update-15-1-0/set-project-names.js +2 -1
  182. package/src/migrations/update-15-8-2/update-nxw.js +2 -6
  183. package/src/migrations/update-17-0-0/rm-default-collection-npm-scope.js +3 -3
  184. package/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.js +49 -13
  185. package/src/migrations/update-17-2-0/move-default-base.d.ts +5 -0
  186. package/src/migrations/update-17-2-0/move-default-base.js +21 -0
  187. package/src/migrations/update-17-3-0/nx-release-path.d.ts +3 -0
  188. package/src/migrations/update-17-3-0/nx-release-path.js +48 -0
  189. package/src/migrations/update-17-3-0/update-nxw.d.ts +2 -0
  190. package/src/migrations/update-17-3-0/update-nxw.js +7 -0
  191. package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +2 -0
  192. package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +9 -0
  193. package/src/native/index.d.ts +65 -15
  194. package/src/native/index.js +6 -2
  195. package/src/native/transform-objects.js +2 -0
  196. package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.d.ts +1 -0
  197. package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +13 -12
  198. package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +6 -1
  199. package/src/nx-cloud/update-manager.js +2 -1
  200. package/src/plugins/js/index.d.ts +1 -1
  201. package/src/plugins/js/index.js +3 -3
  202. package/src/plugins/js/lock-file/lock-file.d.ts +2 -2
  203. package/src/plugins/js/lock-file/lock-file.js +15 -3
  204. package/src/plugins/js/package-json/create-package-json.js +1 -1
  205. package/src/plugins/js/project-graph/build-dependencies/strip-source-code.d.ts +1 -1
  206. package/src/plugins/js/project-graph/build-dependencies/strip-source-code.js +1 -1
  207. package/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.d.ts +1 -1
  208. package/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.js +1 -1
  209. package/src/plugins/js/utils/register.d.ts +1 -1
  210. package/src/plugins/js/utils/register.js +28 -8
  211. package/src/plugins/js/versions.d.ts +1 -1
  212. package/src/plugins/js/versions.js +1 -1
  213. package/{plugins/package-json-workspaces.d.ts → src/plugins/package-json-workspaces/create-nodes.d.ts} +4 -4
  214. package/{plugins/package-json-workspaces.js → src/plugins/package-json-workspaces/create-nodes.js} +34 -12
  215. package/src/plugins/package-json-workspaces/index.d.ts +1 -0
  216. package/src/plugins/package-json-workspaces/index.js +4 -0
  217. package/src/plugins/project-json/build-nodes/package-json-next-to-project-json.d.ts +2 -0
  218. package/src/plugins/project-json/build-nodes/package-json-next-to-project-json.js +47 -0
  219. package/src/plugins/project-json/build-nodes/project-json.d.ts +2 -5
  220. package/src/plugins/project-json/build-nodes/project-json.js +6 -44
  221. package/src/plugins/target-defaults/target-defaults-plugin.d.ts +66 -0
  222. package/src/plugins/target-defaults/target-defaults-plugin.js +182 -0
  223. package/src/project-graph/affected/locators/project-glob-changes.js +3 -3
  224. package/src/project-graph/affected/locators/workspace-projects.d.ts +0 -2
  225. package/src/project-graph/affected/locators/workspace-projects.js +16 -29
  226. package/src/project-graph/build-project-graph.d.ts +20 -1
  227. package/src/project-graph/build-project-graph.js +91 -33
  228. package/src/project-graph/file-map-utils.d.ts +9 -5
  229. package/src/project-graph/file-map-utils.js +16 -63
  230. package/src/project-graph/file-utils.d.ts +1 -1
  231. package/src/project-graph/file-utils.js +44 -2
  232. package/src/project-graph/nx-deps-cache.js +1 -1
  233. package/src/project-graph/project-graph-builder.d.ts +1 -1
  234. package/src/project-graph/project-graph-builder.js +1 -1
  235. package/src/project-graph/project-graph.d.ts +32 -1
  236. package/src/project-graph/project-graph.js +147 -23
  237. package/src/project-graph/utils/build-all-workspace-files.d.ts +2 -0
  238. package/src/project-graph/utils/build-all-workspace-files.js +15 -0
  239. package/src/project-graph/utils/normalize-project-nodes.d.ts +2 -3
  240. package/src/project-graph/utils/normalize-project-nodes.js +11 -34
  241. package/src/project-graph/utils/project-configuration-utils.d.ts +66 -4
  242. package/src/project-graph/utils/project-configuration-utils.js +503 -62
  243. package/src/project-graph/utils/retrieve-workspace-files.d.ts +12 -31
  244. package/src/project-graph/utils/retrieve-workspace-files.js +27 -88
  245. package/src/tasks-runner/batch/run-batch.js +3 -3
  246. package/src/tasks-runner/cache.js +6 -3
  247. package/src/tasks-runner/create-task-graph.js +1 -1
  248. package/src/tasks-runner/fork.d.ts +1 -0
  249. package/src/tasks-runner/fork.js +23 -0
  250. package/src/tasks-runner/forked-process-task-runner.d.ts +13 -5
  251. package/src/tasks-runner/forked-process-task-runner.js +111 -21
  252. package/src/tasks-runner/init-tasks-runner.js +1 -1
  253. package/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.js +28 -28
  254. package/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.js +19 -22
  255. package/src/tasks-runner/life-cycles/empty-terminal-output-life-cycle.js +1 -3
  256. package/src/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.js +1 -3
  257. package/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.js +2 -4
  258. package/src/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.d.ts +1 -0
  259. package/src/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.js +11 -5
  260. package/src/tasks-runner/life-cycles/view-logs-utils.js +1 -1
  261. package/src/tasks-runner/pseudo-ipc.d.ts +49 -0
  262. package/src/tasks-runner/pseudo-ipc.js +140 -0
  263. package/src/tasks-runner/pseudo-terminal.d.ts +43 -0
  264. package/src/tasks-runner/pseudo-terminal.js +159 -0
  265. package/src/tasks-runner/run-command.d.ts +1 -1
  266. package/src/tasks-runner/run-command.js +13 -19
  267. package/src/tasks-runner/task-env.js +1 -2
  268. package/src/tasks-runner/task-graph-utils.d.ts +7 -3
  269. package/src/tasks-runner/task-graph-utils.js +15 -15
  270. package/src/tasks-runner/task-orchestrator.js +66 -12
  271. package/src/tasks-runner/tasks-schedule.js +3 -3
  272. package/src/tasks-runner/utils.d.ts +16 -7
  273. package/src/tasks-runner/utils.js +30 -16
  274. package/src/utils/ab-testing.d.ts +36 -2
  275. package/src/utils/ab-testing.js +34 -16
  276. package/src/utils/assert-workspace-validity.js +1 -1
  277. package/src/utils/cache-directory.d.ts +1 -0
  278. package/src/utils/cache-directory.js +5 -1
  279. package/src/utils/child-process.d.ts +15 -1
  280. package/src/utils/child-process.js +91 -1
  281. package/src/utils/command-line-utils.js +2 -1
  282. package/src/utils/exit-codes.d.ts +6 -0
  283. package/src/utils/exit-codes.js +20 -0
  284. package/src/utils/fileutils.d.ts +1 -0
  285. package/src/utils/find-matching-projects.js +5 -5
  286. package/src/utils/find-workspace-root.js +1 -0
  287. package/src/utils/ignore.js +8 -1
  288. package/src/utils/json-diff.d.ts +1 -0
  289. package/src/utils/json-diff.js +2 -1
  290. package/src/utils/json.js +3 -1
  291. package/src/utils/logger.js +1 -1
  292. package/src/utils/nx-cloud-utils.d.ts +1 -1
  293. package/src/utils/nx-cloud-utils.js +9 -4
  294. package/src/utils/nx-plugin.d.ts +32 -15
  295. package/src/utils/nx-plugin.deprecated.d.ts +10 -5
  296. package/src/utils/nx-plugin.deprecated.js +23 -0
  297. package/src/utils/nx-plugin.js +71 -80
  298. package/src/utils/output.d.ts +4 -2
  299. package/src/utils/output.js +44 -9
  300. package/src/utils/package-json.d.ts +4 -4
  301. package/src/utils/package-json.js +18 -12
  302. package/src/utils/package-manager.d.ts +8 -0
  303. package/src/utils/package-manager.js +29 -6
  304. package/src/utils/params.d.ts +12 -4
  305. package/src/utils/params.js +56 -8
  306. package/src/utils/plugins/core-plugins.js +8 -0
  307. package/src/utils/plugins/installed-plugins.d.ts +2 -1
  308. package/src/utils/plugins/installed-plugins.js +2 -2
  309. package/src/utils/plugins/local-plugins.js +1 -1
  310. package/src/utils/plugins/plugin-capabilities.d.ts +3 -2
  311. package/src/utils/plugins/plugin-capabilities.js +7 -7
  312. package/src/utils/typescript.js +1 -1
  313. package/src/utils/update-nxw.d.ts +2 -0
  314. package/src/utils/update-nxw.js +12 -0
  315. package/src/utils/workspace-configuration-check.js +1 -1
  316. package/src/utils/workspace-context.d.ts +6 -4
  317. package/src/utils/workspace-context.js +19 -9
  318. package/src/core/graph/polyfills.js +0 -1
  319. /package/src/command-line/init/{init.d.ts → init-v1.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import type { ChangelogRenderOptions } from '../../changelog-renderer';
1
+ import type { ChangelogRenderOptions } from '../../release/changelog-renderer';
2
2
  import { PackageManager } from '../utils/package-manager';
3
3
  import { InputDefinition, TargetConfiguration, TargetDependencyConfig } from './workspace-json-project-json';
4
4
  export type ImplicitDependencyEntry<T = '*' | string[]> = {
@@ -7,6 +7,9 @@ export type ImplicitDependencyEntry<T = '*' | string[]> = {
7
7
  export interface ImplicitJsonSubsetDependency<T = '*' | string[]> {
8
8
  [key: string]: T | ImplicitJsonSubsetDependency<T>;
9
9
  }
10
+ /**
11
+ * @deprecated Use {@link NxJsonConfiguration#defaultBase } instead
12
+ */
10
13
  export interface NxAffectedConfig {
11
14
  /**
12
15
  * Default based branch used by affected commands.
@@ -31,23 +34,28 @@ interface NxInstallationConfiguration {
31
34
  */
32
35
  plugins?: Record<string, string>;
33
36
  }
34
- /**
35
- * **ALPHA**
36
- */
37
- interface NxReleaseVersionConfiguration {
37
+ export interface NxReleaseVersionConfiguration {
38
38
  generator?: string;
39
39
  generatorOptions?: Record<string, unknown>;
40
+ /**
41
+ * Enabling support for parsing semver bumps via conventional commits and reading the current version from
42
+ * git tags is so common that we have a first class shorthand for it, which is false by default.
43
+ *
44
+ * Setting this to true is the same as adding the following to version.generatorOptions:
45
+ * - currentVersionResolver: "git-tag"
46
+ * - specifierSource: "conventional-commits"
47
+ *
48
+ * If the user attempts to mix and match these options with the shorthand, we will provide a helpful error.
49
+ */
50
+ conventionalCommits?: boolean;
40
51
  }
41
- /**
42
- * **ALPHA**
43
- */
44
52
  export interface NxReleaseChangelogConfiguration {
45
53
  /**
46
54
  * Optionally create a release containing all relevant changes on a supported version control system, it
47
55
  * is false by default.
48
56
  *
49
57
  * NOTE: if createRelease is set on a group of projects, it will cause the default releaseTagPattern of
50
- * "{projectName}@v{version}" to be used for those projects, even when versioning everything together.
58
+ * "{projectName}@{version}" to be used for those projects, even when versioning everything together.
51
59
  */
52
60
  createRelease?: 'github' | false;
53
61
  /**
@@ -77,21 +85,82 @@ export interface NxReleaseChangelogConfiguration {
77
85
  * A path to a valid changelog renderer function used to transform commit messages and other metadata into
78
86
  * the final changelog (usually in markdown format). Its output can be modified using the optional `renderOptions`.
79
87
  *
80
- * By default, the renderer is set to "nx/changelog-renderer" which nx provides out of the box.
88
+ * By default, the renderer is set to "nx/release/changelog-renderer" which nx provides out of the box.
81
89
  */
82
90
  renderer?: string;
83
91
  renderOptions?: ChangelogRenderOptions;
84
92
  }
85
- /**
86
- * **ALPHA**
87
- */
93
+ export interface NxReleaseGitConfiguration {
94
+ /**
95
+ * Whether or not to automatically commit the changes made by current command
96
+ */
97
+ commit?: boolean;
98
+ /**
99
+ * Custom git commit message to use when committing the changes made by this command {version} will be dynamically interpolated when performing fixed releases, interpolated tags will be appended to the commit body when performing independent releases.
100
+ */
101
+ commitMessage?: string;
102
+ /**
103
+ * Additional arguments (added after the --message argument, which may or may not be customized with --git-commit-message) to pass to the `git commit` command invoked behind the scenes
104
+ */
105
+ commitArgs?: string;
106
+ /**
107
+ * Whether or not to stage the changes made by this command. Always treated as true if commit is true.
108
+ */
109
+ stageChanges?: boolean;
110
+ /**
111
+ * Whether or not to automatically tag the changes made by this command
112
+ */
113
+ tag?: boolean;
114
+ /**
115
+ * Custom git tag message to use when tagging the changes made by this command. This defaults to be the same value as the tag itself.
116
+ */
117
+ tagMessage?: string;
118
+ /**
119
+ * Additional arguments to pass to the `git tag` command invoked behind the scenes
120
+ */
121
+ tagArgs?: string;
122
+ }
123
+ export interface NxReleaseConventionalCommitsConfiguration {
124
+ types?: Record<string,
125
+ /**
126
+ * A map of commit types to their configuration.
127
+ * If a type is set to 'true', then it will be enabled with the default 'semverBump' of 'patch' and will appear in the changelog.
128
+ * If a type is set to 'false', then it will not trigger a version bump and will be hidden from the changelog.
129
+ */
130
+ {
131
+ /**
132
+ * The semver bump to apply when a commit of this type is found.
133
+ * If set to "none", the commit will be ignored for versioning purposes.
134
+ */
135
+ semverBump?: 'patch' | 'minor' | 'major' | 'none';
136
+ /**
137
+ * Configuration for the changelog section for commits of this type.
138
+ * If set to 'true', then commits of this type will be included in the changelog with their default title for the type.
139
+ * If set to 'false', then commits of this type will not be included in the changelog.
140
+ */
141
+ changelog?: {
142
+ title?: string;
143
+ hidden?: boolean;
144
+ } | boolean;
145
+ } | boolean>;
146
+ }
88
147
  interface NxReleaseConfiguration {
89
148
  /**
90
- * @note: When no groups are configured at all (the default), all projects in the workspace are treated as
91
- * if they were in a release group together.
149
+ * Shorthand for amending the projects which will be included in the implicit default release group (all projects by default).
150
+ * @note Only one of `projects` or `groups` can be specified, the cannot be used together.
151
+ */
152
+ projects?: string[] | string;
153
+ /**
154
+ * @note When no projects or groups are configured at all (the default), all projects in the workspace are treated as
155
+ * if they were in a release group together with a fixed relationship.
92
156
  */
93
157
  groups?: Record<string, // group name
94
158
  {
159
+ /**
160
+ * Whether to version and release projects within the group independently, or together in lock step ("fixed").
161
+ * If not set on the group, this will be informed by the projectsRelationship config at the top level.
162
+ */
163
+ projectsRelationship?: 'fixed' | 'independent';
95
164
  /**
96
165
  * Required list of one or more projects to include in the release group. Any single project can
97
166
  * only be used in a maximum of one release group.
@@ -99,37 +168,92 @@ interface NxReleaseConfiguration {
99
168
  projects: string[] | string;
100
169
  /**
101
170
  * Optionally override version configuration for this group.
171
+ *
172
+ * NOTE: git configuration is not supported at the group level, only the root/command level
102
173
  */
103
174
  version?: NxReleaseVersionConfiguration;
104
175
  /**
105
- * Optionally override project changelog configuration for this group.
176
+ * Project changelogs are disabled by default.
177
+ *
178
+ * Here you can optionally override project changelog configuration for this group.
179
+ * Notes about boolean values:
180
+ *
181
+ * - true = enable project level changelogs using default configuration
182
+ * - false = explicitly disable project level changelogs
183
+ *
184
+ * NOTE: git configuration is not supported at the group level, only the root/command level
106
185
  */
107
- changelog?: NxReleaseChangelogConfiguration | false;
186
+ changelog?: NxReleaseChangelogConfiguration | boolean;
108
187
  /**
109
188
  * Optionally override the git/release tag pattern to use for this group.
110
189
  */
111
190
  releaseTagPattern?: string;
112
191
  }>;
192
+ /**
193
+ * Configures the default value for all groups that don't explicitly state their own projectsRelationship.
194
+ *
195
+ * By default, this is set to "fixed" which means all projects in the workspace will be versioned and
196
+ * released together in lock step.
197
+ */
198
+ projectsRelationship?: 'fixed' | 'independent';
113
199
  changelog?: {
114
- workspaceChangelog?: NxReleaseChangelogConfiguration | false;
115
- projectChangelogs?: NxReleaseChangelogConfiguration | false;
200
+ /**
201
+ * Enable or override configuration for git operations as part of the changelog subcommand
202
+ */
203
+ git?: NxReleaseGitConfiguration;
204
+ /**
205
+ * Workspace changelog is enabled by default. Notes about boolean values:
206
+ *
207
+ * - true = explicitly enable workspace changelog using default configuration
208
+ * - false = disable workspace changelog
209
+ */
210
+ workspaceChangelog?: NxReleaseChangelogConfiguration | boolean;
211
+ /**
212
+ * Project changelogs are disabled by default. Notes about boolean values:
213
+ *
214
+ * - true = enable project level changelogs using default configuration
215
+ * - false = explicitly disable project level changelogs
216
+ */
217
+ projectChangelogs?: NxReleaseChangelogConfiguration | boolean;
218
+ /**
219
+ * Whether or not to automatically look up the first commit for the workspace (or package, if versioning independently)
220
+ * and use that as the starting point for changelog generation. If this is not enabled, changelog generation will fail
221
+ * if there is no previous matching git tag to use as a starting point.
222
+ */
223
+ automaticFromRef?: boolean;
116
224
  };
117
225
  /**
118
226
  * If no version config is provided, we will assume that @nx/js:release-version
119
227
  * is the desired generator implementation, allowing for terser config for the common case.
120
228
  */
121
- version?: NxReleaseVersionConfiguration;
229
+ version?: NxReleaseVersionConfiguration & {
230
+ /**
231
+ * Enable or override configuration for git operations as part of the version subcommand
232
+ */
233
+ git?: NxReleaseGitConfiguration;
234
+ /**
235
+ * A command to run after validation of nx release configuration, but before versioning begins.
236
+ * Used for preparing build artifacts. If --dry-run is passed, the command is still executed, but
237
+ * with the NX_DRY_RUN environment variable set to 'true'.
238
+ */
239
+ preVersionCommand?: string;
240
+ };
122
241
  /**
123
- * Optional override the git/release tag pattern to use. This field is the source of truth
124
- * for changelog generation and release tagging, as well as for conventional-commits parsing.
242
+ * Optionally override the git/release tag pattern to use. This field is the source of truth
243
+ * for changelog generation and release tagging, as well as for conventional commits parsing.
125
244
  *
126
245
  * It supports interpolating the version as {version} and (if releasing independently or forcing
127
246
  * project level version control system releases) the project name as {projectName} within the string.
128
247
  *
129
- * The default releaseTagPattern for unified releases is: "v{version}"
130
- * The default releaseTagPattern for releases at the project level is: "{projectName}@v{version}"
248
+ * The default releaseTagPattern for fixed/unified releases is: "v{version}"
249
+ * The default releaseTagPattern for independent releases at the project level is: "{projectName}@{version}"
131
250
  */
132
251
  releaseTagPattern?: string;
252
+ /**
253
+ * Enable and configure automatic git operations as part of the release
254
+ */
255
+ git?: NxReleaseGitConfiguration;
256
+ conventionalCommits?: NxReleaseConventionalCommitsConfiguration;
133
257
  }
134
258
  /**
135
259
  * Nx.json configuration
@@ -158,8 +282,13 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
158
282
  targetDefaults?: TargetDefaults;
159
283
  /**
160
284
  * Default options for `nx affected`
285
+ * @deprecated use {@link defaultBase} instead. For more information see https://nx.dev/deprecated/affected-config#affected-config
161
286
  */
162
287
  affected?: NxAffectedConfig;
288
+ /**
289
+ * Default value for --base used by `nx affected` and `nx format`.
290
+ */
291
+ defaultBase?: string;
163
292
  /**
164
293
  * Where new apps + libs should be placed
165
294
  */
@@ -231,7 +360,7 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
231
360
  */
232
361
  installation?: NxInstallationConfiguration;
233
362
  /**
234
- * **ALPHA**: Configuration for `nx release` (versioning and publishing of applications and libraries)
363
+ * Configuration for `nx release` (versioning and publishing of applications and libraries)
235
364
  */
236
365
  release?: NxReleaseConfiguration;
237
366
  /**
@@ -260,10 +389,16 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
260
389
  * Set this to false to disable the daemon.
261
390
  */
262
391
  useDaemonProcess?: boolean;
392
+ /**
393
+ * Set this to false to disable adding inference plugins when generating new projects
394
+ */
395
+ useInferencePlugins?: boolean;
263
396
  }
264
397
  export type PluginConfiguration = string | {
265
398
  plugin: string;
266
399
  options?: unknown;
400
+ include?: string[];
401
+ exclude?: string[];
267
402
  };
268
403
  export declare function readNxJson(root?: string): NxJsonConfiguration;
269
404
  export declare function hasNxJson(root: string): boolean;
@@ -24,7 +24,7 @@ export interface FileData {
24
24
  */
25
25
  export type FileDataDependency = string | [target: string, type: DependencyType] | [source: string, target: string, type: DependencyType];
26
26
  export declare function fileDataDepTarget(dep: FileDataDependency): string;
27
- export declare function fileDataDepType(dep: FileDataDependency): DependencyType | "static";
27
+ export declare function fileDataDepType(dep: FileDataDependency): "static" | DependencyType;
28
28
  export interface FileMap {
29
29
  nonProjectFiles: FileData[];
30
30
  projectFileMap: ProjectFileMap;
@@ -111,7 +111,7 @@ export interface ProjectGraphDependency {
111
111
  }
112
112
  /**
113
113
  * Additional information to be used to process a project graph
114
- * @deprecated The {@link ProjectGraphProcessor} is deprecated. This will be removed in Nx 18.
114
+ * @deprecated The {@link ProjectGraphProcessor} is deprecated. This will be removed in Nx 19.
115
115
  */
116
116
  export interface ProjectGraphProcessorContext {
117
117
  /**
@@ -132,6 +132,6 @@ export interface ProjectGraphProcessorContext {
132
132
  }
133
133
  /**
134
134
  * A function that produces an updated ProjectGraph
135
- * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 18.
135
+ * @deprecated Use {@link CreateNodes} and {@link CreateDependencies} instead. This will be removed in Nx 19.
136
136
  */
137
137
  export type ProjectGraphProcessor = (currentGraph: ProjectGraph, context: ProjectGraphProcessorContext) => ProjectGraph | Promise<ProjectGraph>;
@@ -1,4 +1,4 @@
1
- import type { NxJsonConfiguration } from './nx-json';
1
+ import type { NxJsonConfiguration, NxReleaseVersionConfiguration } from './nx-json';
2
2
  /**
3
3
  * @deprecated use ProjectsConfigurations or NxJsonConfiguration
4
4
  */
@@ -93,6 +93,16 @@ export interface ProjectConfiguration {
93
93
  * List of tags used by enforce-module-boundaries / project graph
94
94
  */
95
95
  tags?: string[];
96
+ /**
97
+ * Project specific configuration for `nx release`
98
+ */
99
+ release?: {
100
+ version?: Pick<NxReleaseVersionConfiguration, 'generator' | 'generatorOptions'>;
101
+ };
102
+ metadata?: {
103
+ technologies?: string[];
104
+ targetGroups?: Record<string, string[]>;
105
+ };
96
106
  }
97
107
  export interface TargetDependencyConfig {
98
108
  /**
@@ -1,7 +1,7 @@
1
1
  import type { NxJsonConfiguration } from './nx-json';
2
2
  import { ProjectsConfigurations } from './workspace-json-project-json';
3
3
  /**
4
- * @deprecated This will be removed in v18. Use {@link readProjectsConfigurationFromProjectGraph} instead.
4
+ * @deprecated This will be removed in v19. Use {@link readProjectsConfigurationFromProjectGraph} instead.
5
5
  */
6
6
  export declare class Workspaces {
7
7
  private root;
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toProjectName = exports.Workspaces = void 0;
4
4
  const path_1 = require("path");
5
+ const project_graph_1 = require("../project-graph/project-graph");
5
6
  const nx_json_1 = require("./nx-json");
6
- const retrieve_workspace_files_1 = require("../project-graph/utils/retrieve-workspace-files");
7
- // TODO(v18): remove this class
7
+ // TODO(v19): remove this class
8
8
  /**
9
- * @deprecated This will be removed in v18. Use {@link readProjectsConfigurationFromProjectGraph} instead.
9
+ * @deprecated This will be removed in v19. Use {@link readProjectsConfigurationFromProjectGraph} instead.
10
10
  */
11
11
  class Workspaces {
12
12
  constructor(root) {
@@ -18,9 +18,7 @@ class Workspaces {
18
18
  readWorkspaceConfiguration() {
19
19
  const nxJson = (0, nx_json_1.readNxJson)(this.root);
20
20
  return {
21
- version: 2,
22
- projects: (0, retrieve_workspace_files_1.retrieveProjectConfigurationsSync)(this.root, nxJson)
23
- .projectNodes,
21
+ ...(0, project_graph_1.readProjectsConfigurationFromProjectGraph)((0, project_graph_1.readCachedProjectGraph)()),
24
22
  ...nxJson,
25
23
  };
26
24
  }
@@ -1,51 +1,27 @@
1
- @floating-ui/react
1
+ @babel/runtime
2
2
  MIT
3
3
  MIT License
4
4
 
5
- Copyright (c) 2021 Floating UI contributors
5
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
6
6
 
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
24
-
25
-
26
- @floating-ui/react-dom
27
- MIT
28
- MIT License
29
-
30
- Copyright (c) 2021 Floating UI contributors
31
-
32
- Permission is hereby granted, free of charge, to any person obtaining a copy
33
- of this software and associated documentation files (the "Software"), to deal
34
- in the Software without restriction, including without limitation the rights
35
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
- copies of the Software, and to permit persons to whom the Software is
37
- furnished to do so, subject to the following conditions:
7
+ Permission is hereby granted, free of charge, to any person obtaining
8
+ a copy of this software and associated documentation files (the
9
+ "Software"), to deal in the Software without restriction, including
10
+ without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to
12
+ permit persons to whom the Software is furnished to do so, subject to
13
+ the following conditions:
38
14
 
39
- The above copyright notice and this permission notice shall be included in all
40
- copies or substantial portions of the Software.
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
41
17
 
42
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48
- SOFTWARE.
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
49
25
 
50
26
 
51
27
  @headlessui/react
@@ -58,7 +34,7 @@ MIT
58
34
  MIT
59
35
  (The MIT License)
60
36
 
61
- Copyright (c) 2017-2023 Narwhal Technologies Inc.
37
+ Copyright (c) 2017-2024 Narwhal Technologies Inc.
62
38
 
63
39
  Permission is hereby granted, free of charge, to any person obtaining
64
40
  a copy of this software and associated documentation files (the
@@ -186,11 +162,11 @@ SOFTWARE.
186
162
 
187
163
 
188
164
 
189
- aria-hidden
165
+ classnames
190
166
  MIT
191
- MIT License
167
+ The MIT License (MIT)
192
168
 
193
- Copyright (c) 2017 Anton Korzunov
169
+ Copyright (c) 2018 Jed Watson
194
170
 
195
171
  Permission is hereby granted, free of charge, to any person obtaining a copy
196
172
  of this software and associated documentation files (the "Software"), to deal
@@ -211,11 +187,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
211
187
  SOFTWARE.
212
188
 
213
189
 
214
- classnames
190
+ copy-to-clipboard
215
191
  MIT
216
- The MIT License (MIT)
192
+ MIT License
217
193
 
218
- Copyright (c) 2018 Jed Watson
194
+ Copyright (c) 2017 sudodoki <smd.deluzion@gmail.com>
219
195
 
220
196
  Permission is hereby granted, free of charge, to any person obtaining a copy
221
197
  of this software and associated documentation files (the "Software"), to deal
@@ -236,29 +212,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
236
212
  SOFTWARE.
237
213
 
238
214
 
239
- core-js
240
- MIT
241
- Copyright (c) 2014-2022 Denis Pushkarev
242
-
243
- Permission is hereby granted, free of charge, to any person obtaining a copy
244
- of this software and associated documentation files (the "Software"), to deal
245
- in the Software without restriction, including without limitation the rights
246
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
247
- copies of the Software, and to permit persons to whom the Software is
248
- furnished to do so, subject to the following conditions:
249
-
250
- The above copyright notice and this permission notice shall be included in
251
- all copies or substantial portions of the Software.
252
-
253
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
254
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
255
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
256
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
257
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
258
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
259
- THE SOFTWARE.
260
-
261
-
262
215
  cytoscape
263
216
  MIT
264
217
  Copyright (c) 2016-2022, The Cytoscape Consortium.
@@ -379,6 +332,35 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
379
332
  SOFTWARE.
380
333
 
381
334
 
335
+ fault
336
+ MIT
337
+ (The MIT License)
338
+
339
+ Copyright (c) 2015 Titus Wormer <tituswormer@gmail.com>
340
+
341
+ Permission is hereby granted, free of charge, to any person obtaining
342
+ a copy of this software and associated documentation files (the
343
+ 'Software'), to deal in the Software without restriction, including
344
+ without limitation the rights to use, copy, modify, merge, publish,
345
+ distribute, sublicense, and/or sell copies of the Software, and to
346
+ permit persons to whom the Software is furnished to do so, subject to
347
+ the following conditions:
348
+
349
+ The above copyright notice and this permission notice shall be
350
+ included in all copies or substantial portions of the Software.
351
+
352
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
353
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
354
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
355
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
356
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
357
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
358
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
359
+
360
+
361
+ format
362
+ MIT
363
+
382
364
  graphlib
383
365
  MIT
384
366
  Copyright (c) 2012-2014 Chris Pettitt
@@ -425,6 +407,39 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
425
407
  THE SOFTWARE.
426
408
 
427
409
 
410
+ highlight.js
411
+ BSD-3-Clause
412
+ BSD 3-Clause License
413
+
414
+ Copyright (c) 2006, Ivan Sagalaev.
415
+ All rights reserved.
416
+
417
+ Redistribution and use in source and binary forms, with or without
418
+ modification, are permitted provided that the following conditions are met:
419
+
420
+ * Redistributions of source code must retain the above copyright notice, this
421
+ list of conditions and the following disclaimer.
422
+
423
+ * Redistributions in binary form must reproduce the above copyright notice,
424
+ this list of conditions and the following disclaimer in the documentation
425
+ and/or other materials provided with the distribution.
426
+
427
+ * Neither the name of the copyright holder nor the names of its
428
+ contributors may be used to endorse or promote products derived from
429
+ this software without specific prior written permission.
430
+
431
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
432
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
433
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
434
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
435
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
436
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
437
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
438
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
439
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
440
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
441
+
442
+
428
443
  immer
429
444
  MIT
430
445
  MIT License
@@ -504,6 +519,32 @@ licenses; we recommend you read them, as their terms may differ from the
504
519
  terms above.
505
520
 
506
521
 
522
+ lowlight
523
+ MIT
524
+ (The MIT License)
525
+
526
+ Copyright (c) 2016 Titus Wormer <tituswormer@gmail.com>
527
+
528
+ Permission is hereby granted, free of charge, to any person obtaining
529
+ a copy of this software and associated documentation files (the
530
+ 'Software'), to deal in the Software without restriction, including
531
+ without limitation the rights to use, copy, modify, merge, publish,
532
+ distribute, sublicense, and/or sell copies of the Software, and to
533
+ permit persons to whom the Software is furnished to do so, subject to
534
+ the following conditions:
535
+
536
+ The above copyright notice and this permission notice shall be
537
+ included in all copies or substantial portions of the Software.
538
+
539
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
540
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
541
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
542
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
543
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
544
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
545
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
546
+
547
+
507
548
  preact
508
549
  MIT
509
550
  The MIT License (MIT)
@@ -535,6 +576,32 @@ MIT
535
576
  preact-hooks
536
577
  MIT
537
578
 
579
+ react-copy-to-clipboard
580
+ MIT
581
+ The MIT License (MIT)
582
+
583
+ Copyright (c) 2016 Nik Butenko
584
+
585
+ Permission is hereby granted, free of charge, to any person obtaining a copy
586
+ of this software and associated documentation files (the "Software"), to deal
587
+ in the Software without restriction, including without limitation the rights
588
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
589
+ copies of the Software, and to permit persons to whom the Software is
590
+ furnished to do so, subject to the following conditions:
591
+
592
+ The above copyright notice and this permission notice shall be included in all
593
+ copies or substantial portions of the Software.
594
+
595
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
596
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
597
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
598
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
599
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
600
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
601
+ SOFTWARE.
602
+
603
+
604
+
538
605
  react-router
539
606
  MIT
540
607
  MIT License
@@ -589,11 +656,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
589
656
  SOFTWARE.
590
657
 
591
658
 
592
- regenerator-runtime
659
+ react-syntax-highlighter
593
660
  MIT
594
661
  MIT License
595
662
 
596
- Copyright (c) 2014-present, Facebook, Inc.
663
+ Copyright (c) 2019 Conor Hastings
597
664
 
598
665
  Permission is hereby granted, free of charge, to any person obtaining a copy
599
666
  of this software and associated documentation files (the "Software"), to deal
@@ -640,6 +707,9 @@ SOFTWARE.
640
707
 
641
708
 
642
709
 
710
+ toggle-selection
711
+ MIT
712
+
643
713
  use-isomorphic-layout-effect
644
714
  MIT
645
715
  MIT License
@@ -1 +1 @@
1
- window.exclude=[],window.watch=!1,window.environment="release",window.useXstateInspect=!1,window.appConfig={showDebugger:!1,showExperimentalFeatures:!1,workspaces:[{id:"local",label:"local",projectGraphUrl:"assets/project-graphs/e2e.json",taskGraphUrl:"assets/task-graphs/e2e.json",taskInputsUrl:"assets/task-inputs/e2e.json"}],defaultWorkspaceId:"local"};
1
+ window.exclude=[],window.watch=!1,window.environment="release",window.useXstateInspect=!1,window.appConfig={showDebugger:!1,showExperimentalFeatures:!1,workspaces:[{id:"local",label:"local",projectGraphUrl:"assets/project-graphs/e2e.json",taskGraphUrl:"assets/task-graphs/e2e.json",taskInputsUrl:"assets/task-inputs/e2e.json",sourceMapsUrl:"assets/source-maps/e2e.json"}],defaultWorkspaceId:"local"};