@nx/angular 17.1.0-rc.0 → 17.1.2

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.1.0-rc.0",
3
+ "version": "17.1.2",
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": {
@@ -78,15 +78,15 @@
78
78
  "tslib": "^2.3.0",
79
79
  "webpack": "^5.80.0",
80
80
  "webpack-merge": "^5.8.0",
81
- "@nx/devkit": "17.1.0-rc.0",
82
- "@nx/cypress": "17.1.0-rc.0",
83
- "@nx/jest": "17.1.0-rc.0",
84
- "@nx/js": "17.1.0-rc.0",
85
- "@nx/eslint": "17.1.0-rc.0",
86
- "@nx/webpack": "17.1.0-rc.0",
87
- "@nx/web": "17.1.0-rc.0",
88
- "@nx/workspace": "17.1.0-rc.0",
89
- "@nrwl/angular": "17.1.0-rc.0"
81
+ "@nx/devkit": "17.1.2",
82
+ "@nx/cypress": "17.1.2",
83
+ "@nx/jest": "17.1.2",
84
+ "@nx/js": "17.1.2",
85
+ "@nx/eslint": "17.1.2",
86
+ "@nx/webpack": "17.1.2",
87
+ "@nx/web": "17.1.2",
88
+ "@nx/workspace": "17.1.2",
89
+ "@nrwl/angular": "17.1.2"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@angular-devkit/build-angular": ">= 15.0.0 < 18.0.0",
@@ -744,7 +744,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
744
744
  <pre><span># Generate UI lib</span>
745
745
  nx g &#64;nx/angular:lib ui
746
746
  <span># Add a component</span>
747
- nx g &#64;nx/angular:component button --project ui</pre>
747
+ nx g &#64;nx/angular:component ui/src/lib/button</pre>
748
748
  </details>
749
749
  <details>
750
750
  <summary>
@@ -747,7 +747,7 @@ import { CommonModule } from '@angular/common';
747
747
  <pre><span># Generate UI lib</span>
748
748
  nx g &#64;nx/angular:lib ui
749
749
  <span># Add a component</span>
750
- nx g &#64;nx/angular:component button --project ui</pre>
750
+ nx g &#64;nx/angular:component ui/src/lib/button</pre>
751
751
  </details>
752
752
  <details>
753
753
  <summary>
@@ -5,10 +5,10 @@ const project_name_1 = require("@nx/cypress/src/utils/project-name");
5
5
  const devkit_1 = require("@nx/devkit");
6
6
  const stories_1 = require("../../stories/stories");
7
7
  async function generateStories(tree, options) {
8
- const project = (0, devkit_1.readProjectConfiguration)(tree, options.name);
9
- const e2eProjectName = (0, project_name_1.getE2eProjectName)(options.name, project.root, options.cypressDirectory);
8
+ const project = (0, devkit_1.readProjectConfiguration)(tree, options.project);
9
+ const e2eProjectName = (0, project_name_1.getE2eProjectName)(options.project, project.root, options.cypressDirectory);
10
10
  await (0, stories_1.angularStoriesGenerator)(tree, {
11
- name: options.name,
11
+ name: options.project,
12
12
  generateCypressSpecs: options.configureCypress && options.generateCypressSpecs,
13
13
  cypressProject: e2eProjectName,
14
14
  ignorePaths: options.ignorePaths,
@@ -6,7 +6,7 @@ const versions_1 = require("../../../utils/versions");
6
6
  async function generateStorybookConfiguration(tree, options) {
7
7
  const { configurationGenerator } = (0, devkit_1.ensurePackage)('@nx/storybook', versions_1.nxVersion);
8
8
  return await configurationGenerator(tree, {
9
- name: options.name,
9
+ project: options.project,
10
10
  uiFramework: '@storybook/angular',
11
11
  configureCypress: options.configureCypress,
12
12
  linter: options.linter,
@@ -4,7 +4,7 @@ export interface StorybookConfigurationOptions {
4
4
  configureStaticServe?: boolean;
5
5
  generateStories: boolean;
6
6
  linter: Linter;
7
- name: string;
7
+ project: string;
8
8
  tsConfiguration?: boolean;
9
9
  skipFormat?: boolean;
10
10
  ignorePaths?: string[];
@@ -6,9 +6,9 @@
6
6
  "cli": "nx",
7
7
  "type": "object",
8
8
  "properties": {
9
- "name": {
9
+ "project": {
10
10
  "type": "string",
11
- "aliases": ["project", "projectName"],
11
+ "aliases": ["name", "projectName"],
12
12
  "description": "Project for which to generate Storybook configuration.",
13
13
  "$default": {
14
14
  "$source": "argv",
@@ -93,6 +93,6 @@
93
93
  }
94
94
  },
95
95
  "additionalProperties": false,
96
- "required": ["name"],
96
+ "required": ["project"],
97
97
  "examplesFile": "../../../docs/storybook-configuration-examples.md"
98
98
  }