@nrwl/angular 14.0.1 → 14.0.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/generators.json CHANGED
@@ -221,6 +221,7 @@
221
221
  "remote": {
222
222
  "factory": "./src/generators/remote/remote",
223
223
  "schema": "./src/generators/remote/schema.json",
224
+ "x-type": "application",
224
225
  "description": "Generate a Remote Angular Module Federation Application."
225
226
  },
226
227
  "move": {
@@ -237,6 +238,7 @@
237
238
  "host": {
238
239
  "factory": "./src/generators/host/host",
239
240
  "schema": "./src/generators/host/schema.json",
241
+ "x-type": "application",
240
242
  "description": "Generate a Host Angular Module Federation Application."
241
243
  },
242
244
  "ng-add": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/angular",
3
- "version": "14.0.1",
3
+ "version": "14.0.2",
4
4
  "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, Cypress, Karma, and Protractor. \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.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,12 +65,12 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@angular-devkit/schematics": "~13.3.0",
68
- "@nrwl/cypress": "14.0.1",
69
- "@nrwl/devkit": "14.0.1",
70
- "@nrwl/jest": "14.0.1",
71
- "@nrwl/linter": "14.0.1",
72
- "@nrwl/storybook": "14.0.1",
73
- "@nrwl/workspace": "14.0.1",
68
+ "@nrwl/cypress": "14.0.2",
69
+ "@nrwl/devkit": "14.0.2",
70
+ "@nrwl/jest": "14.0.2",
71
+ "@nrwl/linter": "14.0.2",
72
+ "@nrwl/storybook": "14.0.2",
73
+ "@nrwl/workspace": "14.0.2",
74
74
  "@schematics/angular": "~13.3.0",
75
75
  "@phenomnomnominal/tsquery": "4.1.1",
76
76
  "chalk": "4.1.0",
@@ -1,7 +1,7 @@
1
1
  import { Component } from '@angular/core';
2
2
 
3
3
  @Component({
4
- selector: '<%= npmScope %>-<%= appName %>-entry',
4
+ selector: '<%= appName %>-entry',
5
5
  template: `<div class="remote-entry"><h2><%= appName %>'s Remote Entry Component</h2></div>`,
6
6
  styles: [`
7
7
  .remote-entry {
@@ -10,4 +10,4 @@ import { Component } from '@angular/core';
10
10
  padding: 5px;
11
11
  }`]
12
12
  })
13
- export class RemoteEntryComponent {}
13
+ export class RemoteEntryComponent {}
@@ -4,11 +4,9 @@ exports.addEntryModule = void 0;
4
4
  const devkit_1 = require("@nrwl/devkit");
5
5
  function addEntryModule(host, { appName, routing, mfeType }, appRoot) {
6
6
  if (mfeType === 'remote') {
7
- const { npmScope } = (0, devkit_1.readWorkspaceConfiguration)(host);
8
7
  (0, devkit_1.generateFiles)(host, (0, devkit_1.joinPathFragments)(__dirname, '../files/entry-module-files'), `${appRoot}/src/app/remote-entry`, {
9
8
  tmpl: '',
10
9
  appName,
11
- npmScope,
12
10
  routing,
13
11
  });
14
12
  host.write(`${appRoot}/src/app/app.module.ts`, `/*
@@ -1 +1 @@
1
- {"version":3,"file":"add-entry-module.js","sourceRoot":"","sources":["../../../../../../../packages/angular/src/generators/setup-mfe/lib/add-entry-module.ts"],"names":[],"mappings":";;;AAEA,yCAIsB;AAEtB,SAAgB,cAAc,CAC5B,IAAU,EACV,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAU,EACrC,OAAe;IAEf,IAAI,OAAO,KAAK,QAAQ,EAAE;QACxB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,mCAA0B,EAAC,IAAI,CAAC,CAAC;QACtD,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,6BAA6B,CAAC,EAC3D,GAAG,OAAO,uBAAuB,EACjC;YACE,IAAI,EAAE,EAAE;YACR,OAAO;YACP,QAAQ;YACR,OAAO;SACR,CACF,CAAC;QAEF,IAAI,CAAC,KAAK,CACR,GAAG,OAAO,wBAAwB,EAClC;;;;;;EAMJ,IAAI,CAAC,IAAI,CAAC,GAAG,OAAO,wBAAwB,EAAE,OAAO,CAAC,EAAE,CACrD,CAAC;KACH;AACH,CAAC;AA9BD,wCA8BC"}
1
+ {"version":3,"file":"add-entry-module.js","sourceRoot":"","sources":["../../../../../../../packages/angular/src/generators/setup-mfe/lib/add-entry-module.ts"],"names":[],"mappings":";;;AAEA,yCAIsB;AAEtB,SAAgB,cAAc,CAC5B,IAAU,EACV,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAU,EACrC,OAAe;IAEf,IAAI,OAAO,KAAK,QAAQ,EAAE;QACxB,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,6BAA6B,CAAC,EAC3D,GAAG,OAAO,uBAAuB,EACjC;YACE,IAAI,EAAE,EAAE;YACR,OAAO;YACP,OAAO;SACR,CACF,CAAC;QAEF,IAAI,CAAC,KAAK,CACR,GAAG,OAAO,wBAAwB,EAClC;;;;;;EAMJ,IAAI,CAAC,IAAI,CAAC,GAAG,OAAO,wBAAwB,EAAE,OAAO,CAAC,EAAE,CACrD,CAAC;KACH;AACH,CAAC;AA5BD,wCA4BC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.autoprefixerVersion = exports.postcssVersion = exports.tailwindVersion = exports.angularEslintVersion = exports.jestPresetAngularVersion = exports.rxjsVersion = exports.ngrxVersion = exports.angularJsVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = void 0;
4
- exports.nxVersion = '14.0.1';
4
+ exports.nxVersion = '14.0.2';
5
5
  exports.angularVersion = '~13.3.0';
6
6
  exports.angularDevkitVersion = '~13.3.0';
7
7
  exports.angularJsVersion = '1.7.9';