nx 22.7.0-rc.2 → 23.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/src/config/workspace-json-project-json.d.ts +10 -0
  2. package/dist/src/core/graph/main.js +1 -1
  3. package/dist/src/daemon/server/handle-hash-tasks.js +1 -1
  4. package/dist/src/daemon/server/project-graph-incremental-recomputation.d.ts +1 -4
  5. package/dist/src/daemon/server/project-graph-incremental-recomputation.js +11 -20
  6. package/dist/src/executors/utils/convert-nx-executor.js +2 -2
  7. package/dist/src/hasher/create-task-hasher.js +1 -1
  8. package/dist/src/native/nx.wasm32-wasi.debug.wasm +0 -0
  9. package/dist/src/native/nx.wasm32-wasi.wasm +0 -0
  10. package/dist/src/project-graph/build-project-graph.d.ts +2 -4
  11. package/dist/src/project-graph/build-project-graph.js +2 -7
  12. package/dist/src/project-graph/file-map-utils.d.ts +2 -4
  13. package/dist/src/project-graph/file-map-utils.js +0 -3
  14. package/dist/src/project-graph/plugins/get-plugins.d.ts +15 -0
  15. package/dist/src/project-graph/plugins/get-plugins.js +21 -3
  16. package/dist/src/project-graph/project-graph.js +7 -6
  17. package/dist/src/project-graph/utils/project-configuration/name-substitution-manager.d.ts +40 -64
  18. package/dist/src/project-graph/utils/project-configuration/name-substitution-manager.js +182 -411
  19. package/dist/src/project-graph/utils/project-configuration/project-nodes-manager.d.ts +10 -4
  20. package/dist/src/project-graph/utils/project-configuration/project-nodes-manager.js +22 -8
  21. package/dist/src/project-graph/utils/project-configuration/source-maps.d.ts +4 -61
  22. package/dist/src/project-graph/utils/project-configuration/source-maps.js +14 -59
  23. package/dist/src/project-graph/utils/project-configuration/target-defaults.d.ts +16 -0
  24. package/dist/src/project-graph/utils/project-configuration/target-defaults.js +117 -0
  25. package/dist/src/project-graph/utils/project-configuration/target-merging.d.ts +1 -4
  26. package/dist/src/project-graph/utils/project-configuration/target-merging.js +261 -136
  27. package/dist/src/project-graph/utils/project-configuration/target-normalization.js +0 -7
  28. package/dist/src/project-graph/utils/project-configuration/utils.d.ts +23 -0
  29. package/dist/src/project-graph/utils/project-configuration/utils.js +164 -0
  30. package/dist/src/project-graph/utils/project-configuration-utils.d.ts +33 -9
  31. package/dist/src/project-graph/utils/project-configuration-utils.js +153 -65
  32. package/dist/src/project-graph/utils/retrieve-workspace-files.d.ts +6 -3
  33. package/dist/src/project-graph/utils/retrieve-workspace-files.js +32 -13
  34. package/dist/src/utils/delayed-spinner.js +2 -2
  35. package/package.json +11 -11
@@ -260,4 +260,14 @@ export interface TargetConfiguration<T = any> {
260
260
  * is up to date.
261
261
  */
262
262
  syncGenerators?: string[];
263
+ /**
264
+ * Spread token used when merging target configurations. When set to `true`,
265
+ * base (inferred) values take priority over this target's values for any
266
+ * shared keys — effectively "only add new keys without overwriting inferred
267
+ * values". Keys that do not exist in the base target are still added.
268
+ *
269
+ * The position of `'...'` in the object's key order follows standard
270
+ * last-write-wins semantics with {@link https://nx.dev/reference/project-configuration#spread-token}.
271
+ */
272
+ '...'?: true;
263
273
  }