Skip to content

Commit 418f43c

Browse files
authored
Merge branch 'master' into mstoyanova/ai-assistance
2 parents 73444cb + 8959281 commit 418f43c

File tree

199 files changed

+138
-56100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+138
-56100
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Describe the issue.
33

44
- Ignite UI CLI version: x.x.x
55
- Framework: Angular|React|jQuery|Web Components
6-
- Project type: ig-ts|igx-ts
6+
- Project type: igx-ts|igr-ts|js|igc-ts
77

88
### Steps to reproduce
99

.vscode/launch.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,6 @@
8888
"--framework=angular"
8989
]
9090
},
91-
{
92-
"type": "node",
93-
"request": "launch",
94-
"name": "Launch New Angular ig-ts",
95-
"cwd": "${workspaceRoot}/output",
96-
"program": "${workspaceRoot}/packages/cli/bin/execute.js",
97-
"console": "externalTerminal",
98-
"preLaunchTask": "build",
99-
"outFiles": [ "${workspaceRoot}/lib/**/*.js",
100-
"${workspaceRoot}/spec/**/*.js" ],
101-
"args": [
102-
"new",
103-
"angular-wrapers-proj",
104-
"--framework=angular",
105-
"--type=ig-ts",
106-
"--template=empty"
107-
]
108-
},
10991
{
11092
"type": "node",
11193
"request": "launch",
@@ -268,21 +250,6 @@
268250
"--name=mycombo"
269251
]
270252
},
271-
{
272-
"type": "node",
273-
"request": "launch",
274-
"name": "Add Combo to Angular ig-ts",
275-
"cwd": "${workspaceRoot}/output/angular-wrapers-proj",
276-
"program": "${workspaceRoot}/packages/cli/bin/execute.js",
277-
"console": "externalTerminal",
278-
"preLaunchTask": "build",
279-
"outFiles": ["${workspaceFolder}/**/*.js"],
280-
"args": [
281-
"add",
282-
"--template=combo",
283-
"--name=mycombo"
284-
]
285-
},
286253
{
287254
"type": "node",
288255
"request": "launch",

packages/cli/lib/TemplateManager.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { IgniteUIForAngularTemplate } from "@igniteui/angular-templates";
22
import { BaseTemplateManager, Template, Util } from "@igniteui/cli-core";
33
import * as path from "path";
4-
import { AngularTemplate } from "./templates/AngularTemplate";
54
import { IgniteUIForWebComponentsTemplate } from "./templates/IgniteUIForWebComponentsTemplate";
65
import { jQueryTemplate } from "./templates/jQueryTemplate";
76
import { ReactTemplate } from "./templates/ReactTemplate";
@@ -31,9 +30,6 @@ export class TemplateManager extends BaseTemplateManager {
3130
case "react|es6":
3231
template = new ReactTemplate(rootPath);
3332
break;
34-
case "angular|ig-ts":
35-
template = new AngularTemplate(rootPath);
36-
break;
3733
case "angular|igx-ts":
3834
template = new IgniteUIForAngularTemplate(rootPath);
3935
break;

packages/cli/lib/templates/AngularTemplate.ts

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -136,55 +136,6 @@ export class AngularTemplate implements Template {
136136
files.push("modules/infragistics.gridexcelexporter.js");
137137
ProjectConfig.setConfig(config);
138138
}
139-
140-
// ensure ig-ts resource files registration
141-
if (this.projectType === "ig-ts") { this.registerSourceFiles(config, projectPath); }
142-
}
143-
144-
/**
145-
* Register igniteui-angular-wrappers(ig-ts) resources under the project"s angular.json scripts and styles collections,
146-
* so these are picked by Angular"s internal webpack to build and serve
147-
*/
148-
protected registerSourceFiles(config: Config, projectPath: string) {
149-
const fs: IFileSystem = App.container.get(FS_TOKEN);
150-
const sourceFiles: string[] = config.project.sourceFiles;
151-
const igniteuiSource: string = config.project.igniteuiSource;
152-
const themeCSS = "css/themes/infragistics/infragistics.theme.css";
153-
const infragisticsCSS = "css/structure/infragistics.css";
154-
let workspaceConfigObj;
155-
let updateFile = false;
156-
157-
const workspacePath = path.join(projectPath, "angular.json");
158-
if (this.fileSystem.fileExists(workspacePath)) {
159-
workspaceConfigObj = JSON.parse(this.fileSystem.readFile(workspacePath));
160-
const scripts =
161-
workspaceConfigObj.projects[Object.keys(workspaceConfigObj.projects)[0]].architect.build.options.scripts;
162-
let styles =
163-
workspaceConfigObj.projects[Object.keys(workspaceConfigObj.projects)[0]].architect.build.options.styles;
164-
165-
if (!styles.find(x => x.input?.includes(themeCSS)) || !styles.find(x => x.input?.includes(infragisticsCSS))) {
166-
styles = igniteuiSource === "@infragistics/ignite-ui-full/en/" ?
167-
styles.push(
168-
{ input: `${"@infragistics/ignite-ui-full/en/" + themeCSS}` },
169-
{ input: `${"@infragistics/ignite-ui-full/en/" + infragisticsCSS}` }) :
170-
styles.push({ input: `${"ignite-ui/" + themeCSS}` }, { input: `${"ignite-ui/" + infragisticsCSS}` });
171-
updateFile = true;
172-
}
173-
174-
for (const fileName of sourceFiles) {
175-
if (!scripts.find(x => x.bundleName === fileName)) {
176-
scripts.push({
177-
bundleName: fileName,
178-
input: `${igniteuiSource + "/js/" + fileName}`
179-
});
180-
updateFile = true;
181-
}
182-
}
183-
if (updateFile) { fs.writeFile(workspacePath, Util.formatAngularJsonOptions(workspaceConfigObj)); }
184-
} else {
185-
Util.log(`No angular.json file found! May have to manually add igniteui-angular-wrappers styles and scripts
186-
(infragistics.core.js, infragistics.lob.js, etc.) to the corresponding angular.json styles and scripts collections`);
187-
}
188139
}
189140

190141
protected folderName(pathName: string): string {

packages/cli/templates/angular/ig-ts/bar-chart/default/files/src/app/assets/world-energy-production.ts

Lines changed: 0 additions & 54 deletions
This file was deleted.

packages/cli/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.component.ts

Lines changed: 0 additions & 83 deletions
This file was deleted.

packages/cli/templates/angular/ig-ts/bar-chart/default/files/src/app/components/__path__/__filePrefix__.spec.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/cli/templates/angular/ig-ts/bar-chart/default/index.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/cli/templates/angular/ig-ts/bar-chart/index.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/cli/templates/angular/ig-ts/column-chart/default/files/src/app/assets/world-energy-production.ts

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)