Skip to content

Commit 7847aaa

Browse files
authored
chore: update dv packages with v19; standalone false for legacy components (#1365)
* chore: update dv packages with v19 * chore: update eslint packages * chore: update yarn.lock * chore: update eslint in separate pr * chore: add standalone: false to legacy components
1 parent db6d0ea commit 7847aaa

File tree

81 files changed

+1280
-1021
lines changed

Some content is hidden

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

81 files changed

+1280
-1021
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"@types/jasmine": "^5.1.4",
6464
"@types/minimatch": "^5.1.2",
6565
"@types/node": "^22.5.5",
66-
"@typescript-eslint/eslint-plugin": "^7.5.0",
67-
"@typescript-eslint/parser": "^7.5.0",
66+
"@typescript-eslint/eslint-plugin": "^8.21.0",
67+
"@typescript-eslint/parser": "^8.21.0",
6868
"coveralls-next": "^4.2.1",
6969
"browser-sync": "^3.0.3",
7070
"eslint": "^8.57.0",

packages/cli/templates/react/igr-ts/projects/_base/files/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"devDependencies": {
1919
"@types/react": "^18.2.15",
2020
"@types/react-dom": "^18.2.7",
21-
"@typescript-eslint/eslint-plugin": "^6.2.1",
22-
"@typescript-eslint/parser": "^6.2.1",
21+
"@typescript-eslint/eslint-plugin": "^8.21.0",
22+
"@typescript-eslint/parser": "^8.21.0",
2323
"@vitejs/plugin-react": "^4.0.3",
24-
"eslint": "^8.46.0",
24+
"eslint": "^8.57.0",
2525
"eslint-plugin-react-hooks": "^4.6.0",
2626
"eslint-plugin-react-refresh": "^0.4.3",
2727
"jsdom": "^22.1.0",

packages/cli/templates/webcomponents/igc-ts/projects/_base/files/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@open-wc/testing": "^4.0.0",
3232
"@rollup/plugin-babel": "^6.0.3",
3333
"@rollup/plugin-node-resolve": "^15.0.1",
34-
"@typescript-eslint/eslint-plugin": "^7.13.1",
35-
"@typescript-eslint/parser": "^7.13.1",
34+
"@typescript-eslint/eslint-plugin": "^8.21.0",
35+
"@typescript-eslint/parser": "^8.21.0",
3636
"@web/dev-server": "^0.4.6",
3737
"@web/rollup-plugin-html": "^2.3.0",
3838
"@web/rollup-plugin-import-meta-assets": "^1.0.7",

packages/cli/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"@open-wc/testing": "^4.0.0",
4040
"@rollup/plugin-babel": "^6.0.3",
4141
"@rollup/plugin-node-resolve": "^15.0.1",
42-
"@typescript-eslint/eslint-plugin": "^7.13.1",
43-
"@typescript-eslint/parser": "^7.13.1",
42+
"@typescript-eslint/eslint-plugin": "^8.21.0",
43+
"@typescript-eslint/parser": "^8.21.0",
4444
"@web/dev-server": "^0.4.6",
4545
"@web/rollup-plugin-html": "^2.3.0",
4646
"@web/rollup-plugin-import-meta-assets": "^1.0.7",

packages/igx-templates/igx-ts-legacy/accordion/default/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { Component } from '@angular/core';
33
@Component({
44
selector: 'app-<%=filePrefix%>',
55
templateUrl: './<%=filePrefix%>.component.html',
6-
styleUrls: ['./<%=filePrefix%>.component.scss']
6+
styleUrls: ['./<%=filePrefix%>.component.scss'],
7+
standalone: false
78
})
89
export class <%=ClassName%>Component {
910
public singleBranchExpand = false;

packages/igx-templates/igx-ts-legacy/autocomplete/autocomplete-custom/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { Towns } from './towns-data';
44
@Component({
55
selector: 'app-<%=filePrefix%>',
66
templateUrl: './<%=filePrefix%>.component.html',
7-
styleUrls: ['./<%=filePrefix%>.component.scss']
7+
styleUrls: ['./<%=filePrefix%>.component.scss'],
8+
standalone: false
89
})
910
export class <%=ClassName%>Component {
1011
public towns: string[];
@@ -15,7 +16,7 @@ export class <%=ClassName%>Component {
1516
}
1617
}
1718

18-
@Pipe({ name: '<%=camelCaseName%>StartsWith' })
19+
@Pipe({ name: '<%=camelCaseName%>StartsWith', standalone: false })
1920
export class <%=ClassName%>PipeStartsWith implements PipeTransform {
2021
public transform(collection: string[], term = '') {
2122
return collection.filter(item => item.toLowerCase().startsWith(term.trim().toLowerCase()));

packages/igx-templates/igx-ts-legacy/autocomplete/autocomplete-extended/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { Region, Town, townsExtended } from './towns-data-extended';
55
@Component({
66
selector: 'app-<%=filePrefix%>',
77
templateUrl: './<%=filePrefix%>.component.html',
8-
styleUrls: ['./<%=filePrefix%>.component.scss']
8+
styleUrls: ['./<%=filePrefix%>.component.scss'],
9+
standalone: false
910
})
1011
export class <%=ClassName%>Component {
1112
public regions!: Region[];
@@ -35,14 +36,14 @@ export class <%=ClassName%>Component {
3536
}
3637
}
3738

38-
@Pipe({ name: '<%=camelCaseName%>StartsWith' })
39+
@Pipe({ name: '<%=camelCaseName%>StartsWith', standalone: false })
3940
export class <%=ClassName%>PipeStartsWith implements PipeTransform {
4041
public transform(collection: Town[], term = '') {
4142
return collection.filter(item => item.name.toLowerCase().startsWith(term.trim().toLowerCase()));
4243
}
4344
}
4445

45-
@Pipe({ name: '<%=camelCaseName%>RegionContains' })
46+
@Pipe({ name: '<%=camelCaseName%>RegionContains', standalone: false })
4647
export class <%=ClassName%>RegionContains implements PipeTransform {
4748
transform(regions: Region[], term = '') {
4849
return this.filterRegions(regions, term);

packages/igx-templates/igx-ts-legacy/bullet-graph/default/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { IgxBulletGraphComponent, IgxLinearGraphRangeComponent } from 'igniteui-
66
selector: 'app-<%=filePrefix%>',
77
templateUrl: './<%=filePrefix%>.component.html',
88
styleUrls: ['./<%=filePrefix%>.component.scss'],
9-
encapsulation: ViewEncapsulation.None
9+
encapsulation: ViewEncapsulation.None,
10+
standalone: false
1011
})
1112
export class <%=ClassName%>Component implements AfterViewInit {
1213
@ViewChild('bulletGraph', { static: true })

packages/igx-templates/igx-ts-legacy/bullet-graph/default/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class IgxBulletGraphTemplate extends IgniteUIForAngularTemplate {
1414
import: ["IgxBulletGraphModule"],
1515
from: "igniteui-angular-gauges"
1616
}];
17-
this.packages = ["igniteui-angular-core@~18.0.0", "igniteui-angular-gauges@~18.0.0"];
17+
this.packages = ["igniteui-angular-core@~19.0.0", "igniteui-angular-gauges@~19.0.0"];
1818
}
1919
}
2020
module.exports = new IgxBulletGraphTemplate();

packages/igx-templates/igx-ts-legacy/calendar/default/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
44
selector: 'app-<%=filePrefix%>',
55
templateUrl: './<%=filePrefix%>.component.html',
66
styleUrls: ['./<%=filePrefix%>.component.scss'],
7-
encapsulation: ViewEncapsulation.None
7+
encapsulation: ViewEncapsulation.None,
8+
standalone: false
89
})
910
export class <%=ClassName%>Component { }

0 commit comments

Comments
 (0)