@nx/angular 21.3.0-canary.20250619-29b14b1 → 21.3.0-canary.20250624-0ef8857

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/angular",
3
- "version": "21.3.0-canary.20250619-29b14b1",
3
+ "version": "21.3.0-canary.20250624-0ef8857",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -58,14 +58,14 @@
58
58
  "migrations": "./migrations.json"
59
59
  },
60
60
  "dependencies": {
61
- "@nx/devkit": "21.3.0-canary.20250619-29b14b1",
62
- "@nx/eslint": "21.3.0-canary.20250619-29b14b1",
63
- "@nx/js": "21.3.0-canary.20250619-29b14b1",
64
- "@nx/module-federation": "21.3.0-canary.20250619-29b14b1",
65
- "@nx/rspack": "21.3.0-canary.20250619-29b14b1",
66
- "@nx/web": "21.3.0-canary.20250619-29b14b1",
67
- "@nx/webpack": "21.3.0-canary.20250619-29b14b1",
68
- "@nx/workspace": "21.3.0-canary.20250619-29b14b1",
61
+ "@nx/devkit": "21.3.0-canary.20250624-0ef8857",
62
+ "@nx/eslint": "21.3.0-canary.20250624-0ef8857",
63
+ "@nx/js": "21.3.0-canary.20250624-0ef8857",
64
+ "@nx/module-federation": "21.3.0-canary.20250624-0ef8857",
65
+ "@nx/rspack": "21.3.0-canary.20250624-0ef8857",
66
+ "@nx/web": "21.3.0-canary.20250624-0ef8857",
67
+ "@nx/webpack": "21.3.0-canary.20250624-0ef8857",
68
+ "@nx/workspace": "21.3.0-canary.20250624-0ef8857",
69
69
  "@phenomnomnominal/tsquery": "~5.0.1",
70
70
  "@typescript-eslint/type-utils": "^8.0.0",
71
71
  "enquirer": "~2.3.6",
@@ -33,6 +33,10 @@ async function libraryGenerator(tree, schema) {
33
33
  if (schema.publishable === true && !schema.importPath) {
34
34
  throw new Error(`For publishable libs you have to provide a proper "--importPath" which needs to be a valid npm package name (e.g. my-awesome-lib or @myorg/my-lib)`);
35
35
  }
36
+ if (schema.simpleName !== undefined && schema.simpleName !== false) {
37
+ // TODO(v22): Remove simpleName as user should be using name.
38
+ devkit_1.logger.warn(`The "--simpleName" option is deprecated and will be removed in Nx 22. Please use the "--name" option to provide the exact name you want for the library.`);
39
+ }
36
40
  if (schema.addTailwind && !schema.buildable && !schema.publishable) {
37
41
  throw new Error(`To use "--addTailwind" option, you have to set either "--buildable" or "--publishable".`);
38
42
  }
@@ -47,7 +47,8 @@
47
47
  "simpleName": {
48
48
  "description": "Don't include the directory in the name of the module or standalone component entry of the library.",
49
49
  "type": "boolean",
50
- "default": false
50
+ "default": false,
51
+ "x-deprecated": "Use the --name option to provide the exact name instead. This option will be removed in Nx 22."
51
52
  },
52
53
  "addModuleSpec": {
53
54
  "description": "Add a module spec file.",