Skip to content

Commit

Permalink
CLI templates update for Angular 17 (#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
valadzhov authored Nov 9, 2023
1 parent 5839242 commit a7c5afa
Show file tree
Hide file tree
Showing 20 changed files with 94 additions and 94 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "igniteui-cli",
"version": "12.0.6",
"version": "13.0.0-rc.0",
"description": "CLI tool for creating Ignite UI projects",
"keywords": [
"CLI",
Expand Down Expand Up @@ -78,8 +78,8 @@
"all": true
},
"dependencies": {
"@igniteui/angular-templates": "~16.0.1206",
"@igniteui/cli-core": "~12.0.6",
"@igniteui/angular-templates": "~17.0.1300-rc.0",
"@igniteui/cli-core": "~13.0.0-rc.0",
"chalk": "^2.3.2",
"fs-extra": "^3.0.1",
"glob": "^7.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "$(dash-name):build:production"
"buildTarget": "$(dash-name):build:production"
},
"development": {
"browserTarget": "$(dash-name):build:development"
"buildTarget": "$(dash-name):build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "$(dash-name):build"
"buildTarget": "$(dash-name):build"
}
},
"test": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,35 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~16.0.0",
"@angular/common": "~16.0.0",
"@angular/compiler": "~16.0.0",
"@angular/core": "~16.0.0",
"@angular/forms": "~16.0.0",
"@angular/platform-browser": "~16.0.0",
"@angular/platform-browser-dynamic": "~16.0.0",
"@angular/router": "~16.0.0",
"@angular/animations": "~17.0.0",
"@angular/common": "~17.0.0",
"@angular/compiler": "~17.0.0",
"@angular/core": "~17.0.0",
"@angular/forms": "~17.0.0",
"@angular/platform-browser": "~17.0.0",
"@angular/platform-browser-dynamic": "~17.0.0",
"@angular/router": "~17.0.0",
"jquery": ">=1.9.1",
"jquery-ui": ">=1.10.5",
"igniteui-angular-wrappers": "~16.0.0",
"ignite-ui": "~22.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "~16.0.0",
"@types/jasmine": "~4.3.0",
"@angular-devkit/build-angular": "~17.0.0",
"@angular/cli": "~17.0.0",
"@angular/compiler-cli": "~17.0.0",
"@types/jasmine": "~5.1.0",
"@types/node": "^18.16.0",
"igniteui-cli": "^$(cliVersion)",
"jasmine-core": "~4.6.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.0.4"
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@igniteui/cli-core",
"version": "12.0.6",
"version": "13.0.0-rc.0",
"description": "Base types and functionality for Ignite UI CLI",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class IgxBulletGraphTemplate extends IgniteUIForAngularTemplate {
import: ["IgxBulletGraphModule"],
from: "igniteui-angular-gauges"
}];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-gauges@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-gauges@~17.0.0-beta.0"];
}
}
module.exports = new IgxBulletGraphTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class IgxCategoryChartTemplate extends IgniteUIForAngularTemplate {
{ import: "IgxCategoryChartModule", from: "igniteui-angular-charts" },
{ import: "FormsModule", from: "@angular/forms" }
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-charts@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-charts@~17.0.0-beta.0"];
}
}
module.exports = new IgxCategoryChartTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class IgxGridAwesomeTemplate extends IgniteUIForAngularTemplate {
},
{ import: "FormsModule", from: "@angular/forms" }
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-charts@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-charts@~17.0.0-beta.0"];
}
}
module.exports = new IgxGridAwesomeTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class IgxGridCRMTemplate extends IgniteUIForAngularTemplate {
},
{ import: "FormsModule", from: "@angular/forms" }
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-charts@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-charts@~17.0.0-beta.0"];
}
}
module.exports = new IgxGridCRMTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
DefaultSortingStrategy,
GridSelectionMode,
IButtonGroupEventArgs,
IChangeSwitchEventArgs,
IChangeCheckboxEventArgs,
IGridKeydownEventArgs,
IgxButtonGroupComponent,
IgxDialogComponent,
Expand Down Expand Up @@ -191,7 +191,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
}
}

public onChange(event: IChangeSwitchEventArgs): void {
public onChange(event: IChangeCheckboxEventArgs): void {
if (this.grid1.groupingExpressions.length > 0) {
this.grid1.groupingExpressions = [];
} else {
Expand Down Expand Up @@ -272,7 +272,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
* the below code is needed when accessing the sample through the navigation
* it will style all the space below the sample component element, but not the navigation menu
*/
public onThemeChanged(event: IChangeSwitchEventArgs): void {
public onThemeChanged(event: IChangeCheckboxEventArgs): void {
const parentEl = this.parentComponentEl();
if (event.checked && parentEl.classList.contains('main')) {
parentEl.classList.add('fin-dark-theme');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class IgxFinTechGridTemplate extends IgniteUIForAngularTemplate {
},
{ import: "FormsModule", from: "@angular/forms" }
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-charts@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-charts@~17.0.0-beta.0"];
}
}
module.exports = new IgxFinTechGridTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
GridSelectionMode,
HorizontalAlignment,
IButtonGroupEventArgs,
IChangeSwitchEventArgs,
IChangeCheckboxEventArgs,
IgxButtonGroupComponent,
IgxSliderComponent,
IgxTreeGridComponent,
Expand Down Expand Up @@ -172,7 +172,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
* the below code is needed when accessing the sample through the navigation
* it will style all the space below the sample component element, but not the navigation menu
*/
public onThemeChanged(evt: IChangeSwitchEventArgs): void {
public onThemeChanged(evt: IChangeCheckboxEventArgs): void {
const parentEl = this.parentComponentEl();
if (evt.checked && parentEl.classList.contains('main')) {
parentEl.classList.add('fin-dark-theme');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IgxFinancialChartTemplate extends IgniteUIForAngularTemplate {
this.dependencies = [
{ import: "IgxFinancialChartModule", from: "igniteui-angular-charts" }
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-charts@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-charts@~17.0.0-beta.0"];
}
}
module.exports = new IgxFinancialChartTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class IgxLinearGaugeTemplate extends IgniteUIForAngularTemplate {
from: "igniteui-angular-gauges"
}
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-gauges@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-gauges@~17.0.0-beta.0"];
}
}
module.exports = new IgxLinearGaugeTemplate();
2 changes: 1 addition & 1 deletion packages/igx-templates/igx-ts/map/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class IgxGeographicMapTemplate extends IgniteUIForAngularTemplate {
from: "igniteui-angular-charts"
}
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-charts@~16.0.0", "igniteui-angular-maps@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-charts@~17.0.0-beta.0", "igniteui-angular-maps@~17.0.0-beta.0"];
}
}
module.exports = new IgxGeographicMapTemplate();
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "<%=dashName%>:build:production"
"buildTarget": "<%=dashName%>:build:production"
},
"development": {
"browserTarget": "<%=dashName%>:build:development"
"buildTarget": "<%=dashName%>:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "<%=dashName%>:build"
"buildTarget": "<%=dashName%>:build"
}
},
"test": {
Expand Down
48 changes: 24 additions & 24 deletions packages/igx-templates/igx-ts/projects/_base/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,41 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~16.0.0",
"@angular/common": "~16.0.0",
"@angular/compiler": "~16.0.0",
"@angular/core": "~16.0.0",
"@angular/forms": "~16.0.0",
"@angular/platform-browser": "~16.0.0",
"@angular/platform-browser-dynamic": "~16.0.0",
"@angular/router": "~16.0.0",
"@angular/animations": "~17.0.0",
"@angular/common": "~17.0.0",
"@angular/compiler": "~17.0.0",
"@angular/core": "~17.0.0",
"@angular/forms": "~17.0.0",
"@angular/platform-browser": "~17.0.0",
"@angular/platform-browser-dynamic": "~17.0.0",
"@angular/router": "~17.0.0",
"hammerjs": "^2.0.8",
"igniteui-angular": "~16.0.0",
"igniteui-angular": "17.0.0-beta.1",
"minireset.css": "~0.0.7",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~16.0.0",
"@angular-eslint/builder": "^16.0.0",
"@angular-eslint/eslint-plugin": "^16.0.0",
"@angular-eslint/eslint-plugin-template": "^16.0.0",
"@angular-eslint/schematics": "^16.0.0",
"@angular-eslint/template-parser": "^16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "~16.0.0",
"@types/jasmine": "~4.3.0",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"eslint": "^8.39.0",
"@angular-devkit/build-angular": "~17.0.0",
"@angular-eslint/builder": "^17.0.0",
"@angular-eslint/eslint-plugin": "^17.0.0",
"@angular-eslint/eslint-plugin-template": "^17.0.0",
"@angular-eslint/schematics": "^17.0.0",
"@angular-eslint/template-parser": "^17.0.0",
"@angular/cli": "~17.0.0",
"@angular/compiler-cli": "~17.0.0",
"@types/jasmine": "~5.1.1",
"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.9.1",
"eslint": "^8.52.0",
"igniteui-cli": "~<%=cliVersion%>",
"jasmine-core": "~4.6.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.0.4"
"typescript": "~5.2.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,46 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~16.0.0",
"@angular/common": "~16.0.0",
"@angular/compiler": "~16.0.0",
"@angular/core": "~16.0.0",
"@angular/forms": "~16.0.0",
"@angular/platform-browser": "~16.0.0",
"@angular/platform-browser-dynamic": "~16.0.0",
"@angular/router": "~16.0.0",
"@angular/animations": "^17.0.0",
"@angular/common": "~17.0.0",
"@angular/compiler": "~17.0.0",
"@angular/core": "~17.0.0",
"@angular/forms": "~17.0.0",
"@angular/platform-browser": "~17.0.0",
"@angular/platform-browser-dynamic": "~17.0.0",
"@angular/router": "~17.0.0",
"angular-auth-oidc-client": "^15.0.4",
"hammerjs": "^2.0.8",
"igniteui-angular": "~16.0.0",
"igniteui-angular": "17.0.0-beta.1",
"minireset.css": "~0.0.7",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
"zone.js": "~0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~16.0.0",
"@angular-eslint/builder": "^16.0.0",
"@angular-eslint/eslint-plugin": "^16.0.0",
"@angular-eslint/eslint-plugin-template": "^16.0.0",
"@angular-eslint/schematics": "^16.0.0",
"@angular-eslint/template-parser": "^16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "~16.0.0",
"@angular/language-service": "~16.0.0",
"@angular-devkit/build-angular": "~17.0.0",
"@angular-eslint/builder": "^17.0.0",
"@angular-eslint/eslint-plugin": "^17.0.0",
"@angular-eslint/eslint-plugin-template": "^17.0.0",
"@angular-eslint/schematics": "^17.0.0",
"@angular-eslint/template-parser": "^17.0.0",
"@angular/cli": "~17.0.0",
"@angular/compiler-cli": "~17.0.0",
"@angular/language-service": "~17.0.0-rc.1",
"@types/facebook-js-sdk": "^3.3.6",
"@types/hammerjs": "^2.0.41",
"@types/jasmine": "~4.3.0",
"@types/jasmine": "~5.1.1",
"@types/jasminewd2": "~2.0.3",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"eslint": "^8.39.0",
"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.9.1",
"eslint": "^8.52.0",
"igniteui-cli": "~<%=cliVersion%>",
"jasmine-core": "~4.6.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.0.4"
"typescript": "~5.2.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class IgxRadialGaugeTemplate extends IgniteUIForAngularTemplate {
from: "igniteui-angular-gauges"
}
];
this.packages = ["igniteui-angular-core@~16.0.0", "igniteui-angular-gauges@~16.0.0"];
this.packages = ["igniteui-angular-core@~17.0.0-beta.0", "igniteui-angular-gauges@~17.0.0-beta.0"];
}
}
module.exports = new IgxRadialGaugeTemplate();
Loading

0 comments on commit a7c5afa

Please sign in to comment.