Skip to content

Commit c4d27bc

Browse files
committed
fix(igx-ts): update igx-ts templates
1 parent 4bbad78 commit c4d27bc

File tree

8 files changed

+6
-26
lines changed

8 files changed

+6
-26
lines changed

packages/igx-templates/igx-ts/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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
import { enableProdMode } from '@angular/core';
21
import { bootstrapApplication } from '@angular/platform-browser';
32
import { App } from './app/app';
43
import { appConfig } from './app/app.config';
5-
import { environment } from './environments/environment';
6-
7-
if (environment.production) {
8-
enableProdMode();
9-
}
104

115
bootstrapApplication(App, appConfig)
126
.catch((err) => console.error(err));

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"skipLibCheck": true,
1313
"isolatedModules": true,
1414
"esModuleInterop": true,
15-
"sourceMap": true,
16-
"declaration": false,
1715
"experimentalDecorators": true,
1816
"moduleResolution": "Bundler",
1917
"importHelpers": true,
@@ -29,13 +27,7 @@
2927
"enableI18nLegacyMessageIdFormat": false,
3028
"strictInjectionParameters": true,
3129
"strictInputAccessModifiers": true,
32-
"strictTemplates": true,
33-
// TODO: Remove this option when fixing https://infragistics.visualstudio.com/Indigo_Platform/_workitems/edit/30602
34-
"extendedDiagnostics": {
35-
"checks": {
36-
"optionalChainNotNullable": "suppress"
37-
}
38-
}
30+
"strictTemplates": true
3931
},
4032
"files": [],
4133
"references": [

packages/igx-templates/igx-ts/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,10 +1,10 @@
1-
import { Component } from '@angular/core';
1+
import { Component, signal } from '@angular/core';
22

33
@Component({
44
selector: 'app-home',
55
templateUrl: './home.html',
66
styleUrl: './home.scss'
77
})
88
export class Home {
9-
title = 'Welcome to Ignite UI for Angular!';
9+
protected readonly title = signal('Welcome to Ignite UI for Angular!');
1010
}

packages/igx-templates/igx-ts/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)