Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
"immediate": "3.2.3",
"igniteui-angular": "16.0.7",
"igniteui-theming": "1.4.14",
"igniteui-angular-core": "16.1.0",
"igniteui-angular-charts": "16.1.0",
"igniteui-angular-excel": "16.1.0",
"igniteui-angular-gauges": "16.1.0",
"igniteui-angular-inputs": "16.1.0",
"igniteui-angular-layouts": "16.1.0",
"igniteui-angular-maps": "16.1.0",
"igniteui-angular-spreadsheet": "16.1.0",
"igniteui-angular-spreadsheet-chart-adapter": "16.1.0",
"@infragistics/igniteui-angular-core": "23.2.18",
"@infragistics/igniteui-angular-charts": "23.2.18",
"@infragistics/igniteui-angular-excel": "23.2.18",
"@infragistics/igniteui-angular-gauges": "23.2.18",
"@infragistics/igniteui-angular-inputs": "23.2.18",
"@infragistics/igniteui-angular-layouts": "23.2.18",
"@infragistics/igniteui-angular-maps": "23.2.18",
"@infragistics/igniteui-angular-spreadsheet": "23.2.18",
"@infragistics/igniteui-angular-spreadsheet-chart-adapter": "23.2.18",
"igniteui-webcomponents": "4.3.0-beta.0",
"intl": "1.2.5",
"jszip": "3.7.1",
Expand Down
59 changes: 25 additions & 34 deletions browser/scripts/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1016,22 +1016,27 @@ function updateSamples(cb) {

function updateIG(cb) {

// NOTE: change this array with new version of packages and optionally use "@infragistics/" proget prefix, e.g.
// "igniteui-angular-charts" instead of "igniteui-angular-charts" e.g.
// { name: "igniteui-angular-charts", version: "14.2.0" }, // proget
// { name: "igniteui-angular-charts", version: "14.1.0" }, // npm
// cleanup packages to speedup this gulp script
// del.sync("./samples/**/node_modules/**/*.*", {force:true});
// del.sync("./samples/**/node_modules/**", {force:true});
// del.sync("./samples/**/node_modules", {force:true});

// NOTE: change this array with new version of packages
// and optionally use "@infragistics/" proget prefix, e.g.
// { name: "@infragistics/igniteui-angular-charts", version: "23.2.18" }, // PROGET
// { name: "igniteui-angular-charts", version: "14.1.0" }, // NPM
let packageUpgrades = [
// these IG packages are often updated:
{ name: "igniteui-angular-core" , version: "16.1.0" },
{ name: "igniteui-angular-charts" , version: "16.1.0" },
{ name: "igniteui-angular-excel" , version: "16.1.0" },
{ name: "igniteui-angular-gauges" , version: "16.1.0" },
{ name: "igniteui-angular-inputs" , version: "16.1.0" },
{ name: "igniteui-angular-layouts" , version: "16.1.0" },
{ name: "igniteui-angular-maps" , version: "16.1.0" },
{ name: "igniteui-angular-spreadsheet-chart-adapter", version: "16.1.0" },
{ name: "igniteui-angular-spreadsheet" , version: "16.1.0" },
{ name: "igniteui-angular-datasources" , version: "16.1.0" },
{ name: "@infragistics/igniteui-angular-core" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-charts" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-excel" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-gauges" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-inputs" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-layouts" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-maps" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-spreadsheet-chart-adapter", version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-spreadsheet" , version: "23.2.18" },
{ name: "@infragistics/igniteui-angular-datasources" , version: "23.2.18" },
// these IG packages are sometimes updated:
{ name: "igniteui-webcomponents", version: "4.3.0-beta.0" },
{ name: "igniteui-theming", version: "1.4.14" },
Expand All @@ -1055,22 +1060,11 @@ function updateIG(cb) {
// NOTE you can comment out strings in this array to run these function only on a subset of samples
var packagePaths = [
'./package.json', // browser
// '../samples/gauges/bullet-graph/animation/package.json',
'../samples/**/package.json',
// '../samples/**/package.json',
// '../samples/charts/**/package.json',
// '../samples/editors/**/package.json',
// '../samples/excel/**/package.json',
// '../samples/gauges/**/package.json',
// '../samples/grids/**/package.json',
// '../samples/inputs/**/package.json',
// '../samples/layouts/**/package.json',
// '../samples/maps/**/package.json',
// '../samples/menus/**/package.json',
// '../samples/notifications/**/package.json',
// '../samples/scheduling/**/package.json',

// '../samples/charts/category-chart/**/package.json',
// '../samples/maps/geo-map/type-scatter-bubble-series/package.json',
'../samples/gauges/**/package.json',

// skip packages in node_modules folders
'!../samples/**/node_modules/**/package.json',
'!../samples/**/node_modules/**',
'!../samples/**/node_modules',
Expand All @@ -1080,12 +1074,9 @@ function updateIG(cb) {
let packageMappings = {};
for (const item of packageUpgrades) {
item.id = item.name.replace("@infragistics/", "");
let name = item.name.replace("@infragistics/", "");
packageMappings[name] = item;
packageMappings[item.id] = item;
}

// console.log(packageMappings);

let updatedPackages = 0;
// gulp all package.json files in samples/browser
gulp.src(packagePaths, {allowEmpty: true})
Expand Down Expand Up @@ -1129,7 +1120,7 @@ function updateIG(cb) {
fileCallback(null, file);
}))
.on("end", function() {
log("updateIG... done = " + updatedPackages + " files");
log("updated: " + updatedPackages + " package files");
cb();
});

Expand Down
2 changes: 1 addition & 1 deletion browser/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export const samplesRoutes: Routes = [
// note these section is auto-generated - do not change it:
// Auto-Insert-Modules-Start
{ path: "charts", data: ["SamplesForCharts"], loadChildren: () => import("../samples/charts/samples-modules").then(m => m.SamplesForCharts) },
{ path: "excel", data: ["SamplesForExcel"], loadChildren: () => import("../samples/excel/samples-modules").then(m => m.SamplesForExcel) },
{ path: "gauges", data: ["SamplesForGauges"], loadChildren: () => import("../samples/gauges/samples-modules").then(m => m.SamplesForGauges) },
{ path: "excel", data: ["SamplesForExcel"], loadChildren: () => import("../samples/excel/samples-modules").then(m => m.SamplesForExcel) },
{ path: "maps", data: ["SamplesForMaps"], loadChildren: () => import("../samples/maps/samples-modules").then(m => m.SamplesForMaps) }


Expand Down
4 changes: 2 additions & 2 deletions browser/src/app/index/index.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import BrowserInfo from "../../browser-info.json";
// note these section is auto-generated - do not change it:
// Auto-Insert-Imports-RoutingData-Start
import { RoutingDataForCharts } from "../../samples/charts/routing-data";
import { RoutingDataForExcel } from "../../samples/excel/routing-data";
import { RoutingDataForGauges } from "../../samples/gauges/routing-data";
import { RoutingDataForExcel } from "../../samples/excel/routing-data";
import { RoutingDataForMaps } from "../../samples/maps/routing-data";


Expand Down Expand Up @@ -48,8 +48,8 @@ export class IndexComponent implements OnInit, AfterViewInit {
private modulesRoutes = [
// Auto-Insert-SamplesRoutingArray-Start
{ path: "charts", routesData: RoutingDataForCharts },
{ path: "excel", routesData: RoutingDataForExcel },
{ path: "gauges", routesData: RoutingDataForGauges },
{ path: "excel", routesData: RoutingDataForExcel },
{ path: "maps", routesData: RoutingDataForMaps }


Expand Down
Loading