nx 20.4.5 → 20.4.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "20.4.5",
3
+ "version": "20.4.6",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -82,16 +82,16 @@
82
82
  }
83
83
  },
84
84
  "optionalDependencies": {
85
- "@nx/nx-darwin-arm64": "20.4.5",
86
- "@nx/nx-darwin-x64": "20.4.5",
87
- "@nx/nx-freebsd-x64": "20.4.5",
88
- "@nx/nx-linux-arm-gnueabihf": "20.4.5",
89
- "@nx/nx-linux-arm64-gnu": "20.4.5",
90
- "@nx/nx-linux-arm64-musl": "20.4.5",
91
- "@nx/nx-linux-x64-gnu": "20.4.5",
92
- "@nx/nx-linux-x64-musl": "20.4.5",
93
- "@nx/nx-win32-arm64-msvc": "20.4.5",
94
- "@nx/nx-win32-x64-msvc": "20.4.5"
85
+ "@nx/nx-darwin-arm64": "20.4.6",
86
+ "@nx/nx-darwin-x64": "20.4.6",
87
+ "@nx/nx-freebsd-x64": "20.4.6",
88
+ "@nx/nx-linux-arm-gnueabihf": "20.4.6",
89
+ "@nx/nx-linux-arm64-gnu": "20.4.6",
90
+ "@nx/nx-linux-arm64-musl": "20.4.6",
91
+ "@nx/nx-linux-x64-gnu": "20.4.6",
92
+ "@nx/nx-linux-x64-musl": "20.4.6",
93
+ "@nx/nx-win32-arm64-msvc": "20.4.6",
94
+ "@nx/nx-win32-x64-msvc": "20.4.6"
95
95
  },
96
96
  "nx-migrations": {
97
97
  "migrations": "./migrations.json",
@@ -358,7 +358,7 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
358
358
  appsDir?: string;
359
359
  };
360
360
  /**
361
- * @deprecated Custom task runners will no longer be supported in Nx 21. Use Nx Cloud or Nx Powerpack instead.
361
+ * @deprecated Custom task runners will be replaced by a new API starting with Nx 21. More info: https://nx.dev/deprecated/custom-tasks-runner
362
362
  * Available Task Runners for Nx to use
363
363
  */
364
364
  tasksRunnerOptions?: {
Binary file
@@ -38,7 +38,7 @@ function buildExplicitTypeScriptDependencies(ctx, targetProjectLocator) {
38
38
  if (isVuePluginInstalled()) {
39
39
  moduleExtensions.push('.vue');
40
40
  }
41
- for (const [project, fileData] of Object.entries(ctx.fileMap.projectFileMap)) {
41
+ for (const [project, fileData] of Object.entries(ctx.filesToProcess.projectFileMap)) {
42
42
  filesToProcess[project] ??= [];
43
43
  for (const { file } of fileData) {
44
44
  if (moduleExtensions.some((ext) => file.endsWith(ext))) {
@@ -535,10 +535,9 @@ function getRunner(nxArgs, nxJson) {
535
535
  try {
536
536
  if (isCustomRunnerPath(modulePath)) {
537
537
  output_1.output.warn({
538
- title: `Custom task runners will no longer be supported in Nx 21.`,
538
+ title: `Custom task runners will be replaced by a new API starting with Nx 21.`,
539
539
  bodyLines: [
540
- `Use Nx Cloud or the Nx Powerpack caches instead.`,
541
- `For more information, see https://nx.dev/nx-enterprise/powerpack/custom-caching`,
540
+ `For more information, see https://nx.dev/deprecated/custom-tasks-runner`,
542
541
  ],
543
542
  });
544
543
  }
@@ -8,7 +8,7 @@ export interface NxArgs {
8
8
  targets?: string[];
9
9
  configuration?: string;
10
10
  /**
11
- * @deprecated Custom task runners will no longer be supported in Nx 21. Use Nx Cloud or Nx Powerpack instead.
11
+ * @deprecated Custom task runners will be replaced by a new API starting with Nx 21. More info: https://nx.dev/deprecated/custom-tasks-runner
12
12
  */
13
13
  runner?: string;
14
14
  parallel?: number;