igniteui-cli 13.1.13-beta.4 → 13.1.13-beta.6

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.
Files changed (64) hide show
  1. package/lib/MultiTemplateComponent.js +5 -5
  2. package/lib/cli.js +2 -2
  3. package/lib/project-utility/GridHelper.js +1 -1
  4. package/lib/templates/IgniteUIForWebComponentsTemplate.js +3 -3
  5. package/package.json +4 -4
  6. package/templates/angular/ig-ts/custom-templates/tree-grid-file-explorer/index.js +1 -1
  7. package/templates/angular/ig-ts/grid/basic/index.js +1 -1
  8. package/templates/angular/ig-ts/grid/grid-custom/index.js +1 -1
  9. package/templates/angular/ig-ts/grid/grid-editing/index.js +1 -1
  10. package/templates/angular/ig-ts/grid/grid-export/index.js +1 -1
  11. package/templates/angular/ig-ts/grid/grid-templating/index.js +1 -1
  12. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid/index.js +1 -1
  13. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-custom/index.js +1 -1
  14. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-editing/index.js +1 -1
  15. package/templates/angular/ig-ts/hierarchical-grid/hierarchical-grid-export/index.js +1 -1
  16. package/templates/angular/ig-ts/projects/empty/index.js +1 -1
  17. package/templates/angular/ig-ts/tree-grid/tree-grid/index.js +1 -1
  18. package/templates/angular/ig-ts/tree-grid/tree-grid-custom/index.js +1 -1
  19. package/templates/angular/ig-ts/tree-grid/tree-grid-editing/index.js +1 -1
  20. package/templates/angular/ig-ts/tree-grid/tree-grid-export/index.js +1 -1
  21. package/templates/jquery/js/custom-templates/file-explorer/index.js +1 -1
  22. package/templates/jquery/js/grid/grid/index.js +1 -1
  23. package/templates/jquery/js/grid/grid-custom/index.js +1 -1
  24. package/templates/jquery/js/grid/grid-editing/index.js +1 -1
  25. package/templates/jquery/js/grid/grid-export/index.js +1 -1
  26. package/templates/jquery/js/grid/grid-templating/index.js +1 -1
  27. package/templates/jquery/js/hierarchical-grid/hierarchical-grid/index.js +1 -1
  28. package/templates/jquery/js/hierarchical-grid/hierarchical-grid-custom/index.js +1 -1
  29. package/templates/jquery/js/hierarchical-grid/hierarchical-grid-editing/index.js +1 -1
  30. package/templates/jquery/js/hierarchical-grid/hierarchical-grid-export/index.js +1 -1
  31. package/templates/jquery/js/tree-grid/tree-grid/index.js +1 -1
  32. package/templates/jquery/js/tree-grid/tree-grid-custom/index.js +1 -1
  33. package/templates/jquery/js/tree-grid/tree-grid-editing/index.js +1 -1
  34. package/templates/jquery/js/tree-grid/tree-grid-export/index.js +1 -1
  35. package/templates/react/ReactTypeScriptFileUpdate.js +1 -1
  36. package/templates/react/es6/grid/basic/index.js +1 -1
  37. package/templates/react/es6/grid/grid-custom/index.js +1 -1
  38. package/templates/react/es6/grid/grid-editing/index.js +1 -1
  39. package/templates/react/es6/grid/grid-export/index.js +1 -1
  40. package/templates/react/es6/grid/grid-templating/index.js +1 -1
  41. package/templates/react/es6/hierarchical-grid/hierarchical-grid/index.js +1 -1
  42. package/templates/react/es6/hierarchical-grid/hierarchical-grid-custom/index.js +1 -1
  43. package/templates/react/es6/hierarchical-grid/hierarchical-grid-editing/index.js +1 -1
  44. package/templates/react/es6/hierarchical-grid/hierarchical-grid-export/index.js +1 -1
  45. package/templates/react/es6/projects/empty/files/__dot__eslintrc.json +6 -0
  46. package/templates/react/es6/projects/empty/files/package.json +0 -6
  47. package/templates/react/es6/tree-grid/tree-grid/index.js +1 -1
  48. package/templates/react/es6/tree-grid/tree-grid-custom/index.js +1 -1
  49. package/templates/react/es6/tree-grid/tree-grid-editing/index.js +1 -1
  50. package/templates/react/es6/tree-grid/tree-grid-export/index.js +1 -1
  51. package/templates/react/igr-es6/projects/_base/__dot__eslintrc.json +3 -0
  52. package/templates/react/igr-es6/projects/_base/files/package.json +0 -3
  53. package/templates/react/igr-ts/bullet-graph/default/index.js +1 -1
  54. package/templates/react/igr-ts/category-chart/default/index.js +1 -1
  55. package/templates/react/igr-ts/doughnut-chart/default/index.js +1 -1
  56. package/templates/react/igr-ts/financial-chart/default/index.js +1 -1
  57. package/templates/react/igr-ts/grid/basic/index.js +2 -2
  58. package/templates/react/igr-ts/linear-gauge/default/index.js +1 -1
  59. package/templates/react/igr-ts/pie-chart/default/index.js +1 -1
  60. package/templates/react/igr-ts/projects/_base/files/__dot__eslintrc.json +3 -0
  61. package/templates/react/igr-ts/projects/_base/files/package.json +3 -3
  62. package/templates/react/igr-ts/radial-gauge/default/index.js +1 -1
  63. package/templates/webcomponents/TypeScriptFileUpdate.js +1 -1
  64. package/templates/webcomponents/igc-ts/projects/_base/files/.npmrc +0 -2
@@ -2,11 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MultiTemplateComponent = void 0;
4
4
  class MultiTemplateComponent {
5
- constructor(testType, templatesMap) {
6
- this.testType = testType;
7
- this.templatesMap = templatesMap;
8
- this.groupPriority = 0;
9
- }
10
5
  get templates() {
11
6
  // TODO: prop-full
12
7
  const templates = [];
@@ -15,6 +10,11 @@ class MultiTemplateComponent {
15
10
  });
16
11
  return templates;
17
12
  }
13
+ constructor(testType, templatesMap) {
14
+ this.testType = testType;
15
+ this.templatesMap = templatesMap;
16
+ this.groupPriority = 0;
17
+ }
18
18
  create(c) {
19
19
  return new c();
20
20
  }
package/lib/cli.js CHANGED
@@ -32,8 +32,8 @@ function logHelp() {
32
32
  cd: "$ig help"
33
33
  });
34
34
  }
35
- function run(args = null) {
36
- return __awaiter(this, void 0, void 0, function* () {
35
+ function run() {
36
+ return __awaiter(this, arguments, void 0, function* (args = null) {
37
37
  // we are subscribing on process.exit to catch when help is executed
38
38
  process.on("exit", logHelp);
39
39
  cli_core_1.App.initialize();
@@ -7,7 +7,7 @@ var FeatureOutputType;
7
7
  FeatureOutputType[FeatureOutputType["JS"] = 0] = "JS";
8
8
  /** XML-like output for AngularJS. */
9
9
  FeatureOutputType[FeatureOutputType["AngularJS"] = 1] = "AngularJS";
10
- })(FeatureOutputType = exports.FeatureOutputType || (exports.FeatureOutputType = {}));
10
+ })(FeatureOutputType || (exports.FeatureOutputType = FeatureOutputType = {}));
11
11
  class GridHelper {
12
12
  /**
13
13
  * Creates a new grid feature helper
@@ -5,6 +5,9 @@ const cli_core_1 = require("@igniteui/cli-core");
5
5
  const path = require("path");
6
6
  const TypeScriptFileUpdate_1 = require("../../templates/webcomponents/TypeScriptFileUpdate");
7
7
  class IgniteUIForWebComponentsTemplate {
8
+ get templatePaths() {
9
+ return [path.join(this.rootPath, "files")];
10
+ }
8
11
  constructor(rootPath) {
9
12
  this.rootPath = rootPath;
10
13
  this.listInComponentTemplates = true;
@@ -16,9 +19,6 @@ class IgniteUIForWebComponentsTemplate {
16
19
  this.dependencies = [];
17
20
  this.delimiters = cli_core_1.defaultDelimiters;
18
21
  }
19
- get templatePaths() {
20
- return [path.join(this.rootPath, "files")];
21
- }
22
22
  generateConfig(name, options) {
23
23
  if (options["modulePath"] && !cli_core_1.Util.fileExists(path.join(process.cwd(), `src\\app`, options["modulePath"]))) {
24
24
  cli_core_1.Util.error(`Wrong module path provided: ${options["modulePath"]}. No components were added!`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-cli",
3
- "version": "13.1.13-beta.4",
3
+ "version": "13.1.13-beta.6",
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": "^17.1.13113-beta.4",
76
- "@igniteui/cli-core": "^13.1.13-beta.4",
75
+ "@igniteui/angular-templates": "~17.1.13113-beta.6",
76
+ "@igniteui/cli-core": "~13.1.13-beta.6",
77
77
  "chalk": "^2.3.2",
78
78
  "fs-extra": "^3.0.1",
79
79
  "glob": "^7.1.2",
@@ -81,7 +81,7 @@
81
81
  "opn": "^5.3.0",
82
82
  "resolve": "^1.6.0",
83
83
  "through2": "^2.0.3",
84
- "typescript": "~4.5.2",
84
+ "typescript": "~5.4.3",
85
85
  "yargs": "^8.0.2"
86
86
  },
87
87
  "devDependencies": {
@@ -24,7 +24,7 @@ class TreeGridFileExplorerTemplate extends AngularTemplate_1.AngularTemplate {
24
24
  default: "",
25
25
  key: "features",
26
26
  message: "Select features for the igTreeGrid",
27
- type: 1 /* MultiChoice */
27
+ type: 1 /* ControlExtraConfigType.MultiChoice */
28
28
  };
29
29
  this.extraConfigurations.push(featureConfiguration);
30
30
  }
@@ -22,7 +22,7 @@ class GridTemplate extends AngularTemplate_1.AngularTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  };
27
27
  this.extraConfigurations.push(featureConfiguration);
28
28
  }
@@ -25,7 +25,7 @@ class GridCustomTemplate extends AngularTemplate_1.AngularTemplate {
25
25
  default: "",
26
26
  key: "features",
27
27
  message: "Select features for the igGrid",
28
- type: 1 /* MultiChoice */
28
+ type: 1 /* ControlExtraConfigType.MultiChoice */
29
29
  };
30
30
  this.extraConfigurations.push(featureConfiguration);
31
31
  }
@@ -22,7 +22,7 @@ class GridEditingTemplate extends AngularTemplate_1.AngularTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  };
27
27
  this.extraConfigurations.push(featureConfiguration);
28
28
  }
@@ -23,7 +23,7 @@ class GridExportTemplate extends AngularTemplate_1.AngularTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -22,7 +22,7 @@ class GridTemplatingTemplate extends AngularTemplate_1.AngularTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  };
27
27
  this.extraConfigurations.push(featureConfiguration);
28
28
  }
@@ -23,7 +23,7 @@ class HierarchicalGridTemplate extends AngularTemplate_1.AngularTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igHierarchicalGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -26,7 +26,7 @@ class HierarchicalGridCustomTemplate extends AngularTemplate_1.AngularTemplate {
26
26
  default: "",
27
27
  key: "features",
28
28
  message: "Select features for the igHierarchicalGrid",
29
- type: 1 /* MultiChoice */
29
+ type: 1 /* ControlExtraConfigType.MultiChoice */
30
30
  };
31
31
  this.extraConfigurations.push(featureConfiguration);
32
32
  }
@@ -23,7 +23,7 @@ class HierarchicalGridEditingTemplate extends AngularTemplate_1.AngularTemplate
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igHierarchicalGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -24,7 +24,7 @@ class HierarchicalGridExportTemplate extends AngularTemplate_1.AngularTemplate {
24
24
  default: "",
25
25
  key: "features",
26
26
  message: "Select features for the igHierarchicalGrid",
27
- type: 1 /* MultiChoice */
27
+ type: 1 /* ControlExtraConfigType.MultiChoice */
28
28
  };
29
29
  this.extraConfigurations.push(featureConfiguration);
30
30
  }
@@ -30,8 +30,8 @@ class EmptyAngularProject {
30
30
  throw new Error("Method not implemented.");
31
31
  }
32
32
  upgradeIgniteUIPackages(projectPath, packagePath) {
33
- var _a, _b, _c, _d;
34
33
  return __awaiter(this, void 0, void 0, function* () {
34
+ var _a, _b, _c, _d;
35
35
  const config = cli_core_1.ProjectConfig.getConfig();
36
36
  const files = config.project.sourceFiles;
37
37
  config.project.sourceFiles = files.map(x => {
@@ -23,7 +23,7 @@ class TreeGridTemplate extends AngularTemplate_1.AngularTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -23,7 +23,7 @@ class TreeGridCustomTemplate extends AngularTemplate_1.AngularTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -23,7 +23,7 @@ class TreeGridEditingTemplate extends AngularTemplate_1.AngularTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select optional features for the editing template",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -24,7 +24,7 @@ class TreeGridExportTemplate extends AngularTemplate_1.AngularTemplate {
24
24
  default: "",
25
25
  key: "features",
26
26
  message: "Select features for the igTreeGrid",
27
- type: 1 /* MultiChoice */
27
+ type: 1 /* ControlExtraConfigType.MultiChoice */
28
28
  };
29
29
  this.extraConfigurations.push(featureConfiguration);
30
30
  }
@@ -22,7 +22,7 @@ class FileExplorerTemplate extends jQueryTemplate_1.jQueryTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igTreeGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  };
27
27
  this.extraConfigurations.push(featureConfiguration);
28
28
  }
@@ -23,7 +23,7 @@ class GridTemplate extends jQueryTemplate_1.jQueryTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -27,7 +27,7 @@ class GridCustomTemplate extends jQueryTemplate_1.jQueryTemplate {
27
27
  default: "",
28
28
  key: "features",
29
29
  message: "Select features for the custom igGrid",
30
- type: 1 /* MultiChoice */
30
+ type: 1 /* ControlExtraConfigType.MultiChoice */
31
31
  };
32
32
  this.extraConfigurations.push(featureConfiguration);
33
33
  }
@@ -25,7 +25,7 @@ class GridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
25
25
  default: "",
26
26
  key: "features",
27
27
  message: "Select features for the igGrid",
28
- type: 1 /* MultiChoice */
28
+ type: 1 /* ControlExtraConfigType.MultiChoice */
29
29
  };
30
30
  this.extraConfigurations.push(featureConfiguration);
31
31
  }
@@ -24,7 +24,7 @@ class GridExportTemplate extends jQueryTemplate_1.jQueryTemplate {
24
24
  default: "",
25
25
  key: "features",
26
26
  message: "Select features for the igGrid",
27
- type: 1 /* MultiChoice */
27
+ type: 1 /* ControlExtraConfigType.MultiChoice */
28
28
  };
29
29
  this.extraConfigurations.push(featureConfiguration);
30
30
  }
@@ -21,7 +21,7 @@ class GridTemplatingTemplate extends jQueryTemplate_1.jQueryTemplate {
21
21
  default: "",
22
22
  key: "features",
23
23
  message: "Select features for the igGrid",
24
- type: 1 /* MultiChoice */
24
+ type: 1 /* ControlExtraConfigType.MultiChoice */
25
25
  };
26
26
  this.extraConfigurations.push(featureConfiguration);
27
27
  }
@@ -23,7 +23,7 @@ class HierarchicalGridTemplate extends jQueryTemplate_1.jQueryTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igHierarchicalGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -28,7 +28,7 @@ class HierarchicalGridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
28
28
  default: "",
29
29
  key: "features",
30
30
  message: "Select features for the igHierarchicalGrid",
31
- type: 1 /* MultiChoice */
31
+ type: 1 /* ControlExtraConfigType.MultiChoice */
32
32
  };
33
33
  this.extraConfigurations.push(featureConfiguration);
34
34
  }
@@ -25,7 +25,7 @@ class HierarchicalGridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
25
25
  default: "",
26
26
  key: "features",
27
27
  message: "Select features for the igHierarchicalGrid",
28
- type: 1 /* MultiChoice */
28
+ type: 1 /* ControlExtraConfigType.MultiChoice */
29
29
  };
30
30
  this.extraConfigurations.push(featureConfiguration);
31
31
  }
@@ -26,7 +26,7 @@ class HierarchicalGridExportTemplate extends jQueryTemplate_1.jQueryTemplate {
26
26
  default: "",
27
27
  key: "features",
28
28
  message: "Select features for the igHierarchicalGrid",
29
- type: 1 /* MultiChoice */
29
+ type: 1 /* ControlExtraConfigType.MultiChoice */
30
30
  };
31
31
  this.extraConfigurations.push(featureConfiguration);
32
32
  }
@@ -23,7 +23,7 @@ class TreeGridBasicTemplate extends jQueryTemplate_1.jQueryTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -23,7 +23,7 @@ class TreeGridCustomTemplate extends jQueryTemplate_1.jQueryTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -23,7 +23,7 @@ class TreeGridEditingTemplate extends jQueryTemplate_1.jQueryTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select optional features for the editing template",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  };
28
28
  this.extraConfigurations.push(featureConfiguration);
29
29
  }
@@ -22,7 +22,7 @@ class TreeGridExportTemplate extends jQueryTemplate_1.jQueryTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select optional features for the export template",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  };
27
27
  this.extraConfigurations.push(featureConfiguration);
28
28
  }
@@ -197,7 +197,7 @@ class ReactTypeScriptFileUpdate {
197
197
  importClause = ts.factory.createImportClause(false, ts.factory.createIdentifier(component), undefined);
198
198
  }
199
199
  }
200
- const importDeclaration = ts.factory.createImportDeclaration(undefined, undefined, importClause, ts.factory.createStringLiteral(importPath, true));
200
+ const importDeclaration = ts.factory.createImportDeclaration(undefined, importClause, ts.factory.createStringLiteral(importPath, true), undefined);
201
201
  return importDeclaration;
202
202
  }
203
203
  //#endregion ts.TransformerFactory
@@ -22,7 +22,7 @@ class GridTemplate extends ReactTemplate_1.ReactTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  });
27
27
  }
28
28
  generateConfig(name, ...options) {
@@ -25,7 +25,7 @@ class GridCustomTemplate extends ReactTemplate_1.ReactTemplate {
25
25
  default: "",
26
26
  key: "features",
27
27
  message: "Select features for the igGrid",
28
- type: 1 /* MultiChoice */
28
+ type: 1 /* ControlExtraConfigType.MultiChoice */
29
29
  });
30
30
  }
31
31
  generateConfig(name, ...options) {
@@ -22,7 +22,7 @@ class GridEditingTemplate extends ReactTemplate_1.ReactTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  });
27
27
  }
28
28
  generateConfig(name, ...options) {
@@ -23,7 +23,7 @@ class GridExportTemplate extends ReactTemplate_1.ReactTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  });
28
28
  }
29
29
  generateConfig(name, ...options) {
@@ -22,7 +22,7 @@ class GridTemplatingTemplate extends ReactTemplate_1.ReactTemplate {
22
22
  default: "",
23
23
  key: "features",
24
24
  message: "Select features for the igGrid",
25
- type: 1 /* MultiChoice */
25
+ type: 1 /* ControlExtraConfigType.MultiChoice */
26
26
  });
27
27
  }
28
28
  generateConfig(name, ...options) {
@@ -23,7 +23,7 @@ class HierarchicalGridTemplate extends ReactTemplate_1.ReactTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igHierarchicalGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  });
28
28
  }
29
29
  generateConfig(name, ...options) {
@@ -26,7 +26,7 @@ class HierarchicalGridCustomTemplate extends ReactTemplate_1.ReactTemplate {
26
26
  default: "",
27
27
  key: "features",
28
28
  message: "Select features for the igHierarchicalGrid",
29
- type: 1 /* MultiChoice */
29
+ type: 1 /* ControlExtraConfigType.MultiChoice */
30
30
  });
31
31
  }
32
32
  generateConfig(name, ...options) {
@@ -23,7 +23,7 @@ class HierarchicalGridEditingTemplate extends ReactTemplate_1.ReactTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igHierarchicalGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  });
28
28
  }
29
29
  generateConfig(name, ...options) {
@@ -24,7 +24,7 @@ class HierarchicalGridExportTemplate extends ReactTemplate_1.ReactTemplate {
24
24
  default: "",
25
25
  key: "features",
26
26
  message: "Select features for the igHierarchicalGrid",
27
- type: 1 /* MultiChoice */
27
+ type: 1 /* ControlExtraConfigType.MultiChoice */
28
28
  });
29
29
  }
30
30
  generateConfig(name, ...options) {
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": [
3
+ "react-app",
4
+ "react-app/jest"
5
+ ]
6
+ }
@@ -21,12 +21,6 @@
21
21
  "build": "react-scripts build",
22
22
  "eject": "react-scripts eject"
23
23
  },
24
- "eslintConfig": {
25
- "extends": [
26
- "react-app",
27
- "react-app/jest"
28
- ]
29
- },
30
24
  "browserslist": {
31
25
  "production": [
32
26
  ">0.2%",
@@ -23,7 +23,7 @@ class TreeGridTemplate extends ReactTemplate_1.ReactTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  });
28
28
  }
29
29
  generateConfig(name, ...options) {
@@ -23,7 +23,7 @@ class TreeGridCustomTemplate extends ReactTemplate_1.ReactTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  });
28
28
  }
29
29
  generateConfig(name, ...options) {
@@ -23,7 +23,7 @@ class TreeGridEditingTemplate extends ReactTemplate_1.ReactTemplate {
23
23
  default: "",
24
24
  key: "features",
25
25
  message: "Select features for the igTreeGrid",
26
- type: 1 /* MultiChoice */
26
+ type: 1 /* ControlExtraConfigType.MultiChoice */
27
27
  });
28
28
  }
29
29
  generateConfig(name, ...options) {
@@ -24,7 +24,7 @@ class TreeGridExportTemplate extends ReactTemplate_1.ReactTemplate {
24
24
  default: "",
25
25
  key: "features",
26
26
  message: "Select features for the igTreeGrid",
27
- type: 1 /* MultiChoice */
27
+ type: 1 /* ControlExtraConfigType.MultiChoice */
28
28
  });
29
29
  }
30
30
  generateConfig(name, ...options) {
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "react-app"
3
+ }
@@ -21,9 +21,6 @@
21
21
  "test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!igniteui-react)/\" --env=jsdom",
22
22
  "eject": "react-scripts eject"
23
23
  },
24
- "eslintConfig": {
25
- "extends": "react-app"
26
- },
27
24
  "browserslist": [
28
25
  ">0.2%",
29
26
  "not dead",
@@ -12,7 +12,7 @@ class IgrTsBulletGraphTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
12
12
  this.name = "Bullet Graph";
13
13
  this.description = `allows for a linear and concise view of measures compared against a scale.`;
14
14
  // TODO: read version from igniteui-react-core in package.json
15
- this.packages = ["igniteui-react-gauges@~18.6.0"];
15
+ this.packages = ["igniteui-react-gauges@18.3.0"];
16
16
  }
17
17
  }
18
18
  module.exports = new IgrTsBulletGraphTemplate();
@@ -13,7 +13,7 @@ class IgrTsCategoryChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForR
13
13
  this.description = `makes visualizing category data easy. Simplifies the complexities
14
14
  of the data visualization domain into manageable API`;
15
15
  // TODO: read version from igniteui-react-core in package.json
16
- this.packages = ["igniteui-react-charts@~18.6.0"];
16
+ this.packages = ["igniteui-react-charts@18.3.0"];
17
17
  }
18
18
  }
19
19
  module.exports = new IgrTsCategoryChartTemplate();
@@ -12,7 +12,7 @@ class IgrTsDoughnutChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForR
12
12
  this.name = "Doughnut Chart";
13
13
  this.description = `proportionally illustrate the occurrences of variables.`;
14
14
  // TODO: read version from igniteui-react-core in package.json
15
- this.packages = ["igniteui-react-charts@~18.6.0"];
15
+ this.packages = ["igniteui-react-charts@18.3.0"];
16
16
  }
17
17
  }
18
18
  module.exports = new IgrTsDoughnutChartTemplate();
@@ -14,7 +14,7 @@ class IgrTsFinancialChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIFor
14
14
  this.description = `charting component that makes it easy to visualize financial data by
15
15
  using a simple and intuitive API.`;
16
16
  // TODO: read version from igniteui-react-core in package.json
17
- this.packages = ["igniteui-react-charts@~18.6.0"];
17
+ this.packages = ["igniteui-react-charts@18.3.0"];
18
18
  }
19
19
  }
20
20
  module.exports = new IgrTsFinancialChartTemplate();
@@ -15,8 +15,8 @@ class GridTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactTemplate {
15
15
  this.components = ["Grid"];
16
16
  this.controlGroup = "Data Grids";
17
17
  // TODO: read version from igniteui-react-core in package.json
18
- this.packages = ["igniteui-react-grids@~18.6.0", "igniteui-react-inputs@~18.6.0",
19
- "igniteui-react-layouts@~18.6.0"];
18
+ this.packages = ["igniteui-react-grids@18.3.0", "igniteui-react-inputs@18.3.0",
19
+ "igniteui-react-layouts@18.3.0"];
20
20
  this.hasExtraConfiguration = false;
21
21
  }
22
22
  }
@@ -12,7 +12,7 @@ class IgrTsLinearGaugeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
12
12
  this.name = "Linear Gauge";
13
13
  this.description = `value compared against a scale and one or more ranges.`;
14
14
  // TODO: read version from igniteui-react-core in package.json
15
- this.packages = ["igniteui-react-gauges@~18.6.0"];
15
+ this.packages = ["igniteui-react-gauges@18.3.0"];
16
16
  }
17
17
  }
18
18
  module.exports = new IgrTsLinearGaugeTemplate();
@@ -12,7 +12,7 @@ class IgrTsPieChartTemplate extends IgniteUIForReactTemplate_1.IgniteUIForReactT
12
12
  this.name = "Pie Chart";
13
13
  this.description = `easily illustate the proportions of data entries`;
14
14
  // TODO: read version from igniteui-react-core in package.json
15
- this.packages = ["igniteui-react-charts@~18.6.0"];
15
+ this.packages = ["igniteui-react-charts@18.3.0"];
16
16
  }
17
17
  }
18
18
  module.exports = new IgrTsPieChartTemplate();
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "react-app"
3
+ }
@@ -8,6 +8,9 @@
8
8
  "@testing-library/react": "^14.0.0",
9
9
  "element-internals-polyfill": "^1.3.10",
10
10
  "functions-have-names": "^1.2.3",
11
+ "igniteui-dockmanager": "^1.13.0",
12
+ "igniteui-react": "18.3.0",
13
+ "igniteui-react-core": "18.3.0",
11
14
  "react": "^18.2.0",
12
15
  "react-app-polyfill": "^0.2.0",
13
16
  "react-dom": "^18.2.0",
@@ -37,9 +40,6 @@
37
40
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
38
41
  "test": "vitest"
39
42
  },
40
- "eslintConfig": {
41
- "extends": "react-app"
42
- },
43
43
  "browserslist": [
44
44
  ">0.2%",
45
45
  "not dead",
@@ -13,7 +13,7 @@ class IgrTsRadialGaugeTemplate extends IgniteUIForReactTemplate_1.IgniteUIForRea
13
13
  this.description = `provides a number of visual elements, like a needle, tick marks, ranges
14
14
  and labels, in order to create a predefined shape and scale.`;
15
15
  // TODO: read version from igniteui-react-core in package.json
16
- this.packages = ["igniteui-react-gauges@~18.6.0"];
16
+ this.packages = ["igniteui-react-gauges@18.3.0"];
17
17
  }
18
18
  }
19
19
  module.exports = new IgrTsRadialGaugeTemplate();
@@ -188,7 +188,7 @@ class TypeScriptFileUpdate {
188
188
  else {
189
189
  importClause = undefined;
190
190
  }
191
- const importDeclaration = ts.factory.createImportDeclaration(undefined, undefined, importClause, ts.factory.createStringLiteral(importPath, true));
191
+ const importDeclaration = ts.factory.createImportDeclaration(undefined, importClause, ts.factory.createStringLiteral(importPath, true), undefined);
192
192
  return importDeclaration;
193
193
  }
194
194
  //#endregion ts.TransformerFactory
@@ -1,2 +0,0 @@
1
- @infragistics:registry=https://packages.infragistics.com/npm/js-licensed/
2
- //packages.infragistics.com/npm/js-licensed/:always-auth=true