@igniteui/angular-templates 18.0.1400-alpha.0 → 18.0.1400-alpha.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.
@@ -5,7 +5,7 @@ export declare class AngularTypeScriptFileUpdate extends TypeScriptFileUpdate {
5
5
  private standalone;
6
6
  protected formatSettings?: FormatSettings;
7
7
  /**
8
- * Create a new AngularTypeScriptFileUpdate instance for the given file.
8
+ * Creates a new AngularTypeScriptFileUpdate instance for the given file.
9
9
  * @param standalone Whether the file is a standalone component.
10
10
  * @param formatSettings Custom formatting settings to apply.
11
11
  */
@@ -6,7 +6,7 @@ const cli_core_1 = require("@igniteui/cli-core");
6
6
  const types_1 = require("./types");
7
7
  class AngularTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
8
8
  /**
9
- * Create a new AngularTypeScriptFileUpdate instance for the given file.
9
+ * Creates a new AngularTypeScriptFileUpdate instance for the given file.
10
10
  * @param standalone Whether the file is a standalone component.
11
11
  * @param formatSettings Custom formatting settings to apply.
12
12
  */
@@ -145,10 +145,9 @@ class AngularTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
145
145
  },
146
146
  { name: propAssignmentName, value: lazyLoadedModule },
147
147
  ];
148
- return structure;
149
148
  }
150
- // redirect route
151
149
  if (route.redirectTo) {
150
+ // redirect route
152
151
  structure = [
153
152
  {
154
153
  name: cli_core_1.RouteTarget.Path,
@@ -166,7 +165,7 @@ class AngularTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
166
165
  });
167
166
  }
168
167
  }
169
- else {
168
+ else if (!route.lazyload) {
170
169
  // default route
171
170
  structure = [
172
171
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "18.0.1400-alpha.0",
3
+ "version": "18.0.1400-alpha.2",
4
4
  "description": "Templates for Ignite UI for Angular projects and components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "author": "Infragistics",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@igniteui/cli-core": "~14.0.0-alpha.0",
15
+ "@igniteui/cli-core": "~14.0.0-alpha.2",
16
16
  "typescript": "~5.4.3"
17
17
  }
18
18
  }