@nx/angular 17.0.2 → 17.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "17.0.2",
3
+ "version": "17.1.0-beta.0",
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, 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- Upgrading AngularJS applications \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -79,15 +79,15 @@
79
79
  "webpack": "^5.80.0",
80
80
  "webpack-merge": "^5.8.0",
81
81
  "enquirer": "^2.3.6",
82
- "@nx/devkit": "17.0.2",
83
- "@nx/cypress": "17.0.2",
84
- "@nx/jest": "17.0.2",
85
- "@nx/js": "17.0.2",
86
- "@nx/eslint": "17.0.2",
87
- "@nx/webpack": "17.0.2",
88
- "@nx/web": "17.0.2",
89
- "@nx/workspace": "17.0.2",
90
- "@nrwl/angular": "17.0.2"
82
+ "@nx/devkit": "17.1.0-beta.0",
83
+ "@nx/cypress": "17.1.0-beta.0",
84
+ "@nx/jest": "17.1.0-beta.0",
85
+ "@nx/js": "17.1.0-beta.0",
86
+ "@nx/eslint": "17.1.0-beta.0",
87
+ "@nx/webpack": "17.1.0-beta.0",
88
+ "@nx/web": "17.1.0-beta.0",
89
+ "@nx/workspace": "17.1.0-beta.0",
90
+ "@nrwl/angular": "17.1.0-beta.0"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@angular-devkit/build-angular": ">= 14.0.0 < 17.0.0",
@@ -283,6 +283,15 @@ import { Component, ViewEncapsulation } from '@angular/core';
283
283
  .nx-console svg {
284
284
  color: rgba(0, 122, 204, 1);
285
285
  }
286
+ .nx-console-jetbrains {
287
+ margin-top: 2rem;
288
+ }
289
+ .nx-console-jetbrains:hover {
290
+ background-color: rgba(255, 49, 140, 1);
291
+ }
292
+ .nx-console-jetbrains svg {
293
+ color: rgba(255, 49, 140, 1);
294
+ }
286
295
  #nx-repo:hover {
287
296
  background-color: rgba(24, 23, 23, 1);
288
297
  }
@@ -639,24 +648,35 @@ import { Component, ViewEncapsulation } from '@angular/core';
639
648
  </svg>
640
649
  <span>
641
650
  Install Nx Console for VSCode
642
- <span>The official VSCode plugin for Nx.</span>
651
+ <span>The official VSCode extension for Nx.</span>
643
652
  </span>
644
653
  </a>
645
654
  <a
646
- class="button-pill rounded shadow nx-console"
655
+ class="button-pill rounded shadow nx-console-jetbrains"
647
656
  href="https://plugins.jetbrains.com/plugin/21060-nx-console"
648
657
  target="_blank"
649
658
  rel="noreferrer"
650
659
  >
651
660
  <svg
652
- fill="currentColor"
653
- role="img"
654
- viewBox="0 0 24 24"
655
- xmlns="http://www.w3.org/2000/svg"
656
- >
657
- <title>IntelliJ</title>
658
- <path d="M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z"></path>
659
- </svg>
661
+ height="48"
662
+ width="48"
663
+ viewBox="20 20 60 60"
664
+ xmlns="http://www.w3.org/2000/svg"
665
+ >
666
+ <path d="m22.5 22.5h60v60h-60z" />
667
+ <g fill="#fff">
668
+ <path d="m29.03 71.25h22.5v3.75h-22.5z" />
669
+ <path d="m28.09 38 1.67-1.58a1.88 1.88 0 0 0 1.47.87c.64 0 1.06-.44 1.06-1.31v-5.98h2.58v6a3.48 3.48 0 0 1 -.87 2.6 3.56 3.56 0 0 1 -2.57.95 3.84 3.84 0 0 1 -3.34-1.55z" />
670
+ <path d="m36 30h7.53v2.19h-5v1.44h4.49v2h-4.42v1.49h5v2.21h-7.6z" />
671
+ <path d="m47.23 32.29h-2.8v-2.29h8.21v2.27h-2.81v7.1h-2.6z" />
672
+ <path d="m29.13 43.08h4.42a3.53 3.53 0 0 1 2.55.83 2.09 2.09 0 0 1 .6 1.53 2.16 2.16 0 0 1 -1.44 2.09 2.27 2.27 0 0 1 1.86 2.29c0 1.61-1.31 2.59-3.55 2.59h-4.44zm5 2.89c0-.52-.42-.8-1.18-.8h-1.29v1.64h1.24c.79 0 1.25-.26 1.25-.81zm-.9 2.66h-1.57v1.73h1.62c.8 0 1.24-.31 1.24-.86 0-.5-.4-.87-1.27-.87z" />
673
+ <path d="m38 43.08h4.1a4.19 4.19 0 0 1 3 1 2.93 2.93 0 0 1 .9 2.19 3 3 0 0 1 -1.93 2.89l2.24 3.27h-3l-1.88-2.84h-.87v2.84h-2.56zm4 4.5c.87 0 1.39-.43 1.39-1.11 0-.75-.54-1.12-1.4-1.12h-1.44v2.26z" />
674
+ <path d="m49.59 43h2.5l4 9.44h-2.79l-.67-1.69h-3.63l-.67 1.69h-2.71zm2.27 5.73-1-2.65-1.06 2.65z" />
675
+ <path d="m56.46 43.05h2.6v9.37h-2.6z" />
676
+ <path d="m60.06 43.05h2.42l3.37 5v-5h2.57v9.37h-2.26l-3.53-5.14v5.14h-2.57z" />
677
+ <path d="m68.86 51 1.45-1.73a4.84 4.84 0 0 0 3 1.13c.71 0 1.08-.24 1.08-.65 0-.4-.31-.6-1.59-.91-2-.46-3.53-1-3.53-2.93 0-1.74 1.37-3 3.62-3a5.89 5.89 0 0 1 3.86 1.25l-1.26 1.84a4.63 4.63 0 0 0 -2.62-.92c-.63 0-.94.25-.94.6 0 .42.32.61 1.63.91 2.14.46 3.44 1.16 3.44 2.91 0 1.91-1.51 3-3.79 3a6.58 6.58 0 0 1 -4.35-1.5z" />
678
+ </g>
679
+ </svg>
660
680
  <span>
661
681
  Install Nx Console for JetBrains
662
682
  <span>Available for WebStorm, Intellij IDEA Ultimate and more!</span>
@@ -286,6 +286,15 @@ import { CommonModule } from '@angular/common';
286
286
  .nx-console svg {
287
287
  color: rgba(0, 122, 204, 1);
288
288
  }
289
+ .nx-console-jetbrains {
290
+ margin-top: 2rem;
291
+ }
292
+ .nx-console-jetbrains:hover {
293
+ background-color: rgba(255, 49, 140, 1);
294
+ }
295
+ .nx-console-jetbrains svg {
296
+ color: rgba(255, 49, 140, 1);
297
+ }
289
298
  #nx-repo:hover {
290
299
  background-color: rgba(24, 23, 23, 1);
291
300
  }
@@ -642,24 +651,35 @@ import { CommonModule } from '@angular/common';
642
651
  </svg>
643
652
  <span>
644
653
  Install Nx Console for VSCode
645
- <span>The official VSCode plugin for Nx.</span>
654
+ <span>The official VSCode extension for Nx.</span>
646
655
  </span>
647
656
  </a>
648
657
  <a
649
- class="button-pill rounded shadow nx-console"
658
+ class="button-pill rounded shadow nx-console-jetbrains"
650
659
  href="https://plugins.jetbrains.com/plugin/21060-nx-console"
651
660
  target="_blank"
652
661
  rel="noreferrer"
653
662
  >
654
663
  <svg
655
- fill="currentColor"
656
- role="img"
657
- viewBox="0 0 24 24"
658
- xmlns="http://www.w3.org/2000/svg"
659
- >
660
- <title>IntelliJ</title>
661
- <path d="M0 0v24h24V0zm3.723 3.111h5v1.834h-1.39v6.277h1.39v1.834h-5v-1.834h1.444V4.945H3.723zm11.055 0H17v6.5c0 .612-.055 1.111-.222 1.556-.167.444-.39.777-.723 1.11-.277.279-.666.557-1.11.668a3.933 3.933 0 0 1-1.445.278c-.778 0-1.444-.167-1.944-.445a4.81 4.81 0 0 1-1.279-1.056l1.39-1.555c.277.334.555.555.833.722.277.167.611.278.945.278.389 0 .721-.111 1-.389.221-.278.333-.667.333-1.278zM2.222 19.5h9V21h-9z"></path>
662
- </svg>
664
+ height="48"
665
+ width="48"
666
+ viewBox="20 20 60 60"
667
+ xmlns="http://www.w3.org/2000/svg"
668
+ >
669
+ <path d="m22.5 22.5h60v60h-60z" />
670
+ <g fill="#fff">
671
+ <path d="m29.03 71.25h22.5v3.75h-22.5z" />
672
+ <path d="m28.09 38 1.67-1.58a1.88 1.88 0 0 0 1.47.87c.64 0 1.06-.44 1.06-1.31v-5.98h2.58v6a3.48 3.48 0 0 1 -.87 2.6 3.56 3.56 0 0 1 -2.57.95 3.84 3.84 0 0 1 -3.34-1.55z" />
673
+ <path d="m36 30h7.53v2.19h-5v1.44h4.49v2h-4.42v1.49h5v2.21h-7.6z" />
674
+ <path d="m47.23 32.29h-2.8v-2.29h8.21v2.27h-2.81v7.1h-2.6z" />
675
+ <path d="m29.13 43.08h4.42a3.53 3.53 0 0 1 2.55.83 2.09 2.09 0 0 1 .6 1.53 2.16 2.16 0 0 1 -1.44 2.09 2.27 2.27 0 0 1 1.86 2.29c0 1.61-1.31 2.59-3.55 2.59h-4.44zm5 2.89c0-.52-.42-.8-1.18-.8h-1.29v1.64h1.24c.79 0 1.25-.26 1.25-.81zm-.9 2.66h-1.57v1.73h1.62c.8 0 1.24-.31 1.24-.86 0-.5-.4-.87-1.27-.87z" />
676
+ <path d="m38 43.08h4.1a4.19 4.19 0 0 1 3 1 2.93 2.93 0 0 1 .9 2.19 3 3 0 0 1 -1.93 2.89l2.24 3.27h-3l-1.88-2.84h-.87v2.84h-2.56zm4 4.5c.87 0 1.39-.43 1.39-1.11 0-.75-.54-1.12-1.4-1.12h-1.44v2.26z" />
677
+ <path d="m49.59 43h2.5l4 9.44h-2.79l-.67-1.69h-3.63l-.67 1.69h-2.71zm2.27 5.73-1-2.65-1.06 2.65z" />
678
+ <path d="m56.46 43.05h2.6v9.37h-2.6z" />
679
+ <path d="m60.06 43.05h2.42l3.37 5v-5h2.57v9.37h-2.26l-3.53-5.14v5.14h-2.57z" />
680
+ <path d="m68.86 51 1.45-1.73a4.84 4.84 0 0 0 3 1.13c.71 0 1.08-.24 1.08-.65 0-.4-.31-.6-1.59-.91-2-.46-3.53-1-3.53-2.93 0-1.74 1.37-3 3.62-3a5.89 5.89 0 0 1 3.86 1.25l-1.26 1.84a4.63 4.63 0 0 0 -2.62-.92c-.63 0-.94.25-.94.6 0 .42.32.61 1.63.91 2.14.46 3.44 1.16 3.44 2.91 0 1.91-1.51 3-3.79 3a6.58 6.58 0 0 1 -4.35-1.5z" />
681
+ </g>
682
+ </svg>
663
683
  <span>
664
684
  Install Nx Console for JetBrains
665
685
  <span>Available for WebStorm, Intellij IDEA Ultimate and more!</span>
@@ -23,6 +23,7 @@ async function addE2e(tree, options) {
23
23
  skipPackageJson: options.skipPackageJson,
24
24
  skipFormat: true,
25
25
  devServerTarget: `${options.name}:serve:development`,
26
+ rootProject: options.rootProject,
26
27
  });
27
28
  }
28
29
  else if (options.e2eTestRunner === 'playwright') {
@@ -44,6 +45,7 @@ async function addE2e(tree, options) {
44
45
  setParserOptionsProject: options.setParserOptionsProject,
45
46
  webServerCommand: `${(0, devkit_1.getPackageManagerCommand)().exec} nx serve ${options.name}`,
46
47
  webServerAddress: `http://localhost:${options.port ?? 4200}`,
48
+ rootProject: options.rootProject,
47
49
  });
48
50
  }
49
51
  }