igniteui-cli 14.0.0-beta.4 → 14.0.0

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": "igniteui-cli",
3
- "version": "14.0.0-beta.4",
3
+ "version": "14.0.0",
4
4
  "description": "CLI tool for creating Ignite UI projects",
5
5
  "keywords": [
6
6
  "CLI",
@@ -72,8 +72,8 @@
72
72
  "all": true
73
73
  },
74
74
  "dependencies": {
75
- "@igniteui/angular-templates": "~18.1.1400-beta.4",
76
- "@igniteui/cli-core": "~14.0.0-beta.4",
75
+ "@igniteui/angular-templates": "~18.1.1400",
76
+ "@igniteui/cli-core": "~14.0.0",
77
77
  "chalk": "^2.3.2",
78
78
  "fs-extra": "^3.0.1",
79
79
  "glob": "^7.1.2",
@@ -22,7 +22,7 @@ class ReactTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
22
22
  );
23
23
  }
24
24
  const structure = this.buildRouteStructure(_route, multiline);
25
- const newRoute = this.astTransformer.createObjectLiteralExpression(structure, multiline);
25
+ const newRoute = this.factory.createObjectLiteralExpression(structure, multiline);
26
26
  this.astTransformer.requestNewMembersInArrayLiteral((0, cli_core_1.variableAsParentCondition)(this.astTransformer, cli_core_1.ROUTES_VARIABLE_NAME), [newRoute], prepend, anchorElement);
27
27
  }
28
28
  //#endregion
@@ -30,7 +30,7 @@ class ReactTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
30
30
  buildRouteStructure(route, _multiline) {
31
31
  let structure;
32
32
  if (route.redirectTo) {
33
- const loaderPropertyAssignment = this.createArrowFunctionWithCallExpression(types_1.ReactRouteTarget.Loader, route.loader || cli_core_1.REACT_ROUTER_DOM_REDIRECT, route.redirectTo);
33
+ const loaderPropertyAssignment = this.factory.createArrowFunctionWithCallExpression(types_1.ReactRouteTarget.Loader, route.loader || cli_core_1.REACT_ROUTER_DOM_REDIRECT, route.redirectTo);
34
34
  structure = [
35
35
  {
36
36
  name: types_1.ReactRouteTarget.Index,
@@ -16,7 +16,7 @@ class WebComponentsTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate
16
16
  this.requestImportForRouteIdentifier(route);
17
17
  }
18
18
  const structure = this.buildRouteStructure(route, multiline);
19
- const newRoute = this.astTransformer.createObjectLiteralExpression(structure, multiline);
19
+ const newRoute = this.factory.createObjectLiteralExpression(structure, multiline);
20
20
  this.astTransformer.requestNewMembersInArrayLiteral((0, cli_core_1.variableAsParentCondition)(this.astTransformer, cli_core_1.ROUTES_VARIABLE_NAME), [newRoute], prepend, anchorElement);
21
21
  }
22
22
  //#endregion