@nx/angular 16.6.0-beta.2 → 16.6.0-beta.3

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": "16.6.0-beta.2",
3
+ "version": "16.6.0-beta.3",
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": {
@@ -66,14 +66,14 @@
66
66
  "migrations": "./migrations.json"
67
67
  },
68
68
  "dependencies": {
69
- "@nrwl/angular": "16.6.0-beta.2",
70
- "@nx/cypress": "16.6.0-beta.2",
71
- "@nx/devkit": "16.6.0-beta.2",
72
- "@nx/jest": "16.6.0-beta.2",
73
- "@nx/js": "16.6.0-beta.2",
74
- "@nx/linter": "16.6.0-beta.2",
75
- "@nx/webpack": "16.6.0-beta.2",
76
- "@nx/workspace": "16.6.0-beta.2",
69
+ "@nrwl/angular": "16.6.0-beta.3",
70
+ "@nx/cypress": "16.6.0-beta.3",
71
+ "@nx/devkit": "16.6.0-beta.3",
72
+ "@nx/jest": "16.6.0-beta.3",
73
+ "@nx/js": "16.6.0-beta.3",
74
+ "@nx/linter": "16.6.0-beta.3",
75
+ "@nx/webpack": "16.6.0-beta.3",
76
+ "@nx/workspace": "16.6.0-beta.3",
77
77
  "@phenomnomnominal/tsquery": "~5.0.1",
78
78
  "@typescript-eslint/type-utils": "^5.36.1",
79
79
  "chalk": "^4.1.0",
@@ -108,5 +108,5 @@
108
108
  "module": "fesm2022/nx-angular.mjs",
109
109
  "typings": "index.d.ts",
110
110
  "sideEffects": false,
111
- "gitHead": "c3d31711b71d648cedeff688fce9334d393b586b"
111
+ "gitHead": "cd8c61d7a3b8ab9bc7bab068f5ca49bbf14abbf5"
112
112
  }
@@ -6,6 +6,7 @@ const devkit_1 = require("@nx/devkit");
6
6
  const ngcli_adapter_1 = require("nx/src/adapter/ngcli-adapter");
7
7
  const webpack_dev_server_impl_1 = require("../webpack-dev-server/webpack-dev-server.impl");
8
8
  const project_graph_1 = require("nx/src/project-graph/project-graph");
9
+ const executor_utils_1 = require("nx/src/command-line/run/executor-utils");
9
10
  const module_federation_1 = require("../utilities/module-federation");
10
11
  const fs_1 = require("fs");
11
12
  const path_1 = require("path");
@@ -15,7 +16,6 @@ function executeModuleFederationDevServerBuilder(schema, context) {
15
16
  const options = tslib_1.__rest(schema, []);
16
17
  const projectGraph = (0, devkit_1.readCachedProjectGraph)();
17
18
  const { projects: workspaceProjects } = (0, project_graph_1.readProjectsConfigurationFromProjectGraph)(projectGraph);
18
- const ws = new devkit_1.Workspaces(devkit_1.workspaceRoot);
19
19
  const project = workspaceProjects[context.target.project];
20
20
  let pathToManifestFile = (0, path_1.join)(context.workspaceRoot, project.sourceRoot, 'assets/module-federation.manifest.json');
21
21
  if (options.pathToManifestFile) {
@@ -53,7 +53,7 @@ function executeModuleFederationDevServerBuilder(schema, context) {
53
53
  const runOptions = {};
54
54
  if (options.verbose) {
55
55
  const [collection, executor] = workspaceProjects[remote].targets[target].executor.split(':');
56
- const { schema } = ws.readExecutor(collection, executor);
56
+ const { schema } = (0, executor_utils_1.getExecutorInformation)(collection, executor, devkit_1.workspaceRoot);
57
57
  if (schema.additionalProperties || 'verbose' in schema.properties) {
58
58
  runOptions.verbose = options.verbose;
59
59
  }
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.executeModuleFederationDevSSRBuilder = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const project_graph_1 = require("nx/src/project-graph/project-graph");
6
+ const executor_utils_1 = require("nx/src/command-line/run/executor-utils");
6
7
  const devkit_1 = require("@nx/devkit");
7
8
  const module_federation_1 = require("../utilities/module-federation");
8
9
  const operators_1 = require("rxjs/operators");
@@ -16,7 +17,6 @@ function executeModuleFederationDevSSRBuilder(schema, context) {
16
17
  const options = tslib_1.__rest(schema, []);
17
18
  const projectGraph = (0, devkit_1.readCachedProjectGraph)();
18
19
  const { projects: workspaceProjects } = (0, project_graph_1.readProjectsConfigurationFromProjectGraph)(projectGraph);
19
- const ws = new devkit_1.Workspaces(devkit_1.workspaceRoot);
20
20
  const project = workspaceProjects[context.target.project];
21
21
  let pathToManifestFile = (0, path_1.join)(context.workspaceRoot, project.sourceRoot, 'assets/module-federation.manifest.json');
22
22
  if (options.pathToManifestFile) {
@@ -52,7 +52,7 @@ function executeModuleFederationDevSSRBuilder(schema, context) {
52
52
  const runOptions = {};
53
53
  if (options.verbose) {
54
54
  const [collection, executor] = workspaceProjects[remote].targets[target].executor.split(':');
55
- const { schema } = ws.readExecutor(collection, executor);
55
+ const { schema } = (0, executor_utils_1.getExecutorInformation)(collection, executor, devkit_1.workspaceRoot);
56
56
  if (schema.additionalProperties || 'verbose' in schema.properties) {
57
57
  runOptions.verbose = options.verbose;
58
58
  }