Skip to content

Commit 7021abf

Browse files
committed
fix(igx-ts-legacy): update igx-ts-legacy templates
1 parent b56342b commit 7021abf

8 files changed

Lines changed: 6 additions & 29 deletions

File tree

packages/igx-templates/igx-ts-legacy/projects/_base/files/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"angular-eslint": "~21.3.0",
3636
"eslint": "^10.0.2",
3737
"igniteui-cli": "~<%=cliVersion%>",
38-
"jsdom": "^28.0.0",
3938
"jasmine-core": "~5.12.1",
4039
"karma": "~6.4.4",
4140
"karma-chrome-launcher": "~3.2.0",
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export const environment = {
2-
production: false
3-
};
1+
export const environment = {};
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export const environment = {
2-
production: true
3-
};
1+
export const environment = {};
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
import { enableProdMode } from '@angular/core';
21
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3-
42
import { AppModule } from './app/app-module';
5-
import { environment } from './environments/environment';
6-
7-
if (environment.production) {
8-
enableProdMode();
9-
}
103

114
platformBrowserDynamic().bootstrapModule(AppModule)
125
.catch(err => console.error(err));

packages/igx-templates/igx-ts-legacy/projects/_base/files/tsconfig.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55
"compilerOptions": {
66
"baseUrl": "./",
77
"outDir": "./dist/out-tsc",
8-
"forceConsistentCasingInFileNames": true,
98
"noImplicitOverride": true,
109
"noPropertyAccessFromIndexSignature": true,
1110
"noImplicitReturns": true,
1211
"noFallthroughCasesInSwitch": true,
1312
"skipLibCheck": true,
1413
"isolatedModules": true,
1514
"strict": true,
16-
"sourceMap": true,
17-
"declaration": false,
18-
"downlevelIteration": true,
1915
"experimentalDecorators": true,
2016
"moduleResolution": "Bundler",
2117
"importHelpers": true,
@@ -31,13 +27,7 @@
3127
"enableI18nLegacyMessageIdFormat": false,
3228
"strictInjectionParameters": true,
3329
"strictInputAccessModifiers": true,
34-
"strictTemplates": true,
35-
// TODO: Remove this option when fixing https://infragistics.visualstudio.com/Indigo_Platform/_workitems/edit/30602
36-
"extendedDiagnostics": {
37-
"checks": {
38-
"optionalChainNotNullable": "suppress"
39-
}
40-
}
30+
"strictTemplates": true
4131
},
4232
"files": [],
4333
"references": [

packages/igx-templates/igx-ts-legacy/projects/_base_with_home/files/src/app/home/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--The content below is only a placeholder and can be replaced.-->
2-
<h1>{{title}}</h1>
2+
<h1>{{title()}}</h1>
33
<img src="assets/responsive.gif" alt="Ignite UI CLI">
44

55
<div id="linksContainer">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component } from '@angular/core';
1+
import { Component, signal } from '@angular/core';
22

33
@Component({
44
selector: 'app-home',
@@ -7,6 +7,6 @@ import { Component } from '@angular/core';
77
standalone: false
88
})
99
export class Home {
10-
title = 'Welcome to Ignite UI for Angular!';
10+
protected readonly title = signal('Welcome to Ignite UI for Angular!');
1111
constructor() { }
1212
}

packages/igx-templates/igx-ts-legacy/projects/side-nav-auth/files/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"angular-eslint": "~21.3.0",
4040
"eslint": "^10.0.2",
4141
"igniteui-cli": "~<%=cliVersion%>",
42-
"jsdom": "^28.0.0",
4342
"jasmine-core": "~5.12.1",
4443
"karma": "~6.4.4",
4544
"karma-chrome-launcher": "~3.2.0",

0 commit comments

Comments
 (0)