@nx/workspace 19.1.0-canary.20240508-fd78152 → 19.1.0-canary.20240509-8f705e3

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/workspace",
3
- "version": "19.1.0-canary.20240508-fd78152",
3
+ "version": "19.1.0-canary.20240509-8f705e3",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -61,13 +61,13 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@nx/devkit": "19.1.0-canary.20240508-fd78152",
64
+ "@nx/devkit": "19.1.0-canary.20240509-8f705e3",
65
65
  "chalk": "^4.1.0",
66
66
  "enquirer": "~2.3.6",
67
67
  "tslib": "^2.3.0",
68
68
  "yargs-parser": "21.1.1",
69
- "nx": "19.1.0-canary.20240508-fd78152",
70
- "@nrwl/workspace": "19.1.0-canary.20240508-fd78152"
69
+ "nx": "19.1.0-canary.20240509-8f705e3",
70
+ "@nrwl/workspace": "19.1.0-canary.20240509-8f705e3"
71
71
  },
72
72
  "publishConfig": {
73
73
  "access": "public"
@@ -133,7 +133,7 @@ function logDeprecationMessage(formats, options) {
133
133
  ? '@nx/angular:move'
134
134
  : '@nx/workspace:move';
135
135
  devkit_1.logger.warn((0, devkit_1.stripIndents) `
136
- In Nx 19, the project name and destination will no longer be derived.
136
+ In Nx 20, the project name and destination will no longer be derived.
137
137
  Please provide the exact new project name and destination in the future.
138
138
  Example: nx g ${callingGenerator} --projectName ${options.projectName} --destination ${formats['derived'].destination}` +
139
139
  (options.projectName !== formats['derived'].newProjectName
@@ -71,7 +71,6 @@ function normalizeOptions(options) {
71
71
  const normalized = {
72
72
  ...options,
73
73
  };
74
- normalized.name = (0, devkit_1.names)(options.name).fileName;
75
74
  if (!options.directory) {
76
75
  normalized.directory = normalized.name;
77
76
  }
@@ -5,7 +5,6 @@ const devkit_1 = require("@nx/devkit");
5
5
  const presets_1 = require("../utils/presets");
6
6
  const path_1 = require("path");
7
7
  async function presetGenerator(tree, options) {
8
- options = normalizeOptions(options);
9
8
  const presetTask = await createPreset(tree, options);
10
9
  return async () => {
11
10
  (0, devkit_1.installPackagesTask)(tree);
@@ -316,7 +315,3 @@ async function createPreset(tree, options) {
316
315
  throw new Error(`Invalid preset ${options.preset}`);
317
316
  }
318
317
  }
319
- function normalizeOptions(options) {
320
- options.name = (0, devkit_1.names)(options.name).fileName;
321
- return options;
322
- }