igniteui-cli 13.2.0 → 13.2.1-beta.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.
Files changed (41) hide show
  1. package/lib/templates/AngularTemplate.js +29 -8
  2. package/migrations/update-5_0_0/index.js +3 -2
  3. package/package.json +3 -3
  4. package/templates/webcomponents/igc-ts/accordion/default/index.js +0 -3
  5. package/templates/webcomponents/igc-ts/avatar/default/index.js +0 -3
  6. package/templates/webcomponents/igc-ts/badge/default/index.js +0 -3
  7. package/templates/webcomponents/igc-ts/button/default/index.js +0 -3
  8. package/templates/webcomponents/igc-ts/button-group/default/index.js +0 -3
  9. package/templates/webcomponents/igc-ts/calendar/default/index.js +0 -3
  10. package/templates/webcomponents/igc-ts/card/default/index.js +0 -3
  11. package/templates/webcomponents/igc-ts/checkbox/default/index.js +0 -3
  12. package/templates/webcomponents/igc-ts/chip/default/index.js +0 -3
  13. package/templates/webcomponents/igc-ts/circular-progress/default/index.js +0 -3
  14. package/templates/webcomponents/igc-ts/custom-templates/subscription-form/index.js +0 -3
  15. package/templates/webcomponents/igc-ts/date-time-input/default/index.js +0 -3
  16. package/templates/webcomponents/igc-ts/dock-manager/default/index.js +0 -3
  17. package/templates/webcomponents/igc-ts/dropdown/default/index.js +0 -3
  18. package/templates/webcomponents/igc-ts/expansion-panel/default/index.js +0 -3
  19. package/templates/webcomponents/igc-ts/financial-chart/default/index.js +0 -3
  20. package/templates/webcomponents/igc-ts/form/default/index.js +0 -3
  21. package/templates/webcomponents/igc-ts/grid/default/index.js +0 -3
  22. package/templates/webcomponents/igc-ts/grid/grid-editing/index.js +0 -3
  23. package/templates/webcomponents/igc-ts/grid/grid-summaries/index.js +0 -3
  24. package/templates/webcomponents/igc-ts/icon/default/index.js +0 -3
  25. package/templates/webcomponents/igc-ts/icon-button/default/index.js +0 -3
  26. package/templates/webcomponents/igc-ts/input/default/index.js +0 -3
  27. package/templates/webcomponents/igc-ts/linear-gauge/default/index.js +0 -3
  28. package/templates/webcomponents/igc-ts/linear-progress/default/index.js +0 -3
  29. package/templates/webcomponents/igc-ts/list/default/index.js +0 -3
  30. package/templates/webcomponents/igc-ts/navbar/default/index.js +0 -3
  31. package/templates/webcomponents/igc-ts/pie-chart/default/index.js +0 -3
  32. package/templates/webcomponents/igc-ts/radial-gauge/default/index.js +0 -3
  33. package/templates/webcomponents/igc-ts/radio-group/default/index.js +0 -3
  34. package/templates/webcomponents/igc-ts/rating/default/index.js +0 -3
  35. package/templates/webcomponents/igc-ts/ripple/default/index.js +0 -3
  36. package/templates/webcomponents/igc-ts/slider/default/index.js +0 -3
  37. package/templates/webcomponents/igc-ts/switch/default/index.js +0 -3
  38. package/templates/webcomponents/igc-ts/tabs/default/index.js +0 -3
  39. package/templates/webcomponents/igc-ts/text-area/default/index.js +0 -3
  40. package/templates/webcomponents/igc-ts/text-area/index.js +0 -3
  41. package/templates/webcomponents/igc-ts/tree/default/index.js +0 -3
@@ -40,21 +40,42 @@ class AngularTemplate {
40
40
  // tslint:disable-next-line:variable-name
41
41
  const TsUpdate =
42
42
  // tslint:disable-next-line:no-submodule-imports
43
- require("@igniteui/cli-core/typescript").TypeScriptFileUpdate;
43
+ require("@igniteui/angular-templates").AngularTypeScriptFileUpdate;
44
+ const componentPath = path.join(projectPath, `src/app/components/${this.folderName(name)}/${this.fileName(name)}.component.ts`);
45
+ const className = `${cli_core_1.Util.className(cli_core_1.Util.nameFromPath(name))}Component`;
44
46
  if (!(options && options.skipRoute)) {
45
47
  //1) import the component class name,
46
48
  //2) and populate the Routes array with the path and component
47
49
  //for example: { path: "combo", component: ComboComponent }
48
- const routingModule = new TsUpdate(path.join(projectPath, "src/app/app-routing.module.ts"));
49
- routingModule.addRoute(path.join(projectPath, `src/app/components/${this.folderName(name)}/${this.fileName(name)}.component.ts`), this.folderName(name), //path
50
- cli_core_1.Util.nameFromPath(name) //text
51
- );
50
+ const routingModulePath = path.join(projectPath, "src/app/app-routing.module.ts");
51
+ const routingModule = new TsUpdate(routingModulePath, false, { singleQuotes: false });
52
+ routingModule.addRoute({
53
+ path: this.folderName(name),
54
+ identifierName: className,
55
+ modulePath: cli_core_1.Util.relativePath(routingModulePath, componentPath, true, true),
56
+ data: { text: cli_core_1.Util.nameFromPath(name) }
57
+ });
58
+ const content = routingModule.finalize();
59
+ if (content) {
60
+ // add to a finalize override in the NG File Update instead?
61
+ cli_core_1.TypeScriptUtils.saveFile(routingModulePath, content);
62
+ }
52
63
  }
53
64
  //3) add an import of the component class from its file location.
54
65
  //4) populate the declarations portion of the @NgModule with the component class name.
55
- const mainModule = new TsUpdate(path.join(projectPath, `src/app/${modulePath}`));
56
- mainModule.addDeclaration(path.join(projectPath, `src/app/components/${this.folderName(name)}/${this.fileName(name)}.component.ts`), modulePath !== "app.module.ts");
57
- mainModule.finalize();
66
+ const mainModulePath = path.join(projectPath, `src/app/${modulePath}`);
67
+ const relativePath = cli_core_1.Util.relativePath(mainModulePath, componentPath, true, true);
68
+ const mainModule = new TsUpdate(mainModulePath, false, { singleQuotes: false });
69
+ mainModule.addNgModuleMeta({
70
+ declare: [className],
71
+ from: relativePath,
72
+ export: modulePath !== "app.module.ts" ? [className] : []
73
+ });
74
+ const content = mainModule.finalize();
75
+ if (content) {
76
+ // add to a finalize override in the NG File Update instead?
77
+ cli_core_1.TypeScriptUtils.saveFile(mainModulePath, content);
78
+ }
58
79
  this.ensureSourceFiles(projectPath);
59
80
  }
60
81
  getExtraConfiguration() {
@@ -13,6 +13,7 @@ exports.setVirtual = exports.NgTreeFileSystem = void 0;
13
13
  // tslint:disable:no-implicit-dependencies
14
14
  const core_1 = require("@angular-devkit/core");
15
15
  const cli_core_1 = require("@igniteui/cli-core");
16
+ const angular_templates_1 = require("@igniteui/angular-templates");
16
17
  //#region Temp duplicate of schematics pack fs
17
18
  class NgTreeFileSystem {
18
19
  constructor(tree) {
@@ -51,9 +52,9 @@ function default_1() {
51
52
  context.logger.info(`Applying migration for Ignite UI CLI 5.0.0`);
52
53
  if (tree.exists(moduleFile)) {
53
54
  setVirtual(tree);
54
- const mainModule = new cli_core_1.TypeScriptFileUpdate(moduleFile);
55
+ const mainModule = new angular_templates_1.AngularTypeScriptFileUpdate(moduleFile, false, { indentSize: 2 });
55
56
  mainModule.addNgModuleMeta({ import: "HammerModule", from: "@angular/platform-browser" });
56
- mainModule.finalize();
57
+ cli_core_1.TypeScriptUtils.saveFile(moduleFile, mainModule.finalize());
57
58
  }
58
59
  });
59
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-cli",
3
- "version": "13.2.0",
3
+ "version": "13.2.1-beta.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": "~17.2.1320",
76
- "@igniteui/cli-core": "~13.2.0",
75
+ "@igniteui/angular-templates": "~17.2.1321-beta.0",
76
+ "@igniteui/cli-core": "~13.2.1-beta.0",
77
77
  "chalk": "^2.3.2",
78
78
  "fs-extra": "^3.0.1",
79
79
  "glob": "^7.1.2",
@@ -12,8 +12,5 @@ class IgcAccordionTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFo
12
12
  this.name = "Accordion";
13
13
  this.description = "basic IgcAccordion";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcAccordionTemplate();
@@ -12,8 +12,5 @@ class IgcAvatarTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWe
12
12
  this.name = "Avatar";
13
13
  this.description = "basic IgcAvatar";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcAvatarTemplate();
@@ -12,8 +12,5 @@ class IgcBadgeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWeb
12
12
  this.name = "Badge";
13
13
  this.description = "basic IgcBadge";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcBadgeTemplate();
@@ -12,8 +12,5 @@ class IgcBButtonTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForW
12
12
  this.name = "Button";
13
13
  this.description = "basic IgcButton";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcBButtonTemplate();
@@ -12,8 +12,5 @@ class IgcTabsTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "Button group";
13
13
  this.description = "basic IgcButtonGroup";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcTabsTemplate();
@@ -12,8 +12,5 @@ class IgcCalendarTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
12
12
  this.name = "Calendar";
13
13
  this.description = "basic IgcCalendar";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcCalendarTemplate();
@@ -12,8 +12,5 @@ class IgcCardTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "Card";
13
13
  this.description = "basic IgcCard";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcCardTemplate();
@@ -12,8 +12,5 @@ class IgcCheckboxTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
12
12
  this.name = "Checkbox";
13
13
  this.description = "basic IgcCheckbox";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcCheckboxTemplate();
@@ -12,8 +12,5 @@ class IgcChipTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "Chip";
13
13
  this.description = "Basic IgcChip";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcChipTemplate();
@@ -12,8 +12,5 @@ class IgcCircularProgressTemplate extends IgniteUIForWebComponentsTemplate_1.Ign
12
12
  this.name = "Circular Progress";
13
13
  this.description = "Basic Circular Progress";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcCircularProgressTemplate();
@@ -11,8 +11,5 @@ class IgcSubscriptionFormTemplate extends IgniteUIForWebComponentsTemplate_1.Ign
11
11
  this.name = "Subscription Form";
12
12
  this.description = "Subscription form with inputs, buttons and a checkbox inside";
13
13
  }
14
- addClassDeclaration(mainModule, projPath, name, modulePath) {
15
- // not applicable with custom module
16
- }
17
14
  }
18
15
  module.exports = new IgcSubscriptionFormTemplate();
@@ -12,8 +12,5 @@ class IgcDateTimeInputTemplate extends IgniteUIForWebComponentsTemplate_1.Ignite
12
12
  this.name = "Date Time Input";
13
13
  this.description = "basic IgcDateTimeInput";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcDateTimeInputTemplate();
@@ -13,8 +13,5 @@ class IgcDockManagerTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
13
13
  this.description = "Dock Manager with most functionalities and docking options";
14
14
  this.packages = ["igniteui-dockmanager@~1.12.4"];
15
15
  }
16
- addClassDeclaration(mainModule, projPath, name, modulePath) {
17
- // not applicable with custom module
18
- }
19
16
  }
20
17
  module.exports = new IgcDockManagerTemplate();
@@ -12,8 +12,5 @@ class IgcDropdownTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
12
12
  this.name = "Dropdown";
13
13
  this.description = "IgcDropdown with groups and disabled items";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcDropdownTemplate();
@@ -12,8 +12,5 @@ class IgcDropdownTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
12
12
  this.name = "Expansion Panel";
13
13
  this.description = "A lightweight accordion component";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcDropdownTemplate();
@@ -16,8 +16,5 @@ class IgcFinancialChartTemplate extends IgniteUIForWebComponentsTemplate_1.Ignit
16
16
  "igniteui-webcomponents-charts@~4.2.5"
17
17
  ];
18
18
  }
19
- addClassDeclaration(mainModule, projPath, name, modulePath) {
20
- // not applicable with custom module
21
- }
22
19
  }
23
20
  module.exports = new IgcFinancialChartTemplate();
@@ -12,8 +12,5 @@ class IgcFormTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "Form";
13
13
  this.description = "basic IgcForm";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcFormTemplate();
@@ -18,8 +18,5 @@ class IgcGridTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
18
18
  "igniteui-webcomponents-layouts@~4.2.5"
19
19
  ];
20
20
  }
21
- addClassDeclaration(mainModule, projPath, name, modulePath) {
22
- // not applicable with custom module
23
- }
24
21
  }
25
22
  module.exports = new IgcGridTemplate();
@@ -12,8 +12,5 @@ class IgcGridEditingTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
12
12
  this.name = "Grid Editing";
13
13
  this.description = "IgcGrid with editing enabled";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcGridEditingTemplate();
@@ -12,8 +12,5 @@ class IgcGridSummariesTemplate extends IgniteUIForWebComponentsTemplate_1.Ignite
12
12
  this.name = "Grid Summaries";
13
13
  this.description = "IgcGrid with column summaries";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcGridSummariesTemplate();
@@ -12,8 +12,5 @@ class IgcIconTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "Icon";
13
13
  this.description = "basic IgcIcon";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcIconTemplate();
@@ -12,8 +12,5 @@ class IgcIconButtonTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIF
12
12
  this.name = "Icon Button";
13
13
  this.description = "basic IgcIconButton";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcIconButtonTemplate();
@@ -12,8 +12,5 @@ class IgcInputTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWeb
12
12
  this.name = "Input";
13
13
  this.description = "basic IgcInput";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcInputTemplate();
@@ -16,8 +16,5 @@ class IgcLinearGaugeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
16
16
  "igniteui-webcomponents-gauges@~4.2.5"
17
17
  ];
18
18
  }
19
- addClassDeclaration(mainModule, projPath, name, modulePath) {
20
- // not applicable with custom module
21
- }
22
19
  }
23
20
  module.exports = new IgcLinearGaugeTemplate();
@@ -16,8 +16,5 @@ class IgcLinearProgressComponent extends IgniteUIForWebComponentsTemplate_1.Igni
16
16
  "igniteui-webcomponents-charts@~4.2.5"
17
17
  ];
18
18
  }
19
- addClassDeclaration(mainModule, projPath, name, modulePath) {
20
- // not applicable with custom module
21
- }
22
19
  }
23
20
  module.exports = new IgcLinearProgressComponent();
@@ -12,8 +12,5 @@ class IgcListTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "List";
13
13
  this.description = "basic IgcList";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcListTemplate();
@@ -12,8 +12,5 @@ class IgcNavbarTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWe
12
12
  this.name = "Navbar";
13
13
  this.description = "basic IgcNavbar";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcNavbarTemplate();
@@ -16,8 +16,5 @@ class IgcPieChartTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIFor
16
16
  "igniteui-webcomponents-charts@~4.2.5"
17
17
  ];
18
18
  }
19
- addClassDeclaration(mainModule, projPath, name, modulePath) {
20
- // not applicable with custom module
21
- }
22
19
  }
23
20
  module.exports = new IgcPieChartTemplate();
@@ -16,8 +16,5 @@ class IgcradialGaugeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUI
16
16
  "igniteui-webcomponents-gauges@~4.2.5"
17
17
  ];
18
18
  }
19
- addClassDeclaration(mainModule, projPath, name, modulePath) {
20
- // not applicable with custom module
21
- }
22
19
  }
23
20
  module.exports = new IgcradialGaugeTemplate();
@@ -12,8 +12,5 @@ class IgcRadioGroupTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIF
12
12
  this.name = "Radio Group";
13
13
  this.description = "basic IgcRadioGroup";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcRadioGroupTemplate();
@@ -12,8 +12,5 @@ class IgcRatingComponent extends IgniteUIForWebComponentsTemplate_1.IgniteUIForW
12
12
  this.name = "Rating";
13
13
  this.description = "Basic Rating";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcRatingComponent();
@@ -12,8 +12,5 @@ class IgcRippleTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWe
12
12
  this.name = "Ripple";
13
13
  this.description = "basic IgcRipple";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcRippleTemplate();
@@ -12,8 +12,5 @@ class IgcSliderComponent extends IgniteUIForWebComponentsTemplate_1.IgniteUIForW
12
12
  this.name = "Slider";
13
13
  this.description = `Basic slider component`;
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcSliderComponent();
@@ -12,8 +12,5 @@ class IgcSwitchTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWe
12
12
  this.name = "Switch";
13
13
  this.description = "basic IgcSwitch";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcSwitchTemplate();
@@ -12,8 +12,5 @@ class IgcTabsTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
12
12
  this.name = "Tabs";
13
13
  this.description = "basic IgcTabs";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcTabsTemplate();
@@ -12,8 +12,5 @@ class IgcTextareaComponent extends IgniteUIForWebComponentsTemplate_1.IgniteUIFo
12
12
  this.name = "Text area";
13
13
  this.description = "basic IgcTextarea";
14
14
  }
15
- addClassDeclaration(mainModule, projPath, name, modulePath) {
16
- // not applicable with custom module
17
- }
18
15
  }
19
16
  module.exports = new IgcTextareaComponent();
@@ -11,8 +11,5 @@ class IgcTextareaComponent extends cli_core_1.BaseComponent {
11
11
  this.group = "Data Entry & Display";
12
12
  this.description = `Basic text area component`;
13
13
  }
14
- addClassDeclaration(mainModule, projPath, name, modulePath) {
15
- // not applicable with custom module
16
- }
17
14
  }
18
15
  module.exports = new IgcTextareaComponent();
@@ -18,8 +18,5 @@ class IgcTreeTemplate extends IgniteUIForWebComponentsTemplate_1.IgniteUIForWebC
18
18
  "igniteui-webcomponents-layouts@~4.2.5"
19
19
  ];
20
20
  }
21
- addClassDeclaration(mainModule, projPath, name, modulePath) {
22
- // not applicable with custom module
23
- }
24
21
  }
25
22
  module.exports = new IgcTreeTemplate();