@nx/angular 21.3.0-canary.20250626-8b6ad42 → 21.3.0-canary.20250627-07233f0

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.20250626-8b6ad42",
3
+ "version": "21.3.0-canary.20250627-07233f0",
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.20250626-8b6ad42",
62
- "@nx/eslint": "21.3.0-canary.20250626-8b6ad42",
63
- "@nx/js": "21.3.0-canary.20250626-8b6ad42",
64
- "@nx/module-federation": "21.3.0-canary.20250626-8b6ad42",
65
- "@nx/rspack": "21.3.0-canary.20250626-8b6ad42",
66
- "@nx/web": "21.3.0-canary.20250626-8b6ad42",
67
- "@nx/webpack": "21.3.0-canary.20250626-8b6ad42",
68
- "@nx/workspace": "21.3.0-canary.20250626-8b6ad42",
61
+ "@nx/devkit": "21.3.0-canary.20250627-07233f0",
62
+ "@nx/eslint": "21.3.0-canary.20250627-07233f0",
63
+ "@nx/js": "21.3.0-canary.20250627-07233f0",
64
+ "@nx/module-federation": "21.3.0-canary.20250627-07233f0",
65
+ "@nx/rspack": "21.3.0-canary.20250627-07233f0",
66
+ "@nx/web": "21.3.0-canary.20250627-07233f0",
67
+ "@nx/webpack": "21.3.0-canary.20250627-07233f0",
68
+ "@nx/workspace": "21.3.0-canary.20250627-07233f0",
69
69
  "@phenomnomnominal/tsquery": "~5.0.1",
70
70
  "@typescript-eslint/type-utils": "^8.0.0",
71
71
  "enquirer": "~2.3.6",
@@ -456,7 +456,7 @@
456
456
  "additionalProperties": false
457
457
  },
458
458
  "indexHtmlTransformer": {
459
- "description": "Path to transformer function to transform the index.html",
459
+ "description": "Path to a file containing a function to transform the index.html. The function should have the signature: `(target: Target, indexHtml: string) => string`, where `target` is the build target configuration and `indexHtml` is the original HTML content.",
460
460
  "type": "string",
461
461
  "alias": "indexFileTransformer"
462
462
  },
@@ -24,6 +24,7 @@ export interface NormalizedSchema {
24
24
  skipModule?: boolean;
25
25
  skipPackageJson?: boolean;
26
26
  skipPostInstall?: boolean;
27
+ skipTsConfig?: boolean;
27
28
  standalone?: boolean;
28
29
  linter: Linter | LinterType;
29
30
  unitTestRunner: UnitTestRunner;
@@ -11,9 +11,12 @@ function updateTsConfigFiles(tree, options) {
11
11
  (0, js_1.extractTsConfigBase)(tree);
12
12
  updateProjectConfig(tree, options);
13
13
  updateProjectIvyConfig(tree, options);
14
- (0, js_1.addTsConfigPath)(tree, options.importPath, [
15
- (0, devkit_1.joinPathFragments)(options.projectRoot, './src', 'index.ts'),
16
- ]);
14
+ // Only add tsconfig path mapping if skipTsConfig is not true
15
+ if (!options.skipTsConfig) {
16
+ (0, js_1.addTsConfigPath)(tree, options.importPath, [
17
+ (0, devkit_1.joinPathFragments)(options.projectRoot, './src', 'index.ts'),
18
+ ]);
19
+ }
17
20
  const compilerOptions = {
18
21
  skipLibCheck: true,
19
22
  experimentalDecorators: true,
@@ -38,4 +38,5 @@ export interface Schema {
38
38
  selector?: string;
39
39
  skipSelector?: boolean;
40
40
  addPlugin?: boolean;
41
+ skipTsConfig?: boolean;
41
42
  }