@nx/angular 16.8.1 → 16.9.0-beta.1

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/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
9
9
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
10
10
  [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
- [![Join us @nx/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
11
+ [![Join us on the Official Nx Discord Server](https://simpleicons.org/icons/discord.svg)](https://go.nx.dev/community)
12
12
 
13
13
  </div>
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "16.8.1",
3
+ "version": "16.9.0-beta.1",
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": {
@@ -67,14 +67,14 @@
67
67
  "migrations": "./migrations.json"
68
68
  },
69
69
  "dependencies": {
70
- "@nrwl/angular": "16.8.1",
71
- "@nx/cypress": "16.8.1",
72
- "@nx/devkit": "16.8.1",
73
- "@nx/jest": "16.8.1",
74
- "@nx/js": "16.8.1",
75
- "@nx/linter": "16.8.1",
76
- "@nx/webpack": "16.8.1",
77
- "@nx/workspace": "16.8.1",
70
+ "@nrwl/angular": "16.9.0-beta.1",
71
+ "@nx/cypress": "16.9.0-beta.1",
72
+ "@nx/devkit": "16.9.0-beta.1",
73
+ "@nx/jest": "16.9.0-beta.1",
74
+ "@nx/js": "16.9.0-beta.1",
75
+ "@nx/linter": "16.9.0-beta.1",
76
+ "@nx/webpack": "16.9.0-beta.1",
77
+ "@nx/workspace": "16.9.0-beta.1",
78
78
  "@phenomnomnominal/tsquery": "~5.0.1",
79
79
  "@typescript-eslint/type-utils": "^5.36.1",
80
80
  "chalk": "^4.1.0",
@@ -111,5 +111,5 @@
111
111
  "module": "fesm2022/nx-angular.mjs",
112
112
  "typings": "index.d.ts",
113
113
  "sideEffects": false,
114
- "gitHead": "29a7b8575e683d3a581b4bf6f82ee4486bfa94dd"
114
+ "gitHead": "5056d6cefb2949ba865019e8b71e633fba28c091"
115
115
  }
@@ -18,7 +18,7 @@ async function setupMf(tree, rawOptions) {
18
18
  (0, lib_1.addRemoteToHost)(tree, options);
19
19
  (0, lib_1.addRemoteEntry)(tree, options, projectConfig.root);
20
20
  (0, lib_1.removeDeadCodeFromRemote)(tree, options);
21
- installTask = (0, devkit_1.addDependenciesToPackageJson)(tree, {}, { '@nx/web': versions_1.nxVersion });
21
+ installTask = (0, devkit_1.addDependenciesToPackageJson)(tree, {}, { '@nx/web': versions_1.nxVersion, '@nx/webpack': versions_1.nxVersion });
22
22
  }
23
23
  const remotesWithPorts = (0, lib_1.getRemotesWithPorts)(tree, options);
24
24
  (0, lib_1.generateWebpackConfig)(tree, options, projectConfig.root, remotesWithPorts);
@@ -29,6 +29,7 @@ async function setupMf(tree, rawOptions) {
29
29
  if (options.mfType === 'host') {
30
30
  (0, lib_1.setupHostIfDynamic)(tree, options);
31
31
  (0, lib_1.updateHostAppRoutes)(tree, options);
32
+ installTask = (0, devkit_1.addDependenciesToPackageJson)(tree, {}, { '@nx/webpack': versions_1.nxVersion });
32
33
  }
33
34
  if (!options.skipE2E) {
34
35
  (0, lib_1.addCypressOnErrorWorkaround)(tree, options);
@@ -1,4 +1,4 @@
1
- import { ModuleFederationConfig, SharedLibraryConfig } from '@nx/devkit/src/utils/module-federation';
1
+ import { ModuleFederationConfig, SharedLibraryConfig } from '@nx/webpack/src/utils/module-federation';
2
2
  export declare function applyDefaultEagerPackages(sharedConfig: Record<string, SharedLibraryConfig>): void;
3
3
  export declare const DEFAULT_NPM_PACKAGES_TO_AVOID: string[];
4
4
  export declare const DEFAULT_ANGULAR_PACKAGES_TO_SHARE: string[];
@@ -7,7 +7,7 @@ export declare function getModuleFederationConfig(mfConfig: ModuleFederationConf
7
7
  isServer: boolean;
8
8
  determineRemoteUrl?: (remote: string) => string;
9
9
  }): Promise<{
10
- sharedLibraries: import("@nx/devkit").SharedWorkspaceLibraryConfig;
10
+ sharedLibraries: import("@nx/webpack/src/utils/module-federation").SharedWorkspaceLibraryConfig;
11
11
  sharedDependencies: {
12
12
  [x: string]: SharedLibraryConfig;
13
13
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getModuleFederationConfig = exports.getFunctionDeterminateRemoteUrl = exports.DEFAULT_ANGULAR_PACKAGES_TO_SHARE = exports.DEFAULT_NPM_PACKAGES_TO_AVOID = exports.applyDefaultEagerPackages = void 0;
4
- const module_federation_1 = require("@nx/devkit/src/utils/module-federation");
4
+ const module_federation_1 = require("@nx/webpack/src/utils/module-federation");
5
5
  const devkit_1 = require("@nx/devkit");
6
6
  const project_graph_1 = require("nx/src/project-graph/project-graph");
7
7
  function applyDefaultEagerPackages(sharedConfig) {
@@ -1,2 +1,2 @@
1
- import { ModuleFederationConfig } from '@nx/devkit/src/utils/module-federation';
1
+ import { ModuleFederationConfig } from '@nx/webpack/src/utils/module-federation';
2
2
  export declare function withModuleFederationForSSR(options: ModuleFederationConfig): Promise<(config: any) => any>;
@@ -1,2 +1,2 @@
1
- import { ModuleFederationConfig } from '@nx/devkit/src/utils/module-federation';
1
+ import { ModuleFederationConfig } from '@nx/webpack/src/utils/module-federation';
2
2
  export declare function withModuleFederation(options: ModuleFederationConfig): Promise<(config: any) => any>;