diff --git a/browser/gulpfile.js b/browser/gulpfile.js index ce20d6f06..50cbb0191 100644 --- a/browser/gulpfile.js +++ b/browser/gulpfile.js @@ -47,6 +47,7 @@ gulp.task('copySamples', gulp.series(browser.findSamples, browser.copySamples)); gulp.task('generateSampleRouting', browser.generateSampleRouting); gulp.task('updateCodeViewer', gulp.series(browser.findSamples, browser.updateCodeViewer)); +gulp.task('updateCodeSandbox', browser.updateCodeSandbox); gulp.task('listSamples', browser.listSamples); gulp.task('moveAppFiles', browser.moveAppFiles); diff --git a/browser/scripts/browser.js b/browser/scripts/browser.js index 3ecc7f8d0..94cc4613c 100644 --- a/browser/scripts/browser.js +++ b/browser/scripts/browser.js @@ -1337,4 +1337,76 @@ exports.moveAppFiles = function moveAppFiles(cb) { cb(); }); +} + +exports.updateCodeSandbox = function updateCodeSandbox(cb) { + var appFolders = []; + var copyFiles = [ + "../tests/donut-ava4/.stackblitzrc", + "../tests/donut-ava4/.codesandbox/tasks.json", + "../tests/donut-ava4/.codesandbox/Dockerfile", + "../tests/donut-ava4/tsconfig.app.json", + "../tests/donut-ava4/tsconfig.json", + "../tests/donut-ava4/angular.json", + ]; + var deleteFiles = [ + "sandbox.config.json", + "src\\config", + ]; + + gulp.src( [ + "../samples/**/package.json", + // "../samples/**/display-osm-imagery/package.json", + // "../samples/**/doughnut-chart/overview/package.json", + // "../samples/**/display-heat-imagery/package.json", + ], {allowEmpty: true}) + .pipe(es.map(function(file, fileCallback) { + + var fileContent = file.contents.toString(); + let fileOutput = file.dirname + "\\" + file.basename; + + console.log("updating " + fileOutput); + fileContent = fileContent.replace('"@angular/animations": "17.0.0"','"@angular/animations": "^17.2.1"'); + fileContent = fileContent.replace('"@angular/common": "17.0.0"','"@angular/common": "^17.2.1"'); + fileContent = fileContent.replace('"@angular/compiler": "17.0.0"','"@angular/compiler": "^17.2.1"'); + fileContent = fileContent.replace('"@angular/core": "17.0.0"','"@angular/core": "^17.2.1"'); + fileContent = fileContent.replace('"@angular/forms": "17.0.0"','"@angular/forms": "^17.2.1"'); + fileContent = fileContent.replace('"@angular/platform-browser": "17.0.0"','"@angular/platform-browser": "^17.2.1"'); + fileContent = fileContent.replace('"@angular/platform-browser-dynamic": "17.0.0"','"@angular/platform-browser-dynamic": "^17.2.1"'); + fileContent = fileContent.replace('"rxjs": "6.6.7"','"rxjs": "^7.8.1"'); + fileContent = fileContent.replace('"tslib": "2.3.1"','"tslib": "^2.6.1"'); + fileContent = fileContent.replace('"zone.js": "~0.14.1"','"zone.js": "~0.14.4"'); + fileContent = fileContent.replace('"@angular-devkit/build-angular": "17.0.0"','"@angular-devkit/build-angular": "17.2.0"'); + fileContent = fileContent.replace('"@angular/cli": "17.0.0"','"@angular/cli": "17.2.0"'); + fileContent = fileContent.replace('"@angular/compiler-cli": "17.0.0"','"@angular/compiler-cli": "17.2.1"'); + fileContent = fileContent.replace('"@angular/language-service": "17.0.0"','"@angular/language-service": "17.2.1"'); + fileContent = fileContent.replace('"@types/node": "14.14.28"','"@types/node": "18.17.0"'); + fileContent = fileContent.replace('"jasmine-core": "3.7.1"','"jasmine-core": "5.1.1"'); + fileContent = fileContent.replace('"ts-node": "9.1.1"','"ts-node": "10.9.1"'); + fileContent = fileContent.replace('"typescript": "5.2.2"','"typescript": "5.3.3"'); + fileContent = fileContent.replace('"hammerjs": "2.0.8"','"hammerjs": "^2.0.8"'); + + fs.writeFileSync(fileOutput, fileContent); + + for (let i = 0; i < deleteFiles.length; i++) { + var deletePath = file.dirname + "\\" + deleteFiles[i]; + console.log("delete " + deletePath); + del([deletePath], {force: true}); + } + + for (let i = 0; i < copyFiles.length; i++) { + var outputPath = copyFiles[i].replace('../tests/donut-ava4/', file.dirname + "/"); + // del([deletePath], {force: true}); + console.log("copy " + outputPath); + let outputFile = fs.readFileSync(copyFiles[i]).toString(); + // outputFile = outputFile.replace("/app/", "/"); + makeDirectoryFor(outputPath); + fs.writeFileSync(outputPath, outputFile); + } + fileCallback(null, file); + })) + .on("end", function() { + cb(); + }); + } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-all/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations-all/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations-all/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-all/.codesandbox/tasks.json b/samples/charts/category-chart/annotations-all/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations-all/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-all/.stackblitzrc b/samples/charts/category-chart/annotations-all/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations-all/.stackblitzrc +++ b/samples/charts/category-chart/annotations-all/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-all/angular.json b/samples/charts/category-chart/annotations-all/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations-all/angular.json +++ b/samples/charts/category-chart/annotations-all/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations-all/package.json b/samples/charts/category-chart/annotations-all/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/annotations-all/package.json +++ b/samples/charts/category-chart/annotations-all/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations-all/sandbox.config.json b/samples/charts/category-chart/annotations-all/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/annotations-all/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-all/tsconfig.app.json b/samples/charts/category-chart/annotations-all/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations-all/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations-all/tsconfig.json b/samples/charts/category-chart/annotations-all/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations-all/tsconfig.json +++ b/samples/charts/category-chart/annotations-all/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-callouts/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations-callouts/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations-callouts/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-callouts/.codesandbox/tasks.json b/samples/charts/category-chart/annotations-callouts/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations-callouts/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-callouts/.stackblitzrc b/samples/charts/category-chart/annotations-callouts/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations-callouts/.stackblitzrc +++ b/samples/charts/category-chart/annotations-callouts/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-callouts/angular.json b/samples/charts/category-chart/annotations-callouts/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations-callouts/angular.json +++ b/samples/charts/category-chart/annotations-callouts/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations-callouts/package.json b/samples/charts/category-chart/annotations-callouts/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/annotations-callouts/package.json +++ b/samples/charts/category-chart/annotations-callouts/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations-callouts/sandbox.config.json b/samples/charts/category-chart/annotations-callouts/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/annotations-callouts/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/annotations-callouts/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.app.json b/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.base.json b/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.spec.json b/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.worker.json b/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/annotations-callouts/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-callouts/tsconfig.app.json b/samples/charts/category-chart/annotations-callouts/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations-callouts/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations-callouts/tsconfig.json b/samples/charts/category-chart/annotations-callouts/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations-callouts/tsconfig.json +++ b/samples/charts/category-chart/annotations-callouts/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-crosshairs/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations-crosshairs/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations-crosshairs/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-crosshairs/.codesandbox/tasks.json b/samples/charts/category-chart/annotations-crosshairs/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations-crosshairs/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-crosshairs/.stackblitzrc b/samples/charts/category-chart/annotations-crosshairs/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations-crosshairs/.stackblitzrc +++ b/samples/charts/category-chart/annotations-crosshairs/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-crosshairs/angular.json b/samples/charts/category-chart/annotations-crosshairs/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations-crosshairs/angular.json +++ b/samples/charts/category-chart/annotations-crosshairs/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations-crosshairs/package.json b/samples/charts/category-chart/annotations-crosshairs/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/annotations-crosshairs/package.json +++ b/samples/charts/category-chart/annotations-crosshairs/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations-crosshairs/sandbox.config.json b/samples/charts/category-chart/annotations-crosshairs/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/annotations-crosshairs/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.app.json b/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.base.json b/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.spec.json b/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.worker.json b/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/annotations-crosshairs/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-crosshairs/tsconfig.app.json b/samples/charts/category-chart/annotations-crosshairs/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations-crosshairs/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations-crosshairs/tsconfig.json b/samples/charts/category-chart/annotations-crosshairs/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations-crosshairs/tsconfig.json +++ b/samples/charts/category-chart/annotations-crosshairs/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-custom/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations-custom/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations-custom/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-custom/.codesandbox/tasks.json b/samples/charts/category-chart/annotations-custom/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations-custom/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-custom/.stackblitzrc b/samples/charts/category-chart/annotations-custom/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations-custom/.stackblitzrc +++ b/samples/charts/category-chart/annotations-custom/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-custom/angular.json b/samples/charts/category-chart/annotations-custom/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations-custom/angular.json +++ b/samples/charts/category-chart/annotations-custom/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations-custom/package.json b/samples/charts/category-chart/annotations-custom/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/annotations-custom/package.json +++ b/samples/charts/category-chart/annotations-custom/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations-custom/sandbox.config.json b/samples/charts/category-chart/annotations-custom/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/annotations-custom/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-custom/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/annotations-custom/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/annotations-custom/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.app.json b/samples/charts/category-chart/annotations-custom/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.base.json b/samples/charts/category-chart/annotations-custom/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.spec.json b/samples/charts/category-chart/annotations-custom/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.worker.json b/samples/charts/category-chart/annotations-custom/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/annotations-custom/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-custom/tsconfig.app.json b/samples/charts/category-chart/annotations-custom/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations-custom/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations-custom/tsconfig.json b/samples/charts/category-chart/annotations-custom/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations-custom/tsconfig.json +++ b/samples/charts/category-chart/annotations-custom/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-final-value/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations-final-value/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations-final-value/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-final-value/.codesandbox/tasks.json b/samples/charts/category-chart/annotations-final-value/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations-final-value/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-final-value/.stackblitzrc b/samples/charts/category-chart/annotations-final-value/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations-final-value/.stackblitzrc +++ b/samples/charts/category-chart/annotations-final-value/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-final-value/angular.json b/samples/charts/category-chart/annotations-final-value/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations-final-value/angular.json +++ b/samples/charts/category-chart/annotations-final-value/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations-final-value/package.json b/samples/charts/category-chart/annotations-final-value/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/annotations-final-value/package.json +++ b/samples/charts/category-chart/annotations-final-value/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations-final-value/sandbox.config.json b/samples/charts/category-chart/annotations-final-value/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/annotations-final-value/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/annotations-final-value/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.app.json b/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.base.json b/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.spec.json b/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.worker.json b/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/annotations-final-value/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-final-value/tsconfig.app.json b/samples/charts/category-chart/annotations-final-value/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations-final-value/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations-final-value/tsconfig.json b/samples/charts/category-chart/annotations-final-value/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations-final-value/tsconfig.json +++ b/samples/charts/category-chart/annotations-final-value/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-highlighting/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations-highlighting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations-highlighting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-highlighting/.codesandbox/tasks.json b/samples/charts/category-chart/annotations-highlighting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations-highlighting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-highlighting/.stackblitzrc b/samples/charts/category-chart/annotations-highlighting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations-highlighting/.stackblitzrc +++ b/samples/charts/category-chart/annotations-highlighting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-highlighting/angular.json b/samples/charts/category-chart/annotations-highlighting/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations-highlighting/angular.json +++ b/samples/charts/category-chart/annotations-highlighting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations-highlighting/package.json b/samples/charts/category-chart/annotations-highlighting/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/annotations-highlighting/package.json +++ b/samples/charts/category-chart/annotations-highlighting/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations-highlighting/sandbox.config.json b/samples/charts/category-chart/annotations-highlighting/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/annotations-highlighting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.app.json b/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.base.json b/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.spec.json b/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.worker.json b/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/annotations-highlighting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/annotations-highlighting/tsconfig.app.json b/samples/charts/category-chart/annotations-highlighting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations-highlighting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations-highlighting/tsconfig.json b/samples/charts/category-chart/annotations-highlighting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations-highlighting/tsconfig.json +++ b/samples/charts/category-chart/annotations-highlighting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/annotations/.codesandbox/Dockerfile b/samples/charts/category-chart/annotations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/annotations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/annotations/.codesandbox/tasks.json b/samples/charts/category-chart/annotations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/annotations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations/.stackblitzrc b/samples/charts/category-chart/annotations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/annotations/.stackblitzrc +++ b/samples/charts/category-chart/annotations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/annotations/angular.json b/samples/charts/category-chart/annotations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/annotations/angular.json +++ b/samples/charts/category-chart/annotations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/annotations/package.json b/samples/charts/category-chart/annotations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/annotations/package.json +++ b/samples/charts/category-chart/annotations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/annotations/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/annotations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/annotations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/annotations/src/config/tsconfig.app.json b/samples/charts/category-chart/annotations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/annotations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/annotations/src/config/tsconfig.base.json b/samples/charts/category-chart/annotations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/annotations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/annotations/src/config/tsconfig.spec.json b/samples/charts/category-chart/annotations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/annotations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/annotations/src/config/tsconfig.worker.json b/samples/charts/category-chart/annotations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/annotations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/annotations/tsconfig.app.json b/samples/charts/category-chart/annotations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/annotations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/annotations/tsconfig.json b/samples/charts/category-chart/annotations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/annotations/tsconfig.json +++ b/samples/charts/category-chart/annotations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/area-chart-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/area-chart-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/area-chart-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/area-chart-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-multiple-sources/.stackblitzrc b/samples/charts/category-chart/area-chart-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/area-chart-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/area-chart-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-multiple-sources/angular.json b/samples/charts/category-chart/area-chart-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/area-chart-multiple-sources/angular.json +++ b/samples/charts/category-chart/area-chart-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/area-chart-multiple-sources/package.json b/samples/charts/category-chart/area-chart-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/area-chart-multiple-sources/package.json +++ b/samples/charts/category-chart/area-chart-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/area-chart-multiple-sources/sandbox.config.json b/samples/charts/category-chart/area-chart-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/area-chart-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/area-chart-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.json b/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/area-chart-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/area-chart-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/area-chart-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/area-chart-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/area-chart-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-single-source/.stackblitzrc b/samples/charts/category-chart/area-chart-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/area-chart-single-source/.stackblitzrc +++ b/samples/charts/category-chart/area-chart-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-single-source/angular.json b/samples/charts/category-chart/area-chart-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/area-chart-single-source/angular.json +++ b/samples/charts/category-chart/area-chart-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/area-chart-single-source/package.json b/samples/charts/category-chart/area-chart-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/area-chart-single-source/package.json +++ b/samples/charts/category-chart/area-chart-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/area-chart-single-source/sandbox.config.json b/samples/charts/category-chart/area-chart-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/area-chart-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/area-chart-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-single-source/tsconfig.app.json b/samples/charts/category-chart/area-chart-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/area-chart-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/area-chart-single-source/tsconfig.json b/samples/charts/category-chart/area-chart-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/area-chart-single-source/tsconfig.json +++ b/samples/charts/category-chart/area-chart-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/area-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/area-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-styling/.codesandbox/tasks.json b/samples/charts/category-chart/area-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/area-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-styling/.stackblitzrc b/samples/charts/category-chart/area-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/area-chart-styling/.stackblitzrc +++ b/samples/charts/category-chart/area-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-styling/angular.json b/samples/charts/category-chart/area-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/area-chart-styling/angular.json +++ b/samples/charts/category-chart/area-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/area-chart-styling/package.json b/samples/charts/category-chart/area-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/area-chart-styling/package.json +++ b/samples/charts/category-chart/area-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/area-chart-styling/sandbox.config.json b/samples/charts/category-chart/area-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/area-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/area-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/area-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/area-chart-styling/tsconfig.app.json b/samples/charts/category-chart/area-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/area-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/area-chart-styling/tsconfig.json b/samples/charts/category-chart/area-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/area-chart-styling/tsconfig.json +++ b/samples/charts/category-chart/area-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gap/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-gap/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-gap/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gap/.codesandbox/tasks.json b/samples/charts/category-chart/axis-gap/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-gap/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gap/.stackblitzrc b/samples/charts/category-chart/axis-gap/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-gap/.stackblitzrc +++ b/samples/charts/category-chart/axis-gap/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gap/angular.json b/samples/charts/category-chart/axis-gap/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-gap/angular.json +++ b/samples/charts/category-chart/axis-gap/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-gap/package.json b/samples/charts/category-chart/axis-gap/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-gap/package.json +++ b/samples/charts/category-chart/axis-gap/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-gap/sandbox.config.json b/samples/charts/category-chart/axis-gap/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-gap/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gap/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-gap/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-gap/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-gap/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-gap/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-gap/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-gap/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-gap/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-gap/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-gap/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-gap/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-gap/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-gap/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-gap/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-gap/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-gap/tsconfig.app.json b/samples/charts/category-chart/axis-gap/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-gap/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-gap/tsconfig.json b/samples/charts/category-chart/axis-gap/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-gap/tsconfig.json +++ b/samples/charts/category-chart/axis-gap/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gridlines/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-gridlines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-gridlines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gridlines/.codesandbox/tasks.json b/samples/charts/category-chart/axis-gridlines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-gridlines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gridlines/.stackblitzrc b/samples/charts/category-chart/axis-gridlines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-gridlines/.stackblitzrc +++ b/samples/charts/category-chart/axis-gridlines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gridlines/angular.json b/samples/charts/category-chart/axis-gridlines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-gridlines/angular.json +++ b/samples/charts/category-chart/axis-gridlines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-gridlines/package.json b/samples/charts/category-chart/axis-gridlines/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-gridlines/package.json +++ b/samples/charts/category-chart/axis-gridlines/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-gridlines/sandbox.config.json b/samples/charts/category-chart/axis-gridlines/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-gridlines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-gridlines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-gridlines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-gridlines/tsconfig.app.json b/samples/charts/category-chart/axis-gridlines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-gridlines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-gridlines/tsconfig.json b/samples/charts/category-chart/axis-gridlines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-gridlines/tsconfig.json +++ b/samples/charts/category-chart/axis-gridlines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-inverted/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-inverted/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-inverted/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-inverted/.codesandbox/tasks.json b/samples/charts/category-chart/axis-inverted/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-inverted/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-inverted/.stackblitzrc b/samples/charts/category-chart/axis-inverted/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-inverted/.stackblitzrc +++ b/samples/charts/category-chart/axis-inverted/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-inverted/angular.json b/samples/charts/category-chart/axis-inverted/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-inverted/angular.json +++ b/samples/charts/category-chart/axis-inverted/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-inverted/package.json b/samples/charts/category-chart/axis-inverted/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-inverted/package.json +++ b/samples/charts/category-chart/axis-inverted/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-inverted/sandbox.config.json b/samples/charts/category-chart/axis-inverted/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-inverted/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-inverted/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-inverted/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-inverted/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-inverted/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-inverted/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-inverted/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-inverted/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-inverted/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-inverted/tsconfig.app.json b/samples/charts/category-chart/axis-inverted/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-inverted/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-inverted/tsconfig.json b/samples/charts/category-chart/axis-inverted/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-inverted/tsconfig.json +++ b/samples/charts/category-chart/axis-inverted/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-labels/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-labels/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-labels/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-labels/.codesandbox/tasks.json b/samples/charts/category-chart/axis-labels/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-labels/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-labels/.stackblitzrc b/samples/charts/category-chart/axis-labels/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-labels/.stackblitzrc +++ b/samples/charts/category-chart/axis-labels/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-labels/angular.json b/samples/charts/category-chart/axis-labels/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-labels/angular.json +++ b/samples/charts/category-chart/axis-labels/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-labels/package.json b/samples/charts/category-chart/axis-labels/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-labels/package.json +++ b/samples/charts/category-chart/axis-labels/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-labels/sandbox.config.json b/samples/charts/category-chart/axis-labels/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-labels/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-labels/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-labels/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-labels/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-labels/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-labels/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-labels/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-labels/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-labels/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-labels/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-labels/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-labels/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-labels/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-labels/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-labels/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-labels/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-labels/tsconfig.app.json b/samples/charts/category-chart/axis-labels/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-labels/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-labels/tsconfig.json b/samples/charts/category-chart/axis-labels/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-labels/tsconfig.json +++ b/samples/charts/category-chart/axis-labels/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-locations/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-locations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-locations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-locations/.codesandbox/tasks.json b/samples/charts/category-chart/axis-locations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-locations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-locations/.stackblitzrc b/samples/charts/category-chart/axis-locations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-locations/.stackblitzrc +++ b/samples/charts/category-chart/axis-locations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-locations/angular.json b/samples/charts/category-chart/axis-locations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-locations/angular.json +++ b/samples/charts/category-chart/axis-locations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-locations/package.json b/samples/charts/category-chart/axis-locations/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-locations/package.json +++ b/samples/charts/category-chart/axis-locations/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-locations/sandbox.config.json b/samples/charts/category-chart/axis-locations/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-locations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-locations/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-locations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-locations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-locations/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-locations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-locations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-locations/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-locations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-locations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-locations/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-locations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-locations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-locations/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-locations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-locations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-locations/tsconfig.app.json b/samples/charts/category-chart/axis-locations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-locations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-locations/tsconfig.json b/samples/charts/category-chart/axis-locations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-locations/tsconfig.json +++ b/samples/charts/category-chart/axis-locations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-options/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-options/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-options/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-options/.codesandbox/tasks.json b/samples/charts/category-chart/axis-options/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-options/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-options/.stackblitzrc b/samples/charts/category-chart/axis-options/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-options/.stackblitzrc +++ b/samples/charts/category-chart/axis-options/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-options/angular.json b/samples/charts/category-chart/axis-options/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-options/angular.json +++ b/samples/charts/category-chart/axis-options/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-options/package.json b/samples/charts/category-chart/axis-options/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/axis-options/package.json +++ b/samples/charts/category-chart/axis-options/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-options/sandbox.config.json b/samples/charts/category-chart/axis-options/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-options/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-options/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-options/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-options/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-options/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-options/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-options/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-options/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-options/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-options/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-options/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-options/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-options/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-options/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-options/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-options/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-options/tsconfig.app.json b/samples/charts/category-chart/axis-options/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-options/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-options/tsconfig.json b/samples/charts/category-chart/axis-options/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-options/tsconfig.json +++ b/samples/charts/category-chart/axis-options/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-overlap/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-overlap/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-overlap/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-overlap/.codesandbox/tasks.json b/samples/charts/category-chart/axis-overlap/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-overlap/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-overlap/.stackblitzrc b/samples/charts/category-chart/axis-overlap/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-overlap/.stackblitzrc +++ b/samples/charts/category-chart/axis-overlap/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-overlap/angular.json b/samples/charts/category-chart/axis-overlap/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-overlap/angular.json +++ b/samples/charts/category-chart/axis-overlap/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-overlap/package.json b/samples/charts/category-chart/axis-overlap/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-overlap/package.json +++ b/samples/charts/category-chart/axis-overlap/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-overlap/sandbox.config.json b/samples/charts/category-chart/axis-overlap/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-overlap/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-overlap/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-overlap/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-overlap/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-overlap/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-overlap/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-overlap/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-overlap/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-overlap/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-overlap/tsconfig.app.json b/samples/charts/category-chart/axis-overlap/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-overlap/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-overlap/tsconfig.json b/samples/charts/category-chart/axis-overlap/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-overlap/tsconfig.json +++ b/samples/charts/category-chart/axis-overlap/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-range/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-range/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-range/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-range/.codesandbox/tasks.json b/samples/charts/category-chart/axis-range/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-range/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-range/.stackblitzrc b/samples/charts/category-chart/axis-range/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-range/.stackblitzrc +++ b/samples/charts/category-chart/axis-range/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-range/angular.json b/samples/charts/category-chart/axis-range/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-range/angular.json +++ b/samples/charts/category-chart/axis-range/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-range/package.json b/samples/charts/category-chart/axis-range/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-range/package.json +++ b/samples/charts/category-chart/axis-range/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-range/sandbox.config.json b/samples/charts/category-chart/axis-range/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-range/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-range/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-range/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-range/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-range/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-range/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-range/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-range/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-range/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-range/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-range/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-range/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-range/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-range/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-range/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-range/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-range/tsconfig.app.json b/samples/charts/category-chart/axis-range/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-range/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-range/tsconfig.json b/samples/charts/category-chart/axis-range/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-range/tsconfig.json +++ b/samples/charts/category-chart/axis-range/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-tickmarks/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-tickmarks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-tickmarks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-tickmarks/.codesandbox/tasks.json b/samples/charts/category-chart/axis-tickmarks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-tickmarks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-tickmarks/.stackblitzrc b/samples/charts/category-chart/axis-tickmarks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-tickmarks/.stackblitzrc +++ b/samples/charts/category-chart/axis-tickmarks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-tickmarks/angular.json b/samples/charts/category-chart/axis-tickmarks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-tickmarks/angular.json +++ b/samples/charts/category-chart/axis-tickmarks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-tickmarks/package.json b/samples/charts/category-chart/axis-tickmarks/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/axis-tickmarks/package.json +++ b/samples/charts/category-chart/axis-tickmarks/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-tickmarks/sandbox.config.json b/samples/charts/category-chart/axis-tickmarks/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-tickmarks/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-tickmarks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-tickmarks/tsconfig.app.json b/samples/charts/category-chart/axis-tickmarks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-tickmarks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-tickmarks/tsconfig.json b/samples/charts/category-chart/axis-tickmarks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-tickmarks/tsconfig.json +++ b/samples/charts/category-chart/axis-tickmarks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/axis-titles/.codesandbox/Dockerfile b/samples/charts/category-chart/axis-titles/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/axis-titles/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/axis-titles/.codesandbox/tasks.json b/samples/charts/category-chart/axis-titles/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/axis-titles/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-titles/.stackblitzrc b/samples/charts/category-chart/axis-titles/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/axis-titles/.stackblitzrc +++ b/samples/charts/category-chart/axis-titles/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-titles/angular.json b/samples/charts/category-chart/axis-titles/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/axis-titles/angular.json +++ b/samples/charts/category-chart/axis-titles/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/axis-titles/package.json b/samples/charts/category-chart/axis-titles/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/axis-titles/package.json +++ b/samples/charts/category-chart/axis-titles/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/axis-titles/sandbox.config.json b/samples/charts/category-chart/axis-titles/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/axis-titles/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/axis-titles/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/axis-titles/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/axis-titles/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/axis-titles/src/config/tsconfig.app.json b/samples/charts/category-chart/axis-titles/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/axis-titles/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/axis-titles/src/config/tsconfig.base.json b/samples/charts/category-chart/axis-titles/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/axis-titles/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/axis-titles/src/config/tsconfig.spec.json b/samples/charts/category-chart/axis-titles/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/axis-titles/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/axis-titles/src/config/tsconfig.worker.json b/samples/charts/category-chart/axis-titles/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/axis-titles/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/axis-titles/tsconfig.app.json b/samples/charts/category-chart/axis-titles/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/axis-titles/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/axis-titles/tsconfig.json b/samples/charts/category-chart/axis-titles/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/axis-titles/tsconfig.json +++ b/samples/charts/category-chart/axis-titles/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/chart-highlight-filter/.codesandbox/Dockerfile b/samples/charts/category-chart/chart-highlight-filter/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/chart-highlight-filter/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/chart-highlight-filter/.codesandbox/tasks.json b/samples/charts/category-chart/chart-highlight-filter/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/chart-highlight-filter/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/chart-highlight-filter/.stackblitzrc b/samples/charts/category-chart/chart-highlight-filter/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/chart-highlight-filter/.stackblitzrc +++ b/samples/charts/category-chart/chart-highlight-filter/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/chart-highlight-filter/angular.json b/samples/charts/category-chart/chart-highlight-filter/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/chart-highlight-filter/angular.json +++ b/samples/charts/category-chart/chart-highlight-filter/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/chart-highlight-filter/package.json b/samples/charts/category-chart/chart-highlight-filter/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/chart-highlight-filter/package.json +++ b/samples/charts/category-chart/chart-highlight-filter/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/chart-highlight-filter/sandbox.config.json b/samples/charts/category-chart/chart-highlight-filter/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/chart-highlight-filter/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.app.json b/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.base.json b/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.spec.json b/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.worker.json b/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/chart-highlight-filter/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/chart-highlight-filter/tsconfig.app.json b/samples/charts/category-chart/chart-highlight-filter/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/chart-highlight-filter/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/chart-highlight-filter/tsconfig.json b/samples/charts/category-chart/chart-highlight-filter/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/chart-highlight-filter/tsconfig.json +++ b/samples/charts/category-chart/chart-highlight-filter/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/column-chart-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/column-chart-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/column-chart-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/column-chart-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-multiple-sources/.stackblitzrc b/samples/charts/category-chart/column-chart-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/column-chart-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/column-chart-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-multiple-sources/angular.json b/samples/charts/category-chart/column-chart-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/column-chart-multiple-sources/angular.json +++ b/samples/charts/category-chart/column-chart-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/column-chart-multiple-sources/package.json b/samples/charts/category-chart/column-chart-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/column-chart-multiple-sources/package.json +++ b/samples/charts/category-chart/column-chart-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/column-chart-multiple-sources/sandbox.config.json b/samples/charts/category-chart/column-chart-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/column-chart-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/column-chart-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.json b/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/column-chart-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/column-chart-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/column-chart-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/column-chart-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/column-chart-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-single-source/.stackblitzrc b/samples/charts/category-chart/column-chart-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/column-chart-single-source/.stackblitzrc +++ b/samples/charts/category-chart/column-chart-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-single-source/angular.json b/samples/charts/category-chart/column-chart-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/column-chart-single-source/angular.json +++ b/samples/charts/category-chart/column-chart-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/column-chart-single-source/package.json b/samples/charts/category-chart/column-chart-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/column-chart-single-source/package.json +++ b/samples/charts/category-chart/column-chart-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/column-chart-single-source/sandbox.config.json b/samples/charts/category-chart/column-chart-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/column-chart-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/column-chart-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-single-source/tsconfig.app.json b/samples/charts/category-chart/column-chart-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/column-chart-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/column-chart-single-source/tsconfig.json b/samples/charts/category-chart/column-chart-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/column-chart-single-source/tsconfig.json +++ b/samples/charts/category-chart/column-chart-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/column-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/column-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-styling/.codesandbox/tasks.json b/samples/charts/category-chart/column-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/column-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-styling/.stackblitzrc b/samples/charts/category-chart/column-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/column-chart-styling/.stackblitzrc +++ b/samples/charts/category-chart/column-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-styling/angular.json b/samples/charts/category-chart/column-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/column-chart-styling/angular.json +++ b/samples/charts/category-chart/column-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/column-chart-styling/package.json b/samples/charts/category-chart/column-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/column-chart-styling/package.json +++ b/samples/charts/category-chart/column-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/column-chart-styling/sandbox.config.json b/samples/charts/category-chart/column-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/column-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/column-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/column-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-styling/tsconfig.app.json b/samples/charts/category-chart/column-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/column-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/column-chart-styling/tsconfig.json b/samples/charts/category-chart/column-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/column-chart-styling/tsconfig.json +++ b/samples/charts/category-chart/column-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-highlighting/.codesandbox/Dockerfile b/samples/charts/category-chart/column-chart-with-highlighting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/column-chart-with-highlighting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-highlighting/.codesandbox/tasks.json b/samples/charts/category-chart/column-chart-with-highlighting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/column-chart-with-highlighting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-highlighting/.stackblitzrc b/samples/charts/category-chart/column-chart-with-highlighting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/column-chart-with-highlighting/.stackblitzrc +++ b/samples/charts/category-chart/column-chart-with-highlighting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-highlighting/angular.json b/samples/charts/category-chart/column-chart-with-highlighting/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/column-chart-with-highlighting/angular.json +++ b/samples/charts/category-chart/column-chart-with-highlighting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/column-chart-with-highlighting/package.json b/samples/charts/category-chart/column-chart-with-highlighting/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/column-chart-with-highlighting/package.json +++ b/samples/charts/category-chart/column-chart-with-highlighting/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/column-chart-with-highlighting/sandbox.config.json b/samples/charts/category-chart/column-chart-with-highlighting/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/column-chart-with-highlighting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.app.json b/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.base.json b/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.spec.json b/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.worker.json b/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/column-chart-with-highlighting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.app.json b/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.json b/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.json +++ b/samples/charts/category-chart/column-chart-with-highlighting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-tooltips/.codesandbox/Dockerfile b/samples/charts/category-chart/column-chart-with-tooltips/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/column-chart-with-tooltips/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-tooltips/.codesandbox/tasks.json b/samples/charts/category-chart/column-chart-with-tooltips/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/column-chart-with-tooltips/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-tooltips/.stackblitzrc b/samples/charts/category-chart/column-chart-with-tooltips/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/column-chart-with-tooltips/.stackblitzrc +++ b/samples/charts/category-chart/column-chart-with-tooltips/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-tooltips/angular.json b/samples/charts/category-chart/column-chart-with-tooltips/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/column-chart-with-tooltips/angular.json +++ b/samples/charts/category-chart/column-chart-with-tooltips/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/column-chart-with-tooltips/package.json b/samples/charts/category-chart/column-chart-with-tooltips/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/column-chart-with-tooltips/package.json +++ b/samples/charts/category-chart/column-chart-with-tooltips/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/column-chart-with-tooltips/sandbox.config.json b/samples/charts/category-chart/column-chart-with-tooltips/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/column-chart-with-tooltips/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.app.json b/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.base.json b/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.spec.json b/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.worker.json b/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/column-chart-with-tooltips/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.app.json b/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.json b/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.json +++ b/samples/charts/category-chart/column-chart-with-tooltips/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/custom-selection/.codesandbox/Dockerfile b/samples/charts/category-chart/custom-selection/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/custom-selection/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/custom-selection/.codesandbox/tasks.json b/samples/charts/category-chart/custom-selection/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/custom-selection/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/custom-selection/.stackblitzrc b/samples/charts/category-chart/custom-selection/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/custom-selection/.stackblitzrc +++ b/samples/charts/category-chart/custom-selection/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/custom-selection/angular.json b/samples/charts/category-chart/custom-selection/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/custom-selection/angular.json +++ b/samples/charts/category-chart/custom-selection/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/custom-selection/package.json b/samples/charts/category-chart/custom-selection/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/custom-selection/package.json +++ b/samples/charts/category-chart/custom-selection/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/custom-selection/sandbox.config.json b/samples/charts/category-chart/custom-selection/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/custom-selection/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/custom-selection/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/custom-selection/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/custom-selection/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/custom-selection/src/config/tsconfig.app.json b/samples/charts/category-chart/custom-selection/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/custom-selection/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/custom-selection/src/config/tsconfig.base.json b/samples/charts/category-chart/custom-selection/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/custom-selection/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/custom-selection/src/config/tsconfig.spec.json b/samples/charts/category-chart/custom-selection/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/custom-selection/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/custom-selection/src/config/tsconfig.worker.json b/samples/charts/category-chart/custom-selection/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/custom-selection/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/custom-selection/tsconfig.app.json b/samples/charts/category-chart/custom-selection/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/custom-selection/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/custom-selection/tsconfig.json b/samples/charts/category-chart/custom-selection/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/custom-selection/tsconfig.json +++ b/samples/charts/category-chart/custom-selection/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-aggregations/.codesandbox/Dockerfile b/samples/charts/category-chart/data-aggregations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-aggregations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-aggregations/.codesandbox/tasks.json b/samples/charts/category-chart/data-aggregations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-aggregations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-aggregations/.stackblitzrc b/samples/charts/category-chart/data-aggregations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-aggregations/.stackblitzrc +++ b/samples/charts/category-chart/data-aggregations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-aggregations/angular.json b/samples/charts/category-chart/data-aggregations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-aggregations/angular.json +++ b/samples/charts/category-chart/data-aggregations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-aggregations/package.json b/samples/charts/category-chart/data-aggregations/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/data-aggregations/package.json +++ b/samples/charts/category-chart/data-aggregations/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-aggregations/sandbox.config.json b/samples/charts/category-chart/data-aggregations/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-aggregations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-aggregations/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-aggregations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-aggregations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.app.json b/samples/charts/category-chart/data-aggregations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.base.json b/samples/charts/category-chart/data-aggregations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-aggregations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-aggregations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-aggregations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-aggregations/tsconfig.app.json b/samples/charts/category-chart/data-aggregations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-aggregations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-aggregations/tsconfig.json b/samples/charts/category-chart/data-aggregations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-aggregations/tsconfig.json +++ b/samples/charts/category-chart/data-aggregations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-filter/.codesandbox/Dockerfile b/samples/charts/category-chart/data-filter/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-filter/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-filter/.codesandbox/tasks.json b/samples/charts/category-chart/data-filter/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-filter/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-filter/.stackblitzrc b/samples/charts/category-chart/data-filter/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-filter/.stackblitzrc +++ b/samples/charts/category-chart/data-filter/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-filter/angular.json b/samples/charts/category-chart/data-filter/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-filter/angular.json +++ b/samples/charts/category-chart/data-filter/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-filter/package.json b/samples/charts/category-chart/data-filter/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/data-filter/package.json +++ b/samples/charts/category-chart/data-filter/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-filter/sandbox.config.json b/samples/charts/category-chart/data-filter/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-filter/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-filter/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-filter/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-filter/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-filter/src/config/tsconfig.app.json b/samples/charts/category-chart/data-filter/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-filter/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-filter/src/config/tsconfig.base.json b/samples/charts/category-chart/data-filter/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-filter/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-filter/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-filter/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-filter/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-filter/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-filter/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-filter/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-filter/tsconfig.app.json b/samples/charts/category-chart/data-filter/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-filter/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-filter/tsconfig.json b/samples/charts/category-chart/data-filter/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-filter/tsconfig.json +++ b/samples/charts/category-chart/data-filter/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/.codesandbox/Dockerfile b/samples/charts/category-chart/data-legend-formatting-decimals/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-legend-formatting-decimals/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/.codesandbox/tasks.json b/samples/charts/category-chart/data-legend-formatting-decimals/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-legend-formatting-decimals/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/.stackblitzrc b/samples/charts/category-chart/data-legend-formatting-decimals/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-legend-formatting-decimals/.stackblitzrc +++ b/samples/charts/category-chart/data-legend-formatting-decimals/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/angular.json b/samples/charts/category-chart/data-legend-formatting-decimals/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-legend-formatting-decimals/angular.json +++ b/samples/charts/category-chart/data-legend-formatting-decimals/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/package.json b/samples/charts/category-chart/data-legend-formatting-decimals/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/data-legend-formatting-decimals/package.json +++ b/samples/charts/category-chart/data-legend-formatting-decimals/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/sandbox.config.json b/samples/charts/category-chart/data-legend-formatting-decimals/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-legend-formatting-decimals/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.app.json b/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.base.json b/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-legend-formatting-decimals/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.app.json b/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.json b/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.json +++ b/samples/charts/category-chart/data-legend-formatting-decimals/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend/.codesandbox/Dockerfile b/samples/charts/category-chart/data-legend/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-legend/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend/.codesandbox/tasks.json b/samples/charts/category-chart/data-legend/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-legend/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend/.stackblitzrc b/samples/charts/category-chart/data-legend/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-legend/.stackblitzrc +++ b/samples/charts/category-chart/data-legend/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend/angular.json b/samples/charts/category-chart/data-legend/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-legend/angular.json +++ b/samples/charts/category-chart/data-legend/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-legend/package.json b/samples/charts/category-chart/data-legend/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/data-legend/package.json +++ b/samples/charts/category-chart/data-legend/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-legend/sandbox.config.json b/samples/charts/category-chart/data-legend/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-legend/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-legend/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-legend/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-legend/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-legend/src/config/tsconfig.app.json b/samples/charts/category-chart/data-legend/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-legend/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-legend/src/config/tsconfig.base.json b/samples/charts/category-chart/data-legend/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-legend/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-legend/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-legend/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-legend/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-legend/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-legend/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-legend/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-legend/tsconfig.app.json b/samples/charts/category-chart/data-legend/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-legend/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-legend/tsconfig.json b/samples/charts/category-chart/data-legend/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-legend/tsconfig.json +++ b/samples/charts/category-chart/data-legend/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/.codesandbox/Dockerfile b/samples/charts/category-chart/data-tooltip-formatting-decimals/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/.codesandbox/tasks.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/.stackblitzrc b/samples/charts/category-chart/data-tooltip-formatting-decimals/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/.stackblitzrc +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/angular.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/angular.json +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/package.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/package.json +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/sandbox.config.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.app.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.base.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.app.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.json b/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.json +++ b/samples/charts/category-chart/data-tooltip-formatting-decimals/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-positioning/.codesandbox/Dockerfile b/samples/charts/category-chart/data-tooltip-positioning/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-tooltip-positioning/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-positioning/.codesandbox/tasks.json b/samples/charts/category-chart/data-tooltip-positioning/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-tooltip-positioning/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-positioning/.stackblitzrc b/samples/charts/category-chart/data-tooltip-positioning/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-tooltip-positioning/.stackblitzrc +++ b/samples/charts/category-chart/data-tooltip-positioning/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-positioning/angular.json b/samples/charts/category-chart/data-tooltip-positioning/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-tooltip-positioning/angular.json +++ b/samples/charts/category-chart/data-tooltip-positioning/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-tooltip-positioning/package.json b/samples/charts/category-chart/data-tooltip-positioning/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/data-tooltip-positioning/package.json +++ b/samples/charts/category-chart/data-tooltip-positioning/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-tooltip-positioning/sandbox.config.json b/samples/charts/category-chart/data-tooltip-positioning/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-tooltip-positioning/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.app.json b/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.base.json b/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-tooltip-positioning/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip-positioning/tsconfig.app.json b/samples/charts/category-chart/data-tooltip-positioning/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-tooltip-positioning/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-tooltip-positioning/tsconfig.json b/samples/charts/category-chart/data-tooltip-positioning/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-tooltip-positioning/tsconfig.json +++ b/samples/charts/category-chart/data-tooltip-positioning/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip/.codesandbox/Dockerfile b/samples/charts/category-chart/data-tooltip/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/data-tooltip/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip/.codesandbox/tasks.json b/samples/charts/category-chart/data-tooltip/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/data-tooltip/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip/.stackblitzrc b/samples/charts/category-chart/data-tooltip/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/data-tooltip/.stackblitzrc +++ b/samples/charts/category-chart/data-tooltip/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip/angular.json b/samples/charts/category-chart/data-tooltip/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/data-tooltip/angular.json +++ b/samples/charts/category-chart/data-tooltip/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/data-tooltip/package.json b/samples/charts/category-chart/data-tooltip/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/data-tooltip/package.json +++ b/samples/charts/category-chart/data-tooltip/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/data-tooltip/sandbox.config.json b/samples/charts/category-chart/data-tooltip/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/data-tooltip/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/data-tooltip/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/data-tooltip/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/data-tooltip/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.app.json b/samples/charts/category-chart/data-tooltip/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.base.json b/samples/charts/category-chart/data-tooltip/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.spec.json b/samples/charts/category-chart/data-tooltip/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.worker.json b/samples/charts/category-chart/data-tooltip/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/data-tooltip/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/data-tooltip/tsconfig.app.json b/samples/charts/category-chart/data-tooltip/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/data-tooltip/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/data-tooltip/tsconfig.json b/samples/charts/category-chart/data-tooltip/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/data-tooltip/tsconfig.json +++ b/samples/charts/category-chart/data-tooltip/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/format-specifiers/.codesandbox/Dockerfile b/samples/charts/category-chart/format-specifiers/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/format-specifiers/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/format-specifiers/.codesandbox/tasks.json b/samples/charts/category-chart/format-specifiers/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/format-specifiers/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/format-specifiers/.stackblitzrc b/samples/charts/category-chart/format-specifiers/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/format-specifiers/.stackblitzrc +++ b/samples/charts/category-chart/format-specifiers/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/format-specifiers/angular.json b/samples/charts/category-chart/format-specifiers/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/format-specifiers/angular.json +++ b/samples/charts/category-chart/format-specifiers/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/format-specifiers/package.json b/samples/charts/category-chart/format-specifiers/package.json index 35b77cb25..b18743c2c 100644 --- a/samples/charts/category-chart/format-specifiers/package.json +++ b/samples/charts/category-chart/format-specifiers/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/format-specifiers/sandbox.config.json b/samples/charts/category-chart/format-specifiers/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/format-specifiers/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/format-specifiers/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/format-specifiers/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/format-specifiers/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.app.json b/samples/charts/category-chart/format-specifiers/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.base.json b/samples/charts/category-chart/format-specifiers/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.spec.json b/samples/charts/category-chart/format-specifiers/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.worker.json b/samples/charts/category-chart/format-specifiers/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/format-specifiers/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/format-specifiers/tsconfig.app.json b/samples/charts/category-chart/format-specifiers/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/format-specifiers/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/format-specifiers/tsconfig.json b/samples/charts/category-chart/format-specifiers/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/format-specifiers/tsconfig.json +++ b/samples/charts/category-chart/format-specifiers/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/high-frequency/.codesandbox/Dockerfile b/samples/charts/category-chart/high-frequency/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/high-frequency/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/high-frequency/.codesandbox/tasks.json b/samples/charts/category-chart/high-frequency/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/high-frequency/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/high-frequency/.stackblitzrc b/samples/charts/category-chart/high-frequency/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/high-frequency/.stackblitzrc +++ b/samples/charts/category-chart/high-frequency/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/high-frequency/angular.json b/samples/charts/category-chart/high-frequency/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/high-frequency/angular.json +++ b/samples/charts/category-chart/high-frequency/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/high-frequency/package.json b/samples/charts/category-chart/high-frequency/package.json index d46b4d159..455da6795 100644 --- a/samples/charts/category-chart/high-frequency/package.json +++ b/samples/charts/category-chart/high-frequency/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/high-frequency/sandbox.config.json b/samples/charts/category-chart/high-frequency/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/high-frequency/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/high-frequency/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/high-frequency/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/high-frequency/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/high-frequency/src/config/tsconfig.app.json b/samples/charts/category-chart/high-frequency/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/high-frequency/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/high-frequency/src/config/tsconfig.base.json b/samples/charts/category-chart/high-frequency/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/high-frequency/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/high-frequency/src/config/tsconfig.spec.json b/samples/charts/category-chart/high-frequency/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/high-frequency/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/high-frequency/src/config/tsconfig.worker.json b/samples/charts/category-chart/high-frequency/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/high-frequency/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/high-frequency/tsconfig.app.json b/samples/charts/category-chart/high-frequency/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/high-frequency/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/high-frequency/tsconfig.json b/samples/charts/category-chart/high-frequency/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/high-frequency/tsconfig.json +++ b/samples/charts/category-chart/high-frequency/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/high-volume/.codesandbox/Dockerfile b/samples/charts/category-chart/high-volume/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/high-volume/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/high-volume/.codesandbox/tasks.json b/samples/charts/category-chart/high-volume/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/high-volume/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/high-volume/.stackblitzrc b/samples/charts/category-chart/high-volume/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/high-volume/.stackblitzrc +++ b/samples/charts/category-chart/high-volume/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/high-volume/angular.json b/samples/charts/category-chart/high-volume/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/high-volume/angular.json +++ b/samples/charts/category-chart/high-volume/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/high-volume/package.json b/samples/charts/category-chart/high-volume/package.json index d46b4d159..455da6795 100644 --- a/samples/charts/category-chart/high-volume/package.json +++ b/samples/charts/category-chart/high-volume/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/high-volume/sandbox.config.json b/samples/charts/category-chart/high-volume/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/high-volume/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/high-volume/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/high-volume/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/high-volume/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/high-volume/src/config/tsconfig.app.json b/samples/charts/category-chart/high-volume/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/high-volume/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/high-volume/src/config/tsconfig.base.json b/samples/charts/category-chart/high-volume/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/high-volume/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/high-volume/src/config/tsconfig.spec.json b/samples/charts/category-chart/high-volume/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/high-volume/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/high-volume/src/config/tsconfig.worker.json b/samples/charts/category-chart/high-volume/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/high-volume/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/high-volume/tsconfig.app.json b/samples/charts/category-chart/high-volume/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/high-volume/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/high-volume/tsconfig.json b/samples/charts/category-chart/high-volume/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/high-volume/tsconfig.json +++ b/samples/charts/category-chart/high-volume/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-behavior/.codesandbox/Dockerfile b/samples/charts/category-chart/highlighting-behavior/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/highlighting-behavior/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-behavior/.codesandbox/tasks.json b/samples/charts/category-chart/highlighting-behavior/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/highlighting-behavior/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-behavior/.stackblitzrc b/samples/charts/category-chart/highlighting-behavior/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/highlighting-behavior/.stackblitzrc +++ b/samples/charts/category-chart/highlighting-behavior/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-behavior/angular.json b/samples/charts/category-chart/highlighting-behavior/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/highlighting-behavior/angular.json +++ b/samples/charts/category-chart/highlighting-behavior/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/highlighting-behavior/package.json b/samples/charts/category-chart/highlighting-behavior/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/highlighting-behavior/package.json +++ b/samples/charts/category-chart/highlighting-behavior/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/highlighting-behavior/sandbox.config.json b/samples/charts/category-chart/highlighting-behavior/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/highlighting-behavior/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.app.json b/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.base.json b/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.spec.json b/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.worker.json b/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/highlighting-behavior/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting-behavior/tsconfig.app.json b/samples/charts/category-chart/highlighting-behavior/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/highlighting-behavior/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/highlighting-behavior/tsconfig.json b/samples/charts/category-chart/highlighting-behavior/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/highlighting-behavior/tsconfig.json +++ b/samples/charts/category-chart/highlighting-behavior/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-mode/.codesandbox/Dockerfile b/samples/charts/category-chart/highlighting-mode/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/highlighting-mode/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-mode/.codesandbox/tasks.json b/samples/charts/category-chart/highlighting-mode/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/highlighting-mode/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-mode/.stackblitzrc b/samples/charts/category-chart/highlighting-mode/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/highlighting-mode/.stackblitzrc +++ b/samples/charts/category-chart/highlighting-mode/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-mode/angular.json b/samples/charts/category-chart/highlighting-mode/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/highlighting-mode/angular.json +++ b/samples/charts/category-chart/highlighting-mode/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/highlighting-mode/package.json b/samples/charts/category-chart/highlighting-mode/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/highlighting-mode/package.json +++ b/samples/charts/category-chart/highlighting-mode/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/highlighting-mode/sandbox.config.json b/samples/charts/category-chart/highlighting-mode/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/highlighting-mode/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/highlighting-mode/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.app.json b/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.base.json b/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.spec.json b/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.worker.json b/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/highlighting-mode/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting-mode/tsconfig.app.json b/samples/charts/category-chart/highlighting-mode/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/highlighting-mode/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/highlighting-mode/tsconfig.json b/samples/charts/category-chart/highlighting-mode/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/highlighting-mode/tsconfig.json +++ b/samples/charts/category-chart/highlighting-mode/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting/.codesandbox/Dockerfile b/samples/charts/category-chart/highlighting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/highlighting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting/.codesandbox/tasks.json b/samples/charts/category-chart/highlighting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/highlighting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting/.stackblitzrc b/samples/charts/category-chart/highlighting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/highlighting/.stackblitzrc +++ b/samples/charts/category-chart/highlighting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting/angular.json b/samples/charts/category-chart/highlighting/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/highlighting/angular.json +++ b/samples/charts/category-chart/highlighting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/highlighting/package.json b/samples/charts/category-chart/highlighting/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/highlighting/package.json +++ b/samples/charts/category-chart/highlighting/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/highlighting/sandbox.config.json b/samples/charts/category-chart/highlighting/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/highlighting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/highlighting/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/highlighting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/highlighting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/highlighting/src/config/tsconfig.app.json b/samples/charts/category-chart/highlighting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/highlighting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting/src/config/tsconfig.base.json b/samples/charts/category-chart/highlighting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/highlighting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/highlighting/src/config/tsconfig.spec.json b/samples/charts/category-chart/highlighting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/highlighting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting/src/config/tsconfig.worker.json b/samples/charts/category-chart/highlighting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/highlighting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/highlighting/tsconfig.app.json b/samples/charts/category-chart/highlighting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/highlighting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/highlighting/tsconfig.json b/samples/charts/category-chart/highlighting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/highlighting/tsconfig.json +++ b/samples/charts/category-chart/highlighting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/legend-highlighting/.codesandbox/Dockerfile b/samples/charts/category-chart/legend-highlighting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/legend-highlighting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/legend-highlighting/.codesandbox/tasks.json b/samples/charts/category-chart/legend-highlighting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/legend-highlighting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/legend-highlighting/.stackblitzrc b/samples/charts/category-chart/legend-highlighting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/legend-highlighting/.stackblitzrc +++ b/samples/charts/category-chart/legend-highlighting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/legend-highlighting/angular.json b/samples/charts/category-chart/legend-highlighting/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/legend-highlighting/angular.json +++ b/samples/charts/category-chart/legend-highlighting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/legend-highlighting/package.json b/samples/charts/category-chart/legend-highlighting/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/legend-highlighting/package.json +++ b/samples/charts/category-chart/legend-highlighting/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/legend-highlighting/sandbox.config.json b/samples/charts/category-chart/legend-highlighting/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/legend-highlighting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/legend-highlighting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.app.json b/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.base.json b/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.spec.json b/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.worker.json b/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/legend-highlighting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/legend-highlighting/tsconfig.app.json b/samples/charts/category-chart/legend-highlighting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/legend-highlighting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/legend-highlighting/tsconfig.json b/samples/charts/category-chart/legend-highlighting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/legend-highlighting/tsconfig.json +++ b/samples/charts/category-chart/legend-highlighting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/line-chart-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/line-chart-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/line-chart-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/line-chart-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-multiple-sources/.stackblitzrc b/samples/charts/category-chart/line-chart-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/line-chart-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/line-chart-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-multiple-sources/angular.json b/samples/charts/category-chart/line-chart-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/line-chart-multiple-sources/angular.json +++ b/samples/charts/category-chart/line-chart-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/line-chart-multiple-sources/package.json b/samples/charts/category-chart/line-chart-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/line-chart-multiple-sources/package.json +++ b/samples/charts/category-chart/line-chart-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/line-chart-multiple-sources/sandbox.config.json b/samples/charts/category-chart/line-chart-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/line-chart-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/line-chart-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.json b/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/line-chart-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/line-chart-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/line-chart-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/line-chart-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/line-chart-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-single-source/.stackblitzrc b/samples/charts/category-chart/line-chart-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/line-chart-single-source/.stackblitzrc +++ b/samples/charts/category-chart/line-chart-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-single-source/angular.json b/samples/charts/category-chart/line-chart-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/line-chart-single-source/angular.json +++ b/samples/charts/category-chart/line-chart-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/line-chart-single-source/package.json b/samples/charts/category-chart/line-chart-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/line-chart-single-source/package.json +++ b/samples/charts/category-chart/line-chart-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/line-chart-single-source/sandbox.config.json b/samples/charts/category-chart/line-chart-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/line-chart-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/line-chart-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-single-source/tsconfig.app.json b/samples/charts/category-chart/line-chart-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/line-chart-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/line-chart-single-source/tsconfig.json b/samples/charts/category-chart/line-chart-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/line-chart-single-source/tsconfig.json +++ b/samples/charts/category-chart/line-chart-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/line-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/line-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-styling/.codesandbox/tasks.json b/samples/charts/category-chart/line-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/line-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-styling/.stackblitzrc b/samples/charts/category-chart/line-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/line-chart-styling/.stackblitzrc +++ b/samples/charts/category-chart/line-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-styling/angular.json b/samples/charts/category-chart/line-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/line-chart-styling/angular.json +++ b/samples/charts/category-chart/line-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/line-chart-styling/package.json b/samples/charts/category-chart/line-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/line-chart-styling/package.json +++ b/samples/charts/category-chart/line-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/line-chart-styling/sandbox.config.json b/samples/charts/category-chart/line-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/line-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/line-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/line-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-styling/tsconfig.app.json b/samples/charts/category-chart/line-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/line-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/line-chart-styling/tsconfig.json b/samples/charts/category-chart/line-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/line-chart-styling/tsconfig.json +++ b/samples/charts/category-chart/line-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-animations/.codesandbox/Dockerfile b/samples/charts/category-chart/line-chart-with-animations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-animations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-animations/.codesandbox/tasks.json b/samples/charts/category-chart/line-chart-with-animations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-animations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-animations/.stackblitzrc b/samples/charts/category-chart/line-chart-with-animations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/line-chart-with-animations/.stackblitzrc +++ b/samples/charts/category-chart/line-chart-with-animations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-animations/angular.json b/samples/charts/category-chart/line-chart-with-animations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/line-chart-with-animations/angular.json +++ b/samples/charts/category-chart/line-chart-with-animations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/line-chart-with-animations/package.json b/samples/charts/category-chart/line-chart-with-animations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/line-chart-with-animations/package.json +++ b/samples/charts/category-chart/line-chart-with-animations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/line-chart-with-animations/sandbox.config.json b/samples/charts/category-chart/line-chart-with-animations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/line-chart-with-animations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.app.json b/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.base.json b/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.spec.json b/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.worker.json b/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/line-chart-with-animations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-animations/tsconfig.app.json b/samples/charts/category-chart/line-chart-with-animations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-animations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/line-chart-with-animations/tsconfig.json b/samples/charts/category-chart/line-chart-with-animations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/line-chart-with-animations/tsconfig.json +++ b/samples/charts/category-chart/line-chart-with-animations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-annotations/.codesandbox/Dockerfile b/samples/charts/category-chart/line-chart-with-annotations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-annotations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-annotations/.codesandbox/tasks.json b/samples/charts/category-chart/line-chart-with-annotations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-annotations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-annotations/.stackblitzrc b/samples/charts/category-chart/line-chart-with-annotations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/line-chart-with-annotations/.stackblitzrc +++ b/samples/charts/category-chart/line-chart-with-annotations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-annotations/angular.json b/samples/charts/category-chart/line-chart-with-annotations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/line-chart-with-annotations/angular.json +++ b/samples/charts/category-chart/line-chart-with-annotations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/line-chart-with-annotations/package.json b/samples/charts/category-chart/line-chart-with-annotations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/line-chart-with-annotations/package.json +++ b/samples/charts/category-chart/line-chart-with-annotations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/line-chart-with-annotations/sandbox.config.json b/samples/charts/category-chart/line-chart-with-annotations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/line-chart-with-annotations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.app.json b/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.base.json b/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.spec.json b/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.worker.json b/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/line-chart-with-annotations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-annotations/tsconfig.app.json b/samples/charts/category-chart/line-chart-with-annotations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-annotations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/line-chart-with-annotations/tsconfig.json b/samples/charts/category-chart/line-chart-with-annotations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/line-chart-with-annotations/tsconfig.json +++ b/samples/charts/category-chart/line-chart-with-annotations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-legend/.codesandbox/Dockerfile b/samples/charts/category-chart/line-chart-with-legend/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-legend/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-legend/.codesandbox/tasks.json b/samples/charts/category-chart/line-chart-with-legend/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-legend/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-legend/.stackblitzrc b/samples/charts/category-chart/line-chart-with-legend/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/line-chart-with-legend/.stackblitzrc +++ b/samples/charts/category-chart/line-chart-with-legend/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-legend/angular.json b/samples/charts/category-chart/line-chart-with-legend/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/line-chart-with-legend/angular.json +++ b/samples/charts/category-chart/line-chart-with-legend/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/line-chart-with-legend/package.json b/samples/charts/category-chart/line-chart-with-legend/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/line-chart-with-legend/package.json +++ b/samples/charts/category-chart/line-chart-with-legend/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/line-chart-with-legend/sandbox.config.json b/samples/charts/category-chart/line-chart-with-legend/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/line-chart-with-legend/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.app.json b/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.base.json b/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.spec.json b/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.worker.json b/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/line-chart-with-legend/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/line-chart-with-legend/tsconfig.app.json b/samples/charts/category-chart/line-chart-with-legend/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/line-chart-with-legend/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/line-chart-with-legend/tsconfig.json b/samples/charts/category-chart/line-chart-with-legend/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/line-chart-with-legend/tsconfig.json +++ b/samples/charts/category-chart/line-chart-with-legend/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/marker-options/.codesandbox/Dockerfile b/samples/charts/category-chart/marker-options/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/marker-options/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/marker-options/.codesandbox/tasks.json b/samples/charts/category-chart/marker-options/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/marker-options/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/marker-options/.stackblitzrc b/samples/charts/category-chart/marker-options/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/marker-options/.stackblitzrc +++ b/samples/charts/category-chart/marker-options/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/marker-options/angular.json b/samples/charts/category-chart/marker-options/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/marker-options/angular.json +++ b/samples/charts/category-chart/marker-options/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/marker-options/package.json b/samples/charts/category-chart/marker-options/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/marker-options/package.json +++ b/samples/charts/category-chart/marker-options/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/marker-options/sandbox.config.json b/samples/charts/category-chart/marker-options/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/marker-options/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/marker-options/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/marker-options/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/marker-options/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/marker-options/src/config/tsconfig.app.json b/samples/charts/category-chart/marker-options/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/marker-options/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/marker-options/src/config/tsconfig.base.json b/samples/charts/category-chart/marker-options/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/marker-options/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/marker-options/src/config/tsconfig.spec.json b/samples/charts/category-chart/marker-options/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/marker-options/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/marker-options/src/config/tsconfig.worker.json b/samples/charts/category-chart/marker-options/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/marker-options/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/marker-options/tsconfig.app.json b/samples/charts/category-chart/marker-options/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/marker-options/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/marker-options/tsconfig.json b/samples/charts/category-chart/marker-options/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/marker-options/tsconfig.json +++ b/samples/charts/category-chart/marker-options/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/marker-templates/.codesandbox/Dockerfile b/samples/charts/category-chart/marker-templates/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/marker-templates/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/marker-templates/.codesandbox/tasks.json b/samples/charts/category-chart/marker-templates/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/marker-templates/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/marker-templates/.stackblitzrc b/samples/charts/category-chart/marker-templates/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/marker-templates/.stackblitzrc +++ b/samples/charts/category-chart/marker-templates/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/marker-templates/angular.json b/samples/charts/category-chart/marker-templates/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/marker-templates/angular.json +++ b/samples/charts/category-chart/marker-templates/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/marker-templates/package.json b/samples/charts/category-chart/marker-templates/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/marker-templates/package.json +++ b/samples/charts/category-chart/marker-templates/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/marker-templates/sandbox.config.json b/samples/charts/category-chart/marker-templates/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/marker-templates/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/marker-templates/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/marker-templates/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/marker-templates/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/marker-templates/src/config/tsconfig.app.json b/samples/charts/category-chart/marker-templates/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/marker-templates/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/marker-templates/src/config/tsconfig.base.json b/samples/charts/category-chart/marker-templates/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/marker-templates/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/marker-templates/src/config/tsconfig.spec.json b/samples/charts/category-chart/marker-templates/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/marker-templates/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/marker-templates/src/config/tsconfig.worker.json b/samples/charts/category-chart/marker-templates/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/marker-templates/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/marker-templates/tsconfig.app.json b/samples/charts/category-chart/marker-templates/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/marker-templates/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/marker-templates/tsconfig.json b/samples/charts/category-chart/marker-templates/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/marker-templates/tsconfig.json +++ b/samples/charts/category-chart/marker-templates/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/overview/.codesandbox/Dockerfile b/samples/charts/category-chart/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/overview/.codesandbox/tasks.json b/samples/charts/category-chart/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/overview/.stackblitzrc b/samples/charts/category-chart/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/overview/.stackblitzrc +++ b/samples/charts/category-chart/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/overview/angular.json b/samples/charts/category-chart/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/overview/angular.json +++ b/samples/charts/category-chart/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/overview/package.json b/samples/charts/category-chart/overview/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/overview/package.json +++ b/samples/charts/category-chart/overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/overview/sandbox.config.json b/samples/charts/category-chart/overview/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/overview/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/overview/src/config/tsconfig.app.json b/samples/charts/category-chart/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/overview/src/config/tsconfig.base.json b/samples/charts/category-chart/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/overview/src/config/tsconfig.spec.json b/samples/charts/category-chart/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/overview/src/config/tsconfig.worker.json b/samples/charts/category-chart/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/overview/tsconfig.app.json b/samples/charts/category-chart/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/overview/tsconfig.json b/samples/charts/category-chart/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/overview/tsconfig.json +++ b/samples/charts/category-chart/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/point-chart-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/point-chart-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/point-chart-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/point-chart-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-multiple-sources/.stackblitzrc b/samples/charts/category-chart/point-chart-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/point-chart-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/point-chart-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-multiple-sources/angular.json b/samples/charts/category-chart/point-chart-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/point-chart-multiple-sources/angular.json +++ b/samples/charts/category-chart/point-chart-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/point-chart-multiple-sources/package.json b/samples/charts/category-chart/point-chart-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/point-chart-multiple-sources/package.json +++ b/samples/charts/category-chart/point-chart-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/point-chart-multiple-sources/sandbox.config.json b/samples/charts/category-chart/point-chart-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/point-chart-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/point-chart-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.json b/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/point-chart-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/point-chart-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/point-chart-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/point-chart-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/point-chart-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-single-source/.stackblitzrc b/samples/charts/category-chart/point-chart-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/point-chart-single-source/.stackblitzrc +++ b/samples/charts/category-chart/point-chart-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-single-source/angular.json b/samples/charts/category-chart/point-chart-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/point-chart-single-source/angular.json +++ b/samples/charts/category-chart/point-chart-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/point-chart-single-source/package.json b/samples/charts/category-chart/point-chart-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/point-chart-single-source/package.json +++ b/samples/charts/category-chart/point-chart-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/point-chart-single-source/sandbox.config.json b/samples/charts/category-chart/point-chart-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/point-chart-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/point-chart-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-single-source/tsconfig.app.json b/samples/charts/category-chart/point-chart-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/point-chart-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/point-chart-single-source/tsconfig.json b/samples/charts/category-chart/point-chart-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/point-chart-single-source/tsconfig.json +++ b/samples/charts/category-chart/point-chart-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/point-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/point-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-styling/.codesandbox/tasks.json b/samples/charts/category-chart/point-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/point-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-styling/.stackblitzrc b/samples/charts/category-chart/point-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/point-chart-styling/.stackblitzrc +++ b/samples/charts/category-chart/point-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-styling/angular.json b/samples/charts/category-chart/point-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/point-chart-styling/angular.json +++ b/samples/charts/category-chart/point-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/point-chart-styling/package.json b/samples/charts/category-chart/point-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/point-chart-styling/package.json +++ b/samples/charts/category-chart/point-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/point-chart-styling/sandbox.config.json b/samples/charts/category-chart/point-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/point-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/point-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/point-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/point-chart-styling/tsconfig.app.json b/samples/charts/category-chart/point-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/point-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/point-chart-styling/tsconfig.json b/samples/charts/category-chart/point-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/point-chart-styling/tsconfig.json +++ b/samples/charts/category-chart/point-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/spline-area-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/spline-area-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/spline-area-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/spline-area-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-multiple-sources/.stackblitzrc b/samples/charts/category-chart/spline-area-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/spline-area-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/spline-area-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-multiple-sources/angular.json b/samples/charts/category-chart/spline-area-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/spline-area-multiple-sources/angular.json +++ b/samples/charts/category-chart/spline-area-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/spline-area-multiple-sources/package.json b/samples/charts/category-chart/spline-area-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/spline-area-multiple-sources/package.json +++ b/samples/charts/category-chart/spline-area-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/spline-area-multiple-sources/sandbox.config.json b/samples/charts/category-chart/spline-area-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/spline-area-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/spline-area-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.json b/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/spline-area-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/spline-area-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/spline-area-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/spline-area-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/spline-area-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-single-source/.stackblitzrc b/samples/charts/category-chart/spline-area-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/spline-area-single-source/.stackblitzrc +++ b/samples/charts/category-chart/spline-area-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-single-source/angular.json b/samples/charts/category-chart/spline-area-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/spline-area-single-source/angular.json +++ b/samples/charts/category-chart/spline-area-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/spline-area-single-source/package.json b/samples/charts/category-chart/spline-area-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/spline-area-single-source/package.json +++ b/samples/charts/category-chart/spline-area-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/spline-area-single-source/sandbox.config.json b/samples/charts/category-chart/spline-area-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/spline-area-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/spline-area-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-single-source/tsconfig.app.json b/samples/charts/category-chart/spline-area-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/spline-area-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/spline-area-single-source/tsconfig.json b/samples/charts/category-chart/spline-area-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/spline-area-single-source/tsconfig.json +++ b/samples/charts/category-chart/spline-area-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/spline-area-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/spline-area-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-styling/.codesandbox/tasks.json b/samples/charts/category-chart/spline-area-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/spline-area-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-styling/.stackblitzrc b/samples/charts/category-chart/spline-area-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/spline-area-styling/.stackblitzrc +++ b/samples/charts/category-chart/spline-area-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-styling/angular.json b/samples/charts/category-chart/spline-area-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/spline-area-styling/angular.json +++ b/samples/charts/category-chart/spline-area-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/spline-area-styling/package.json b/samples/charts/category-chart/spline-area-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/spline-area-styling/package.json +++ b/samples/charts/category-chart/spline-area-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/spline-area-styling/sandbox.config.json b/samples/charts/category-chart/spline-area-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/spline-area-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/spline-area-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/spline-area-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/spline-area-styling/tsconfig.app.json b/samples/charts/category-chart/spline-area-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/spline-area-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/spline-area-styling/tsconfig.json b/samples/charts/category-chart/spline-area-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/spline-area-styling/tsconfig.json +++ b/samples/charts/category-chart/spline-area-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/spline-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/spline-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/spline-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/spline-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/spline-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/spline-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-multiple-sources/.stackblitzrc b/samples/charts/category-chart/spline-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/spline-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/spline-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-multiple-sources/angular.json b/samples/charts/category-chart/spline-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/spline-multiple-sources/angular.json +++ b/samples/charts/category-chart/spline-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/spline-multiple-sources/package.json b/samples/charts/category-chart/spline-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/spline-multiple-sources/package.json +++ b/samples/charts/category-chart/spline-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/spline-multiple-sources/sandbox.config.json b/samples/charts/category-chart/spline-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/spline-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/spline-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/spline-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/spline-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/spline-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/spline-multiple-sources/tsconfig.json b/samples/charts/category-chart/spline-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/spline-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/spline-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/spline-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/spline-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/spline-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/spline-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/spline-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/spline-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-single-source/.stackblitzrc b/samples/charts/category-chart/spline-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/spline-single-source/.stackblitzrc +++ b/samples/charts/category-chart/spline-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-single-source/angular.json b/samples/charts/category-chart/spline-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/spline-single-source/angular.json +++ b/samples/charts/category-chart/spline-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/spline-single-source/package.json b/samples/charts/category-chart/spline-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/spline-single-source/package.json +++ b/samples/charts/category-chart/spline-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/spline-single-source/sandbox.config.json b/samples/charts/category-chart/spline-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/spline-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/spline-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/spline-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/spline-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/spline-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/spline-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/spline-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/spline-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/spline-single-source/tsconfig.app.json b/samples/charts/category-chart/spline-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/spline-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/spline-single-source/tsconfig.json b/samples/charts/category-chart/spline-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/spline-single-source/tsconfig.json +++ b/samples/charts/category-chart/spline-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/spline-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/spline-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/spline-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/spline-styling/.codesandbox/tasks.json b/samples/charts/category-chart/spline-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/spline-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-styling/.stackblitzrc b/samples/charts/category-chart/spline-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/spline-styling/.stackblitzrc +++ b/samples/charts/category-chart/spline-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-styling/angular.json b/samples/charts/category-chart/spline-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/spline-styling/angular.json +++ b/samples/charts/category-chart/spline-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/spline-styling/package.json b/samples/charts/category-chart/spline-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/spline-styling/package.json +++ b/samples/charts/category-chart/spline-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/spline-styling/sandbox.config.json b/samples/charts/category-chart/spline-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/spline-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/spline-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/spline-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/spline-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/spline-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/spline-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/spline-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/spline-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/spline-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/spline-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/spline-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/spline-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/spline-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/spline-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/spline-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/spline-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/spline-styling/tsconfig.app.json b/samples/charts/category-chart/spline-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/spline-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/spline-styling/tsconfig.json b/samples/charts/category-chart/spline-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/spline-styling/tsconfig.json +++ b/samples/charts/category-chart/spline-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/stack-columns/.codesandbox/Dockerfile b/samples/charts/category-chart/stack-columns/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/stack-columns/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/stack-columns/.codesandbox/tasks.json b/samples/charts/category-chart/stack-columns/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/stack-columns/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/stack-columns/.stackblitzrc b/samples/charts/category-chart/stack-columns/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/stack-columns/.stackblitzrc +++ b/samples/charts/category-chart/stack-columns/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/stack-columns/angular.json b/samples/charts/category-chart/stack-columns/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/stack-columns/angular.json +++ b/samples/charts/category-chart/stack-columns/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/stack-columns/package.json b/samples/charts/category-chart/stack-columns/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/stack-columns/package.json +++ b/samples/charts/category-chart/stack-columns/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/stack-columns/sandbox.config.json b/samples/charts/category-chart/stack-columns/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/stack-columns/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/stack-columns/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/stack-columns/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/stack-columns/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/stack-columns/src/config/tsconfig.app.json b/samples/charts/category-chart/stack-columns/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/stack-columns/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/stack-columns/src/config/tsconfig.base.json b/samples/charts/category-chart/stack-columns/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/stack-columns/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/stack-columns/src/config/tsconfig.spec.json b/samples/charts/category-chart/stack-columns/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/stack-columns/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/stack-columns/src/config/tsconfig.worker.json b/samples/charts/category-chart/stack-columns/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/stack-columns/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/stack-columns/tsconfig.app.json b/samples/charts/category-chart/stack-columns/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/stack-columns/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/stack-columns/tsconfig.json b/samples/charts/category-chart/stack-columns/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/stack-columns/tsconfig.json +++ b/samples/charts/category-chart/stack-columns/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/step-area-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/step-area-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/step-area-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/step-area-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-multiple-sources/.stackblitzrc b/samples/charts/category-chart/step-area-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/step-area-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/step-area-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-multiple-sources/angular.json b/samples/charts/category-chart/step-area-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/step-area-multiple-sources/angular.json +++ b/samples/charts/category-chart/step-area-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/step-area-multiple-sources/package.json b/samples/charts/category-chart/step-area-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/step-area-multiple-sources/package.json +++ b/samples/charts/category-chart/step-area-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/step-area-multiple-sources/sandbox.config.json b/samples/charts/category-chart/step-area-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/step-area-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/step-area-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/step-area-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/step-area-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/step-area-multiple-sources/tsconfig.json b/samples/charts/category-chart/step-area-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/step-area-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/step-area-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/step-area-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/step-area-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/step-area-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/step-area-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-single-source/.stackblitzrc b/samples/charts/category-chart/step-area-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/step-area-single-source/.stackblitzrc +++ b/samples/charts/category-chart/step-area-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-single-source/angular.json b/samples/charts/category-chart/step-area-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/step-area-single-source/angular.json +++ b/samples/charts/category-chart/step-area-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/step-area-single-source/package.json b/samples/charts/category-chart/step-area-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/step-area-single-source/package.json +++ b/samples/charts/category-chart/step-area-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/step-area-single-source/sandbox.config.json b/samples/charts/category-chart/step-area-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/step-area-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/step-area-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/step-area-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-single-source/tsconfig.app.json b/samples/charts/category-chart/step-area-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/step-area-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/step-area-single-source/tsconfig.json b/samples/charts/category-chart/step-area-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/step-area-single-source/tsconfig.json +++ b/samples/charts/category-chart/step-area-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/step-area-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/step-area-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-styling/.codesandbox/tasks.json b/samples/charts/category-chart/step-area-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/step-area-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-styling/.stackblitzrc b/samples/charts/category-chart/step-area-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/step-area-styling/.stackblitzrc +++ b/samples/charts/category-chart/step-area-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-styling/angular.json b/samples/charts/category-chart/step-area-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/step-area-styling/angular.json +++ b/samples/charts/category-chart/step-area-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/step-area-styling/package.json b/samples/charts/category-chart/step-area-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/step-area-styling/package.json +++ b/samples/charts/category-chart/step-area-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/step-area-styling/sandbox.config.json b/samples/charts/category-chart/step-area-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/step-area-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/step-area-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/step-area-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/step-area-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/step-area-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/step-area-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/step-area-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/step-area-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/step-area-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/step-area-styling/tsconfig.app.json b/samples/charts/category-chart/step-area-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/step-area-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/step-area-styling/tsconfig.json b/samples/charts/category-chart/step-area-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/step-area-styling/tsconfig.json +++ b/samples/charts/category-chart/step-area-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-multiple-sources/.codesandbox/Dockerfile b/samples/charts/category-chart/step-line-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/step-line-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-multiple-sources/.codesandbox/tasks.json b/samples/charts/category-chart/step-line-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/step-line-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-multiple-sources/.stackblitzrc b/samples/charts/category-chart/step-line-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/step-line-multiple-sources/.stackblitzrc +++ b/samples/charts/category-chart/step-line-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-multiple-sources/angular.json b/samples/charts/category-chart/step-line-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/step-line-multiple-sources/angular.json +++ b/samples/charts/category-chart/step-line-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/step-line-multiple-sources/package.json b/samples/charts/category-chart/step-line-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/step-line-multiple-sources/package.json +++ b/samples/charts/category-chart/step-line-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/step-line-multiple-sources/sandbox.config.json b/samples/charts/category-chart/step-line-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/step-line-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.app.json b/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.base.json b/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/step-line-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-multiple-sources/tsconfig.app.json b/samples/charts/category-chart/step-line-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/step-line-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/step-line-multiple-sources/tsconfig.json b/samples/charts/category-chart/step-line-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/step-line-multiple-sources/tsconfig.json +++ b/samples/charts/category-chart/step-line-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-single-source/.codesandbox/Dockerfile b/samples/charts/category-chart/step-line-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/step-line-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-single-source/.codesandbox/tasks.json b/samples/charts/category-chart/step-line-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/step-line-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-single-source/.stackblitzrc b/samples/charts/category-chart/step-line-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/step-line-single-source/.stackblitzrc +++ b/samples/charts/category-chart/step-line-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-single-source/angular.json b/samples/charts/category-chart/step-line-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/step-line-single-source/angular.json +++ b/samples/charts/category-chart/step-line-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/step-line-single-source/package.json b/samples/charts/category-chart/step-line-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/step-line-single-source/package.json +++ b/samples/charts/category-chart/step-line-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/step-line-single-source/sandbox.config.json b/samples/charts/category-chart/step-line-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/step-line-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/step-line-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.app.json b/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.base.json b/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.spec.json b/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.worker.json b/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/step-line-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-single-source/tsconfig.app.json b/samples/charts/category-chart/step-line-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/step-line-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/step-line-single-source/tsconfig.json b/samples/charts/category-chart/step-line-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/step-line-single-source/tsconfig.json +++ b/samples/charts/category-chart/step-line-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-styling/.codesandbox/Dockerfile b/samples/charts/category-chart/step-line-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/step-line-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-styling/.codesandbox/tasks.json b/samples/charts/category-chart/step-line-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/step-line-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-styling/.stackblitzrc b/samples/charts/category-chart/step-line-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/step-line-styling/.stackblitzrc +++ b/samples/charts/category-chart/step-line-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-styling/angular.json b/samples/charts/category-chart/step-line-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/step-line-styling/angular.json +++ b/samples/charts/category-chart/step-line-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/step-line-styling/package.json b/samples/charts/category-chart/step-line-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/category-chart/step-line-styling/package.json +++ b/samples/charts/category-chart/step-line-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/step-line-styling/sandbox.config.json b/samples/charts/category-chart/step-line-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/step-line-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/step-line-styling/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/step-line-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/step-line-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.app.json b/samples/charts/category-chart/step-line-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.base.json b/samples/charts/category-chart/step-line-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.spec.json b/samples/charts/category-chart/step-line-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.worker.json b/samples/charts/category-chart/step-line-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/step-line-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/step-line-styling/tsconfig.app.json b/samples/charts/category-chart/step-line-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/step-line-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/step-line-styling/tsconfig.json b/samples/charts/category-chart/step-line-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/step-line-styling/tsconfig.json +++ b/samples/charts/category-chart/step-line-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-template/.codesandbox/Dockerfile b/samples/charts/category-chart/tooltip-template/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/tooltip-template/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-template/.codesandbox/tasks.json b/samples/charts/category-chart/tooltip-template/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/tooltip-template/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-template/.stackblitzrc b/samples/charts/category-chart/tooltip-template/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/tooltip-template/.stackblitzrc +++ b/samples/charts/category-chart/tooltip-template/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-template/angular.json b/samples/charts/category-chart/tooltip-template/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/tooltip-template/angular.json +++ b/samples/charts/category-chart/tooltip-template/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/tooltip-template/package.json b/samples/charts/category-chart/tooltip-template/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/tooltip-template/package.json +++ b/samples/charts/category-chart/tooltip-template/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/tooltip-template/sandbox.config.json b/samples/charts/category-chart/tooltip-template/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/tooltip-template/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-template/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/tooltip-template/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/tooltip-template/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.app.json b/samples/charts/category-chart/tooltip-template/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.base.json b/samples/charts/category-chart/tooltip-template/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.spec.json b/samples/charts/category-chart/tooltip-template/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.worker.json b/samples/charts/category-chart/tooltip-template/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/tooltip-template/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/tooltip-template/tsconfig.app.json b/samples/charts/category-chart/tooltip-template/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/tooltip-template/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/tooltip-template/tsconfig.json b/samples/charts/category-chart/tooltip-template/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/tooltip-template/tsconfig.json +++ b/samples/charts/category-chart/tooltip-template/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-types/.codesandbox/Dockerfile b/samples/charts/category-chart/tooltip-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/tooltip-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-types/.codesandbox/tasks.json b/samples/charts/category-chart/tooltip-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/tooltip-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-types/.stackblitzrc b/samples/charts/category-chart/tooltip-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/tooltip-types/.stackblitzrc +++ b/samples/charts/category-chart/tooltip-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-types/angular.json b/samples/charts/category-chart/tooltip-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/tooltip-types/angular.json +++ b/samples/charts/category-chart/tooltip-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/tooltip-types/package.json b/samples/charts/category-chart/tooltip-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/tooltip-types/package.json +++ b/samples/charts/category-chart/tooltip-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/tooltip-types/sandbox.config.json b/samples/charts/category-chart/tooltip-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/tooltip-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/tooltip-types/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/tooltip-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/tooltip-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.app.json b/samples/charts/category-chart/tooltip-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.base.json b/samples/charts/category-chart/tooltip-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.spec.json b/samples/charts/category-chart/tooltip-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.worker.json b/samples/charts/category-chart/tooltip-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/tooltip-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/tooltip-types/tsconfig.app.json b/samples/charts/category-chart/tooltip-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/tooltip-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/tooltip-types/tsconfig.json b/samples/charts/category-chart/tooltip-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/tooltip-types/tsconfig.json +++ b/samples/charts/category-chart/tooltip-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/trendline/.codesandbox/Dockerfile b/samples/charts/category-chart/trendline/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/trendline/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/trendline/.codesandbox/tasks.json b/samples/charts/category-chart/trendline/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/trendline/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/trendline/.stackblitzrc b/samples/charts/category-chart/trendline/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/trendline/.stackblitzrc +++ b/samples/charts/category-chart/trendline/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/trendline/angular.json b/samples/charts/category-chart/trendline/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/trendline/angular.json +++ b/samples/charts/category-chart/trendline/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/trendline/package.json b/samples/charts/category-chart/trendline/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/category-chart/trendline/package.json +++ b/samples/charts/category-chart/trendline/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/trendline/sandbox.config.json b/samples/charts/category-chart/trendline/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/category-chart/trendline/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/trendline/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/trendline/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/trendline/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/trendline/src/config/tsconfig.app.json b/samples/charts/category-chart/trendline/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/trendline/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/trendline/src/config/tsconfig.base.json b/samples/charts/category-chart/trendline/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/trendline/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/trendline/src/config/tsconfig.spec.json b/samples/charts/category-chart/trendline/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/trendline/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/trendline/src/config/tsconfig.worker.json b/samples/charts/category-chart/trendline/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/trendline/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/trendline/tsconfig.app.json b/samples/charts/category-chart/trendline/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/trendline/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/trendline/tsconfig.json b/samples/charts/category-chart/trendline/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/trendline/tsconfig.json +++ b/samples/charts/category-chart/trendline/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/category-chart/value-lines/.codesandbox/Dockerfile b/samples/charts/category-chart/value-lines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/category-chart/value-lines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/category-chart/value-lines/.codesandbox/tasks.json b/samples/charts/category-chart/value-lines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/category-chart/value-lines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/category-chart/value-lines/.stackblitzrc b/samples/charts/category-chart/value-lines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/category-chart/value-lines/.stackblitzrc +++ b/samples/charts/category-chart/value-lines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/category-chart/value-lines/angular.json b/samples/charts/category-chart/value-lines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/category-chart/value-lines/angular.json +++ b/samples/charts/category-chart/value-lines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/category-chart/value-lines/package.json b/samples/charts/category-chart/value-lines/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/category-chart/value-lines/package.json +++ b/samples/charts/category-chart/value-lines/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/category-chart/value-lines/sandbox.config.json b/samples/charts/category-chart/value-lines/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/category-chart/value-lines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/category-chart/value-lines/src/config/tsconfig-es5.app.json b/samples/charts/category-chart/value-lines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/category-chart/value-lines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/category-chart/value-lines/src/config/tsconfig.app.json b/samples/charts/category-chart/value-lines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/category-chart/value-lines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/category-chart/value-lines/src/config/tsconfig.base.json b/samples/charts/category-chart/value-lines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/category-chart/value-lines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/category-chart/value-lines/src/config/tsconfig.spec.json b/samples/charts/category-chart/value-lines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/category-chart/value-lines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/category-chart/value-lines/src/config/tsconfig.worker.json b/samples/charts/category-chart/value-lines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/category-chart/value-lines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/category-chart/value-lines/tsconfig.app.json b/samples/charts/category-chart/value-lines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/category-chart/value-lines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/category-chart/value-lines/tsconfig.json b/samples/charts/category-chart/value-lines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/category-chart/value-lines/tsconfig.json +++ b/samples/charts/category-chart/value-lines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/annotations-custom/.codesandbox/Dockerfile b/samples/charts/data-chart/annotations-custom/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/annotations-custom/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/annotations-custom/.codesandbox/tasks.json b/samples/charts/data-chart/annotations-custom/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/annotations-custom/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/annotations-custom/.stackblitzrc b/samples/charts/data-chart/annotations-custom/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/annotations-custom/.stackblitzrc +++ b/samples/charts/data-chart/annotations-custom/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/annotations-custom/angular.json b/samples/charts/data-chart/annotations-custom/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/annotations-custom/angular.json +++ b/samples/charts/data-chart/annotations-custom/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/annotations-custom/package.json b/samples/charts/data-chart/annotations-custom/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/annotations-custom/package.json +++ b/samples/charts/data-chart/annotations-custom/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/annotations-custom/sandbox.config.json b/samples/charts/data-chart/annotations-custom/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/annotations-custom/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/annotations-custom/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/annotations-custom/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/annotations-custom/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.app.json b/samples/charts/data-chart/annotations-custom/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.base.json b/samples/charts/data-chart/annotations-custom/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.spec.json b/samples/charts/data-chart/annotations-custom/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.worker.json b/samples/charts/data-chart/annotations-custom/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/annotations-custom/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/annotations-custom/tsconfig.app.json b/samples/charts/data-chart/annotations-custom/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/annotations-custom/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/annotations-custom/tsconfig.json b/samples/charts/data-chart/annotations-custom/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/annotations-custom/tsconfig.json +++ b/samples/charts/data-chart/annotations-custom/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-annotations-corner-radius/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-annotations-corner-radius/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/.codesandbox/tasks.json b/samples/charts/data-chart/axis-annotations-corner-radius/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-annotations-corner-radius/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/.stackblitzrc b/samples/charts/data-chart/axis-annotations-corner-radius/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-annotations-corner-radius/.stackblitzrc +++ b/samples/charts/data-chart/axis-annotations-corner-radius/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/angular.json b/samples/charts/data-chart/axis-annotations-corner-radius/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-annotations-corner-radius/angular.json +++ b/samples/charts/data-chart/axis-annotations-corner-radius/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/package.json b/samples/charts/data-chart/axis-annotations-corner-radius/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/axis-annotations-corner-radius/package.json +++ b/samples/charts/data-chart/axis-annotations-corner-radius/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/sandbox.config.json b/samples/charts/data-chart/axis-annotations-corner-radius/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/axis-annotations-corner-radius/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-annotations-corner-radius/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.app.json b/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.json b/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.json +++ b/samples/charts/data-chart/axis-annotations-corner-radius/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-annotations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-annotations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations/.codesandbox/tasks.json b/samples/charts/data-chart/axis-annotations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-annotations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations/.stackblitzrc b/samples/charts/data-chart/axis-annotations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-annotations/.stackblitzrc +++ b/samples/charts/data-chart/axis-annotations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations/angular.json b/samples/charts/data-chart/axis-annotations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-annotations/angular.json +++ b/samples/charts/data-chart/axis-annotations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-annotations/package.json b/samples/charts/data-chart/axis-annotations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/axis-annotations/package.json +++ b/samples/charts/data-chart/axis-annotations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-annotations/sandbox.config.json b/samples/charts/data-chart/axis-annotations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/axis-annotations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-annotations/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-annotations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-annotations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-annotations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-annotations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-annotations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-annotations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-annotations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-annotations/tsconfig.app.json b/samples/charts/data-chart/axis-annotations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-annotations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-annotations/tsconfig.json b/samples/charts/data-chart/axis-annotations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-annotations/tsconfig.json +++ b/samples/charts/data-chart/axis-annotations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-crossing/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-crossing/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-crossing/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-crossing/.codesandbox/tasks.json b/samples/charts/data-chart/axis-crossing/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-crossing/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-crossing/.stackblitzrc b/samples/charts/data-chart/axis-crossing/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-crossing/.stackblitzrc +++ b/samples/charts/data-chart/axis-crossing/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-crossing/angular.json b/samples/charts/data-chart/axis-crossing/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-crossing/angular.json +++ b/samples/charts/data-chart/axis-crossing/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-crossing/package.json b/samples/charts/data-chart/axis-crossing/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/axis-crossing/package.json +++ b/samples/charts/data-chart/axis-crossing/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-crossing/sandbox.config.json b/samples/charts/data-chart/axis-crossing/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/axis-crossing/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-crossing/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-crossing/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-crossing/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-crossing/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-crossing/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-crossing/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-crossing/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-crossing/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-crossing/tsconfig.app.json b/samples/charts/data-chart/axis-crossing/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-crossing/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-crossing/tsconfig.json b/samples/charts/data-chart/axis-crossing/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-crossing/tsconfig.json +++ b/samples/charts/data-chart/axis-crossing/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-label-rotation/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-label-rotation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-label-rotation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-label-rotation/.codesandbox/tasks.json b/samples/charts/data-chart/axis-label-rotation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-label-rotation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-label-rotation/.stackblitzrc b/samples/charts/data-chart/axis-label-rotation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-label-rotation/.stackblitzrc +++ b/samples/charts/data-chart/axis-label-rotation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-label-rotation/angular.json b/samples/charts/data-chart/axis-label-rotation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-label-rotation/angular.json +++ b/samples/charts/data-chart/axis-label-rotation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-label-rotation/package.json b/samples/charts/data-chart/axis-label-rotation/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/data-chart/axis-label-rotation/package.json +++ b/samples/charts/data-chart/axis-label-rotation/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-label-rotation/sandbox.config.json b/samples/charts/data-chart/axis-label-rotation/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/axis-label-rotation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-label-rotation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-label-rotation/tsconfig.app.json b/samples/charts/data-chart/axis-label-rotation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-label-rotation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-label-rotation/tsconfig.json b/samples/charts/data-chart/axis-label-rotation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-label-rotation/tsconfig.json +++ b/samples/charts/data-chart/axis-label-rotation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-locations/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-locations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-locations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-locations/.codesandbox/tasks.json b/samples/charts/data-chart/axis-locations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-locations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-locations/.stackblitzrc b/samples/charts/data-chart/axis-locations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-locations/.stackblitzrc +++ b/samples/charts/data-chart/axis-locations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-locations/angular.json b/samples/charts/data-chart/axis-locations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-locations/angular.json +++ b/samples/charts/data-chart/axis-locations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-locations/package.json b/samples/charts/data-chart/axis-locations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/axis-locations/package.json +++ b/samples/charts/data-chart/axis-locations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-locations/sandbox.config.json b/samples/charts/data-chart/axis-locations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/axis-locations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-locations/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-locations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-locations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-locations/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-locations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-locations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-locations/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-locations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-locations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-locations/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-locations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-locations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-locations/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-locations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-locations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-locations/tsconfig.app.json b/samples/charts/data-chart/axis-locations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-locations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-locations/tsconfig.json b/samples/charts/data-chart/axis-locations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-locations/tsconfig.json +++ b/samples/charts/data-chart/axis-locations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-min-max-gap/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-min-max-gap/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-min-max-gap/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-min-max-gap/.codesandbox/tasks.json b/samples/charts/data-chart/axis-min-max-gap/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-min-max-gap/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-min-max-gap/.stackblitzrc b/samples/charts/data-chart/axis-min-max-gap/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-min-max-gap/.stackblitzrc +++ b/samples/charts/data-chart/axis-min-max-gap/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-min-max-gap/angular.json b/samples/charts/data-chart/axis-min-max-gap/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-min-max-gap/angular.json +++ b/samples/charts/data-chart/axis-min-max-gap/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-min-max-gap/package.json b/samples/charts/data-chart/axis-min-max-gap/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/axis-min-max-gap/package.json +++ b/samples/charts/data-chart/axis-min-max-gap/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-min-max-gap/sandbox.config.json b/samples/charts/data-chart/axis-min-max-gap/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/axis-min-max-gap/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-min-max-gap/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-min-max-gap/tsconfig.app.json b/samples/charts/data-chart/axis-min-max-gap/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-min-max-gap/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-min-max-gap/tsconfig.json b/samples/charts/data-chart/axis-min-max-gap/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-min-max-gap/tsconfig.json +++ b/samples/charts/data-chart/axis-min-max-gap/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-settings/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-settings/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-settings/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-settings/.codesandbox/tasks.json b/samples/charts/data-chart/axis-settings/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-settings/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-settings/.stackblitzrc b/samples/charts/data-chart/axis-settings/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-settings/.stackblitzrc +++ b/samples/charts/data-chart/axis-settings/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-settings/angular.json b/samples/charts/data-chart/axis-settings/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-settings/angular.json +++ b/samples/charts/data-chart/axis-settings/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-settings/package.json b/samples/charts/data-chart/axis-settings/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/axis-settings/package.json +++ b/samples/charts/data-chart/axis-settings/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-settings/sandbox.config.json b/samples/charts/data-chart/axis-settings/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/axis-settings/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-settings/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-settings/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-settings/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-settings/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-settings/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-settings/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-settings/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-settings/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-settings/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-settings/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-settings/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-settings/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-settings/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-settings/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-settings/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-settings/tsconfig.app.json b/samples/charts/data-chart/axis-settings/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-settings/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-settings/tsconfig.json b/samples/charts/data-chart/axis-settings/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-settings/tsconfig.json +++ b/samples/charts/data-chart/axis-settings/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-sharing/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-sharing/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-sharing/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-sharing/.codesandbox/tasks.json b/samples/charts/data-chart/axis-sharing/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-sharing/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-sharing/.stackblitzrc b/samples/charts/data-chart/axis-sharing/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-sharing/.stackblitzrc +++ b/samples/charts/data-chart/axis-sharing/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-sharing/angular.json b/samples/charts/data-chart/axis-sharing/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-sharing/angular.json +++ b/samples/charts/data-chart/axis-sharing/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-sharing/package.json b/samples/charts/data-chart/axis-sharing/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/axis-sharing/package.json +++ b/samples/charts/data-chart/axis-sharing/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-sharing/sandbox.config.json b/samples/charts/data-chart/axis-sharing/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/axis-sharing/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-sharing/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-sharing/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-sharing/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-sharing/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-sharing/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-sharing/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-sharing/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-sharing/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-sharing/tsconfig.app.json b/samples/charts/data-chart/axis-sharing/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-sharing/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-sharing/tsconfig.json b/samples/charts/data-chart/axis-sharing/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-sharing/tsconfig.json +++ b/samples/charts/data-chart/axis-sharing/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/axis-types/.codesandbox/Dockerfile b/samples/charts/data-chart/axis-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/axis-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/axis-types/.codesandbox/tasks.json b/samples/charts/data-chart/axis-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/axis-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-types/.stackblitzrc b/samples/charts/data-chart/axis-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/axis-types/.stackblitzrc +++ b/samples/charts/data-chart/axis-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-types/angular.json b/samples/charts/data-chart/axis-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/axis-types/angular.json +++ b/samples/charts/data-chart/axis-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/axis-types/package.json b/samples/charts/data-chart/axis-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/axis-types/package.json +++ b/samples/charts/data-chart/axis-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/axis-types/sandbox.config.json b/samples/charts/data-chart/axis-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/axis-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/axis-types/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/axis-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/axis-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/axis-types/src/config/tsconfig.app.json b/samples/charts/data-chart/axis-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/axis-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/axis-types/src/config/tsconfig.base.json b/samples/charts/data-chart/axis-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/axis-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/axis-types/src/config/tsconfig.spec.json b/samples/charts/data-chart/axis-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/axis-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/axis-types/src/config/tsconfig.worker.json b/samples/charts/data-chart/axis-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/axis-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/axis-types/tsconfig.app.json b/samples/charts/data-chart/axis-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/axis-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/axis-types/tsconfig.json b/samples/charts/data-chart/axis-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/axis-types/tsconfig.json +++ b/samples/charts/data-chart/axis-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/.codesandbox/Dockerfile b/samples/charts/data-chart/bar-chart-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/bar-chart-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/.codesandbox/tasks.json b/samples/charts/data-chart/bar-chart-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/bar-chart-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/.stackblitzrc b/samples/charts/data-chart/bar-chart-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/bar-chart-multiple-sources/.stackblitzrc +++ b/samples/charts/data-chart/bar-chart-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/angular.json b/samples/charts/data-chart/bar-chart-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/bar-chart-multiple-sources/angular.json +++ b/samples/charts/data-chart/bar-chart-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/package.json b/samples/charts/data-chart/bar-chart-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/bar-chart-multiple-sources/package.json +++ b/samples/charts/data-chart/bar-chart-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/sandbox.config.json b/samples/charts/data-chart/bar-chart-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/bar-chart-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.app.json b/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.base.json b/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/bar-chart-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.app.json b/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.json b/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.json +++ b/samples/charts/data-chart/bar-chart-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-overlapping/.codesandbox/Dockerfile b/samples/charts/data-chart/bar-chart-overlapping/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/bar-chart-overlapping/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-overlapping/.codesandbox/tasks.json b/samples/charts/data-chart/bar-chart-overlapping/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/bar-chart-overlapping/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-overlapping/.stackblitzrc b/samples/charts/data-chart/bar-chart-overlapping/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/bar-chart-overlapping/.stackblitzrc +++ b/samples/charts/data-chart/bar-chart-overlapping/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-overlapping/angular.json b/samples/charts/data-chart/bar-chart-overlapping/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/bar-chart-overlapping/angular.json +++ b/samples/charts/data-chart/bar-chart-overlapping/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/bar-chart-overlapping/package.json b/samples/charts/data-chart/bar-chart-overlapping/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/bar-chart-overlapping/package.json +++ b/samples/charts/data-chart/bar-chart-overlapping/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/bar-chart-overlapping/sandbox.config.json b/samples/charts/data-chart/bar-chart-overlapping/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/bar-chart-overlapping/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.app.json b/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.base.json b/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.spec.json b/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.worker.json b/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/bar-chart-overlapping/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-overlapping/tsconfig.app.json b/samples/charts/data-chart/bar-chart-overlapping/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/bar-chart-overlapping/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/bar-chart-overlapping/tsconfig.json b/samples/charts/data-chart/bar-chart-overlapping/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/bar-chart-overlapping/tsconfig.json +++ b/samples/charts/data-chart/bar-chart-overlapping/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-single-source/.codesandbox/Dockerfile b/samples/charts/data-chart/bar-chart-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/bar-chart-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-single-source/.codesandbox/tasks.json b/samples/charts/data-chart/bar-chart-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/bar-chart-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-single-source/.stackblitzrc b/samples/charts/data-chart/bar-chart-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/bar-chart-single-source/.stackblitzrc +++ b/samples/charts/data-chart/bar-chart-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-single-source/angular.json b/samples/charts/data-chart/bar-chart-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/bar-chart-single-source/angular.json +++ b/samples/charts/data-chart/bar-chart-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/bar-chart-single-source/package.json b/samples/charts/data-chart/bar-chart-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/bar-chart-single-source/package.json +++ b/samples/charts/data-chart/bar-chart-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/bar-chart-single-source/sandbox.config.json b/samples/charts/data-chart/bar-chart-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/bar-chart-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.app.json b/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.base.json b/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.spec.json b/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.worker.json b/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/bar-chart-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-single-source/tsconfig.app.json b/samples/charts/data-chart/bar-chart-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/bar-chart-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/bar-chart-single-source/tsconfig.json b/samples/charts/data-chart/bar-chart-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/bar-chart-single-source/tsconfig.json +++ b/samples/charts/data-chart/bar-chart-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/bar-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/bar-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-styling/.codesandbox/tasks.json b/samples/charts/data-chart/bar-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/bar-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-styling/.stackblitzrc b/samples/charts/data-chart/bar-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/bar-chart-styling/.stackblitzrc +++ b/samples/charts/data-chart/bar-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-styling/angular.json b/samples/charts/data-chart/bar-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/bar-chart-styling/angular.json +++ b/samples/charts/data-chart/bar-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/bar-chart-styling/package.json b/samples/charts/data-chart/bar-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/bar-chart-styling/package.json +++ b/samples/charts/data-chart/bar-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/bar-chart-styling/sandbox.config.json b/samples/charts/data-chart/bar-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/bar-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/bar-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/bar-chart-styling/tsconfig.app.json b/samples/charts/data-chart/bar-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/bar-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/bar-chart-styling/tsconfig.json b/samples/charts/data-chart/bar-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/bar-chart-styling/tsconfig.json +++ b/samples/charts/data-chart/bar-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/callout-layer-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/callout-layer-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/callout-layer-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/callout-layer-styling/.codesandbox/tasks.json b/samples/charts/data-chart/callout-layer-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/callout-layer-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/callout-layer-styling/.stackblitzrc b/samples/charts/data-chart/callout-layer-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/callout-layer-styling/.stackblitzrc +++ b/samples/charts/data-chart/callout-layer-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/callout-layer-styling/angular.json b/samples/charts/data-chart/callout-layer-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/callout-layer-styling/angular.json +++ b/samples/charts/data-chart/callout-layer-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/callout-layer-styling/package.json b/samples/charts/data-chart/callout-layer-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/callout-layer-styling/package.json +++ b/samples/charts/data-chart/callout-layer-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/callout-layer-styling/sandbox.config.json b/samples/charts/data-chart/callout-layer-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/callout-layer-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/callout-layer-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/callout-layer-styling/tsconfig.app.json b/samples/charts/data-chart/callout-layer-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/callout-layer-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/callout-layer-styling/tsconfig.json b/samples/charts/data-chart/callout-layer-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/callout-layer-styling/tsconfig.json +++ b/samples/charts/data-chart/callout-layer-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-highlight-filter-datasource/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/.codesandbox/tasks.json b/samples/charts/data-chart/chart-highlight-filter-datasource/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/.stackblitzrc b/samples/charts/data-chart/chart-highlight-filter-datasource/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/.stackblitzrc +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/angular.json b/samples/charts/data-chart/chart-highlight-filter-datasource/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/angular.json +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/package.json b/samples/charts/data-chart/chart-highlight-filter-datasource/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/package.json +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/sandbox.config.json b/samples/charts/data-chart/chart-highlight-filter-datasource/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.app.json b/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.json b/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.json +++ b/samples/charts/data-chart/chart-highlight-filter-datasource/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-highlight-filter-multiple-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/.codesandbox/tasks.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/.stackblitzrc b/samples/charts/data-chart/chart-highlight-filter-multiple-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/.stackblitzrc +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/angular.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/angular.json +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/sandbox.config.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.app.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.json b/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.json +++ b/samples/charts/data-chart/chart-highlight-filter-multiple-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-highlight-filter/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter/.codesandbox/tasks.json b/samples/charts/data-chart/chart-highlight-filter/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter/.stackblitzrc b/samples/charts/data-chart/chart-highlight-filter/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-highlight-filter/.stackblitzrc +++ b/samples/charts/data-chart/chart-highlight-filter/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter/angular.json b/samples/charts/data-chart/chart-highlight-filter/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-highlight-filter/angular.json +++ b/samples/charts/data-chart/chart-highlight-filter/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-highlight-filter/package.json b/samples/charts/data-chart/chart-highlight-filter/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/data-chart/chart-highlight-filter/package.json +++ b/samples/charts/data-chart/chart-highlight-filter/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-highlight-filter/sandbox.config.json b/samples/charts/data-chart/chart-highlight-filter/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/chart-highlight-filter/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-highlight-filter/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-highlight-filter/tsconfig.app.json b/samples/charts/data-chart/chart-highlight-filter/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-highlight-filter/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-highlight-filter/tsconfig.json b/samples/charts/data-chart/chart-highlight-filter/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-highlight-filter/tsconfig.json +++ b/samples/charts/data-chart/chart-highlight-filter/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-navigation/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-navigation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-navigation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-navigation/.codesandbox/tasks.json b/samples/charts/data-chart/chart-navigation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-navigation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-navigation/.stackblitzrc b/samples/charts/data-chart/chart-navigation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-navigation/.stackblitzrc +++ b/samples/charts/data-chart/chart-navigation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-navigation/angular.json b/samples/charts/data-chart/chart-navigation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-navigation/angular.json +++ b/samples/charts/data-chart/chart-navigation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-navigation/package.json b/samples/charts/data-chart/chart-navigation/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/chart-navigation/package.json +++ b/samples/charts/data-chart/chart-navigation/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-navigation/sandbox.config.json b/samples/charts/data-chart/chart-navigation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/chart-navigation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-navigation/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-navigation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-navigation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-navigation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-navigation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-navigation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-navigation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-navigation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-navigation/tsconfig.app.json b/samples/charts/data-chart/chart-navigation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-navigation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-navigation/tsconfig.json b/samples/charts/data-chart/chart-navigation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-navigation/tsconfig.json +++ b/samples/charts/data-chart/chart-navigation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-overview/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-overview/.codesandbox/tasks.json b/samples/charts/data-chart/chart-overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-overview/.stackblitzrc b/samples/charts/data-chart/chart-overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-overview/.stackblitzrc +++ b/samples/charts/data-chart/chart-overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-overview/angular.json b/samples/charts/data-chart/chart-overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-overview/angular.json +++ b/samples/charts/data-chart/chart-overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-overview/package.json b/samples/charts/data-chart/chart-overview/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/chart-overview/package.json +++ b/samples/charts/data-chart/chart-overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-overview/sandbox.config.json b/samples/charts/data-chart/chart-overview/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/chart-overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-overview/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-overview/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-overview/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-overview/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-overview/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-overview/tsconfig.app.json b/samples/charts/data-chart/chart-overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-overview/tsconfig.json b/samples/charts/data-chart/chart-overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-overview/tsconfig.json +++ b/samples/charts/data-chart/chart-overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-performance/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-performance/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-performance/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-performance/.codesandbox/tasks.json b/samples/charts/data-chart/chart-performance/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-performance/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-performance/.stackblitzrc b/samples/charts/data-chart/chart-performance/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-performance/.stackblitzrc +++ b/samples/charts/data-chart/chart-performance/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-performance/angular.json b/samples/charts/data-chart/chart-performance/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-performance/angular.json +++ b/samples/charts/data-chart/chart-performance/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-performance/package.json b/samples/charts/data-chart/chart-performance/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/chart-performance/package.json +++ b/samples/charts/data-chart/chart-performance/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-performance/sandbox.config.json b/samples/charts/data-chart/chart-performance/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/chart-performance/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-performance/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-performance/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-performance/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-performance/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-performance/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-performance/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-performance/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-performance/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-performance/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-performance/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-performance/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-performance/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-performance/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-performance/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-performance/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-performance/tsconfig.app.json b/samples/charts/data-chart/chart-performance/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-performance/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-performance/tsconfig.json b/samples/charts/data-chart/chart-performance/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-performance/tsconfig.json +++ b/samples/charts/data-chart/chart-performance/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-synchronization/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-synchronization/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-synchronization/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-synchronization/.codesandbox/tasks.json b/samples/charts/data-chart/chart-synchronization/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-synchronization/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-synchronization/.stackblitzrc b/samples/charts/data-chart/chart-synchronization/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-synchronization/.stackblitzrc +++ b/samples/charts/data-chart/chart-synchronization/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-synchronization/angular.json b/samples/charts/data-chart/chart-synchronization/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-synchronization/angular.json +++ b/samples/charts/data-chart/chart-synchronization/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-synchronization/package.json b/samples/charts/data-chart/chart-synchronization/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/chart-synchronization/package.json +++ b/samples/charts/data-chart/chart-synchronization/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-synchronization/sandbox.config.json b/samples/charts/data-chart/chart-synchronization/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/chart-synchronization/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-synchronization/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-synchronization/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-synchronization/tsconfig.app.json b/samples/charts/data-chart/chart-synchronization/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-synchronization/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-synchronization/tsconfig.json b/samples/charts/data-chart/chart-synchronization/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-synchronization/tsconfig.json +++ b/samples/charts/data-chart/chart-synchronization/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/chart-titles/.codesandbox/Dockerfile b/samples/charts/data-chart/chart-titles/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/chart-titles/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/chart-titles/.codesandbox/tasks.json b/samples/charts/data-chart/chart-titles/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/chart-titles/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-titles/.stackblitzrc b/samples/charts/data-chart/chart-titles/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/chart-titles/.stackblitzrc +++ b/samples/charts/data-chart/chart-titles/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-titles/angular.json b/samples/charts/data-chart/chart-titles/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/chart-titles/angular.json +++ b/samples/charts/data-chart/chart-titles/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/chart-titles/package.json b/samples/charts/data-chart/chart-titles/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/chart-titles/package.json +++ b/samples/charts/data-chart/chart-titles/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/chart-titles/sandbox.config.json b/samples/charts/data-chart/chart-titles/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/chart-titles/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/chart-titles/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/chart-titles/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/chart-titles/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/chart-titles/src/config/tsconfig.app.json b/samples/charts/data-chart/chart-titles/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/chart-titles/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/chart-titles/src/config/tsconfig.base.json b/samples/charts/data-chart/chart-titles/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/chart-titles/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/chart-titles/src/config/tsconfig.spec.json b/samples/charts/data-chart/chart-titles/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/chart-titles/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/chart-titles/src/config/tsconfig.worker.json b/samples/charts/data-chart/chart-titles/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/chart-titles/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/chart-titles/tsconfig.app.json b/samples/charts/data-chart/chart-titles/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/chart-titles/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/chart-titles/tsconfig.json b/samples/charts/data-chart/chart-titles/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/chart-titles/tsconfig.json +++ b/samples/charts/data-chart/chart-titles/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/column-chart-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/column-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/column-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/column-chart-styling/.codesandbox/tasks.json b/samples/charts/data-chart/column-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/column-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/column-chart-styling/.stackblitzrc b/samples/charts/data-chart/column-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/column-chart-styling/.stackblitzrc +++ b/samples/charts/data-chart/column-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/column-chart-styling/angular.json b/samples/charts/data-chart/column-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/column-chart-styling/angular.json +++ b/samples/charts/data-chart/column-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/column-chart-styling/package.json b/samples/charts/data-chart/column-chart-styling/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/column-chart-styling/package.json +++ b/samples/charts/data-chart/column-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/column-chart-styling/sandbox.config.json b/samples/charts/data-chart/column-chart-styling/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/column-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/column-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/column-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/column-chart-styling/tsconfig.app.json b/samples/charts/data-chart/column-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/column-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/column-chart-styling/tsconfig.json b/samples/charts/data-chart/column-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/column-chart-styling/tsconfig.json +++ b/samples/charts/data-chart/column-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/composite-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/composite-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/composite-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/composite-chart/.codesandbox/tasks.json b/samples/charts/data-chart/composite-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/composite-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/composite-chart/.stackblitzrc b/samples/charts/data-chart/composite-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/composite-chart/.stackblitzrc +++ b/samples/charts/data-chart/composite-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/composite-chart/angular.json b/samples/charts/data-chart/composite-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/composite-chart/angular.json +++ b/samples/charts/data-chart/composite-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/composite-chart/package.json b/samples/charts/data-chart/composite-chart/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/composite-chart/package.json +++ b/samples/charts/data-chart/composite-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/composite-chart/sandbox.config.json b/samples/charts/data-chart/composite-chart/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/composite-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/composite-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/composite-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/composite-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/composite-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/composite-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/composite-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/composite-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/composite-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/composite-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/composite-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/composite-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/composite-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/composite-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/composite-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/composite-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/composite-chart/tsconfig.app.json b/samples/charts/data-chart/composite-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/composite-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/composite-chart/tsconfig.json b/samples/charts/data-chart/composite-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/composite-chart/tsconfig.json +++ b/samples/charts/data-chart/composite-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/crosshair-layer-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/crosshair-layer-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/crosshair-layer-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/crosshair-layer-styling/.codesandbox/tasks.json b/samples/charts/data-chart/crosshair-layer-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/crosshair-layer-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/crosshair-layer-styling/.stackblitzrc b/samples/charts/data-chart/crosshair-layer-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/crosshair-layer-styling/.stackblitzrc +++ b/samples/charts/data-chart/crosshair-layer-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/crosshair-layer-styling/angular.json b/samples/charts/data-chart/crosshair-layer-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/crosshair-layer-styling/angular.json +++ b/samples/charts/data-chart/crosshair-layer-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/crosshair-layer-styling/package.json b/samples/charts/data-chart/crosshair-layer-styling/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/crosshair-layer-styling/package.json +++ b/samples/charts/data-chart/crosshair-layer-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/crosshair-layer-styling/sandbox.config.json b/samples/charts/data-chart/crosshair-layer-styling/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/crosshair-layer-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/crosshair-layer-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/crosshair-layer-styling/tsconfig.app.json b/samples/charts/data-chart/crosshair-layer-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/crosshair-layer-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/crosshair-layer-styling/tsconfig.json b/samples/charts/data-chart/crosshair-layer-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/crosshair-layer-styling/tsconfig.json +++ b/samples/charts/data-chart/crosshair-layer-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/custom-drawing-annotations/.codesandbox/Dockerfile b/samples/charts/data-chart/custom-drawing-annotations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/custom-drawing-annotations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/custom-drawing-annotations/.codesandbox/tasks.json b/samples/charts/data-chart/custom-drawing-annotations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/custom-drawing-annotations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/custom-drawing-annotations/.stackblitzrc b/samples/charts/data-chart/custom-drawing-annotations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/custom-drawing-annotations/.stackblitzrc +++ b/samples/charts/data-chart/custom-drawing-annotations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/custom-drawing-annotations/angular.json b/samples/charts/data-chart/custom-drawing-annotations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/custom-drawing-annotations/angular.json +++ b/samples/charts/data-chart/custom-drawing-annotations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/custom-drawing-annotations/package.json b/samples/charts/data-chart/custom-drawing-annotations/package.json index 0729f4eb9..692bec68c 100644 --- a/samples/charts/data-chart/custom-drawing-annotations/package.json +++ b/samples/charts/data-chart/custom-drawing-annotations/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/custom-drawing-annotations/sandbox.config.json b/samples/charts/data-chart/custom-drawing-annotations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/custom-drawing-annotations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.app.json b/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.base.json b/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.spec.json b/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.worker.json b/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/custom-drawing-annotations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/custom-drawing-annotations/tsconfig.app.json b/samples/charts/data-chart/custom-drawing-annotations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/custom-drawing-annotations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/custom-drawing-annotations/tsconfig.json b/samples/charts/data-chart/custom-drawing-annotations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/custom-drawing-annotations/tsconfig.json +++ b/samples/charts/data-chart/custom-drawing-annotations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/custom-editing-data/.codesandbox/Dockerfile b/samples/charts/data-chart/custom-editing-data/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/custom-editing-data/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/custom-editing-data/.codesandbox/tasks.json b/samples/charts/data-chart/custom-editing-data/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/custom-editing-data/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/custom-editing-data/.stackblitzrc b/samples/charts/data-chart/custom-editing-data/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/custom-editing-data/.stackblitzrc +++ b/samples/charts/data-chart/custom-editing-data/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/custom-editing-data/angular.json b/samples/charts/data-chart/custom-editing-data/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/custom-editing-data/angular.json +++ b/samples/charts/data-chart/custom-editing-data/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/custom-editing-data/package.json b/samples/charts/data-chart/custom-editing-data/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/custom-editing-data/package.json +++ b/samples/charts/data-chart/custom-editing-data/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/custom-editing-data/sandbox.config.json b/samples/charts/data-chart/custom-editing-data/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/custom-editing-data/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/custom-editing-data/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.app.json b/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.base.json b/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.spec.json b/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.worker.json b/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/custom-editing-data/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/custom-editing-data/tsconfig.app.json b/samples/charts/data-chart/custom-editing-data/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/custom-editing-data/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/custom-editing-data/tsconfig.json b/samples/charts/data-chart/custom-editing-data/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/custom-editing-data/tsconfig.json +++ b/samples/charts/data-chart/custom-editing-data/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-axes/.codesandbox/Dockerfile b/samples/charts/data-chart/dash-array-axes/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/dash-array-axes/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-axes/.codesandbox/tasks.json b/samples/charts/data-chart/dash-array-axes/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/dash-array-axes/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-axes/.stackblitzrc b/samples/charts/data-chart/dash-array-axes/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/dash-array-axes/.stackblitzrc +++ b/samples/charts/data-chart/dash-array-axes/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-axes/angular.json b/samples/charts/data-chart/dash-array-axes/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/dash-array-axes/angular.json +++ b/samples/charts/data-chart/dash-array-axes/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/dash-array-axes/package.json b/samples/charts/data-chart/dash-array-axes/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/dash-array-axes/package.json +++ b/samples/charts/data-chart/dash-array-axes/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/dash-array-axes/sandbox.config.json b/samples/charts/data-chart/dash-array-axes/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/dash-array-axes/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/dash-array-axes/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.app.json b/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.base.json b/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.spec.json b/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.worker.json b/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/dash-array-axes/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-axes/tsconfig.app.json b/samples/charts/data-chart/dash-array-axes/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/dash-array-axes/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/dash-array-axes/tsconfig.json b/samples/charts/data-chart/dash-array-axes/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/dash-array-axes/tsconfig.json +++ b/samples/charts/data-chart/dash-array-axes/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-series/.codesandbox/Dockerfile b/samples/charts/data-chart/dash-array-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/dash-array-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-series/.codesandbox/tasks.json b/samples/charts/data-chart/dash-array-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/dash-array-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-series/.stackblitzrc b/samples/charts/data-chart/dash-array-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/dash-array-series/.stackblitzrc +++ b/samples/charts/data-chart/dash-array-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-series/angular.json b/samples/charts/data-chart/dash-array-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/dash-array-series/angular.json +++ b/samples/charts/data-chart/dash-array-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/dash-array-series/package.json b/samples/charts/data-chart/dash-array-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/dash-array-series/package.json +++ b/samples/charts/data-chart/dash-array-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/dash-array-series/sandbox.config.json b/samples/charts/data-chart/dash-array-series/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/dash-array-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/dash-array-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/dash-array-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.app.json b/samples/charts/data-chart/dash-array-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.base.json b/samples/charts/data-chart/dash-array-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/dash-array-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/dash-array-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/dash-array-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-series/tsconfig.app.json b/samples/charts/data-chart/dash-array-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/dash-array-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/dash-array-series/tsconfig.json b/samples/charts/data-chart/dash-array-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/dash-array-series/tsconfig.json +++ b/samples/charts/data-chart/dash-array-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-tickmarks/.codesandbox/Dockerfile b/samples/charts/data-chart/dash-array-tickmarks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/dash-array-tickmarks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-tickmarks/.codesandbox/tasks.json b/samples/charts/data-chart/dash-array-tickmarks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/dash-array-tickmarks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-tickmarks/.stackblitzrc b/samples/charts/data-chart/dash-array-tickmarks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/dash-array-tickmarks/.stackblitzrc +++ b/samples/charts/data-chart/dash-array-tickmarks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-tickmarks/angular.json b/samples/charts/data-chart/dash-array-tickmarks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/dash-array-tickmarks/angular.json +++ b/samples/charts/data-chart/dash-array-tickmarks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/dash-array-tickmarks/package.json b/samples/charts/data-chart/dash-array-tickmarks/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/dash-array-tickmarks/package.json +++ b/samples/charts/data-chart/dash-array-tickmarks/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/dash-array-tickmarks/sandbox.config.json b/samples/charts/data-chart/dash-array-tickmarks/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/dash-array-tickmarks/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.app.json b/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.base.json b/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.spec.json b/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.worker.json b/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/dash-array-tickmarks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-tickmarks/tsconfig.app.json b/samples/charts/data-chart/dash-array-tickmarks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/dash-array-tickmarks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/dash-array-tickmarks/tsconfig.json b/samples/charts/data-chart/dash-array-tickmarks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/dash-array-tickmarks/tsconfig.json +++ b/samples/charts/data-chart/dash-array-tickmarks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-trendline/.codesandbox/Dockerfile b/samples/charts/data-chart/dash-array-trendline/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/dash-array-trendline/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-trendline/.codesandbox/tasks.json b/samples/charts/data-chart/dash-array-trendline/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/dash-array-trendline/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-trendline/.stackblitzrc b/samples/charts/data-chart/dash-array-trendline/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/dash-array-trendline/.stackblitzrc +++ b/samples/charts/data-chart/dash-array-trendline/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-trendline/angular.json b/samples/charts/data-chart/dash-array-trendline/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/dash-array-trendline/angular.json +++ b/samples/charts/data-chart/dash-array-trendline/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/dash-array-trendline/package.json b/samples/charts/data-chart/dash-array-trendline/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/dash-array-trendline/package.json +++ b/samples/charts/data-chart/dash-array-trendline/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/dash-array-trendline/sandbox.config.json b/samples/charts/data-chart/dash-array-trendline/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/dash-array-trendline/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.app.json b/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.base.json b/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.spec.json b/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.worker.json b/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/dash-array-trendline/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/dash-array-trendline/tsconfig.app.json b/samples/charts/data-chart/dash-array-trendline/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/dash-array-trendline/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/dash-array-trendline/tsconfig.json b/samples/charts/data-chart/dash-array-trendline/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/dash-array-trendline/tsconfig.json +++ b/samples/charts/data-chart/dash-array-trendline/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/data-legend/.codesandbox/Dockerfile b/samples/charts/data-chart/data-legend/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/data-legend/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/data-legend/.codesandbox/tasks.json b/samples/charts/data-chart/data-legend/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/data-legend/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/data-legend/.stackblitzrc b/samples/charts/data-chart/data-legend/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/data-legend/.stackblitzrc +++ b/samples/charts/data-chart/data-legend/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/data-legend/angular.json b/samples/charts/data-chart/data-legend/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/data-legend/angular.json +++ b/samples/charts/data-chart/data-legend/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/data-legend/package.json b/samples/charts/data-chart/data-legend/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/data-legend/package.json +++ b/samples/charts/data-chart/data-legend/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/data-legend/sandbox.config.json b/samples/charts/data-chart/data-legend/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/data-legend/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/data-legend/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/data-legend/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/data-legend/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/data-legend/src/config/tsconfig.app.json b/samples/charts/data-chart/data-legend/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/data-legend/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/data-legend/src/config/tsconfig.base.json b/samples/charts/data-chart/data-legend/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/data-legend/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/data-legend/src/config/tsconfig.spec.json b/samples/charts/data-chart/data-legend/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/data-legend/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/data-legend/src/config/tsconfig.worker.json b/samples/charts/data-chart/data-legend/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/data-legend/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/data-legend/tsconfig.app.json b/samples/charts/data-chart/data-legend/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/data-legend/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/data-legend/tsconfig.json b/samples/charts/data-chart/data-legend/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/data-legend/tsconfig.json +++ b/samples/charts/data-chart/data-legend/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/data-tooltip/.codesandbox/Dockerfile b/samples/charts/data-chart/data-tooltip/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/data-tooltip/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/data-tooltip/.codesandbox/tasks.json b/samples/charts/data-chart/data-tooltip/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/data-tooltip/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/data-tooltip/.stackblitzrc b/samples/charts/data-chart/data-tooltip/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/data-tooltip/.stackblitzrc +++ b/samples/charts/data-chart/data-tooltip/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/data-tooltip/angular.json b/samples/charts/data-chart/data-tooltip/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/data-tooltip/angular.json +++ b/samples/charts/data-chart/data-tooltip/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/data-tooltip/package.json b/samples/charts/data-chart/data-tooltip/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/data-tooltip/package.json +++ b/samples/charts/data-chart/data-tooltip/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/data-tooltip/sandbox.config.json b/samples/charts/data-chart/data-tooltip/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/data-tooltip/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/data-tooltip/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/data-tooltip/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/data-tooltip/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.app.json b/samples/charts/data-chart/data-tooltip/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.base.json b/samples/charts/data-chart/data-tooltip/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.spec.json b/samples/charts/data-chart/data-tooltip/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.worker.json b/samples/charts/data-chart/data-tooltip/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/data-tooltip/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/data-tooltip/tsconfig.app.json b/samples/charts/data-chart/data-tooltip/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/data-tooltip/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/data-tooltip/tsconfig.json b/samples/charts/data-chart/data-tooltip/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/data-tooltip/tsconfig.json +++ b/samples/charts/data-chart/data-tooltip/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/final-value-layer-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/final-value-layer-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/final-value-layer-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/final-value-layer-styling/.codesandbox/tasks.json b/samples/charts/data-chart/final-value-layer-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/final-value-layer-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/final-value-layer-styling/.stackblitzrc b/samples/charts/data-chart/final-value-layer-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/final-value-layer-styling/.stackblitzrc +++ b/samples/charts/data-chart/final-value-layer-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/final-value-layer-styling/angular.json b/samples/charts/data-chart/final-value-layer-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/final-value-layer-styling/angular.json +++ b/samples/charts/data-chart/final-value-layer-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/final-value-layer-styling/package.json b/samples/charts/data-chart/final-value-layer-styling/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/final-value-layer-styling/package.json +++ b/samples/charts/data-chart/final-value-layer-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/final-value-layer-styling/sandbox.config.json b/samples/charts/data-chart/final-value-layer-styling/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/final-value-layer-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/final-value-layer-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/final-value-layer-styling/tsconfig.app.json b/samples/charts/data-chart/final-value-layer-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/final-value-layer-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/final-value-layer-styling/tsconfig.json b/samples/charts/data-chart/final-value-layer-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/final-value-layer-styling/tsconfig.json +++ b/samples/charts/data-chart/final-value-layer-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/financial-price-series/.codesandbox/Dockerfile b/samples/charts/data-chart/financial-price-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/financial-price-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/financial-price-series/.codesandbox/tasks.json b/samples/charts/data-chart/financial-price-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/financial-price-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/financial-price-series/.stackblitzrc b/samples/charts/data-chart/financial-price-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/financial-price-series/.stackblitzrc +++ b/samples/charts/data-chart/financial-price-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/financial-price-series/angular.json b/samples/charts/data-chart/financial-price-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/financial-price-series/angular.json +++ b/samples/charts/data-chart/financial-price-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/financial-price-series/package.json b/samples/charts/data-chart/financial-price-series/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/financial-price-series/package.json +++ b/samples/charts/data-chart/financial-price-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/financial-price-series/sandbox.config.json b/samples/charts/data-chart/financial-price-series/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/financial-price-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/financial-price-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/financial-price-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/financial-price-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.app.json b/samples/charts/data-chart/financial-price-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.base.json b/samples/charts/data-chart/financial-price-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/financial-price-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/financial-price-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/financial-price-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/financial-price-series/tsconfig.app.json b/samples/charts/data-chart/financial-price-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/financial-price-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/financial-price-series/tsconfig.json b/samples/charts/data-chart/financial-price-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/financial-price-series/tsconfig.json +++ b/samples/charts/data-chart/financial-price-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/format-specifiers/.codesandbox/Dockerfile b/samples/charts/data-chart/format-specifiers/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/format-specifiers/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/format-specifiers/.codesandbox/tasks.json b/samples/charts/data-chart/format-specifiers/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/format-specifiers/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/format-specifiers/.stackblitzrc b/samples/charts/data-chart/format-specifiers/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/format-specifiers/.stackblitzrc +++ b/samples/charts/data-chart/format-specifiers/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/format-specifiers/angular.json b/samples/charts/data-chart/format-specifiers/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/format-specifiers/angular.json +++ b/samples/charts/data-chart/format-specifiers/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/format-specifiers/package.json b/samples/charts/data-chart/format-specifiers/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/format-specifiers/package.json +++ b/samples/charts/data-chart/format-specifiers/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/format-specifiers/sandbox.config.json b/samples/charts/data-chart/format-specifiers/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/format-specifiers/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/format-specifiers/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/format-specifiers/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/format-specifiers/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.app.json b/samples/charts/data-chart/format-specifiers/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.base.json b/samples/charts/data-chart/format-specifiers/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.spec.json b/samples/charts/data-chart/format-specifiers/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.worker.json b/samples/charts/data-chart/format-specifiers/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/format-specifiers/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/format-specifiers/tsconfig.app.json b/samples/charts/data-chart/format-specifiers/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/format-specifiers/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/format-specifiers/tsconfig.json b/samples/charts/data-chart/format-specifiers/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/format-specifiers/tsconfig.json +++ b/samples/charts/data-chart/format-specifiers/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/legends/.codesandbox/Dockerfile b/samples/charts/data-chart/legends/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/legends/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/legends/.codesandbox/tasks.json b/samples/charts/data-chart/legends/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/legends/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/legends/.stackblitzrc b/samples/charts/data-chart/legends/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/legends/.stackblitzrc +++ b/samples/charts/data-chart/legends/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/legends/angular.json b/samples/charts/data-chart/legends/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/legends/angular.json +++ b/samples/charts/data-chart/legends/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/legends/package.json b/samples/charts/data-chart/legends/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/legends/package.json +++ b/samples/charts/data-chart/legends/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/legends/sandbox.config.json b/samples/charts/data-chart/legends/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/legends/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/legends/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/legends/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/legends/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/legends/src/config/tsconfig.app.json b/samples/charts/data-chart/legends/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/legends/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/legends/src/config/tsconfig.base.json b/samples/charts/data-chart/legends/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/legends/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/legends/src/config/tsconfig.spec.json b/samples/charts/data-chart/legends/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/legends/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/legends/src/config/tsconfig.worker.json b/samples/charts/data-chart/legends/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/legends/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/legends/tsconfig.app.json b/samples/charts/data-chart/legends/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/legends/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/legends/tsconfig.json b/samples/charts/data-chart/legends/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/legends/tsconfig.json +++ b/samples/charts/data-chart/legends/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-area-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-area-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart-styling/.codesandbox/tasks.json b/samples/charts/data-chart/polar-area-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-area-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart-styling/.stackblitzrc b/samples/charts/data-chart/polar-area-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-area-chart-styling/.stackblitzrc +++ b/samples/charts/data-chart/polar-area-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart-styling/angular.json b/samples/charts/data-chart/polar-area-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-area-chart-styling/angular.json +++ b/samples/charts/data-chart/polar-area-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-area-chart-styling/package.json b/samples/charts/data-chart/polar-area-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/polar-area-chart-styling/package.json +++ b/samples/charts/data-chart/polar-area-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-area-chart-styling/sandbox.config.json b/samples/charts/data-chart/polar-area-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/polar-area-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-area-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-area-chart-styling/tsconfig.app.json b/samples/charts/data-chart/polar-area-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-area-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-area-chart-styling/tsconfig.json b/samples/charts/data-chart/polar-area-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-area-chart-styling/tsconfig.json +++ b/samples/charts/data-chart/polar-area-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/polar-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart/.stackblitzrc b/samples/charts/data-chart/polar-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/polar-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart/angular.json b/samples/charts/data-chart/polar-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-area-chart/angular.json +++ b/samples/charts/data-chart/polar-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-area-chart/package.json b/samples/charts/data-chart/polar-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/polar-area-chart/package.json +++ b/samples/charts/data-chart/polar-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-area-chart/sandbox.config.json b/samples/charts/data-chart/polar-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/polar-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-area-chart/tsconfig.app.json b/samples/charts/data-chart/polar-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-area-chart/tsconfig.json b/samples/charts/data-chart/polar-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-area-chart/tsconfig.json +++ b/samples/charts/data-chart/polar-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-chart-types/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-chart-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-chart-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-chart-types/.codesandbox/tasks.json b/samples/charts/data-chart/polar-chart-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-chart-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-chart-types/.stackblitzrc b/samples/charts/data-chart/polar-chart-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-chart-types/.stackblitzrc +++ b/samples/charts/data-chart/polar-chart-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-chart-types/angular.json b/samples/charts/data-chart/polar-chart-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-chart-types/angular.json +++ b/samples/charts/data-chart/polar-chart-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-chart-types/package.json b/samples/charts/data-chart/polar-chart-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/polar-chart-types/package.json +++ b/samples/charts/data-chart/polar-chart-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-chart-types/sandbox.config.json b/samples/charts/data-chart/polar-chart-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/polar-chart-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-chart-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-chart-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-chart-types/tsconfig.app.json b/samples/charts/data-chart/polar-chart-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-chart-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-chart-types/tsconfig.json b/samples/charts/data-chart/polar-chart-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-chart-types/tsconfig.json +++ b/samples/charts/data-chart/polar-chart-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-line-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-line-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-line-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-line-chart/.codesandbox/tasks.json b/samples/charts/data-chart/polar-line-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-line-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-line-chart/.stackblitzrc b/samples/charts/data-chart/polar-line-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-line-chart/.stackblitzrc +++ b/samples/charts/data-chart/polar-line-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-line-chart/angular.json b/samples/charts/data-chart/polar-line-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-line-chart/angular.json +++ b/samples/charts/data-chart/polar-line-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-line-chart/package.json b/samples/charts/data-chart/polar-line-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/polar-line-chart/package.json +++ b/samples/charts/data-chart/polar-line-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-line-chart/sandbox.config.json b/samples/charts/data-chart/polar-line-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/polar-line-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-line-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-line-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-line-chart/tsconfig.app.json b/samples/charts/data-chart/polar-line-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-line-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-line-chart/tsconfig.json b/samples/charts/data-chart/polar-line-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-line-chart/tsconfig.json +++ b/samples/charts/data-chart/polar-line-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-scatter-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-scatter-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-scatter-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-scatter-chart/.codesandbox/tasks.json b/samples/charts/data-chart/polar-scatter-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-scatter-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-scatter-chart/.stackblitzrc b/samples/charts/data-chart/polar-scatter-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-scatter-chart/.stackblitzrc +++ b/samples/charts/data-chart/polar-scatter-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-scatter-chart/angular.json b/samples/charts/data-chart/polar-scatter-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-scatter-chart/angular.json +++ b/samples/charts/data-chart/polar-scatter-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-scatter-chart/package.json b/samples/charts/data-chart/polar-scatter-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/polar-scatter-chart/package.json +++ b/samples/charts/data-chart/polar-scatter-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-scatter-chart/sandbox.config.json b/samples/charts/data-chart/polar-scatter-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/polar-scatter-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-scatter-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-scatter-chart/tsconfig.app.json b/samples/charts/data-chart/polar-scatter-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-scatter-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-scatter-chart/tsconfig.json b/samples/charts/data-chart/polar-scatter-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-scatter-chart/tsconfig.json +++ b/samples/charts/data-chart/polar-scatter-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-spline-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-spline-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/polar-spline-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-spline-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-area-chart/.stackblitzrc b/samples/charts/data-chart/polar-spline-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-spline-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/polar-spline-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-area-chart/angular.json b/samples/charts/data-chart/polar-spline-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-spline-area-chart/angular.json +++ b/samples/charts/data-chart/polar-spline-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-spline-area-chart/package.json b/samples/charts/data-chart/polar-spline-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/polar-spline-area-chart/package.json +++ b/samples/charts/data-chart/polar-spline-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-spline-area-chart/sandbox.config.json b/samples/charts/data-chart/polar-spline-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/polar-spline-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-spline-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-spline-area-chart/tsconfig.app.json b/samples/charts/data-chart/polar-spline-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-spline-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-spline-area-chart/tsconfig.json b/samples/charts/data-chart/polar-spline-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-spline-area-chart/tsconfig.json +++ b/samples/charts/data-chart/polar-spline-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/polar-spline-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/polar-spline-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-chart/.codesandbox/tasks.json b/samples/charts/data-chart/polar-spline-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/polar-spline-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-chart/.stackblitzrc b/samples/charts/data-chart/polar-spline-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/polar-spline-chart/.stackblitzrc +++ b/samples/charts/data-chart/polar-spline-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-chart/angular.json b/samples/charts/data-chart/polar-spline-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/polar-spline-chart/angular.json +++ b/samples/charts/data-chart/polar-spline-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/polar-spline-chart/package.json b/samples/charts/data-chart/polar-spline-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/polar-spline-chart/package.json +++ b/samples/charts/data-chart/polar-spline-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/polar-spline-chart/sandbox.config.json b/samples/charts/data-chart/polar-spline-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/polar-spline-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/polar-spline-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/polar-spline-chart/tsconfig.app.json b/samples/charts/data-chart/polar-spline-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/polar-spline-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/polar-spline-chart/tsconfig.json b/samples/charts/data-chart/polar-spline-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/polar-spline-chart/tsconfig.json +++ b/samples/charts/data-chart/polar-spline-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/radial-area-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/radial-area-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart-styling/.codesandbox/tasks.json b/samples/charts/data-chart/radial-area-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/radial-area-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart-styling/.stackblitzrc b/samples/charts/data-chart/radial-area-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/radial-area-chart-styling/.stackblitzrc +++ b/samples/charts/data-chart/radial-area-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart-styling/angular.json b/samples/charts/data-chart/radial-area-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/radial-area-chart-styling/angular.json +++ b/samples/charts/data-chart/radial-area-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/radial-area-chart-styling/package.json b/samples/charts/data-chart/radial-area-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/radial-area-chart-styling/package.json +++ b/samples/charts/data-chart/radial-area-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/radial-area-chart-styling/sandbox.config.json b/samples/charts/data-chart/radial-area-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/radial-area-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/radial-area-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/radial-area-chart-styling/tsconfig.app.json b/samples/charts/data-chart/radial-area-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/radial-area-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/radial-area-chart-styling/tsconfig.json b/samples/charts/data-chart/radial-area-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/radial-area-chart-styling/tsconfig.json +++ b/samples/charts/data-chart/radial-area-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/radial-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/radial-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/radial-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/radial-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart/.stackblitzrc b/samples/charts/data-chart/radial-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/radial-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/radial-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart/angular.json b/samples/charts/data-chart/radial-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/radial-area-chart/angular.json +++ b/samples/charts/data-chart/radial-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/radial-area-chart/package.json b/samples/charts/data-chart/radial-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/radial-area-chart/package.json +++ b/samples/charts/data-chart/radial-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/radial-area-chart/sandbox.config.json b/samples/charts/data-chart/radial-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/radial-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/radial-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/radial-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/radial-area-chart/tsconfig.app.json b/samples/charts/data-chart/radial-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/radial-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/radial-area-chart/tsconfig.json b/samples/charts/data-chart/radial-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/radial-area-chart/tsconfig.json +++ b/samples/charts/data-chart/radial-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/radial-chart-types/.codesandbox/Dockerfile b/samples/charts/data-chart/radial-chart-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/radial-chart-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/radial-chart-types/.codesandbox/tasks.json b/samples/charts/data-chart/radial-chart-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/radial-chart-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-chart-types/.stackblitzrc b/samples/charts/data-chart/radial-chart-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/radial-chart-types/.stackblitzrc +++ b/samples/charts/data-chart/radial-chart-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-chart-types/angular.json b/samples/charts/data-chart/radial-chart-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/radial-chart-types/angular.json +++ b/samples/charts/data-chart/radial-chart-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/radial-chart-types/package.json b/samples/charts/data-chart/radial-chart-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/radial-chart-types/package.json +++ b/samples/charts/data-chart/radial-chart-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/radial-chart-types/sandbox.config.json b/samples/charts/data-chart/radial-chart-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/radial-chart-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/radial-chart-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.app.json b/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.base.json b/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.spec.json b/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.worker.json b/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/radial-chart-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/radial-chart-types/tsconfig.app.json b/samples/charts/data-chart/radial-chart-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/radial-chart-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/radial-chart-types/tsconfig.json b/samples/charts/data-chart/radial-chart-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/radial-chart-types/tsconfig.json +++ b/samples/charts/data-chart/radial-chart-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/radial-column-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/radial-column-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/radial-column-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/radial-column-chart/.codesandbox/tasks.json b/samples/charts/data-chart/radial-column-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/radial-column-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-column-chart/.stackblitzrc b/samples/charts/data-chart/radial-column-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/radial-column-chart/.stackblitzrc +++ b/samples/charts/data-chart/radial-column-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-column-chart/angular.json b/samples/charts/data-chart/radial-column-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/radial-column-chart/angular.json +++ b/samples/charts/data-chart/radial-column-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/radial-column-chart/package.json b/samples/charts/data-chart/radial-column-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/radial-column-chart/package.json +++ b/samples/charts/data-chart/radial-column-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/radial-column-chart/sandbox.config.json b/samples/charts/data-chart/radial-column-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/radial-column-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/radial-column-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/radial-column-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/radial-column-chart/tsconfig.app.json b/samples/charts/data-chart/radial-column-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/radial-column-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/radial-column-chart/tsconfig.json b/samples/charts/data-chart/radial-column-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/radial-column-chart/tsconfig.json +++ b/samples/charts/data-chart/radial-column-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/radial-line-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/radial-line-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/radial-line-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/radial-line-chart/.codesandbox/tasks.json b/samples/charts/data-chart/radial-line-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/radial-line-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-line-chart/.stackblitzrc b/samples/charts/data-chart/radial-line-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/radial-line-chart/.stackblitzrc +++ b/samples/charts/data-chart/radial-line-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-line-chart/angular.json b/samples/charts/data-chart/radial-line-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/radial-line-chart/angular.json +++ b/samples/charts/data-chart/radial-line-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/radial-line-chart/package.json b/samples/charts/data-chart/radial-line-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/radial-line-chart/package.json +++ b/samples/charts/data-chart/radial-line-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/radial-line-chart/sandbox.config.json b/samples/charts/data-chart/radial-line-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/radial-line-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/radial-line-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/radial-line-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/radial-line-chart/tsconfig.app.json b/samples/charts/data-chart/radial-line-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/radial-line-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/radial-line-chart/tsconfig.json b/samples/charts/data-chart/radial-line-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/radial-line-chart/tsconfig.json +++ b/samples/charts/data-chart/radial-line-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/radial-pie-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/radial-pie-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/radial-pie-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/radial-pie-chart/.codesandbox/tasks.json b/samples/charts/data-chart/radial-pie-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/radial-pie-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-pie-chart/.stackblitzrc b/samples/charts/data-chart/radial-pie-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/radial-pie-chart/.stackblitzrc +++ b/samples/charts/data-chart/radial-pie-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-pie-chart/angular.json b/samples/charts/data-chart/radial-pie-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/radial-pie-chart/angular.json +++ b/samples/charts/data-chart/radial-pie-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/radial-pie-chart/package.json b/samples/charts/data-chart/radial-pie-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/radial-pie-chart/package.json +++ b/samples/charts/data-chart/radial-pie-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/radial-pie-chart/sandbox.config.json b/samples/charts/data-chart/radial-pie-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/radial-pie-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/radial-pie-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/radial-pie-chart/tsconfig.app.json b/samples/charts/data-chart/radial-pie-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/radial-pie-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/radial-pie-chart/tsconfig.json b/samples/charts/data-chart/radial-pie-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/radial-pie-chart/tsconfig.json +++ b/samples/charts/data-chart/radial-pie-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/range-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/range-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/range-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/range-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/range-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/range-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/range-area-chart/.stackblitzrc b/samples/charts/data-chart/range-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/range-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/range-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/range-area-chart/angular.json b/samples/charts/data-chart/range-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/range-area-chart/angular.json +++ b/samples/charts/data-chart/range-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/range-area-chart/package.json b/samples/charts/data-chart/range-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/range-area-chart/package.json +++ b/samples/charts/data-chart/range-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/range-area-chart/sandbox.config.json b/samples/charts/data-chart/range-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/range-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/range-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/range-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/range-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/range-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/range-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/range-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/range-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/range-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/range-area-chart/tsconfig.app.json b/samples/charts/data-chart/range-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/range-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/range-area-chart/tsconfig.json b/samples/charts/data-chart/range-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/range-area-chart/tsconfig.json +++ b/samples/charts/data-chart/range-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/range-column-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/range-column-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/range-column-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/range-column-chart/.codesandbox/tasks.json b/samples/charts/data-chart/range-column-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/range-column-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/range-column-chart/.stackblitzrc b/samples/charts/data-chart/range-column-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/range-column-chart/.stackblitzrc +++ b/samples/charts/data-chart/range-column-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/range-column-chart/angular.json b/samples/charts/data-chart/range-column-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/range-column-chart/angular.json +++ b/samples/charts/data-chart/range-column-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/range-column-chart/package.json b/samples/charts/data-chart/range-column-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/range-column-chart/package.json +++ b/samples/charts/data-chart/range-column-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/range-column-chart/sandbox.config.json b/samples/charts/data-chart/range-column-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/range-column-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/range-column-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/range-column-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/range-column-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/range-column-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/range-column-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/range-column-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/range-column-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/range-column-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/range-column-chart/tsconfig.app.json b/samples/charts/data-chart/range-column-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/range-column-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/range-column-chart/tsconfig.json b/samples/charts/data-chart/range-column-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/range-column-chart/tsconfig.json +++ b/samples/charts/data-chart/range-column-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.stackblitzrc b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.stackblitzrc +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/angular.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/angular.json +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/package.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/package.json +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/sandbox.config.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.json b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.json +++ b/samples/charts/data-chart/scatter-bubble-chart-fill-scale/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.stackblitzrc b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.stackblitzrc +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/angular.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/angular.json +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/package.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/package.json +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/sandbox.config.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.json b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.json +++ b/samples/charts/data-chart/scatter-bubble-chart-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-bubble-chart-single-source/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/.stackblitzrc b/samples/charts/data-chart/scatter-bubble-chart-single-source/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/.stackblitzrc +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/angular.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/angular.json +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/package.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/package.json +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/sandbox.config.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.json b/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.json +++ b/samples/charts/data-chart/scatter-bubble-chart-single-source/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-bubble-chart-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-bubble-chart-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/.stackblitzrc b/samples/charts/data-chart/scatter-bubble-chart-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/.stackblitzrc +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/angular.json b/samples/charts/data-chart/scatter-bubble-chart-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/angular.json +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/package.json b/samples/charts/data-chart/scatter-bubble-chart-styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/package.json +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/sandbox.config.json b/samples/charts/data-chart/scatter-bubble-chart-styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.app.json b/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.json b/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.json +++ b/samples/charts/data-chart/scatter-bubble-chart-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-line-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-line-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-line-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-line-chart/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-line-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-line-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-line-chart/.stackblitzrc b/samples/charts/data-chart/scatter-line-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-line-chart/.stackblitzrc +++ b/samples/charts/data-chart/scatter-line-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-line-chart/angular.json b/samples/charts/data-chart/scatter-line-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-line-chart/angular.json +++ b/samples/charts/data-chart/scatter-line-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-line-chart/package.json b/samples/charts/data-chart/scatter-line-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-line-chart/package.json +++ b/samples/charts/data-chart/scatter-line-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-line-chart/sandbox.config.json b/samples/charts/data-chart/scatter-line-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-line-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-line-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-line-chart/tsconfig.app.json b/samples/charts/data-chart/scatter-line-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-line-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-line-chart/tsconfig.json b/samples/charts/data-chart/scatter-line-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-line-chart/tsconfig.json +++ b/samples/charts/data-chart/scatter-line-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-point-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-point-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-point-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-point-chart/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-point-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-point-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-point-chart/.stackblitzrc b/samples/charts/data-chart/scatter-point-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-point-chart/.stackblitzrc +++ b/samples/charts/data-chart/scatter-point-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-point-chart/angular.json b/samples/charts/data-chart/scatter-point-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-point-chart/angular.json +++ b/samples/charts/data-chart/scatter-point-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-point-chart/package.json b/samples/charts/data-chart/scatter-point-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-point-chart/package.json +++ b/samples/charts/data-chart/scatter-point-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-point-chart/sandbox.config.json b/samples/charts/data-chart/scatter-point-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-point-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-point-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-point-chart/tsconfig.app.json b/samples/charts/data-chart/scatter-point-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-point-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-point-chart/tsconfig.json b/samples/charts/data-chart/scatter-point-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-point-chart/tsconfig.json +++ b/samples/charts/data-chart/scatter-point-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-spline-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/scatter-spline-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/scatter-spline-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-spline-chart/.codesandbox/tasks.json b/samples/charts/data-chart/scatter-spline-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/scatter-spline-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-spline-chart/.stackblitzrc b/samples/charts/data-chart/scatter-spline-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/scatter-spline-chart/.stackblitzrc +++ b/samples/charts/data-chart/scatter-spline-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-spline-chart/angular.json b/samples/charts/data-chart/scatter-spline-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/scatter-spline-chart/angular.json +++ b/samples/charts/data-chart/scatter-spline-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/scatter-spline-chart/package.json b/samples/charts/data-chart/scatter-spline-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/scatter-spline-chart/package.json +++ b/samples/charts/data-chart/scatter-spline-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/scatter-spline-chart/sandbox.config.json b/samples/charts/data-chart/scatter-spline-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/scatter-spline-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/scatter-spline-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/scatter-spline-chart/tsconfig.app.json b/samples/charts/data-chart/scatter-spline-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/scatter-spline-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/scatter-spline-chart/tsconfig.json b/samples/charts/data-chart/scatter-spline-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/scatter-spline-chart/tsconfig.json +++ b/samples/charts/data-chart/scatter-spline-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-animations/.codesandbox/Dockerfile b/samples/charts/data-chart/series-animations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-animations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-animations/.codesandbox/tasks.json b/samples/charts/data-chart/series-animations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-animations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-animations/.stackblitzrc b/samples/charts/data-chart/series-animations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-animations/.stackblitzrc +++ b/samples/charts/data-chart/series-animations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-animations/angular.json b/samples/charts/data-chart/series-animations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-animations/angular.json +++ b/samples/charts/data-chart/series-animations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-animations/package.json b/samples/charts/data-chart/series-animations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-animations/package.json +++ b/samples/charts/data-chart/series-animations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-animations/sandbox.config.json b/samples/charts/data-chart/series-animations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-animations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-animations/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-animations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-animations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-animations/src/config/tsconfig.app.json b/samples/charts/data-chart/series-animations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-animations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-animations/src/config/tsconfig.base.json b/samples/charts/data-chart/series-animations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-animations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-animations/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-animations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-animations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-animations/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-animations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-animations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-animations/tsconfig.app.json b/samples/charts/data-chart/series-animations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-animations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-animations/tsconfig.json b/samples/charts/data-chart/series-animations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-animations/tsconfig.json +++ b/samples/charts/data-chart/series-animations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-annotations/.codesandbox/Dockerfile b/samples/charts/data-chart/series-annotations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-annotations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-annotations/.codesandbox/tasks.json b/samples/charts/data-chart/series-annotations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-annotations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-annotations/.stackblitzrc b/samples/charts/data-chart/series-annotations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-annotations/.stackblitzrc +++ b/samples/charts/data-chart/series-annotations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-annotations/angular.json b/samples/charts/data-chart/series-annotations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-annotations/angular.json +++ b/samples/charts/data-chart/series-annotations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-annotations/package.json b/samples/charts/data-chart/series-annotations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-annotations/package.json +++ b/samples/charts/data-chart/series-annotations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-annotations/sandbox.config.json b/samples/charts/data-chart/series-annotations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-annotations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-annotations/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-annotations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-annotations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-annotations/src/config/tsconfig.app.json b/samples/charts/data-chart/series-annotations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-annotations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-annotations/src/config/tsconfig.base.json b/samples/charts/data-chart/series-annotations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-annotations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-annotations/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-annotations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-annotations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-annotations/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-annotations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-annotations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-annotations/tsconfig.app.json b/samples/charts/data-chart/series-annotations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-annotations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-annotations/tsconfig.json b/samples/charts/data-chart/series-annotations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-annotations/tsconfig.json +++ b/samples/charts/data-chart/series-annotations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-highlighting/.codesandbox/Dockerfile b/samples/charts/data-chart/series-highlighting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-highlighting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-highlighting/.codesandbox/tasks.json b/samples/charts/data-chart/series-highlighting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-highlighting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-highlighting/.stackblitzrc b/samples/charts/data-chart/series-highlighting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-highlighting/.stackblitzrc +++ b/samples/charts/data-chart/series-highlighting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-highlighting/angular.json b/samples/charts/data-chart/series-highlighting/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-highlighting/angular.json +++ b/samples/charts/data-chart/series-highlighting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-highlighting/package.json b/samples/charts/data-chart/series-highlighting/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-highlighting/package.json +++ b/samples/charts/data-chart/series-highlighting/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-highlighting/sandbox.config.json b/samples/charts/data-chart/series-highlighting/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-highlighting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-highlighting/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-highlighting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-highlighting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.app.json b/samples/charts/data-chart/series-highlighting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.base.json b/samples/charts/data-chart/series-highlighting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-highlighting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-highlighting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-highlighting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-highlighting/tsconfig.app.json b/samples/charts/data-chart/series-highlighting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-highlighting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-highlighting/tsconfig.json b/samples/charts/data-chart/series-highlighting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-highlighting/tsconfig.json +++ b/samples/charts/data-chart/series-highlighting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-marker-template/.codesandbox/Dockerfile b/samples/charts/data-chart/series-marker-template/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-marker-template/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-marker-template/.codesandbox/tasks.json b/samples/charts/data-chart/series-marker-template/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-marker-template/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-marker-template/.stackblitzrc b/samples/charts/data-chart/series-marker-template/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-marker-template/.stackblitzrc +++ b/samples/charts/data-chart/series-marker-template/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-marker-template/angular.json b/samples/charts/data-chart/series-marker-template/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-marker-template/angular.json +++ b/samples/charts/data-chart/series-marker-template/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-marker-template/package.json b/samples/charts/data-chart/series-marker-template/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-marker-template/package.json +++ b/samples/charts/data-chart/series-marker-template/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-marker-template/sandbox.config.json b/samples/charts/data-chart/series-marker-template/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-marker-template/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-marker-template/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-marker-template/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-marker-template/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.app.json b/samples/charts/data-chart/series-marker-template/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.base.json b/samples/charts/data-chart/series-marker-template/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-marker-template/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-marker-template/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-marker-template/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-marker-template/tsconfig.app.json b/samples/charts/data-chart/series-marker-template/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-marker-template/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-marker-template/tsconfig.json b/samples/charts/data-chart/series-marker-template/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-marker-template/tsconfig.json +++ b/samples/charts/data-chart/series-marker-template/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-markers/.codesandbox/Dockerfile b/samples/charts/data-chart/series-markers/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-markers/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-markers/.codesandbox/tasks.json b/samples/charts/data-chart/series-markers/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-markers/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-markers/.stackblitzrc b/samples/charts/data-chart/series-markers/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-markers/.stackblitzrc +++ b/samples/charts/data-chart/series-markers/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-markers/angular.json b/samples/charts/data-chart/series-markers/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-markers/angular.json +++ b/samples/charts/data-chart/series-markers/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-markers/package.json b/samples/charts/data-chart/series-markers/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-markers/package.json +++ b/samples/charts/data-chart/series-markers/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-markers/sandbox.config.json b/samples/charts/data-chart/series-markers/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-markers/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-markers/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-markers/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-markers/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-markers/src/config/tsconfig.app.json b/samples/charts/data-chart/series-markers/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-markers/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-markers/src/config/tsconfig.base.json b/samples/charts/data-chart/series-markers/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-markers/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-markers/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-markers/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-markers/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-markers/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-markers/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-markers/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-markers/tsconfig.app.json b/samples/charts/data-chart/series-markers/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-markers/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-markers/tsconfig.json b/samples/charts/data-chart/series-markers/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-markers/tsconfig.json +++ b/samples/charts/data-chart/series-markers/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-tooltips/.codesandbox/Dockerfile b/samples/charts/data-chart/series-tooltips/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-tooltips/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-tooltips/.codesandbox/tasks.json b/samples/charts/data-chart/series-tooltips/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-tooltips/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-tooltips/.stackblitzrc b/samples/charts/data-chart/series-tooltips/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-tooltips/.stackblitzrc +++ b/samples/charts/data-chart/series-tooltips/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-tooltips/angular.json b/samples/charts/data-chart/series-tooltips/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-tooltips/angular.json +++ b/samples/charts/data-chart/series-tooltips/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-tooltips/package.json b/samples/charts/data-chart/series-tooltips/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-tooltips/package.json +++ b/samples/charts/data-chart/series-tooltips/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-tooltips/sandbox.config.json b/samples/charts/data-chart/series-tooltips/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-tooltips/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-tooltips/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-tooltips/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-tooltips/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.app.json b/samples/charts/data-chart/series-tooltips/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.base.json b/samples/charts/data-chart/series-tooltips/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-tooltips/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-tooltips/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-tooltips/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-tooltips/tsconfig.app.json b/samples/charts/data-chart/series-tooltips/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-tooltips/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-tooltips/tsconfig.json b/samples/charts/data-chart/series-tooltips/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-tooltips/tsconfig.json +++ b/samples/charts/data-chart/series-tooltips/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-trendlines/.codesandbox/Dockerfile b/samples/charts/data-chart/series-trendlines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-trendlines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-trendlines/.codesandbox/tasks.json b/samples/charts/data-chart/series-trendlines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-trendlines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-trendlines/.stackblitzrc b/samples/charts/data-chart/series-trendlines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-trendlines/.stackblitzrc +++ b/samples/charts/data-chart/series-trendlines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-trendlines/angular.json b/samples/charts/data-chart/series-trendlines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-trendlines/angular.json +++ b/samples/charts/data-chart/series-trendlines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-trendlines/package.json b/samples/charts/data-chart/series-trendlines/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-trendlines/package.json +++ b/samples/charts/data-chart/series-trendlines/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-trendlines/sandbox.config.json b/samples/charts/data-chart/series-trendlines/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-trendlines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-trendlines/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-trendlines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-trendlines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.app.json b/samples/charts/data-chart/series-trendlines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.base.json b/samples/charts/data-chart/series-trendlines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-trendlines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-trendlines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-trendlines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-trendlines/tsconfig.app.json b/samples/charts/data-chart/series-trendlines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-trendlines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-trendlines/tsconfig.json b/samples/charts/data-chart/series-trendlines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-trendlines/tsconfig.json +++ b/samples/charts/data-chart/series-trendlines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/series-value-overlay/.codesandbox/Dockerfile b/samples/charts/data-chart/series-value-overlay/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/series-value-overlay/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/series-value-overlay/.codesandbox/tasks.json b/samples/charts/data-chart/series-value-overlay/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/series-value-overlay/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/series-value-overlay/.stackblitzrc b/samples/charts/data-chart/series-value-overlay/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/series-value-overlay/.stackblitzrc +++ b/samples/charts/data-chart/series-value-overlay/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/series-value-overlay/angular.json b/samples/charts/data-chart/series-value-overlay/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/series-value-overlay/angular.json +++ b/samples/charts/data-chart/series-value-overlay/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/series-value-overlay/package.json b/samples/charts/data-chart/series-value-overlay/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/series-value-overlay/package.json +++ b/samples/charts/data-chart/series-value-overlay/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/series-value-overlay/sandbox.config.json b/samples/charts/data-chart/series-value-overlay/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/series-value-overlay/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/series-value-overlay/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.app.json b/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.base.json b/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.spec.json b/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.worker.json b/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/series-value-overlay/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/series-value-overlay/tsconfig.app.json b/samples/charts/data-chart/series-value-overlay/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/series-value-overlay/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/series-value-overlay/tsconfig.json b/samples/charts/data-chart/series-value-overlay/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/series-value-overlay/tsconfig.json +++ b/samples/charts/data-chart/series-value-overlay/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-100-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-100-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-100-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-100-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-area-chart/.stackblitzrc b/samples/charts/data-chart/stacked-100-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-100-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-100-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-area-chart/angular.json b/samples/charts/data-chart/stacked-100-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-100-area-chart/angular.json +++ b/samples/charts/data-chart/stacked-100-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-100-area-chart/package.json b/samples/charts/data-chart/stacked-100-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-100-area-chart/package.json +++ b/samples/charts/data-chart/stacked-100-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-100-area-chart/sandbox.config.json b/samples/charts/data-chart/stacked-100-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-100-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-100-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-area-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-100-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-100-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-100-area-chart/tsconfig.json b/samples/charts/data-chart/stacked-100-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-100-area-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-100-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-bar-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-100-bar-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-100-bar-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-bar-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-100-bar-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-100-bar-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-bar-chart/.stackblitzrc b/samples/charts/data-chart/stacked-100-bar-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-100-bar-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-100-bar-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-bar-chart/angular.json b/samples/charts/data-chart/stacked-100-bar-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-100-bar-chart/angular.json +++ b/samples/charts/data-chart/stacked-100-bar-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-100-bar-chart/package.json b/samples/charts/data-chart/stacked-100-bar-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-100-bar-chart/package.json +++ b/samples/charts/data-chart/stacked-100-bar-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-100-bar-chart/sandbox.config.json b/samples/charts/data-chart/stacked-100-bar-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-100-bar-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-100-bar-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.json b/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-100-bar-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-column-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-100-column-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-100-column-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-column-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-100-column-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-100-column-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-column-chart/.stackblitzrc b/samples/charts/data-chart/stacked-100-column-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-100-column-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-100-column-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-column-chart/angular.json b/samples/charts/data-chart/stacked-100-column-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-100-column-chart/angular.json +++ b/samples/charts/data-chart/stacked-100-column-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-100-column-chart/package.json b/samples/charts/data-chart/stacked-100-column-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-100-column-chart/package.json +++ b/samples/charts/data-chart/stacked-100-column-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-100-column-chart/sandbox.config.json b/samples/charts/data-chart/stacked-100-column-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-100-column-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-100-column-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-column-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-100-column-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-100-column-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-100-column-chart/tsconfig.json b/samples/charts/data-chart/stacked-100-column-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-100-column-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-100-column-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-line-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-100-line-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-100-line-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-line-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-100-line-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-100-line-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-line-chart/.stackblitzrc b/samples/charts/data-chart/stacked-100-line-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-100-line-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-100-line-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-line-chart/angular.json b/samples/charts/data-chart/stacked-100-line-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-100-line-chart/angular.json +++ b/samples/charts/data-chart/stacked-100-line-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-100-line-chart/package.json b/samples/charts/data-chart/stacked-100-line-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-100-line-chart/package.json +++ b/samples/charts/data-chart/stacked-100-line-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-100-line-chart/sandbox.config.json b/samples/charts/data-chart/stacked-100-line-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-100-line-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-100-line-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-line-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-100-line-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-100-line-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-100-line-chart/tsconfig.json b/samples/charts/data-chart/stacked-100-line-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-100-line-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-100-line-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-100-spline-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-100-spline-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/.stackblitzrc b/samples/charts/data-chart/stacked-100-spline-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/angular.json b/samples/charts/data-chart/stacked-100-spline-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/angular.json +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/package.json b/samples/charts/data-chart/stacked-100-spline-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/package.json +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/sandbox.config.json b/samples/charts/data-chart/stacked-100-spline-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.json b/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-100-spline-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-100-spline-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-100-spline-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-100-spline-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-100-spline-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-chart/.stackblitzrc b/samples/charts/data-chart/stacked-100-spline-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-100-spline-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-100-spline-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-chart/angular.json b/samples/charts/data-chart/stacked-100-spline-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-100-spline-chart/angular.json +++ b/samples/charts/data-chart/stacked-100-spline-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-100-spline-chart/package.json b/samples/charts/data-chart/stacked-100-spline-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-100-spline-chart/package.json +++ b/samples/charts/data-chart/stacked-100-spline-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-100-spline-chart/sandbox.config.json b/samples/charts/data-chart/stacked-100-spline-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-100-spline-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-100-spline-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.json b/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-100-spline-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-area-chart/.stackblitzrc b/samples/charts/data-chart/stacked-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-area-chart/angular.json b/samples/charts/data-chart/stacked-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-area-chart/angular.json +++ b/samples/charts/data-chart/stacked-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-area-chart/package.json b/samples/charts/data-chart/stacked-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-area-chart/package.json +++ b/samples/charts/data-chart/stacked-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-area-chart/sandbox.config.json b/samples/charts/data-chart/stacked-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-area-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-area-chart/tsconfig.json b/samples/charts/data-chart/stacked-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-area-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-bar-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-bar-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-bar-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-bar-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-bar-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-bar-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-bar-chart/.stackblitzrc b/samples/charts/data-chart/stacked-bar-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-bar-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-bar-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-bar-chart/angular.json b/samples/charts/data-chart/stacked-bar-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-bar-chart/angular.json +++ b/samples/charts/data-chart/stacked-bar-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-bar-chart/package.json b/samples/charts/data-chart/stacked-bar-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-bar-chart/package.json +++ b/samples/charts/data-chart/stacked-bar-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-bar-chart/sandbox.config.json b/samples/charts/data-chart/stacked-bar-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-bar-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-bar-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-bar-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-bar-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-bar-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-bar-chart/tsconfig.json b/samples/charts/data-chart/stacked-bar-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-bar-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-bar-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-chart-types/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-chart-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-chart-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-chart-types/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-chart-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-chart-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-chart-types/.stackblitzrc b/samples/charts/data-chart/stacked-chart-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-chart-types/.stackblitzrc +++ b/samples/charts/data-chart/stacked-chart-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-chart-types/angular.json b/samples/charts/data-chart/stacked-chart-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-chart-types/angular.json +++ b/samples/charts/data-chart/stacked-chart-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-chart-types/package.json b/samples/charts/data-chart/stacked-chart-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/stacked-chart-types/package.json +++ b/samples/charts/data-chart/stacked-chart-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-chart-types/sandbox.config.json b/samples/charts/data-chart/stacked-chart-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/stacked-chart-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-chart-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-chart-types/tsconfig.app.json b/samples/charts/data-chart/stacked-chart-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-chart-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-chart-types/tsconfig.json b/samples/charts/data-chart/stacked-chart-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-chart-types/tsconfig.json +++ b/samples/charts/data-chart/stacked-chart-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-column-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-column-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-column-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-column-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-column-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-column-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-column-chart/.stackblitzrc b/samples/charts/data-chart/stacked-column-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-column-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-column-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-column-chart/angular.json b/samples/charts/data-chart/stacked-column-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-column-chart/angular.json +++ b/samples/charts/data-chart/stacked-column-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-column-chart/package.json b/samples/charts/data-chart/stacked-column-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-column-chart/package.json +++ b/samples/charts/data-chart/stacked-column-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-column-chart/sandbox.config.json b/samples/charts/data-chart/stacked-column-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-column-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-column-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-column-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-column-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-column-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-column-chart/tsconfig.json b/samples/charts/data-chart/stacked-column-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-column-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-column-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-line-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-line-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-line-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-line-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-line-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-line-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-line-chart/.stackblitzrc b/samples/charts/data-chart/stacked-line-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-line-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-line-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-line-chart/angular.json b/samples/charts/data-chart/stacked-line-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-line-chart/angular.json +++ b/samples/charts/data-chart/stacked-line-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-line-chart/package.json b/samples/charts/data-chart/stacked-line-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-line-chart/package.json +++ b/samples/charts/data-chart/stacked-line-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-line-chart/sandbox.config.json b/samples/charts/data-chart/stacked-line-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-line-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-line-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-line-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-line-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-line-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-line-chart/tsconfig.json b/samples/charts/data-chart/stacked-line-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-line-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-line-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-area-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-spline-area-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-spline-area-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-area-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-spline-area-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-spline-area-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-area-chart/.stackblitzrc b/samples/charts/data-chart/stacked-spline-area-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-spline-area-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-spline-area-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-area-chart/angular.json b/samples/charts/data-chart/stacked-spline-area-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-spline-area-chart/angular.json +++ b/samples/charts/data-chart/stacked-spline-area-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-spline-area-chart/package.json b/samples/charts/data-chart/stacked-spline-area-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-spline-area-chart/package.json +++ b/samples/charts/data-chart/stacked-spline-area-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-spline-area-chart/sandbox.config.json b/samples/charts/data-chart/stacked-spline-area-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-spline-area-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-spline-area-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.json b/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-spline-area-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/stacked-spline-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/stacked-spline-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-chart/.codesandbox/tasks.json b/samples/charts/data-chart/stacked-spline-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/stacked-spline-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-chart/.stackblitzrc b/samples/charts/data-chart/stacked-spline-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/stacked-spline-chart/.stackblitzrc +++ b/samples/charts/data-chart/stacked-spline-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-chart/angular.json b/samples/charts/data-chart/stacked-spline-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/stacked-spline-chart/angular.json +++ b/samples/charts/data-chart/stacked-spline-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/stacked-spline-chart/package.json b/samples/charts/data-chart/stacked-spline-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/stacked-spline-chart/package.json +++ b/samples/charts/data-chart/stacked-spline-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/stacked-spline-chart/sandbox.config.json b/samples/charts/data-chart/stacked-spline-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/stacked-spline-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/stacked-spline-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/stacked-spline-chart/tsconfig.app.json b/samples/charts/data-chart/stacked-spline-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/stacked-spline-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/stacked-spline-chart/tsconfig.json b/samples/charts/data-chart/stacked-spline-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/stacked-spline-chart/tsconfig.json +++ b/samples/charts/data-chart/stacked-spline-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/tooltip-template/.codesandbox/Dockerfile b/samples/charts/data-chart/tooltip-template/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/tooltip-template/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/tooltip-template/.codesandbox/tasks.json b/samples/charts/data-chart/tooltip-template/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/tooltip-template/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/tooltip-template/.stackblitzrc b/samples/charts/data-chart/tooltip-template/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/tooltip-template/.stackblitzrc +++ b/samples/charts/data-chart/tooltip-template/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/tooltip-template/angular.json b/samples/charts/data-chart/tooltip-template/angular.json index c86d9a6a7..0c2c173c9 100644 --- a/samples/charts/data-chart/tooltip-template/angular.json +++ b/samples/charts/data-chart/tooltip-template/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,42 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - }, + "defaultProject": "demo", "cli": { - "analytics": "ef0b952f-13da-4cca-bbb2-5b2fdd7f34e1" + "analytics": false } } diff --git a/samples/charts/data-chart/tooltip-template/package.json b/samples/charts/data-chart/tooltip-template/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/tooltip-template/package.json +++ b/samples/charts/data-chart/tooltip-template/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/tooltip-template/sandbox.config.json b/samples/charts/data-chart/tooltip-template/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/tooltip-template/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/tooltip-template/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/tooltip-template/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/tooltip-template/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.app.json b/samples/charts/data-chart/tooltip-template/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.base.json b/samples/charts/data-chart/tooltip-template/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.spec.json b/samples/charts/data-chart/tooltip-template/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.worker.json b/samples/charts/data-chart/tooltip-template/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/tooltip-template/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/tooltip-template/tsconfig.app.json b/samples/charts/data-chart/tooltip-template/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/tooltip-template/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/tooltip-template/tsconfig.json b/samples/charts/data-chart/tooltip-template/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/tooltip-template/tsconfig.json +++ b/samples/charts/data-chart/tooltip-template/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/transition-event/.codesandbox/Dockerfile b/samples/charts/data-chart/transition-event/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/transition-event/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/transition-event/.codesandbox/tasks.json b/samples/charts/data-chart/transition-event/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/transition-event/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/transition-event/.stackblitzrc b/samples/charts/data-chart/transition-event/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/transition-event/.stackblitzrc +++ b/samples/charts/data-chart/transition-event/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/transition-event/angular.json b/samples/charts/data-chart/transition-event/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/transition-event/angular.json +++ b/samples/charts/data-chart/transition-event/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/transition-event/package.json b/samples/charts/data-chart/transition-event/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/data-chart/transition-event/package.json +++ b/samples/charts/data-chart/transition-event/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/transition-event/sandbox.config.json b/samples/charts/data-chart/transition-event/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/transition-event/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/transition-event/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/transition-event/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/transition-event/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/transition-event/src/config/tsconfig.app.json b/samples/charts/data-chart/transition-event/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/transition-event/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/transition-event/src/config/tsconfig.base.json b/samples/charts/data-chart/transition-event/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/transition-event/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/transition-event/src/config/tsconfig.spec.json b/samples/charts/data-chart/transition-event/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/transition-event/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/transition-event/src/config/tsconfig.worker.json b/samples/charts/data-chart/transition-event/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/transition-event/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/transition-event/tsconfig.app.json b/samples/charts/data-chart/transition-event/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/transition-event/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/transition-event/tsconfig.json b/samples/charts/data-chart/transition-event/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/transition-event/tsconfig.json +++ b/samples/charts/data-chart/transition-event/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-area-series/.stackblitzrc b/samples/charts/data-chart/type-category-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-area-series/angular.json b/samples/charts/data-chart/type-category-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-area-series/angular.json +++ b/samples/charts/data-chart/type-category-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-area-series/package.json b/samples/charts/data-chart/type-category-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-area-series/package.json +++ b/samples/charts/data-chart/type-category-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-area-series/sandbox.config.json b/samples/charts/data-chart/type-category-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-area-series/tsconfig.app.json b/samples/charts/data-chart/type-category-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-area-series/tsconfig.json b/samples/charts/data-chart/type-category-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-bar-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-bar-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-bar-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-bar-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-bar-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-bar-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-bar-series/.stackblitzrc b/samples/charts/data-chart/type-category-bar-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-bar-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-bar-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-bar-series/angular.json b/samples/charts/data-chart/type-category-bar-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-bar-series/angular.json +++ b/samples/charts/data-chart/type-category-bar-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-bar-series/package.json b/samples/charts/data-chart/type-category-bar-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-bar-series/package.json +++ b/samples/charts/data-chart/type-category-bar-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-bar-series/sandbox.config.json b/samples/charts/data-chart/type-category-bar-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-bar-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-bar-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-bar-series/tsconfig.app.json b/samples/charts/data-chart/type-category-bar-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-bar-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-bar-series/tsconfig.json b/samples/charts/data-chart/type-category-bar-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-bar-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-bar-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-column-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-column-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-column-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-column-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-column-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-column-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-column-series/.stackblitzrc b/samples/charts/data-chart/type-category-column-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-column-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-column-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-column-series/angular.json b/samples/charts/data-chart/type-category-column-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-column-series/angular.json +++ b/samples/charts/data-chart/type-category-column-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-column-series/package.json b/samples/charts/data-chart/type-category-column-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-column-series/package.json +++ b/samples/charts/data-chart/type-category-column-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-column-series/sandbox.config.json b/samples/charts/data-chart/type-category-column-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-column-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-column-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-column-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-column-series/tsconfig.app.json b/samples/charts/data-chart/type-category-column-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-column-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-column-series/tsconfig.json b/samples/charts/data-chart/type-category-column-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-column-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-column-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-line-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-line-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-line-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-line-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-line-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-line-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-line-series/.stackblitzrc b/samples/charts/data-chart/type-category-line-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-line-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-line-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-line-series/angular.json b/samples/charts/data-chart/type-category-line-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-line-series/angular.json +++ b/samples/charts/data-chart/type-category-line-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-line-series/package.json b/samples/charts/data-chart/type-category-line-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-line-series/package.json +++ b/samples/charts/data-chart/type-category-line-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-line-series/sandbox.config.json b/samples/charts/data-chart/type-category-line-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-line-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-line-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-line-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-line-series/tsconfig.app.json b/samples/charts/data-chart/type-category-line-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-line-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-line-series/tsconfig.json b/samples/charts/data-chart/type-category-line-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-line-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-line-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-point-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-point-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-point-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-point-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-point-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-point-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-point-series/.stackblitzrc b/samples/charts/data-chart/type-category-point-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-point-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-point-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-point-series/angular.json b/samples/charts/data-chart/type-category-point-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-point-series/angular.json +++ b/samples/charts/data-chart/type-category-point-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-point-series/package.json b/samples/charts/data-chart/type-category-point-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-point-series/package.json +++ b/samples/charts/data-chart/type-category-point-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-point-series/sandbox.config.json b/samples/charts/data-chart/type-category-point-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-point-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-point-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-point-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-point-series/tsconfig.app.json b/samples/charts/data-chart/type-category-point-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-point-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-point-series/tsconfig.json b/samples/charts/data-chart/type-category-point-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-point-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-point-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-series/.stackblitzrc b/samples/charts/data-chart/type-category-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-series/angular.json b/samples/charts/data-chart/type-category-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-series/angular.json +++ b/samples/charts/data-chart/type-category-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-series/package.json b/samples/charts/data-chart/type-category-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-series/package.json +++ b/samples/charts/data-chart/type-category-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-series/sandbox.config.json b/samples/charts/data-chart/type-category-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-series/tsconfig.app.json b/samples/charts/data-chart/type-category-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-series/tsconfig.json b/samples/charts/data-chart/type-category-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-spline-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-spline-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-spline-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-spline-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-area-series/.stackblitzrc b/samples/charts/data-chart/type-category-spline-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-spline-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-spline-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-area-series/angular.json b/samples/charts/data-chart/type-category-spline-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-spline-area-series/angular.json +++ b/samples/charts/data-chart/type-category-spline-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-spline-area-series/package.json b/samples/charts/data-chart/type-category-spline-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-spline-area-series/package.json +++ b/samples/charts/data-chart/type-category-spline-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-spline-area-series/sandbox.config.json b/samples/charts/data-chart/type-category-spline-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-spline-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-spline-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-spline-area-series/tsconfig.app.json b/samples/charts/data-chart/type-category-spline-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-spline-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-spline-area-series/tsconfig.json b/samples/charts/data-chart/type-category-spline-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-spline-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-spline-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-spline-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-spline-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-spline-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-spline-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-series/.stackblitzrc b/samples/charts/data-chart/type-category-spline-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-spline-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-spline-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-series/angular.json b/samples/charts/data-chart/type-category-spline-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-spline-series/angular.json +++ b/samples/charts/data-chart/type-category-spline-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-spline-series/package.json b/samples/charts/data-chart/type-category-spline-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-spline-series/package.json +++ b/samples/charts/data-chart/type-category-spline-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-spline-series/sandbox.config.json b/samples/charts/data-chart/type-category-spline-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-spline-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-spline-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-spline-series/tsconfig.app.json b/samples/charts/data-chart/type-category-spline-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-spline-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-spline-series/tsconfig.json b/samples/charts/data-chart/type-category-spline-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-spline-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-spline-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-step-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-step-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-step-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-step-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-area-series/.stackblitzrc b/samples/charts/data-chart/type-category-step-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-step-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-step-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-area-series/angular.json b/samples/charts/data-chart/type-category-step-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-step-area-series/angular.json +++ b/samples/charts/data-chart/type-category-step-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-step-area-series/package.json b/samples/charts/data-chart/type-category-step-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-step-area-series/package.json +++ b/samples/charts/data-chart/type-category-step-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-step-area-series/sandbox.config.json b/samples/charts/data-chart/type-category-step-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-step-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-step-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-step-area-series/tsconfig.app.json b/samples/charts/data-chart/type-category-step-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-step-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-step-area-series/tsconfig.json b/samples/charts/data-chart/type-category-step-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-step-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-step-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-line-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-step-line-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-step-line-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-line-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-step-line-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-step-line-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-line-series/.stackblitzrc b/samples/charts/data-chart/type-category-step-line-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-step-line-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-step-line-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-line-series/angular.json b/samples/charts/data-chart/type-category-step-line-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-step-line-series/angular.json +++ b/samples/charts/data-chart/type-category-step-line-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-step-line-series/package.json b/samples/charts/data-chart/type-category-step-line-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-step-line-series/package.json +++ b/samples/charts/data-chart/type-category-step-line-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-step-line-series/sandbox.config.json b/samples/charts/data-chart/type-category-step-line-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-step-line-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-step-line-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-step-line-series/tsconfig.app.json b/samples/charts/data-chart/type-category-step-line-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-step-line-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-step-line-series/tsconfig.json b/samples/charts/data-chart/type-category-step-line-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-step-line-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-step-line-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-waterfall-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-category-waterfall-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-category-waterfall-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-waterfall-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-category-waterfall-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-category-waterfall-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-waterfall-series/.stackblitzrc b/samples/charts/data-chart/type-category-waterfall-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-category-waterfall-series/.stackblitzrc +++ b/samples/charts/data-chart/type-category-waterfall-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-waterfall-series/angular.json b/samples/charts/data-chart/type-category-waterfall-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-category-waterfall-series/angular.json +++ b/samples/charts/data-chart/type-category-waterfall-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-category-waterfall-series/package.json b/samples/charts/data-chart/type-category-waterfall-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-category-waterfall-series/package.json +++ b/samples/charts/data-chart/type-category-waterfall-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-category-waterfall-series/sandbox.config.json b/samples/charts/data-chart/type-category-waterfall-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-category-waterfall-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-category-waterfall-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-category-waterfall-series/tsconfig.app.json b/samples/charts/data-chart/type-category-waterfall-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-category-waterfall-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-category-waterfall-series/tsconfig.json b/samples/charts/data-chart/type-category-waterfall-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-category-waterfall-series/tsconfig.json +++ b/samples/charts/data-chart/type-category-waterfall-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-area-indicators/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-area-indicators/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-area-indicators/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-area-indicators/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-area-indicators/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-area-indicators/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-area-indicators/.stackblitzrc b/samples/charts/data-chart/type-financial-area-indicators/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-area-indicators/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-area-indicators/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-area-indicators/angular.json b/samples/charts/data-chart/type-financial-area-indicators/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-area-indicators/angular.json +++ b/samples/charts/data-chart/type-financial-area-indicators/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-area-indicators/package.json b/samples/charts/data-chart/type-financial-area-indicators/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-area-indicators/package.json +++ b/samples/charts/data-chart/type-financial-area-indicators/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-area-indicators/sandbox.config.json b/samples/charts/data-chart/type-financial-area-indicators/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-area-indicators/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-area-indicators/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-area-indicators/tsconfig.app.json b/samples/charts/data-chart/type-financial-area-indicators/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-area-indicators/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-area-indicators/tsconfig.json b/samples/charts/data-chart/type-financial-area-indicators/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-area-indicators/tsconfig.json +++ b/samples/charts/data-chart/type-financial-area-indicators/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-candlestick-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-candlestick-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-candlestick-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-candlestick-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-candlestick-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-candlestick-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-candlestick-series/.stackblitzrc b/samples/charts/data-chart/type-financial-candlestick-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-candlestick-series/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-candlestick-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-candlestick-series/angular.json b/samples/charts/data-chart/type-financial-candlestick-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-candlestick-series/angular.json +++ b/samples/charts/data-chart/type-financial-candlestick-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-candlestick-series/package.json b/samples/charts/data-chart/type-financial-candlestick-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-candlestick-series/package.json +++ b/samples/charts/data-chart/type-financial-candlestick-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-candlestick-series/sandbox.config.json b/samples/charts/data-chart/type-financial-candlestick-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-candlestick-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-candlestick-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.app.json b/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.json b/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.json +++ b/samples/charts/data-chart/type-financial-candlestick-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-column-indicators/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-column-indicators/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-column-indicators/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-column-indicators/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-column-indicators/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-column-indicators/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-column-indicators/.stackblitzrc b/samples/charts/data-chart/type-financial-column-indicators/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-column-indicators/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-column-indicators/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-column-indicators/angular.json b/samples/charts/data-chart/type-financial-column-indicators/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-column-indicators/angular.json +++ b/samples/charts/data-chart/type-financial-column-indicators/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-column-indicators/package.json b/samples/charts/data-chart/type-financial-column-indicators/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-column-indicators/package.json +++ b/samples/charts/data-chart/type-financial-column-indicators/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-column-indicators/sandbox.config.json b/samples/charts/data-chart/type-financial-column-indicators/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-column-indicators/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-column-indicators/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-column-indicators/tsconfig.app.json b/samples/charts/data-chart/type-financial-column-indicators/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-column-indicators/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-column-indicators/tsconfig.json b/samples/charts/data-chart/type-financial-column-indicators/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-column-indicators/tsconfig.json +++ b/samples/charts/data-chart/type-financial-column-indicators/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-line-indicators/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-line-indicators/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-line-indicators/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-line-indicators/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-line-indicators/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-line-indicators/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-line-indicators/.stackblitzrc b/samples/charts/data-chart/type-financial-line-indicators/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-line-indicators/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-line-indicators/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-line-indicators/angular.json b/samples/charts/data-chart/type-financial-line-indicators/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-line-indicators/angular.json +++ b/samples/charts/data-chart/type-financial-line-indicators/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-line-indicators/package.json b/samples/charts/data-chart/type-financial-line-indicators/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-line-indicators/package.json +++ b/samples/charts/data-chart/type-financial-line-indicators/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-line-indicators/sandbox.config.json b/samples/charts/data-chart/type-financial-line-indicators/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-line-indicators/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-line-indicators/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-line-indicators/tsconfig.app.json b/samples/charts/data-chart/type-financial-line-indicators/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-line-indicators/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-line-indicators/tsconfig.json b/samples/charts/data-chart/type-financial-line-indicators/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-line-indicators/tsconfig.json +++ b/samples/charts/data-chart/type-financial-line-indicators/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-ohlc-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-ohlc-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-ohlc-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-ohlc-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-ohlc-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-ohlc-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-ohlc-series/.stackblitzrc b/samples/charts/data-chart/type-financial-ohlc-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-ohlc-series/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-ohlc-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-ohlc-series/angular.json b/samples/charts/data-chart/type-financial-ohlc-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-ohlc-series/angular.json +++ b/samples/charts/data-chart/type-financial-ohlc-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-ohlc-series/package.json b/samples/charts/data-chart/type-financial-ohlc-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-ohlc-series/package.json +++ b/samples/charts/data-chart/type-financial-ohlc-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-ohlc-series/sandbox.config.json b/samples/charts/data-chart/type-financial-ohlc-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-ohlc-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-ohlc-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.app.json b/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.json b/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.json +++ b/samples/charts/data-chart/type-financial-ohlc-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-overlays/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-overlays/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-overlays/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-overlays/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-overlays/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-overlays/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-overlays/.stackblitzrc b/samples/charts/data-chart/type-financial-overlays/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-overlays/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-overlays/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-overlays/angular.json b/samples/charts/data-chart/type-financial-overlays/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-overlays/angular.json +++ b/samples/charts/data-chart/type-financial-overlays/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-overlays/package.json b/samples/charts/data-chart/type-financial-overlays/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-overlays/package.json +++ b/samples/charts/data-chart/type-financial-overlays/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-overlays/sandbox.config.json b/samples/charts/data-chart/type-financial-overlays/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-overlays/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-overlays/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-overlays/tsconfig.app.json b/samples/charts/data-chart/type-financial-overlays/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-overlays/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-overlays/tsconfig.json b/samples/charts/data-chart/type-financial-overlays/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-overlays/tsconfig.json +++ b/samples/charts/data-chart/type-financial-overlays/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-financial-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-financial-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-financial-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-financial-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-series/.stackblitzrc b/samples/charts/data-chart/type-financial-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-financial-series/.stackblitzrc +++ b/samples/charts/data-chart/type-financial-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-series/angular.json b/samples/charts/data-chart/type-financial-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-financial-series/angular.json +++ b/samples/charts/data-chart/type-financial-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-financial-series/package.json b/samples/charts/data-chart/type-financial-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-financial-series/package.json +++ b/samples/charts/data-chart/type-financial-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-financial-series/sandbox.config.json b/samples/charts/data-chart/type-financial-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-financial-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-financial-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-financial-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-financial-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-financial-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-financial-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-financial-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-financial-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-financial-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-financial-series/tsconfig.app.json b/samples/charts/data-chart/type-financial-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-financial-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-financial-series/tsconfig.json b/samples/charts/data-chart/type-financial-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-financial-series/tsconfig.json +++ b/samples/charts/data-chart/type-financial-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-radial-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-radial-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-radial-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-radial-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-area-series/.stackblitzrc b/samples/charts/data-chart/type-radial-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-radial-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-radial-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-area-series/angular.json b/samples/charts/data-chart/type-radial-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-radial-area-series/angular.json +++ b/samples/charts/data-chart/type-radial-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-radial-area-series/package.json b/samples/charts/data-chart/type-radial-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-radial-area-series/package.json +++ b/samples/charts/data-chart/type-radial-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-radial-area-series/sandbox.config.json b/samples/charts/data-chart/type-radial-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-radial-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-radial-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-area-series/tsconfig.app.json b/samples/charts/data-chart/type-radial-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-radial-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-radial-area-series/tsconfig.json b/samples/charts/data-chart/type-radial-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-radial-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-radial-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-column-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-radial-column-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-radial-column-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-column-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-radial-column-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-radial-column-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-column-series/.stackblitzrc b/samples/charts/data-chart/type-radial-column-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-radial-column-series/.stackblitzrc +++ b/samples/charts/data-chart/type-radial-column-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-column-series/angular.json b/samples/charts/data-chart/type-radial-column-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-radial-column-series/angular.json +++ b/samples/charts/data-chart/type-radial-column-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-radial-column-series/package.json b/samples/charts/data-chart/type-radial-column-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-radial-column-series/package.json +++ b/samples/charts/data-chart/type-radial-column-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-radial-column-series/sandbox.config.json b/samples/charts/data-chart/type-radial-column-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-radial-column-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-radial-column-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-column-series/tsconfig.app.json b/samples/charts/data-chart/type-radial-column-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-radial-column-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-radial-column-series/tsconfig.json b/samples/charts/data-chart/type-radial-column-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-radial-column-series/tsconfig.json +++ b/samples/charts/data-chart/type-radial-column-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-line-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-radial-line-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-radial-line-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-line-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-radial-line-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-radial-line-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-line-series/.stackblitzrc b/samples/charts/data-chart/type-radial-line-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-radial-line-series/.stackblitzrc +++ b/samples/charts/data-chart/type-radial-line-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-line-series/angular.json b/samples/charts/data-chart/type-radial-line-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-radial-line-series/angular.json +++ b/samples/charts/data-chart/type-radial-line-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-radial-line-series/package.json b/samples/charts/data-chart/type-radial-line-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-radial-line-series/package.json +++ b/samples/charts/data-chart/type-radial-line-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-radial-line-series/sandbox.config.json b/samples/charts/data-chart/type-radial-line-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-radial-line-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-radial-line-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-line-series/tsconfig.app.json b/samples/charts/data-chart/type-radial-line-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-radial-line-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-radial-line-series/tsconfig.json b/samples/charts/data-chart/type-radial-line-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-radial-line-series/tsconfig.json +++ b/samples/charts/data-chart/type-radial-line-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-pie-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-radial-pie-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-radial-pie-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-pie-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-radial-pie-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-radial-pie-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-pie-series/.stackblitzrc b/samples/charts/data-chart/type-radial-pie-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-radial-pie-series/.stackblitzrc +++ b/samples/charts/data-chart/type-radial-pie-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-pie-series/angular.json b/samples/charts/data-chart/type-radial-pie-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-radial-pie-series/angular.json +++ b/samples/charts/data-chart/type-radial-pie-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-radial-pie-series/package.json b/samples/charts/data-chart/type-radial-pie-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-radial-pie-series/package.json +++ b/samples/charts/data-chart/type-radial-pie-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-radial-pie-series/sandbox.config.json b/samples/charts/data-chart/type-radial-pie-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-radial-pie-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-radial-pie-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-radial-pie-series/tsconfig.app.json b/samples/charts/data-chart/type-radial-pie-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-radial-pie-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-radial-pie-series/tsconfig.json b/samples/charts/data-chart/type-radial-pie-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-radial-pie-series/tsconfig.json +++ b/samples/charts/data-chart/type-radial-pie-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-range-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-range-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-range-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-range-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-area-series/.stackblitzrc b/samples/charts/data-chart/type-range-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-range-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-range-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-area-series/angular.json b/samples/charts/data-chart/type-range-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-range-area-series/angular.json +++ b/samples/charts/data-chart/type-range-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-range-area-series/package.json b/samples/charts/data-chart/type-range-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-range-area-series/package.json +++ b/samples/charts/data-chart/type-range-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-range-area-series/sandbox.config.json b/samples/charts/data-chart/type-range-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-range-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-range-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-range-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-area-series/tsconfig.app.json b/samples/charts/data-chart/type-range-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-range-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-range-area-series/tsconfig.json b/samples/charts/data-chart/type-range-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-range-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-range-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-column-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-range-column-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-range-column-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-column-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-range-column-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-range-column-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-column-series/.stackblitzrc b/samples/charts/data-chart/type-range-column-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-range-column-series/.stackblitzrc +++ b/samples/charts/data-chart/type-range-column-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-column-series/angular.json b/samples/charts/data-chart/type-range-column-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-range-column-series/angular.json +++ b/samples/charts/data-chart/type-range-column-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-range-column-series/package.json b/samples/charts/data-chart/type-range-column-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-range-column-series/package.json +++ b/samples/charts/data-chart/type-range-column-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-range-column-series/sandbox.config.json b/samples/charts/data-chart/type-range-column-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-range-column-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-range-column-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-range-column-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-column-series/tsconfig.app.json b/samples/charts/data-chart/type-range-column-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-range-column-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-range-column-series/tsconfig.json b/samples/charts/data-chart/type-range-column-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-range-column-series/tsconfig.json +++ b/samples/charts/data-chart/type-range-column-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-range-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-range-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-range-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-range-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-series/.stackblitzrc b/samples/charts/data-chart/type-range-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-range-series/.stackblitzrc +++ b/samples/charts/data-chart/type-range-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-series/angular.json b/samples/charts/data-chart/type-range-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-range-series/angular.json +++ b/samples/charts/data-chart/type-range-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-range-series/package.json b/samples/charts/data-chart/type-range-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-range-series/package.json +++ b/samples/charts/data-chart/type-range-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-range-series/sandbox.config.json b/samples/charts/data-chart/type-range-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-range-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-range-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-range-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-range-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-range-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-range-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-range-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-range-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-range-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-range-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-range-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-range-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-range-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-range-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-range-series/tsconfig.app.json b/samples/charts/data-chart/type-range-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-range-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-range-series/tsconfig.json b/samples/charts/data-chart/type-range-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-range-series/tsconfig.json +++ b/samples/charts/data-chart/type-range-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-area-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-area-series/angular.json b/samples/charts/data-chart/type-scatter-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-area-series/angular.json +++ b/samples/charts/data-chart/type-scatter-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-area-series/package.json b/samples/charts/data-chart/type-scatter-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-area-series/package.json +++ b/samples/charts/data-chart/type-scatter-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-area-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-area-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-area-series/tsconfig.json b/samples/charts/data-chart/type-scatter-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-bubble-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-bubble-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-bubble-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-bubble-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-bubble-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-bubble-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-bubble-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-bubble-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-bubble-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-bubble-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-bubble-series/angular.json b/samples/charts/data-chart/type-scatter-bubble-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-bubble-series/angular.json +++ b/samples/charts/data-chart/type-scatter-bubble-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-bubble-series/package.json b/samples/charts/data-chart/type-scatter-bubble-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-bubble-series/package.json +++ b/samples/charts/data-chart/type-scatter-bubble-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-bubble-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-bubble-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-bubble-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-bubble-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.json b/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-bubble-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-contour-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-contour-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-contour-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-contour-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-contour-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-contour-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-contour-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-contour-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-contour-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-contour-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-contour-series/angular.json b/samples/charts/data-chart/type-scatter-contour-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-contour-series/angular.json +++ b/samples/charts/data-chart/type-scatter-contour-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-contour-series/package.json b/samples/charts/data-chart/type-scatter-contour-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-contour-series/package.json +++ b/samples/charts/data-chart/type-scatter-contour-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-contour-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-contour-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-contour-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-contour-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-contour-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-contour-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-contour-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-contour-series/tsconfig.json b/samples/charts/data-chart/type-scatter-contour-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-contour-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-contour-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-hd-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-hd-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-hd-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-hd-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-hd-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-hd-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-hd-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-hd-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-hd-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-hd-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-hd-series/angular.json b/samples/charts/data-chart/type-scatter-hd-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-hd-series/angular.json +++ b/samples/charts/data-chart/type-scatter-hd-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-hd-series/package.json b/samples/charts/data-chart/type-scatter-hd-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-hd-series/package.json +++ b/samples/charts/data-chart/type-scatter-hd-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-hd-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-hd-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-hd-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-hd-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-hd-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-hd-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-hd-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-hd-series/tsconfig.json b/samples/charts/data-chart/type-scatter-hd-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-hd-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-hd-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-line-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-line-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-line-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-line-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-line-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-line-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-line-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-line-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-line-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-line-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-line-series/angular.json b/samples/charts/data-chart/type-scatter-line-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-line-series/angular.json +++ b/samples/charts/data-chart/type-scatter-line-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-line-series/package.json b/samples/charts/data-chart/type-scatter-line-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-line-series/package.json +++ b/samples/charts/data-chart/type-scatter-line-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-line-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-line-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-line-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-line-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-line-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-line-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-line-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-line-series/tsconfig.json b/samples/charts/data-chart/type-scatter-line-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-line-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-line-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-point-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-point-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-point-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-point-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-point-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-point-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-point-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-point-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-point-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-point-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-point-series/angular.json b/samples/charts/data-chart/type-scatter-point-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-point-series/angular.json +++ b/samples/charts/data-chart/type-scatter-point-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-point-series/package.json b/samples/charts/data-chart/type-scatter-point-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-point-series/package.json +++ b/samples/charts/data-chart/type-scatter-point-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-point-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-point-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-point-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-point-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-point-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-point-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-point-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-point-series/tsconfig.json b/samples/charts/data-chart/type-scatter-point-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-point-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-point-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polygon-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-polygon-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-polygon-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polygon-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-polygon-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-polygon-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polygon-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-polygon-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-polygon-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-polygon-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polygon-series/angular.json b/samples/charts/data-chart/type-scatter-polygon-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-polygon-series/angular.json +++ b/samples/charts/data-chart/type-scatter-polygon-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-polygon-series/package.json b/samples/charts/data-chart/type-scatter-polygon-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-polygon-series/package.json +++ b/samples/charts/data-chart/type-scatter-polygon-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-polygon-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-polygon-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-polygon-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-polygon-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.json b/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-polygon-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polyline-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-polyline-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-polyline-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polyline-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-polyline-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-polyline-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polyline-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-polyline-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-polyline-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-polyline-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polyline-series/angular.json b/samples/charts/data-chart/type-scatter-polyline-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-polyline-series/angular.json +++ b/samples/charts/data-chart/type-scatter-polyline-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-polyline-series/package.json b/samples/charts/data-chart/type-scatter-polyline-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-polyline-series/package.json +++ b/samples/charts/data-chart/type-scatter-polyline-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-polyline-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-polyline-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-polyline-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-polyline-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.json b/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-polyline-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-series/angular.json b/samples/charts/data-chart/type-scatter-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-series/angular.json +++ b/samples/charts/data-chart/type-scatter-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-series/package.json b/samples/charts/data-chart/type-scatter-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-series/package.json +++ b/samples/charts/data-chart/type-scatter-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-series/tsconfig.json b/samples/charts/data-chart/type-scatter-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-spline-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-scatter-spline-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-scatter-spline-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-spline-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-scatter-spline-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-scatter-spline-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-spline-series/.stackblitzrc b/samples/charts/data-chart/type-scatter-spline-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-scatter-spline-series/.stackblitzrc +++ b/samples/charts/data-chart/type-scatter-spline-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-spline-series/angular.json b/samples/charts/data-chart/type-scatter-spline-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-scatter-spline-series/angular.json +++ b/samples/charts/data-chart/type-scatter-spline-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-scatter-spline-series/package.json b/samples/charts/data-chart/type-scatter-spline-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-scatter-spline-series/package.json +++ b/samples/charts/data-chart/type-scatter-spline-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-scatter-spline-series/sandbox.config.json b/samples/charts/data-chart/type-scatter-spline-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-scatter-spline-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-scatter-spline-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-scatter-spline-series/tsconfig.app.json b/samples/charts/data-chart/type-scatter-spline-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-scatter-spline-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-scatter-spline-series/tsconfig.json b/samples/charts/data-chart/type-scatter-spline-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-scatter-spline-series/tsconfig.json +++ b/samples/charts/data-chart/type-scatter-spline-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-shape-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-shape-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-shape-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-shape-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-shape-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-shape-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-shape-series/.stackblitzrc b/samples/charts/data-chart/type-shape-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-shape-series/.stackblitzrc +++ b/samples/charts/data-chart/type-shape-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-shape-series/angular.json b/samples/charts/data-chart/type-shape-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-shape-series/angular.json +++ b/samples/charts/data-chart/type-shape-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-shape-series/package.json b/samples/charts/data-chart/type-shape-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-shape-series/package.json +++ b/samples/charts/data-chart/type-shape-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-shape-series/sandbox.config.json b/samples/charts/data-chart/type-shape-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-shape-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-shape-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-shape-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-shape-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-shape-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-shape-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-shape-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-shape-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-shape-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-shape-series/tsconfig.app.json b/samples/charts/data-chart/type-shape-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-shape-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-shape-series/tsconfig.json b/samples/charts/data-chart/type-shape-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-shape-series/tsconfig.json +++ b/samples/charts/data-chart/type-shape-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-100-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-100-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-area-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-100-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-100-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-100-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-area-series/angular.json b/samples/charts/data-chart/type-stacked-100-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-100-area-series/angular.json +++ b/samples/charts/data-chart/type-stacked-100-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-100-area-series/package.json b/samples/charts/data-chart/type-stacked-100-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-100-area-series/package.json +++ b/samples/charts/data-chart/type-stacked-100-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-100-area-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-100-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-100-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-100-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.json b/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-100-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-100-bar-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-bar-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-100-bar-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-bar-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-100-bar-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-100-bar-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-100-bar-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/angular.json b/samples/charts/data-chart/type-stacked-100-bar-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-100-bar-series/angular.json +++ b/samples/charts/data-chart/type-stacked-100-bar-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/package.json b/samples/charts/data-chart/type-stacked-100-bar-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-100-bar-series/package.json +++ b/samples/charts/data-chart/type-stacked-100-bar-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-100-bar-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-100-bar-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-100-bar-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.json b/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-100-bar-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-column-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-100-column-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-column-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-column-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-100-column-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-column-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-column-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-100-column-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-100-column-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-100-column-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-column-series/angular.json b/samples/charts/data-chart/type-stacked-100-column-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-100-column-series/angular.json +++ b/samples/charts/data-chart/type-stacked-100-column-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-100-column-series/package.json b/samples/charts/data-chart/type-stacked-100-column-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-100-column-series/package.json +++ b/samples/charts/data-chart/type-stacked-100-column-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-100-column-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-100-column-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-100-column-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-100-column-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.json b/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-100-column-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-line-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-100-line-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-line-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-line-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-100-line-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-line-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-line-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-100-line-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-100-line-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-100-line-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-line-series/angular.json b/samples/charts/data-chart/type-stacked-100-line-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-100-line-series/angular.json +++ b/samples/charts/data-chart/type-stacked-100-line-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-100-line-series/package.json b/samples/charts/data-chart/type-stacked-100-line-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-100-line-series/package.json +++ b/samples/charts/data-chart/type-stacked-100-line-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-100-line-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-100-line-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-100-line-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-100-line-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.json b/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-100-line-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-100-spline-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-100-spline-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/angular.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/angular.json +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/package.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/package.json +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.json b/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-100-spline-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-100-spline-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-spline-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-100-spline-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-spline-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-100-spline-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-100-spline-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/angular.json b/samples/charts/data-chart/type-stacked-100-spline-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-series/angular.json +++ b/samples/charts/data-chart/type-stacked-100-spline-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/package.json b/samples/charts/data-chart/type-stacked-100-spline-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-series/package.json +++ b/samples/charts/data-chart/type-stacked-100-spline-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-100-spline-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-100-spline-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.json b/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-100-spline-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-area-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-area-series/angular.json b/samples/charts/data-chart/type-stacked-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-area-series/angular.json +++ b/samples/charts/data-chart/type-stacked-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-area-series/package.json b/samples/charts/data-chart/type-stacked-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-area-series/package.json +++ b/samples/charts/data-chart/type-stacked-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-area-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-area-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-area-series/tsconfig.json b/samples/charts/data-chart/type-stacked-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-bar-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-bar-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-bar-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-bar-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-bar-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-bar-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-bar-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-bar-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-bar-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-bar-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-bar-series/angular.json b/samples/charts/data-chart/type-stacked-bar-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-bar-series/angular.json +++ b/samples/charts/data-chart/type-stacked-bar-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-bar-series/package.json b/samples/charts/data-chart/type-stacked-bar-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-bar-series/package.json +++ b/samples/charts/data-chart/type-stacked-bar-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-bar-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-bar-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-bar-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-bar-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-bar-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-bar-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-bar-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-bar-series/tsconfig.json b/samples/charts/data-chart/type-stacked-bar-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-bar-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-bar-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-column-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-column-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-column-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-column-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-column-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-column-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-column-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-column-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-column-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-column-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-column-series/angular.json b/samples/charts/data-chart/type-stacked-column-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-column-series/angular.json +++ b/samples/charts/data-chart/type-stacked-column-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-column-series/package.json b/samples/charts/data-chart/type-stacked-column-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-column-series/package.json +++ b/samples/charts/data-chart/type-stacked-column-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-column-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-column-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-column-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-column-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-column-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-column-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-column-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-column-series/tsconfig.json b/samples/charts/data-chart/type-stacked-column-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-column-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-column-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-line-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-line-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-line-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-line-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-line-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-line-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-line-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-line-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-line-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-line-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-line-series/angular.json b/samples/charts/data-chart/type-stacked-line-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-line-series/angular.json +++ b/samples/charts/data-chart/type-stacked-line-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-line-series/package.json b/samples/charts/data-chart/type-stacked-line-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-line-series/package.json +++ b/samples/charts/data-chart/type-stacked-line-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-line-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-line-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-line-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-line-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-line-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-line-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-line-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-line-series/tsconfig.json b/samples/charts/data-chart/type-stacked-line-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-line-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-line-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-spline-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-spline-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-spline-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-spline-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-spline-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-spline-area-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-spline-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/angular.json b/samples/charts/data-chart/type-stacked-spline-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-spline-area-series/angular.json +++ b/samples/charts/data-chart/type-stacked-spline-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/package.json b/samples/charts/data-chart/type-stacked-spline-area-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-spline-area-series/package.json +++ b/samples/charts/data-chart/type-stacked-spline-area-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-spline-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-spline-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-spline-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.json b/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-spline-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-series/.codesandbox/Dockerfile b/samples/charts/data-chart/type-stacked-spline-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/type-stacked-spline-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-series/.codesandbox/tasks.json b/samples/charts/data-chart/type-stacked-spline-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/type-stacked-spline-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-series/.stackblitzrc b/samples/charts/data-chart/type-stacked-spline-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/type-stacked-spline-series/.stackblitzrc +++ b/samples/charts/data-chart/type-stacked-spline-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-series/angular.json b/samples/charts/data-chart/type-stacked-spline-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/type-stacked-spline-series/angular.json +++ b/samples/charts/data-chart/type-stacked-spline-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/type-stacked-spline-series/package.json b/samples/charts/data-chart/type-stacked-spline-series/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/data-chart/type-stacked-spline-series/package.json +++ b/samples/charts/data-chart/type-stacked-spline-series/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/type-stacked-spline-series/sandbox.config.json b/samples/charts/data-chart/type-stacked-spline-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/data-chart/type-stacked-spline-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.app.json b/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.base.json b/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.spec.json b/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.worker.json b/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/type-stacked-spline-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/type-stacked-spline-series/tsconfig.app.json b/samples/charts/data-chart/type-stacked-spline-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/type-stacked-spline-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/type-stacked-spline-series/tsconfig.json b/samples/charts/data-chart/type-stacked-spline-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/type-stacked-spline-series/tsconfig.json +++ b/samples/charts/data-chart/type-stacked-spline-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/data-chart/waterfall-chart/.codesandbox/Dockerfile b/samples/charts/data-chart/waterfall-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/data-chart/waterfall-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/data-chart/waterfall-chart/.codesandbox/tasks.json b/samples/charts/data-chart/waterfall-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/data-chart/waterfall-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/data-chart/waterfall-chart/.stackblitzrc b/samples/charts/data-chart/waterfall-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/data-chart/waterfall-chart/.stackblitzrc +++ b/samples/charts/data-chart/waterfall-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/data-chart/waterfall-chart/angular.json b/samples/charts/data-chart/waterfall-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/data-chart/waterfall-chart/angular.json +++ b/samples/charts/data-chart/waterfall-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/data-chart/waterfall-chart/package.json b/samples/charts/data-chart/waterfall-chart/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/data-chart/waterfall-chart/package.json +++ b/samples/charts/data-chart/waterfall-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/data-chart/waterfall-chart/sandbox.config.json b/samples/charts/data-chart/waterfall-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/data-chart/waterfall-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig-es5.app.json b/samples/charts/data-chart/waterfall-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.app.json b/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.base.json b/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.spec.json b/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.worker.json b/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/data-chart/waterfall-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/data-chart/waterfall-chart/tsconfig.app.json b/samples/charts/data-chart/waterfall-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/data-chart/waterfall-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/data-chart/waterfall-chart/tsconfig.json b/samples/charts/data-chart/waterfall-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/data-chart/waterfall-chart/tsconfig.json +++ b/samples/charts/data-chart/waterfall-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/doughnut-chart/animation/.codesandbox/Dockerfile b/samples/charts/doughnut-chart/animation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/doughnut-chart/animation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/doughnut-chart/animation/.codesandbox/tasks.json b/samples/charts/doughnut-chart/animation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/doughnut-chart/animation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/animation/.stackblitzrc b/samples/charts/doughnut-chart/animation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/doughnut-chart/animation/.stackblitzrc +++ b/samples/charts/doughnut-chart/animation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/animation/angular.json b/samples/charts/doughnut-chart/animation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/doughnut-chart/animation/angular.json +++ b/samples/charts/doughnut-chart/animation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/doughnut-chart/animation/package.json b/samples/charts/doughnut-chart/animation/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/doughnut-chart/animation/package.json +++ b/samples/charts/doughnut-chart/animation/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/doughnut-chart/animation/sandbox.config.json b/samples/charts/doughnut-chart/animation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/doughnut-chart/animation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/animation/src/config/tsconfig-es5.app.json b/samples/charts/doughnut-chart/animation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/doughnut-chart/animation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/doughnut-chart/animation/src/config/tsconfig.app.json b/samples/charts/doughnut-chart/animation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/doughnut-chart/animation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/doughnut-chart/animation/src/config/tsconfig.base.json b/samples/charts/doughnut-chart/animation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/doughnut-chart/animation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/doughnut-chart/animation/src/config/tsconfig.spec.json b/samples/charts/doughnut-chart/animation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/doughnut-chart/animation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/doughnut-chart/animation/src/config/tsconfig.worker.json b/samples/charts/doughnut-chart/animation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/doughnut-chart/animation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/doughnut-chart/animation/tsconfig.app.json b/samples/charts/doughnut-chart/animation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/doughnut-chart/animation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/doughnut-chart/animation/tsconfig.json b/samples/charts/doughnut-chart/animation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/doughnut-chart/animation/tsconfig.json +++ b/samples/charts/doughnut-chart/animation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/doughnut-chart/explosion/.codesandbox/Dockerfile b/samples/charts/doughnut-chart/explosion/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/doughnut-chart/explosion/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/doughnut-chart/explosion/.codesandbox/tasks.json b/samples/charts/doughnut-chart/explosion/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/doughnut-chart/explosion/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/explosion/.stackblitzrc b/samples/charts/doughnut-chart/explosion/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/doughnut-chart/explosion/.stackblitzrc +++ b/samples/charts/doughnut-chart/explosion/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/explosion/angular.json b/samples/charts/doughnut-chart/explosion/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/doughnut-chart/explosion/angular.json +++ b/samples/charts/doughnut-chart/explosion/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/doughnut-chart/explosion/package.json b/samples/charts/doughnut-chart/explosion/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/doughnut-chart/explosion/package.json +++ b/samples/charts/doughnut-chart/explosion/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/doughnut-chart/explosion/sandbox.config.json b/samples/charts/doughnut-chart/explosion/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/doughnut-chart/explosion/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/explosion/src/config/tsconfig-es5.app.json b/samples/charts/doughnut-chart/explosion/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/doughnut-chart/explosion/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.app.json b/samples/charts/doughnut-chart/explosion/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.base.json b/samples/charts/doughnut-chart/explosion/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.spec.json b/samples/charts/doughnut-chart/explosion/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.worker.json b/samples/charts/doughnut-chart/explosion/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/doughnut-chart/explosion/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/doughnut-chart/explosion/tsconfig.app.json b/samples/charts/doughnut-chart/explosion/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/doughnut-chart/explosion/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/doughnut-chart/explosion/tsconfig.json b/samples/charts/doughnut-chart/explosion/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/doughnut-chart/explosion/tsconfig.json +++ b/samples/charts/doughnut-chart/explosion/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/doughnut-chart/legend/.codesandbox/Dockerfile b/samples/charts/doughnut-chart/legend/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/doughnut-chart/legend/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/doughnut-chart/legend/.codesandbox/tasks.json b/samples/charts/doughnut-chart/legend/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/doughnut-chart/legend/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/legend/.stackblitzrc b/samples/charts/doughnut-chart/legend/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/doughnut-chart/legend/.stackblitzrc +++ b/samples/charts/doughnut-chart/legend/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/legend/angular.json b/samples/charts/doughnut-chart/legend/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/doughnut-chart/legend/angular.json +++ b/samples/charts/doughnut-chart/legend/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/doughnut-chart/legend/package.json b/samples/charts/doughnut-chart/legend/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/doughnut-chart/legend/package.json +++ b/samples/charts/doughnut-chart/legend/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/doughnut-chart/legend/sandbox.config.json b/samples/charts/doughnut-chart/legend/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/doughnut-chart/legend/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/legend/src/config/tsconfig-es5.app.json b/samples/charts/doughnut-chart/legend/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/doughnut-chart/legend/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/doughnut-chart/legend/src/config/tsconfig.app.json b/samples/charts/doughnut-chart/legend/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/doughnut-chart/legend/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/doughnut-chart/legend/src/config/tsconfig.base.json b/samples/charts/doughnut-chart/legend/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/doughnut-chart/legend/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/doughnut-chart/legend/src/config/tsconfig.spec.json b/samples/charts/doughnut-chart/legend/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/doughnut-chart/legend/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/doughnut-chart/legend/src/config/tsconfig.worker.json b/samples/charts/doughnut-chart/legend/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/doughnut-chart/legend/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/doughnut-chart/legend/tsconfig.app.json b/samples/charts/doughnut-chart/legend/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/doughnut-chart/legend/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/doughnut-chart/legend/tsconfig.json b/samples/charts/doughnut-chart/legend/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/doughnut-chart/legend/tsconfig.json +++ b/samples/charts/doughnut-chart/legend/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/doughnut-chart/overview/.codesandbox/Dockerfile b/samples/charts/doughnut-chart/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/doughnut-chart/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/doughnut-chart/overview/.codesandbox/tasks.json b/samples/charts/doughnut-chart/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/doughnut-chart/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/overview/.stackblitzrc b/samples/charts/doughnut-chart/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/doughnut-chart/overview/.stackblitzrc +++ b/samples/charts/doughnut-chart/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/overview/angular.json b/samples/charts/doughnut-chart/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/doughnut-chart/overview/angular.json +++ b/samples/charts/doughnut-chart/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/doughnut-chart/overview/package.json b/samples/charts/doughnut-chart/overview/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/doughnut-chart/overview/package.json +++ b/samples/charts/doughnut-chart/overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/doughnut-chart/overview/sandbox.config.json b/samples/charts/doughnut-chart/overview/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/doughnut-chart/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/overview/src/config/tsconfig-es5.app.json b/samples/charts/doughnut-chart/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/doughnut-chart/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/doughnut-chart/overview/src/config/tsconfig.app.json b/samples/charts/doughnut-chart/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/doughnut-chart/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/doughnut-chart/overview/src/config/tsconfig.base.json b/samples/charts/doughnut-chart/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/doughnut-chart/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/doughnut-chart/overview/src/config/tsconfig.spec.json b/samples/charts/doughnut-chart/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/doughnut-chart/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/doughnut-chart/overview/src/config/tsconfig.worker.json b/samples/charts/doughnut-chart/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/doughnut-chart/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/doughnut-chart/overview/tsconfig.app.json b/samples/charts/doughnut-chart/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/doughnut-chart/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/doughnut-chart/overview/tsconfig.json b/samples/charts/doughnut-chart/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/doughnut-chart/overview/tsconfig.json +++ b/samples/charts/doughnut-chart/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/doughnut-chart/rings/.codesandbox/Dockerfile b/samples/charts/doughnut-chart/rings/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/doughnut-chart/rings/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/doughnut-chart/rings/.codesandbox/tasks.json b/samples/charts/doughnut-chart/rings/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/doughnut-chart/rings/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/rings/.stackblitzrc b/samples/charts/doughnut-chart/rings/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/doughnut-chart/rings/.stackblitzrc +++ b/samples/charts/doughnut-chart/rings/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/rings/angular.json b/samples/charts/doughnut-chart/rings/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/doughnut-chart/rings/angular.json +++ b/samples/charts/doughnut-chart/rings/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/doughnut-chart/rings/package.json b/samples/charts/doughnut-chart/rings/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/doughnut-chart/rings/package.json +++ b/samples/charts/doughnut-chart/rings/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/doughnut-chart/rings/sandbox.config.json b/samples/charts/doughnut-chart/rings/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/doughnut-chart/rings/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/rings/src/config/tsconfig-es5.app.json b/samples/charts/doughnut-chart/rings/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/doughnut-chart/rings/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/doughnut-chart/rings/src/config/tsconfig.app.json b/samples/charts/doughnut-chart/rings/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/doughnut-chart/rings/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/doughnut-chart/rings/src/config/tsconfig.base.json b/samples/charts/doughnut-chart/rings/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/doughnut-chart/rings/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/doughnut-chart/rings/src/config/tsconfig.spec.json b/samples/charts/doughnut-chart/rings/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/doughnut-chart/rings/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/doughnut-chart/rings/src/config/tsconfig.worker.json b/samples/charts/doughnut-chart/rings/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/doughnut-chart/rings/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/doughnut-chart/rings/tsconfig.app.json b/samples/charts/doughnut-chart/rings/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/doughnut-chart/rings/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/doughnut-chart/rings/tsconfig.json b/samples/charts/doughnut-chart/rings/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/doughnut-chart/rings/tsconfig.json +++ b/samples/charts/doughnut-chart/rings/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/doughnut-chart/selection/.codesandbox/Dockerfile b/samples/charts/doughnut-chart/selection/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/doughnut-chart/selection/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/doughnut-chart/selection/.codesandbox/tasks.json b/samples/charts/doughnut-chart/selection/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/doughnut-chart/selection/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/selection/.stackblitzrc b/samples/charts/doughnut-chart/selection/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/doughnut-chart/selection/.stackblitzrc +++ b/samples/charts/doughnut-chart/selection/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/selection/angular.json b/samples/charts/doughnut-chart/selection/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/doughnut-chart/selection/angular.json +++ b/samples/charts/doughnut-chart/selection/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/doughnut-chart/selection/package.json b/samples/charts/doughnut-chart/selection/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/doughnut-chart/selection/package.json +++ b/samples/charts/doughnut-chart/selection/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/doughnut-chart/selection/sandbox.config.json b/samples/charts/doughnut-chart/selection/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/doughnut-chart/selection/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/doughnut-chart/selection/src/config/tsconfig-es5.app.json b/samples/charts/doughnut-chart/selection/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/doughnut-chart/selection/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/doughnut-chart/selection/src/config/tsconfig.app.json b/samples/charts/doughnut-chart/selection/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/doughnut-chart/selection/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/doughnut-chart/selection/src/config/tsconfig.base.json b/samples/charts/doughnut-chart/selection/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/doughnut-chart/selection/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/doughnut-chart/selection/src/config/tsconfig.spec.json b/samples/charts/doughnut-chart/selection/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/doughnut-chart/selection/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/doughnut-chart/selection/src/config/tsconfig.worker.json b/samples/charts/doughnut-chart/selection/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/doughnut-chart/selection/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/doughnut-chart/selection/tsconfig.app.json b/samples/charts/doughnut-chart/selection/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/doughnut-chart/selection/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/doughnut-chart/selection/tsconfig.json b/samples/charts/doughnut-chart/selection/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/doughnut-chart/selection/tsconfig.json +++ b/samples/charts/doughnut-chart/selection/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/annotations/.codesandbox/Dockerfile b/samples/charts/financial-chart/annotations/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/annotations/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/annotations/.codesandbox/tasks.json b/samples/charts/financial-chart/annotations/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/annotations/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/annotations/.stackblitzrc b/samples/charts/financial-chart/annotations/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/annotations/.stackblitzrc +++ b/samples/charts/financial-chart/annotations/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/annotations/angular.json b/samples/charts/financial-chart/annotations/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/annotations/angular.json +++ b/samples/charts/financial-chart/annotations/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/annotations/package.json b/samples/charts/financial-chart/annotations/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/annotations/package.json +++ b/samples/charts/financial-chart/annotations/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/annotations/sandbox.config.json b/samples/charts/financial-chart/annotations/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/annotations/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/annotations/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/annotations/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/annotations/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/annotations/src/config/tsconfig.app.json b/samples/charts/financial-chart/annotations/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/annotations/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/annotations/src/config/tsconfig.base.json b/samples/charts/financial-chart/annotations/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/annotations/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/annotations/src/config/tsconfig.spec.json b/samples/charts/financial-chart/annotations/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/annotations/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/annotations/src/config/tsconfig.worker.json b/samples/charts/financial-chart/annotations/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/annotations/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/annotations/tsconfig.app.json b/samples/charts/financial-chart/annotations/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/annotations/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/annotations/tsconfig.json b/samples/charts/financial-chart/annotations/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/annotations/tsconfig.json +++ b/samples/charts/financial-chart/annotations/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/axis-types/.codesandbox/Dockerfile b/samples/charts/financial-chart/axis-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/axis-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/axis-types/.codesandbox/tasks.json b/samples/charts/financial-chart/axis-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/axis-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/axis-types/.stackblitzrc b/samples/charts/financial-chart/axis-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/axis-types/.stackblitzrc +++ b/samples/charts/financial-chart/axis-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/axis-types/angular.json b/samples/charts/financial-chart/axis-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/axis-types/angular.json +++ b/samples/charts/financial-chart/axis-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/axis-types/package.json b/samples/charts/financial-chart/axis-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/axis-types/package.json +++ b/samples/charts/financial-chart/axis-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/axis-types/sandbox.config.json b/samples/charts/financial-chart/axis-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/axis-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/axis-types/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/axis-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/axis-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/axis-types/src/config/tsconfig.app.json b/samples/charts/financial-chart/axis-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/axis-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/axis-types/src/config/tsconfig.base.json b/samples/charts/financial-chart/axis-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/axis-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/axis-types/src/config/tsconfig.spec.json b/samples/charts/financial-chart/axis-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/axis-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/axis-types/src/config/tsconfig.worker.json b/samples/charts/financial-chart/axis-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/axis-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/axis-types/tsconfig.app.json b/samples/charts/financial-chart/axis-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/axis-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/axis-types/tsconfig.json b/samples/charts/financial-chart/axis-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/axis-types/tsconfig.json +++ b/samples/charts/financial-chart/axis-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/.codesandbox/Dockerfile b/samples/charts/financial-chart/data-legend-formatting-currency/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/data-legend-formatting-currency/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/.codesandbox/tasks.json b/samples/charts/financial-chart/data-legend-formatting-currency/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/data-legend-formatting-currency/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/.stackblitzrc b/samples/charts/financial-chart/data-legend-formatting-currency/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/data-legend-formatting-currency/.stackblitzrc +++ b/samples/charts/financial-chart/data-legend-formatting-currency/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/angular.json b/samples/charts/financial-chart/data-legend-formatting-currency/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/data-legend-formatting-currency/angular.json +++ b/samples/charts/financial-chart/data-legend-formatting-currency/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/package.json b/samples/charts/financial-chart/data-legend-formatting-currency/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/data-legend-formatting-currency/package.json +++ b/samples/charts/financial-chart/data-legend-formatting-currency/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/sandbox.config.json b/samples/charts/financial-chart/data-legend-formatting-currency/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/data-legend-formatting-currency/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.app.json b/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.base.json b/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.spec.json b/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.worker.json b/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/data-legend-formatting-currency/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.app.json b/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.json b/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.json +++ b/samples/charts/financial-chart/data-legend-formatting-currency/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-styling-props/.codesandbox/Dockerfile b/samples/charts/financial-chart/data-legend-styling-props/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/data-legend-styling-props/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-styling-props/.codesandbox/tasks.json b/samples/charts/financial-chart/data-legend-styling-props/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/data-legend-styling-props/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-styling-props/.stackblitzrc b/samples/charts/financial-chart/data-legend-styling-props/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/data-legend-styling-props/.stackblitzrc +++ b/samples/charts/financial-chart/data-legend-styling-props/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-styling-props/angular.json b/samples/charts/financial-chart/data-legend-styling-props/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/data-legend-styling-props/angular.json +++ b/samples/charts/financial-chart/data-legend-styling-props/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/data-legend-styling-props/package.json b/samples/charts/financial-chart/data-legend-styling-props/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/data-legend-styling-props/package.json +++ b/samples/charts/financial-chart/data-legend-styling-props/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/data-legend-styling-props/sandbox.config.json b/samples/charts/financial-chart/data-legend-styling-props/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/data-legend-styling-props/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.app.json b/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.base.json b/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.spec.json b/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.worker.json b/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/data-legend-styling-props/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend-styling-props/tsconfig.app.json b/samples/charts/financial-chart/data-legend-styling-props/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/data-legend-styling-props/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/data-legend-styling-props/tsconfig.json b/samples/charts/financial-chart/data-legend-styling-props/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/data-legend-styling-props/tsconfig.json +++ b/samples/charts/financial-chart/data-legend-styling-props/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend/.codesandbox/Dockerfile b/samples/charts/financial-chart/data-legend/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/data-legend/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend/.codesandbox/tasks.json b/samples/charts/financial-chart/data-legend/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/data-legend/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend/.stackblitzrc b/samples/charts/financial-chart/data-legend/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/data-legend/.stackblitzrc +++ b/samples/charts/financial-chart/data-legend/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend/angular.json b/samples/charts/financial-chart/data-legend/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/data-legend/angular.json +++ b/samples/charts/financial-chart/data-legend/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/data-legend/package.json b/samples/charts/financial-chart/data-legend/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/data-legend/package.json +++ b/samples/charts/financial-chart/data-legend/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/data-legend/sandbox.config.json b/samples/charts/financial-chart/data-legend/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/data-legend/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-legend/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/data-legend/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/data-legend/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/data-legend/src/config/tsconfig.app.json b/samples/charts/financial-chart/data-legend/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/data-legend/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend/src/config/tsconfig.base.json b/samples/charts/financial-chart/data-legend/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/data-legend/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/data-legend/src/config/tsconfig.spec.json b/samples/charts/financial-chart/data-legend/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/data-legend/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend/src/config/tsconfig.worker.json b/samples/charts/financial-chart/data-legend/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/data-legend/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/data-legend/tsconfig.app.json b/samples/charts/financial-chart/data-legend/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/data-legend/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/data-legend/tsconfig.json b/samples/charts/financial-chart/data-legend/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/data-legend/tsconfig.json +++ b/samples/charts/financial-chart/data-legend/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/.codesandbox/Dockerfile b/samples/charts/financial-chart/data-tooltip-formatting-currency/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/.codesandbox/tasks.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/.stackblitzrc b/samples/charts/financial-chart/data-tooltip-formatting-currency/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/.stackblitzrc +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/angular.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/angular.json +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/package.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/package.json +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/sandbox.config.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.app.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.base.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.spec.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.worker.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.app.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.json b/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.json +++ b/samples/charts/financial-chart/data-tooltip-formatting-currency/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/.codesandbox/Dockerfile b/samples/charts/financial-chart/data-tooltip-styling-props/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip-styling-props/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/.codesandbox/tasks.json b/samples/charts/financial-chart/data-tooltip-styling-props/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip-styling-props/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/.stackblitzrc b/samples/charts/financial-chart/data-tooltip-styling-props/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/data-tooltip-styling-props/.stackblitzrc +++ b/samples/charts/financial-chart/data-tooltip-styling-props/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/angular.json b/samples/charts/financial-chart/data-tooltip-styling-props/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/data-tooltip-styling-props/angular.json +++ b/samples/charts/financial-chart/data-tooltip-styling-props/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/package.json b/samples/charts/financial-chart/data-tooltip-styling-props/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/data-tooltip-styling-props/package.json +++ b/samples/charts/financial-chart/data-tooltip-styling-props/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/sandbox.config.json b/samples/charts/financial-chart/data-tooltip-styling-props/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/data-tooltip-styling-props/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.app.json b/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.base.json b/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.spec.json b/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.worker.json b/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/data-tooltip-styling-props/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.app.json b/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.json b/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.json +++ b/samples/charts/financial-chart/data-tooltip-styling-props/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip/.codesandbox/Dockerfile b/samples/charts/financial-chart/data-tooltip/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip/.codesandbox/tasks.json b/samples/charts/financial-chart/data-tooltip/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip/.stackblitzrc b/samples/charts/financial-chart/data-tooltip/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/data-tooltip/.stackblitzrc +++ b/samples/charts/financial-chart/data-tooltip/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip/angular.json b/samples/charts/financial-chart/data-tooltip/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/data-tooltip/angular.json +++ b/samples/charts/financial-chart/data-tooltip/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/data-tooltip/package.json b/samples/charts/financial-chart/data-tooltip/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/data-tooltip/package.json +++ b/samples/charts/financial-chart/data-tooltip/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/data-tooltip/sandbox.config.json b/samples/charts/financial-chart/data-tooltip/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/data-tooltip/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/data-tooltip/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.app.json b/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.base.json b/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.spec.json b/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.worker.json b/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/data-tooltip/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/data-tooltip/tsconfig.app.json b/samples/charts/financial-chart/data-tooltip/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/data-tooltip/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/data-tooltip/tsconfig.json b/samples/charts/financial-chart/data-tooltip/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/data-tooltip/tsconfig.json +++ b/samples/charts/financial-chart/data-tooltip/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/format-specifiers/.codesandbox/Dockerfile b/samples/charts/financial-chart/format-specifiers/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/format-specifiers/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/format-specifiers/.codesandbox/tasks.json b/samples/charts/financial-chart/format-specifiers/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/format-specifiers/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/format-specifiers/.stackblitzrc b/samples/charts/financial-chart/format-specifiers/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/format-specifiers/.stackblitzrc +++ b/samples/charts/financial-chart/format-specifiers/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/format-specifiers/angular.json b/samples/charts/financial-chart/format-specifiers/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/format-specifiers/angular.json +++ b/samples/charts/financial-chart/format-specifiers/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/format-specifiers/package.json b/samples/charts/financial-chart/format-specifiers/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/format-specifiers/package.json +++ b/samples/charts/financial-chart/format-specifiers/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/format-specifiers/sandbox.config.json b/samples/charts/financial-chart/format-specifiers/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/format-specifiers/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/format-specifiers/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.app.json b/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.base.json b/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.spec.json b/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.worker.json b/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/format-specifiers/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/format-specifiers/tsconfig.app.json b/samples/charts/financial-chart/format-specifiers/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/format-specifiers/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/format-specifiers/tsconfig.json b/samples/charts/financial-chart/format-specifiers/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/format-specifiers/tsconfig.json +++ b/samples/charts/financial-chart/format-specifiers/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/high-frequency/.codesandbox/Dockerfile b/samples/charts/financial-chart/high-frequency/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/high-frequency/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/high-frequency/.codesandbox/tasks.json b/samples/charts/financial-chart/high-frequency/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/high-frequency/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/high-frequency/.stackblitzrc b/samples/charts/financial-chart/high-frequency/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/high-frequency/.stackblitzrc +++ b/samples/charts/financial-chart/high-frequency/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/high-frequency/angular.json b/samples/charts/financial-chart/high-frequency/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/high-frequency/angular.json +++ b/samples/charts/financial-chart/high-frequency/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/high-frequency/package.json b/samples/charts/financial-chart/high-frequency/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/high-frequency/package.json +++ b/samples/charts/financial-chart/high-frequency/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/high-frequency/sandbox.config.json b/samples/charts/financial-chart/high-frequency/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/high-frequency/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/high-frequency/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/high-frequency/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/high-frequency/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.app.json b/samples/charts/financial-chart/high-frequency/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.base.json b/samples/charts/financial-chart/high-frequency/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.spec.json b/samples/charts/financial-chart/high-frequency/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.worker.json b/samples/charts/financial-chart/high-frequency/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/high-frequency/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/high-frequency/tsconfig.app.json b/samples/charts/financial-chart/high-frequency/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/high-frequency/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/high-frequency/tsconfig.json b/samples/charts/financial-chart/high-frequency/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/high-frequency/tsconfig.json +++ b/samples/charts/financial-chart/high-frequency/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/high-volume/.codesandbox/Dockerfile b/samples/charts/financial-chart/high-volume/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/high-volume/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/high-volume/.codesandbox/tasks.json b/samples/charts/financial-chart/high-volume/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/high-volume/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/high-volume/.stackblitzrc b/samples/charts/financial-chart/high-volume/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/high-volume/.stackblitzrc +++ b/samples/charts/financial-chart/high-volume/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/high-volume/angular.json b/samples/charts/financial-chart/high-volume/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/high-volume/angular.json +++ b/samples/charts/financial-chart/high-volume/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/high-volume/package.json b/samples/charts/financial-chart/high-volume/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/high-volume/package.json +++ b/samples/charts/financial-chart/high-volume/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/high-volume/sandbox.config.json b/samples/charts/financial-chart/high-volume/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/high-volume/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/high-volume/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/high-volume/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/high-volume/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/high-volume/src/config/tsconfig.app.json b/samples/charts/financial-chart/high-volume/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/high-volume/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/high-volume/src/config/tsconfig.base.json b/samples/charts/financial-chart/high-volume/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/high-volume/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/high-volume/src/config/tsconfig.spec.json b/samples/charts/financial-chart/high-volume/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/high-volume/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/high-volume/src/config/tsconfig.worker.json b/samples/charts/financial-chart/high-volume/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/high-volume/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/high-volume/tsconfig.app.json b/samples/charts/financial-chart/high-volume/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/high-volume/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/high-volume/tsconfig.json b/samples/charts/financial-chart/high-volume/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/high-volume/tsconfig.json +++ b/samples/charts/financial-chart/high-volume/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-customization/.codesandbox/Dockerfile b/samples/charts/financial-chart/indicator-customization/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/indicator-customization/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-customization/.codesandbox/tasks.json b/samples/charts/financial-chart/indicator-customization/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/indicator-customization/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-customization/.stackblitzrc b/samples/charts/financial-chart/indicator-customization/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/indicator-customization/.stackblitzrc +++ b/samples/charts/financial-chart/indicator-customization/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-customization/angular.json b/samples/charts/financial-chart/indicator-customization/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/indicator-customization/angular.json +++ b/samples/charts/financial-chart/indicator-customization/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/indicator-customization/package.json b/samples/charts/financial-chart/indicator-customization/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/indicator-customization/package.json +++ b/samples/charts/financial-chart/indicator-customization/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/indicator-customization/sandbox.config.json b/samples/charts/financial-chart/indicator-customization/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/indicator-customization/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/indicator-customization/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.app.json b/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.base.json b/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.spec.json b/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.worker.json b/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/indicator-customization/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/indicator-customization/tsconfig.app.json b/samples/charts/financial-chart/indicator-customization/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/indicator-customization/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/indicator-customization/tsconfig.json b/samples/charts/financial-chart/indicator-customization/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/indicator-customization/tsconfig.json +++ b/samples/charts/financial-chart/indicator-customization/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-types/.codesandbox/Dockerfile b/samples/charts/financial-chart/indicator-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/indicator-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-types/.codesandbox/tasks.json b/samples/charts/financial-chart/indicator-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/indicator-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-types/.stackblitzrc b/samples/charts/financial-chart/indicator-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/indicator-types/.stackblitzrc +++ b/samples/charts/financial-chart/indicator-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-types/angular.json b/samples/charts/financial-chart/indicator-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/indicator-types/angular.json +++ b/samples/charts/financial-chart/indicator-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/indicator-types/package.json b/samples/charts/financial-chart/indicator-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/indicator-types/package.json +++ b/samples/charts/financial-chart/indicator-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/indicator-types/sandbox.config.json b/samples/charts/financial-chart/indicator-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/indicator-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/indicator-types/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/indicator-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/indicator-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.app.json b/samples/charts/financial-chart/indicator-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.base.json b/samples/charts/financial-chart/indicator-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.spec.json b/samples/charts/financial-chart/indicator-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.worker.json b/samples/charts/financial-chart/indicator-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/indicator-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/indicator-types/tsconfig.app.json b/samples/charts/financial-chart/indicator-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/indicator-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/indicator-types/tsconfig.json b/samples/charts/financial-chart/indicator-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/indicator-types/tsconfig.json +++ b/samples/charts/financial-chart/indicator-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-data/.codesandbox/Dockerfile b/samples/charts/financial-chart/multiple-data/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/multiple-data/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-data/.codesandbox/tasks.json b/samples/charts/financial-chart/multiple-data/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/multiple-data/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-data/.stackblitzrc b/samples/charts/financial-chart/multiple-data/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/multiple-data/.stackblitzrc +++ b/samples/charts/financial-chart/multiple-data/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-data/angular.json b/samples/charts/financial-chart/multiple-data/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/multiple-data/angular.json +++ b/samples/charts/financial-chart/multiple-data/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/multiple-data/package.json b/samples/charts/financial-chart/multiple-data/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/multiple-data/package.json +++ b/samples/charts/financial-chart/multiple-data/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/multiple-data/sandbox.config.json b/samples/charts/financial-chart/multiple-data/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/multiple-data/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-data/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/multiple-data/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/multiple-data/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.app.json b/samples/charts/financial-chart/multiple-data/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.base.json b/samples/charts/financial-chart/multiple-data/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.spec.json b/samples/charts/financial-chart/multiple-data/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.worker.json b/samples/charts/financial-chart/multiple-data/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/multiple-data/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/multiple-data/tsconfig.app.json b/samples/charts/financial-chart/multiple-data/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/multiple-data/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/multiple-data/tsconfig.json b/samples/charts/financial-chart/multiple-data/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/multiple-data/tsconfig.json +++ b/samples/charts/financial-chart/multiple-data/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-feeds/.codesandbox/Dockerfile b/samples/charts/financial-chart/multiple-feeds/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/multiple-feeds/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-feeds/.codesandbox/tasks.json b/samples/charts/financial-chart/multiple-feeds/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/multiple-feeds/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-feeds/.stackblitzrc b/samples/charts/financial-chart/multiple-feeds/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/multiple-feeds/.stackblitzrc +++ b/samples/charts/financial-chart/multiple-feeds/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-feeds/angular.json b/samples/charts/financial-chart/multiple-feeds/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/multiple-feeds/angular.json +++ b/samples/charts/financial-chart/multiple-feeds/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/multiple-feeds/package.json b/samples/charts/financial-chart/multiple-feeds/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/multiple-feeds/package.json +++ b/samples/charts/financial-chart/multiple-feeds/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/multiple-feeds/sandbox.config.json b/samples/charts/financial-chart/multiple-feeds/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/multiple-feeds/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.app.json b/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.base.json b/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.spec.json b/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.worker.json b/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/multiple-feeds/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/multiple-feeds/tsconfig.app.json b/samples/charts/financial-chart/multiple-feeds/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/multiple-feeds/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/multiple-feeds/tsconfig.json b/samples/charts/financial-chart/multiple-feeds/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/multiple-feeds/tsconfig.json +++ b/samples/charts/financial-chart/multiple-feeds/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/overview/.codesandbox/Dockerfile b/samples/charts/financial-chart/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/overview/.codesandbox/tasks.json b/samples/charts/financial-chart/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/overview/.stackblitzrc b/samples/charts/financial-chart/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/overview/.stackblitzrc +++ b/samples/charts/financial-chart/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/overview/angular.json b/samples/charts/financial-chart/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/overview/angular.json +++ b/samples/charts/financial-chart/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/overview/package.json b/samples/charts/financial-chart/overview/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/overview/package.json +++ b/samples/charts/financial-chart/overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/overview/sandbox.config.json b/samples/charts/financial-chart/overview/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/overview/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/overview/src/config/tsconfig.app.json b/samples/charts/financial-chart/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/overview/src/config/tsconfig.base.json b/samples/charts/financial-chart/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/overview/src/config/tsconfig.spec.json b/samples/charts/financial-chart/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/overview/src/config/tsconfig.worker.json b/samples/charts/financial-chart/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/overview/tsconfig.app.json b/samples/charts/financial-chart/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/overview/tsconfig.json b/samples/charts/financial-chart/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/overview/tsconfig.json +++ b/samples/charts/financial-chart/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/panes/.codesandbox/Dockerfile b/samples/charts/financial-chart/panes/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/panes/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/panes/.codesandbox/tasks.json b/samples/charts/financial-chart/panes/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/panes/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/panes/.stackblitzrc b/samples/charts/financial-chart/panes/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/panes/.stackblitzrc +++ b/samples/charts/financial-chart/panes/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/panes/angular.json b/samples/charts/financial-chart/panes/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/panes/angular.json +++ b/samples/charts/financial-chart/panes/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/panes/package.json b/samples/charts/financial-chart/panes/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/panes/package.json +++ b/samples/charts/financial-chart/panes/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/panes/sandbox.config.json b/samples/charts/financial-chart/panes/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/panes/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/panes/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/panes/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/panes/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/panes/src/config/tsconfig.app.json b/samples/charts/financial-chart/panes/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/panes/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/panes/src/config/tsconfig.base.json b/samples/charts/financial-chart/panes/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/panes/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/panes/src/config/tsconfig.spec.json b/samples/charts/financial-chart/panes/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/panes/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/panes/src/config/tsconfig.worker.json b/samples/charts/financial-chart/panes/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/panes/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/panes/tsconfig.app.json b/samples/charts/financial-chart/panes/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/panes/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/panes/tsconfig.json b/samples/charts/financial-chart/panes/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/panes/tsconfig.json +++ b/samples/charts/financial-chart/panes/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/performance/.codesandbox/Dockerfile b/samples/charts/financial-chart/performance/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/performance/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/performance/.codesandbox/tasks.json b/samples/charts/financial-chart/performance/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/performance/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/performance/.stackblitzrc b/samples/charts/financial-chart/performance/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/performance/.stackblitzrc +++ b/samples/charts/financial-chart/performance/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/performance/angular.json b/samples/charts/financial-chart/performance/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/performance/angular.json +++ b/samples/charts/financial-chart/performance/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/performance/package.json b/samples/charts/financial-chart/performance/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/performance/package.json +++ b/samples/charts/financial-chart/performance/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/performance/sandbox.config.json b/samples/charts/financial-chart/performance/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/performance/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/performance/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/performance/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/performance/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/performance/src/config/tsconfig.app.json b/samples/charts/financial-chart/performance/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/performance/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/performance/src/config/tsconfig.base.json b/samples/charts/financial-chart/performance/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/performance/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/performance/src/config/tsconfig.spec.json b/samples/charts/financial-chart/performance/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/performance/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/performance/src/config/tsconfig.worker.json b/samples/charts/financial-chart/performance/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/performance/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/performance/tsconfig.app.json b/samples/charts/financial-chart/performance/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/performance/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/performance/tsconfig.json b/samples/charts/financial-chart/performance/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/performance/tsconfig.json +++ b/samples/charts/financial-chart/performance/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/scrollbars/.codesandbox/Dockerfile b/samples/charts/financial-chart/scrollbars/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/scrollbars/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/scrollbars/.codesandbox/tasks.json b/samples/charts/financial-chart/scrollbars/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/scrollbars/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/scrollbars/.stackblitzrc b/samples/charts/financial-chart/scrollbars/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/scrollbars/.stackblitzrc +++ b/samples/charts/financial-chart/scrollbars/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/scrollbars/angular.json b/samples/charts/financial-chart/scrollbars/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/scrollbars/angular.json +++ b/samples/charts/financial-chart/scrollbars/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/scrollbars/package.json b/samples/charts/financial-chart/scrollbars/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/financial-chart/scrollbars/package.json +++ b/samples/charts/financial-chart/scrollbars/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/scrollbars/sandbox.config.json b/samples/charts/financial-chart/scrollbars/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/financial-chart/scrollbars/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/scrollbars/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/scrollbars/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/scrollbars/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.app.json b/samples/charts/financial-chart/scrollbars/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.base.json b/samples/charts/financial-chart/scrollbars/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.spec.json b/samples/charts/financial-chart/scrollbars/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.worker.json b/samples/charts/financial-chart/scrollbars/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/scrollbars/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/scrollbars/tsconfig.app.json b/samples/charts/financial-chart/scrollbars/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/scrollbars/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/scrollbars/tsconfig.json b/samples/charts/financial-chart/scrollbars/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/scrollbars/tsconfig.json +++ b/samples/charts/financial-chart/scrollbars/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/stock-index-chart/.codesandbox/Dockerfile b/samples/charts/financial-chart/stock-index-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/stock-index-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/stock-index-chart/.codesandbox/tasks.json b/samples/charts/financial-chart/stock-index-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/stock-index-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/stock-index-chart/.stackblitzrc b/samples/charts/financial-chart/stock-index-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/stock-index-chart/.stackblitzrc +++ b/samples/charts/financial-chart/stock-index-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/stock-index-chart/angular.json b/samples/charts/financial-chart/stock-index-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/stock-index-chart/angular.json +++ b/samples/charts/financial-chart/stock-index-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/stock-index-chart/package.json b/samples/charts/financial-chart/stock-index-chart/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/stock-index-chart/package.json +++ b/samples/charts/financial-chart/stock-index-chart/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/stock-index-chart/sandbox.config.json b/samples/charts/financial-chart/stock-index-chart/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/stock-index-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.app.json b/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.base.json b/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.spec.json b/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.worker.json b/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/stock-index-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/stock-index-chart/tsconfig.app.json b/samples/charts/financial-chart/stock-index-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/stock-index-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/stock-index-chart/tsconfig.json b/samples/charts/financial-chart/stock-index-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/stock-index-chart/tsconfig.json +++ b/samples/charts/financial-chart/stock-index-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/styling/.codesandbox/Dockerfile b/samples/charts/financial-chart/styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/styling/.codesandbox/tasks.json b/samples/charts/financial-chart/styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/styling/.stackblitzrc b/samples/charts/financial-chart/styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/styling/.stackblitzrc +++ b/samples/charts/financial-chart/styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/styling/angular.json b/samples/charts/financial-chart/styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/styling/angular.json +++ b/samples/charts/financial-chart/styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/styling/package.json b/samples/charts/financial-chart/styling/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/styling/package.json +++ b/samples/charts/financial-chart/styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/styling/sandbox.config.json b/samples/charts/financial-chart/styling/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/styling/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/styling/src/config/tsconfig.app.json b/samples/charts/financial-chart/styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/styling/src/config/tsconfig.base.json b/samples/charts/financial-chart/styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/styling/src/config/tsconfig.spec.json b/samples/charts/financial-chart/styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/styling/src/config/tsconfig.worker.json b/samples/charts/financial-chart/styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/styling/tsconfig.app.json b/samples/charts/financial-chart/styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/styling/tsconfig.json b/samples/charts/financial-chart/styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/styling/tsconfig.json +++ b/samples/charts/financial-chart/styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/theming/.codesandbox/Dockerfile b/samples/charts/financial-chart/theming/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/theming/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/theming/.codesandbox/tasks.json b/samples/charts/financial-chart/theming/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/theming/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/theming/.stackblitzrc b/samples/charts/financial-chart/theming/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/theming/.stackblitzrc +++ b/samples/charts/financial-chart/theming/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/theming/angular.json b/samples/charts/financial-chart/theming/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/theming/angular.json +++ b/samples/charts/financial-chart/theming/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/theming/package.json b/samples/charts/financial-chart/theming/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/theming/package.json +++ b/samples/charts/financial-chart/theming/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/theming/sandbox.config.json b/samples/charts/financial-chart/theming/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/theming/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/theming/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/theming/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/theming/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/theming/src/config/tsconfig.app.json b/samples/charts/financial-chart/theming/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/theming/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/theming/src/config/tsconfig.base.json b/samples/charts/financial-chart/theming/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/theming/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/theming/src/config/tsconfig.spec.json b/samples/charts/financial-chart/theming/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/theming/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/theming/src/config/tsconfig.worker.json b/samples/charts/financial-chart/theming/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/theming/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/theming/tsconfig.app.json b/samples/charts/financial-chart/theming/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/theming/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/theming/tsconfig.json b/samples/charts/financial-chart/theming/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/theming/tsconfig.json +++ b/samples/charts/financial-chart/theming/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/time-based-data/.codesandbox/Dockerfile b/samples/charts/financial-chart/time-based-data/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/time-based-data/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/time-based-data/.codesandbox/tasks.json b/samples/charts/financial-chart/time-based-data/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/time-based-data/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/time-based-data/.stackblitzrc b/samples/charts/financial-chart/time-based-data/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/time-based-data/.stackblitzrc +++ b/samples/charts/financial-chart/time-based-data/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/time-based-data/angular.json b/samples/charts/financial-chart/time-based-data/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/time-based-data/angular.json +++ b/samples/charts/financial-chart/time-based-data/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/time-based-data/package.json b/samples/charts/financial-chart/time-based-data/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/time-based-data/package.json +++ b/samples/charts/financial-chart/time-based-data/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/time-based-data/sandbox.config.json b/samples/charts/financial-chart/time-based-data/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/time-based-data/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/time-based-data/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/time-based-data/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/time-based-data/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.app.json b/samples/charts/financial-chart/time-based-data/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.base.json b/samples/charts/financial-chart/time-based-data/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.spec.json b/samples/charts/financial-chart/time-based-data/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.worker.json b/samples/charts/financial-chart/time-based-data/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/time-based-data/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/time-based-data/tsconfig.app.json b/samples/charts/financial-chart/time-based-data/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/time-based-data/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/time-based-data/tsconfig.json b/samples/charts/financial-chart/time-based-data/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/time-based-data/tsconfig.json +++ b/samples/charts/financial-chart/time-based-data/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/titles/.codesandbox/Dockerfile b/samples/charts/financial-chart/titles/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/titles/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/titles/.codesandbox/tasks.json b/samples/charts/financial-chart/titles/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/titles/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/titles/.stackblitzrc b/samples/charts/financial-chart/titles/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/titles/.stackblitzrc +++ b/samples/charts/financial-chart/titles/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/titles/angular.json b/samples/charts/financial-chart/titles/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/titles/angular.json +++ b/samples/charts/financial-chart/titles/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/titles/package.json b/samples/charts/financial-chart/titles/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/titles/package.json +++ b/samples/charts/financial-chart/titles/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/titles/sandbox.config.json b/samples/charts/financial-chart/titles/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/titles/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/titles/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/titles/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/titles/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/titles/src/config/tsconfig.app.json b/samples/charts/financial-chart/titles/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/titles/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/titles/src/config/tsconfig.base.json b/samples/charts/financial-chart/titles/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/titles/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/titles/src/config/tsconfig.spec.json b/samples/charts/financial-chart/titles/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/titles/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/titles/src/config/tsconfig.worker.json b/samples/charts/financial-chart/titles/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/titles/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/titles/tsconfig.app.json b/samples/charts/financial-chart/titles/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/titles/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/titles/tsconfig.json b/samples/charts/financial-chart/titles/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/titles/tsconfig.json +++ b/samples/charts/financial-chart/titles/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-template/.codesandbox/Dockerfile b/samples/charts/financial-chart/tooltip-template/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/tooltip-template/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-template/.codesandbox/tasks.json b/samples/charts/financial-chart/tooltip-template/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/tooltip-template/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-template/.stackblitzrc b/samples/charts/financial-chart/tooltip-template/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/tooltip-template/.stackblitzrc +++ b/samples/charts/financial-chart/tooltip-template/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-template/angular.json b/samples/charts/financial-chart/tooltip-template/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/tooltip-template/angular.json +++ b/samples/charts/financial-chart/tooltip-template/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/tooltip-template/package.json b/samples/charts/financial-chart/tooltip-template/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/tooltip-template/package.json +++ b/samples/charts/financial-chart/tooltip-template/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/tooltip-template/sandbox.config.json b/samples/charts/financial-chart/tooltip-template/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/tooltip-template/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/tooltip-template/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.app.json b/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.base.json b/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.spec.json b/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.worker.json b/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/tooltip-template/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/tooltip-template/tsconfig.app.json b/samples/charts/financial-chart/tooltip-template/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/tooltip-template/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/tooltip-template/tsconfig.json b/samples/charts/financial-chart/tooltip-template/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/tooltip-template/tsconfig.json +++ b/samples/charts/financial-chart/tooltip-template/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-types/.codesandbox/Dockerfile b/samples/charts/financial-chart/tooltip-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/tooltip-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-types/.codesandbox/tasks.json b/samples/charts/financial-chart/tooltip-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/tooltip-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-types/.stackblitzrc b/samples/charts/financial-chart/tooltip-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/tooltip-types/.stackblitzrc +++ b/samples/charts/financial-chart/tooltip-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-types/angular.json b/samples/charts/financial-chart/tooltip-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/tooltip-types/angular.json +++ b/samples/charts/financial-chart/tooltip-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/tooltip-types/package.json b/samples/charts/financial-chart/tooltip-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/tooltip-types/package.json +++ b/samples/charts/financial-chart/tooltip-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/tooltip-types/sandbox.config.json b/samples/charts/financial-chart/tooltip-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/tooltip-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/tooltip-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.app.json b/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.base.json b/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.spec.json b/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.worker.json b/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/tooltip-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/tooltip-types/tsconfig.app.json b/samples/charts/financial-chart/tooltip-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/tooltip-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/tooltip-types/tsconfig.json b/samples/charts/financial-chart/tooltip-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/tooltip-types/tsconfig.json +++ b/samples/charts/financial-chart/tooltip-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/trendlines/.codesandbox/Dockerfile b/samples/charts/financial-chart/trendlines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/trendlines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/trendlines/.codesandbox/tasks.json b/samples/charts/financial-chart/trendlines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/trendlines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/trendlines/.stackblitzrc b/samples/charts/financial-chart/trendlines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/trendlines/.stackblitzrc +++ b/samples/charts/financial-chart/trendlines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/trendlines/angular.json b/samples/charts/financial-chart/trendlines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/trendlines/angular.json +++ b/samples/charts/financial-chart/trendlines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/trendlines/package.json b/samples/charts/financial-chart/trendlines/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/trendlines/package.json +++ b/samples/charts/financial-chart/trendlines/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/trendlines/sandbox.config.json b/samples/charts/financial-chart/trendlines/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/trendlines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/trendlines/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/trendlines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/trendlines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/trendlines/src/config/tsconfig.app.json b/samples/charts/financial-chart/trendlines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/trendlines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/trendlines/src/config/tsconfig.base.json b/samples/charts/financial-chart/trendlines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/trendlines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/trendlines/src/config/tsconfig.spec.json b/samples/charts/financial-chart/trendlines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/trendlines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/trendlines/src/config/tsconfig.worker.json b/samples/charts/financial-chart/trendlines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/trendlines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/trendlines/tsconfig.app.json b/samples/charts/financial-chart/trendlines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/trendlines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/trendlines/tsconfig.json b/samples/charts/financial-chart/trendlines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/trendlines/tsconfig.json +++ b/samples/charts/financial-chart/trendlines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/financial-chart/volume-types/.codesandbox/Dockerfile b/samples/charts/financial-chart/volume-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/financial-chart/volume-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/financial-chart/volume-types/.codesandbox/tasks.json b/samples/charts/financial-chart/volume-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/financial-chart/volume-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/financial-chart/volume-types/.stackblitzrc b/samples/charts/financial-chart/volume-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/financial-chart/volume-types/.stackblitzrc +++ b/samples/charts/financial-chart/volume-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/financial-chart/volume-types/angular.json b/samples/charts/financial-chart/volume-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/financial-chart/volume-types/angular.json +++ b/samples/charts/financial-chart/volume-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/financial-chart/volume-types/package.json b/samples/charts/financial-chart/volume-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/financial-chart/volume-types/package.json +++ b/samples/charts/financial-chart/volume-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/financial-chart/volume-types/sandbox.config.json b/samples/charts/financial-chart/volume-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/financial-chart/volume-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/financial-chart/volume-types/src/config/tsconfig-es5.app.json b/samples/charts/financial-chart/volume-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/financial-chart/volume-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/financial-chart/volume-types/src/config/tsconfig.app.json b/samples/charts/financial-chart/volume-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/financial-chart/volume-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/financial-chart/volume-types/src/config/tsconfig.base.json b/samples/charts/financial-chart/volume-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/financial-chart/volume-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/financial-chart/volume-types/src/config/tsconfig.spec.json b/samples/charts/financial-chart/volume-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/financial-chart/volume-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/financial-chart/volume-types/src/config/tsconfig.worker.json b/samples/charts/financial-chart/volume-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/financial-chart/volume-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/financial-chart/volume-types/tsconfig.app.json b/samples/charts/financial-chart/volume-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/financial-chart/volume-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/financial-chart/volume-types/tsconfig.json b/samples/charts/financial-chart/volume-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/financial-chart/volume-types/tsconfig.json +++ b/samples/charts/financial-chart/volume-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/animation/.codesandbox/Dockerfile b/samples/charts/pie-chart/animation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/animation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/animation/.codesandbox/tasks.json b/samples/charts/pie-chart/animation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/animation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/animation/.stackblitzrc b/samples/charts/pie-chart/animation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/animation/.stackblitzrc +++ b/samples/charts/pie-chart/animation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/animation/angular.json b/samples/charts/pie-chart/animation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/animation/angular.json +++ b/samples/charts/pie-chart/animation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/animation/package.json b/samples/charts/pie-chart/animation/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/pie-chart/animation/package.json +++ b/samples/charts/pie-chart/animation/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/animation/sandbox.config.json b/samples/charts/pie-chart/animation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/pie-chart/animation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/animation/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/animation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/animation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/animation/src/config/tsconfig.app.json b/samples/charts/pie-chart/animation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/animation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/animation/src/config/tsconfig.base.json b/samples/charts/pie-chart/animation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/animation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/animation/src/config/tsconfig.spec.json b/samples/charts/pie-chart/animation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/animation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/animation/src/config/tsconfig.worker.json b/samples/charts/pie-chart/animation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/animation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/animation/tsconfig.app.json b/samples/charts/pie-chart/animation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/animation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/animation/tsconfig.json b/samples/charts/pie-chart/animation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/animation/tsconfig.json +++ b/samples/charts/pie-chart/animation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/explosion/.codesandbox/Dockerfile b/samples/charts/pie-chart/explosion/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/explosion/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/explosion/.codesandbox/tasks.json b/samples/charts/pie-chart/explosion/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/explosion/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/explosion/.stackblitzrc b/samples/charts/pie-chart/explosion/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/explosion/.stackblitzrc +++ b/samples/charts/pie-chart/explosion/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/explosion/angular.json b/samples/charts/pie-chart/explosion/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/explosion/angular.json +++ b/samples/charts/pie-chart/explosion/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/explosion/package.json b/samples/charts/pie-chart/explosion/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/pie-chart/explosion/package.json +++ b/samples/charts/pie-chart/explosion/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/explosion/sandbox.config.json b/samples/charts/pie-chart/explosion/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/pie-chart/explosion/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/explosion/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/explosion/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/explosion/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/explosion/src/config/tsconfig.app.json b/samples/charts/pie-chart/explosion/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/explosion/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/explosion/src/config/tsconfig.base.json b/samples/charts/pie-chart/explosion/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/explosion/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/explosion/src/config/tsconfig.spec.json b/samples/charts/pie-chart/explosion/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/explosion/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/explosion/src/config/tsconfig.worker.json b/samples/charts/pie-chart/explosion/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/explosion/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/explosion/tsconfig.app.json b/samples/charts/pie-chart/explosion/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/explosion/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/explosion/tsconfig.json b/samples/charts/pie-chart/explosion/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/explosion/tsconfig.json +++ b/samples/charts/pie-chart/explosion/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/legend/.codesandbox/Dockerfile b/samples/charts/pie-chart/legend/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/legend/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/legend/.codesandbox/tasks.json b/samples/charts/pie-chart/legend/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/legend/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/legend/.stackblitzrc b/samples/charts/pie-chart/legend/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/legend/.stackblitzrc +++ b/samples/charts/pie-chart/legend/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/legend/angular.json b/samples/charts/pie-chart/legend/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/legend/angular.json +++ b/samples/charts/pie-chart/legend/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/legend/package.json b/samples/charts/pie-chart/legend/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/pie-chart/legend/package.json +++ b/samples/charts/pie-chart/legend/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/legend/sandbox.config.json b/samples/charts/pie-chart/legend/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/pie-chart/legend/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/legend/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/legend/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/legend/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/legend/src/config/tsconfig.app.json b/samples/charts/pie-chart/legend/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/legend/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/legend/src/config/tsconfig.base.json b/samples/charts/pie-chart/legend/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/legend/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/legend/src/config/tsconfig.spec.json b/samples/charts/pie-chart/legend/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/legend/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/legend/src/config/tsconfig.worker.json b/samples/charts/pie-chart/legend/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/legend/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/legend/tsconfig.app.json b/samples/charts/pie-chart/legend/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/legend/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/legend/tsconfig.json b/samples/charts/pie-chart/legend/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/legend/tsconfig.json +++ b/samples/charts/pie-chart/legend/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/others/.codesandbox/Dockerfile b/samples/charts/pie-chart/others/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/others/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/others/.codesandbox/tasks.json b/samples/charts/pie-chart/others/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/others/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/others/.stackblitzrc b/samples/charts/pie-chart/others/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/others/.stackblitzrc +++ b/samples/charts/pie-chart/others/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/others/angular.json b/samples/charts/pie-chart/others/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/others/angular.json +++ b/samples/charts/pie-chart/others/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/others/package.json b/samples/charts/pie-chart/others/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/pie-chart/others/package.json +++ b/samples/charts/pie-chart/others/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/others/sandbox.config.json b/samples/charts/pie-chart/others/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/pie-chart/others/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/others/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/others/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/others/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/others/src/config/tsconfig.app.json b/samples/charts/pie-chart/others/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/others/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/others/src/config/tsconfig.base.json b/samples/charts/pie-chart/others/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/others/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/others/src/config/tsconfig.spec.json b/samples/charts/pie-chart/others/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/others/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/others/src/config/tsconfig.worker.json b/samples/charts/pie-chart/others/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/others/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/others/tsconfig.app.json b/samples/charts/pie-chart/others/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/others/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/others/tsconfig.json b/samples/charts/pie-chart/others/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/others/tsconfig.json +++ b/samples/charts/pie-chart/others/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/overview/.codesandbox/Dockerfile b/samples/charts/pie-chart/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/overview/.codesandbox/tasks.json b/samples/charts/pie-chart/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/overview/.stackblitzrc b/samples/charts/pie-chart/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/overview/.stackblitzrc +++ b/samples/charts/pie-chart/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/overview/angular.json b/samples/charts/pie-chart/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/overview/angular.json +++ b/samples/charts/pie-chart/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/overview/package.json b/samples/charts/pie-chart/overview/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/pie-chart/overview/package.json +++ b/samples/charts/pie-chart/overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/overview/sandbox.config.json b/samples/charts/pie-chart/overview/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/pie-chart/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/overview/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/overview/src/config/tsconfig.app.json b/samples/charts/pie-chart/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/overview/src/config/tsconfig.base.json b/samples/charts/pie-chart/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/overview/src/config/tsconfig.spec.json b/samples/charts/pie-chart/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/overview/src/config/tsconfig.worker.json b/samples/charts/pie-chart/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/overview/tsconfig.app.json b/samples/charts/pie-chart/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/overview/tsconfig.json b/samples/charts/pie-chart/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/overview/tsconfig.json +++ b/samples/charts/pie-chart/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/selection/.codesandbox/Dockerfile b/samples/charts/pie-chart/selection/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/selection/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/selection/.codesandbox/tasks.json b/samples/charts/pie-chart/selection/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/selection/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/selection/.stackblitzrc b/samples/charts/pie-chart/selection/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/selection/.stackblitzrc +++ b/samples/charts/pie-chart/selection/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/selection/angular.json b/samples/charts/pie-chart/selection/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/selection/angular.json +++ b/samples/charts/pie-chart/selection/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/selection/package.json b/samples/charts/pie-chart/selection/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/pie-chart/selection/package.json +++ b/samples/charts/pie-chart/selection/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/selection/sandbox.config.json b/samples/charts/pie-chart/selection/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/pie-chart/selection/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/selection/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/selection/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/selection/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/selection/src/config/tsconfig.app.json b/samples/charts/pie-chart/selection/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/selection/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/selection/src/config/tsconfig.base.json b/samples/charts/pie-chart/selection/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/selection/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/selection/src/config/tsconfig.spec.json b/samples/charts/pie-chart/selection/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/selection/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/selection/src/config/tsconfig.worker.json b/samples/charts/pie-chart/selection/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/selection/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/selection/tsconfig.app.json b/samples/charts/pie-chart/selection/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/selection/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/selection/tsconfig.json b/samples/charts/pie-chart/selection/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/selection/tsconfig.json +++ b/samples/charts/pie-chart/selection/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/pie-chart/styling/.codesandbox/Dockerfile b/samples/charts/pie-chart/styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/pie-chart/styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/pie-chart/styling/.codesandbox/tasks.json b/samples/charts/pie-chart/styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/pie-chart/styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/pie-chart/styling/.stackblitzrc b/samples/charts/pie-chart/styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/pie-chart/styling/.stackblitzrc +++ b/samples/charts/pie-chart/styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/pie-chart/styling/angular.json b/samples/charts/pie-chart/styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/pie-chart/styling/angular.json +++ b/samples/charts/pie-chart/styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/pie-chart/styling/package.json b/samples/charts/pie-chart/styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/pie-chart/styling/package.json +++ b/samples/charts/pie-chart/styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/pie-chart/styling/sandbox.config.json b/samples/charts/pie-chart/styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/pie-chart/styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/pie-chart/styling/src/config/tsconfig-es5.app.json b/samples/charts/pie-chart/styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/pie-chart/styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/pie-chart/styling/src/config/tsconfig.app.json b/samples/charts/pie-chart/styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/pie-chart/styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/pie-chart/styling/src/config/tsconfig.base.json b/samples/charts/pie-chart/styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/pie-chart/styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/pie-chart/styling/src/config/tsconfig.spec.json b/samples/charts/pie-chart/styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/pie-chart/styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/pie-chart/styling/src/config/tsconfig.worker.json b/samples/charts/pie-chart/styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/pie-chart/styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/pie-chart/styling/tsconfig.app.json b/samples/charts/pie-chart/styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/pie-chart/styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/pie-chart/styling/tsconfig.json b/samples/charts/pie-chart/styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/pie-chart/styling/tsconfig.json +++ b/samples/charts/pie-chart/styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/display-area/.codesandbox/Dockerfile b/samples/charts/sparkline/display-area/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/display-area/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/display-area/.codesandbox/tasks.json b/samples/charts/sparkline/display-area/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/display-area/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/display-area/.stackblitzrc b/samples/charts/sparkline/display-area/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/display-area/.stackblitzrc +++ b/samples/charts/sparkline/display-area/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/display-area/angular.json b/samples/charts/sparkline/display-area/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/display-area/angular.json +++ b/samples/charts/sparkline/display-area/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/display-area/package.json b/samples/charts/sparkline/display-area/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/sparkline/display-area/package.json +++ b/samples/charts/sparkline/display-area/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/display-area/sandbox.config.json b/samples/charts/sparkline/display-area/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/display-area/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/display-area/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/display-area/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/display-area/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/display-area/src/config/tsconfig.app.json b/samples/charts/sparkline/display-area/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/display-area/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/display-area/src/config/tsconfig.base.json b/samples/charts/sparkline/display-area/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/display-area/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/display-area/src/config/tsconfig.spec.json b/samples/charts/sparkline/display-area/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/display-area/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/display-area/src/config/tsconfig.worker.json b/samples/charts/sparkline/display-area/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/display-area/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/display-area/tsconfig.app.json b/samples/charts/sparkline/display-area/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/display-area/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/display-area/tsconfig.json b/samples/charts/sparkline/display-area/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/display-area/tsconfig.json +++ b/samples/charts/sparkline/display-area/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/display-column/.codesandbox/Dockerfile b/samples/charts/sparkline/display-column/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/display-column/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/display-column/.codesandbox/tasks.json b/samples/charts/sparkline/display-column/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/display-column/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/display-column/.stackblitzrc b/samples/charts/sparkline/display-column/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/display-column/.stackblitzrc +++ b/samples/charts/sparkline/display-column/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/display-column/angular.json b/samples/charts/sparkline/display-column/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/display-column/angular.json +++ b/samples/charts/sparkline/display-column/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/display-column/package.json b/samples/charts/sparkline/display-column/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/sparkline/display-column/package.json +++ b/samples/charts/sparkline/display-column/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/display-column/sandbox.config.json b/samples/charts/sparkline/display-column/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/display-column/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/display-column/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/display-column/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/display-column/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/display-column/src/config/tsconfig.app.json b/samples/charts/sparkline/display-column/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/display-column/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/display-column/src/config/tsconfig.base.json b/samples/charts/sparkline/display-column/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/display-column/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/display-column/src/config/tsconfig.spec.json b/samples/charts/sparkline/display-column/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/display-column/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/display-column/src/config/tsconfig.worker.json b/samples/charts/sparkline/display-column/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/display-column/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/display-column/tsconfig.app.json b/samples/charts/sparkline/display-column/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/display-column/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/display-column/tsconfig.json b/samples/charts/sparkline/display-column/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/display-column/tsconfig.json +++ b/samples/charts/sparkline/display-column/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/display-lines/.codesandbox/Dockerfile b/samples/charts/sparkline/display-lines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/display-lines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/display-lines/.codesandbox/tasks.json b/samples/charts/sparkline/display-lines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/display-lines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/display-lines/.stackblitzrc b/samples/charts/sparkline/display-lines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/display-lines/.stackblitzrc +++ b/samples/charts/sparkline/display-lines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/display-lines/angular.json b/samples/charts/sparkline/display-lines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/display-lines/angular.json +++ b/samples/charts/sparkline/display-lines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/display-lines/package.json b/samples/charts/sparkline/display-lines/package.json index 35b77cb25..b18743c2c 100644 --- a/samples/charts/sparkline/display-lines/package.json +++ b/samples/charts/sparkline/display-lines/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/display-lines/sandbox.config.json b/samples/charts/sparkline/display-lines/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/display-lines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/display-lines/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/display-lines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/display-lines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/display-lines/src/config/tsconfig.app.json b/samples/charts/sparkline/display-lines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/display-lines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/display-lines/src/config/tsconfig.base.json b/samples/charts/sparkline/display-lines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/display-lines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/display-lines/src/config/tsconfig.spec.json b/samples/charts/sparkline/display-lines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/display-lines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/display-lines/src/config/tsconfig.worker.json b/samples/charts/sparkline/display-lines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/display-lines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/display-lines/tsconfig.app.json b/samples/charts/sparkline/display-lines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/display-lines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/display-lines/tsconfig.json b/samples/charts/sparkline/display-lines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/display-lines/tsconfig.json +++ b/samples/charts/sparkline/display-lines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/display-types/.codesandbox/Dockerfile b/samples/charts/sparkline/display-types/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/display-types/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/display-types/.codesandbox/tasks.json b/samples/charts/sparkline/display-types/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/display-types/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/display-types/.stackblitzrc b/samples/charts/sparkline/display-types/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/display-types/.stackblitzrc +++ b/samples/charts/sparkline/display-types/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/display-types/angular.json b/samples/charts/sparkline/display-types/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/display-types/angular.json +++ b/samples/charts/sparkline/display-types/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/display-types/package.json b/samples/charts/sparkline/display-types/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/sparkline/display-types/package.json +++ b/samples/charts/sparkline/display-types/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/display-types/sandbox.config.json b/samples/charts/sparkline/display-types/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/sparkline/display-types/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/display-types/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/display-types/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/display-types/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/display-types/src/config/tsconfig.app.json b/samples/charts/sparkline/display-types/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/display-types/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/display-types/src/config/tsconfig.base.json b/samples/charts/sparkline/display-types/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/display-types/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/display-types/src/config/tsconfig.spec.json b/samples/charts/sparkline/display-types/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/display-types/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/display-types/src/config/tsconfig.worker.json b/samples/charts/sparkline/display-types/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/display-types/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/display-types/tsconfig.app.json b/samples/charts/sparkline/display-types/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/display-types/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/display-types/tsconfig.json b/samples/charts/sparkline/display-types/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/display-types/tsconfig.json +++ b/samples/charts/sparkline/display-types/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/display-winloss/.codesandbox/Dockerfile b/samples/charts/sparkline/display-winloss/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/display-winloss/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/display-winloss/.codesandbox/tasks.json b/samples/charts/sparkline/display-winloss/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/display-winloss/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/display-winloss/.stackblitzrc b/samples/charts/sparkline/display-winloss/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/display-winloss/.stackblitzrc +++ b/samples/charts/sparkline/display-winloss/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/display-winloss/angular.json b/samples/charts/sparkline/display-winloss/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/display-winloss/angular.json +++ b/samples/charts/sparkline/display-winloss/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/display-winloss/package.json b/samples/charts/sparkline/display-winloss/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/sparkline/display-winloss/package.json +++ b/samples/charts/sparkline/display-winloss/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/display-winloss/sandbox.config.json b/samples/charts/sparkline/display-winloss/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/display-winloss/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/display-winloss/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/display-winloss/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/display-winloss/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/display-winloss/src/config/tsconfig.app.json b/samples/charts/sparkline/display-winloss/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/display-winloss/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/display-winloss/src/config/tsconfig.base.json b/samples/charts/sparkline/display-winloss/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/display-winloss/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/display-winloss/src/config/tsconfig.spec.json b/samples/charts/sparkline/display-winloss/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/display-winloss/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/display-winloss/src/config/tsconfig.worker.json b/samples/charts/sparkline/display-winloss/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/display-winloss/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/display-winloss/tsconfig.app.json b/samples/charts/sparkline/display-winloss/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/display-winloss/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/display-winloss/tsconfig.json b/samples/charts/sparkline/display-winloss/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/display-winloss/tsconfig.json +++ b/samples/charts/sparkline/display-winloss/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/grid/.codesandbox/Dockerfile b/samples/charts/sparkline/grid/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/grid/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/grid/.codesandbox/tasks.json b/samples/charts/sparkline/grid/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/grid/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/grid/.stackblitzrc b/samples/charts/sparkline/grid/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/grid/.stackblitzrc +++ b/samples/charts/sparkline/grid/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/grid/angular.json b/samples/charts/sparkline/grid/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/grid/angular.json +++ b/samples/charts/sparkline/grid/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/grid/package.json b/samples/charts/sparkline/grid/package.json index 8515f8f61..07a06398c 100644 --- a/samples/charts/sparkline/grid/package.json +++ b/samples/charts/sparkline/grid/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-theming": "6.4.0-beta.2", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/grid/sandbox.config.json b/samples/charts/sparkline/grid/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/sparkline/grid/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/grid/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/grid/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/grid/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/grid/src/config/tsconfig.app.json b/samples/charts/sparkline/grid/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/grid/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/grid/src/config/tsconfig.base.json b/samples/charts/sparkline/grid/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/grid/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/grid/src/config/tsconfig.spec.json b/samples/charts/sparkline/grid/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/grid/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/grid/src/config/tsconfig.worker.json b/samples/charts/sparkline/grid/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/grid/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/grid/tsconfig.app.json b/samples/charts/sparkline/grid/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/grid/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/grid/tsconfig.json b/samples/charts/sparkline/grid/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/grid/tsconfig.json +++ b/samples/charts/sparkline/grid/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/markers/.codesandbox/Dockerfile b/samples/charts/sparkline/markers/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/markers/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/markers/.codesandbox/tasks.json b/samples/charts/sparkline/markers/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/markers/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/markers/.stackblitzrc b/samples/charts/sparkline/markers/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/markers/.stackblitzrc +++ b/samples/charts/sparkline/markers/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/markers/angular.json b/samples/charts/sparkline/markers/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/markers/angular.json +++ b/samples/charts/sparkline/markers/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/markers/package.json b/samples/charts/sparkline/markers/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/sparkline/markers/package.json +++ b/samples/charts/sparkline/markers/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/markers/sandbox.config.json b/samples/charts/sparkline/markers/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/markers/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/markers/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/markers/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/markers/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/markers/src/config/tsconfig.app.json b/samples/charts/sparkline/markers/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/markers/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/markers/src/config/tsconfig.base.json b/samples/charts/sparkline/markers/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/markers/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/markers/src/config/tsconfig.spec.json b/samples/charts/sparkline/markers/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/markers/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/markers/src/config/tsconfig.worker.json b/samples/charts/sparkline/markers/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/markers/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/markers/tsconfig.app.json b/samples/charts/sparkline/markers/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/markers/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/markers/tsconfig.json b/samples/charts/sparkline/markers/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/markers/tsconfig.json +++ b/samples/charts/sparkline/markers/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/normal-range/.codesandbox/Dockerfile b/samples/charts/sparkline/normal-range/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/normal-range/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/normal-range/.codesandbox/tasks.json b/samples/charts/sparkline/normal-range/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/normal-range/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/normal-range/.stackblitzrc b/samples/charts/sparkline/normal-range/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/normal-range/.stackblitzrc +++ b/samples/charts/sparkline/normal-range/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/normal-range/angular.json b/samples/charts/sparkline/normal-range/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/normal-range/angular.json +++ b/samples/charts/sparkline/normal-range/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/normal-range/package.json b/samples/charts/sparkline/normal-range/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/sparkline/normal-range/package.json +++ b/samples/charts/sparkline/normal-range/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/normal-range/sandbox.config.json b/samples/charts/sparkline/normal-range/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/normal-range/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/normal-range/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/normal-range/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/normal-range/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/normal-range/src/config/tsconfig.app.json b/samples/charts/sparkline/normal-range/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/normal-range/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/normal-range/src/config/tsconfig.base.json b/samples/charts/sparkline/normal-range/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/normal-range/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/normal-range/src/config/tsconfig.spec.json b/samples/charts/sparkline/normal-range/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/normal-range/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/normal-range/src/config/tsconfig.worker.json b/samples/charts/sparkline/normal-range/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/normal-range/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/normal-range/tsconfig.app.json b/samples/charts/sparkline/normal-range/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/normal-range/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/normal-range/tsconfig.json b/samples/charts/sparkline/normal-range/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/normal-range/tsconfig.json +++ b/samples/charts/sparkline/normal-range/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/trendlines/.codesandbox/Dockerfile b/samples/charts/sparkline/trendlines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/trendlines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/trendlines/.codesandbox/tasks.json b/samples/charts/sparkline/trendlines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/trendlines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/trendlines/.stackblitzrc b/samples/charts/sparkline/trendlines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/trendlines/.stackblitzrc +++ b/samples/charts/sparkline/trendlines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/trendlines/angular.json b/samples/charts/sparkline/trendlines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/trendlines/angular.json +++ b/samples/charts/sparkline/trendlines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/trendlines/package.json b/samples/charts/sparkline/trendlines/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/sparkline/trendlines/package.json +++ b/samples/charts/sparkline/trendlines/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/trendlines/sandbox.config.json b/samples/charts/sparkline/trendlines/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/trendlines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/trendlines/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/trendlines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/trendlines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/trendlines/src/config/tsconfig.app.json b/samples/charts/sparkline/trendlines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/trendlines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/trendlines/src/config/tsconfig.base.json b/samples/charts/sparkline/trendlines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/trendlines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/trendlines/src/config/tsconfig.spec.json b/samples/charts/sparkline/trendlines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/trendlines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/trendlines/src/config/tsconfig.worker.json b/samples/charts/sparkline/trendlines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/trendlines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/trendlines/tsconfig.app.json b/samples/charts/sparkline/trendlines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/trendlines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/trendlines/tsconfig.json b/samples/charts/sparkline/trendlines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/trendlines/tsconfig.json +++ b/samples/charts/sparkline/trendlines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/sparkline/unknown-values/.codesandbox/Dockerfile b/samples/charts/sparkline/unknown-values/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/sparkline/unknown-values/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/sparkline/unknown-values/.codesandbox/tasks.json b/samples/charts/sparkline/unknown-values/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/sparkline/unknown-values/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/sparkline/unknown-values/.stackblitzrc b/samples/charts/sparkline/unknown-values/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/sparkline/unknown-values/.stackblitzrc +++ b/samples/charts/sparkline/unknown-values/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/sparkline/unknown-values/angular.json b/samples/charts/sparkline/unknown-values/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/sparkline/unknown-values/angular.json +++ b/samples/charts/sparkline/unknown-values/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/sparkline/unknown-values/package.json b/samples/charts/sparkline/unknown-values/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/sparkline/unknown-values/package.json +++ b/samples/charts/sparkline/unknown-values/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/sparkline/unknown-values/sandbox.config.json b/samples/charts/sparkline/unknown-values/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/sparkline/unknown-values/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/sparkline/unknown-values/src/config/tsconfig-es5.app.json b/samples/charts/sparkline/unknown-values/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/sparkline/unknown-values/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/sparkline/unknown-values/src/config/tsconfig.app.json b/samples/charts/sparkline/unknown-values/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/sparkline/unknown-values/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/sparkline/unknown-values/src/config/tsconfig.base.json b/samples/charts/sparkline/unknown-values/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/sparkline/unknown-values/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/sparkline/unknown-values/src/config/tsconfig.spec.json b/samples/charts/sparkline/unknown-values/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/sparkline/unknown-values/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/sparkline/unknown-values/src/config/tsconfig.worker.json b/samples/charts/sparkline/unknown-values/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/sparkline/unknown-values/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/sparkline/unknown-values/tsconfig.app.json b/samples/charts/sparkline/unknown-values/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/sparkline/unknown-values/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/sparkline/unknown-values/tsconfig.json b/samples/charts/sparkline/unknown-values/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/sparkline/unknown-values/tsconfig.json +++ b/samples/charts/sparkline/unknown-values/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-category-chart/.codesandbox/Dockerfile b/samples/charts/toolbar/actions-built-in-category-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/toolbar/actions-built-in-category-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-category-chart/.codesandbox/tasks.json b/samples/charts/toolbar/actions-built-in-category-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/toolbar/actions-built-in-category-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-category-chart/.stackblitzrc b/samples/charts/toolbar/actions-built-in-category-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/toolbar/actions-built-in-category-chart/.stackblitzrc +++ b/samples/charts/toolbar/actions-built-in-category-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-category-chart/angular.json b/samples/charts/toolbar/actions-built-in-category-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/toolbar/actions-built-in-category-chart/angular.json +++ b/samples/charts/toolbar/actions-built-in-category-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/toolbar/actions-built-in-category-chart/package.json b/samples/charts/toolbar/actions-built-in-category-chart/package.json index 35b77cb25..b18743c2c 100644 --- a/samples/charts/toolbar/actions-built-in-category-chart/package.json +++ b/samples/charts/toolbar/actions-built-in-category-chart/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/toolbar/actions-built-in-category-chart/sandbox.config.json b/samples/charts/toolbar/actions-built-in-category-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/toolbar/actions-built-in-category-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig-es5.app.json b/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.app.json b/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.base.json b/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.spec.json b/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.worker.json b/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/toolbar/actions-built-in-category-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.app.json b/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.json b/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.json +++ b/samples/charts/toolbar/actions-built-in-category-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-data-chart/.codesandbox/Dockerfile b/samples/charts/toolbar/actions-built-in-data-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/toolbar/actions-built-in-data-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-data-chart/.codesandbox/tasks.json b/samples/charts/toolbar/actions-built-in-data-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/toolbar/actions-built-in-data-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-data-chart/.stackblitzrc b/samples/charts/toolbar/actions-built-in-data-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/toolbar/actions-built-in-data-chart/.stackblitzrc +++ b/samples/charts/toolbar/actions-built-in-data-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-data-chart/angular.json b/samples/charts/toolbar/actions-built-in-data-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/toolbar/actions-built-in-data-chart/angular.json +++ b/samples/charts/toolbar/actions-built-in-data-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/toolbar/actions-built-in-data-chart/package.json b/samples/charts/toolbar/actions-built-in-data-chart/package.json index 35b77cb25..b18743c2c 100644 --- a/samples/charts/toolbar/actions-built-in-data-chart/package.json +++ b/samples/charts/toolbar/actions-built-in-data-chart/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/toolbar/actions-built-in-data-chart/sandbox.config.json b/samples/charts/toolbar/actions-built-in-data-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/toolbar/actions-built-in-data-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig-es5.app.json b/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.app.json b/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.base.json b/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.spec.json b/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.worker.json b/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/toolbar/actions-built-in-data-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.app.json b/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.json b/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.json +++ b/samples/charts/toolbar/actions-built-in-data-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/toolbar/custom-tool/.codesandbox/Dockerfile b/samples/charts/toolbar/custom-tool/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/toolbar/custom-tool/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/toolbar/custom-tool/.codesandbox/tasks.json b/samples/charts/toolbar/custom-tool/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/toolbar/custom-tool/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/toolbar/custom-tool/.stackblitzrc b/samples/charts/toolbar/custom-tool/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/toolbar/custom-tool/.stackblitzrc +++ b/samples/charts/toolbar/custom-tool/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/toolbar/custom-tool/angular.json b/samples/charts/toolbar/custom-tool/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/toolbar/custom-tool/angular.json +++ b/samples/charts/toolbar/custom-tool/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/toolbar/custom-tool/package.json b/samples/charts/toolbar/custom-tool/package.json index 1af2038ac..ac0c7e9cd 100644 --- a/samples/charts/toolbar/custom-tool/package.json +++ b/samples/charts/toolbar/custom-tool/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/toolbar/custom-tool/sandbox.config.json b/samples/charts/toolbar/custom-tool/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/toolbar/custom-tool/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/toolbar/custom-tool/src/config/tsconfig-es5.app.json b/samples/charts/toolbar/custom-tool/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/toolbar/custom-tool/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/toolbar/custom-tool/src/config/tsconfig.app.json b/samples/charts/toolbar/custom-tool/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/toolbar/custom-tool/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/toolbar/custom-tool/src/config/tsconfig.base.json b/samples/charts/toolbar/custom-tool/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/toolbar/custom-tool/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/toolbar/custom-tool/src/config/tsconfig.spec.json b/samples/charts/toolbar/custom-tool/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/toolbar/custom-tool/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/toolbar/custom-tool/src/config/tsconfig.worker.json b/samples/charts/toolbar/custom-tool/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/toolbar/custom-tool/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/toolbar/custom-tool/tsconfig.app.json b/samples/charts/toolbar/custom-tool/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/toolbar/custom-tool/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/toolbar/custom-tool/tsconfig.json b/samples/charts/toolbar/custom-tool/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/toolbar/custom-tool/tsconfig.json +++ b/samples/charts/toolbar/custom-tool/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/.codesandbox/Dockerfile b/samples/charts/toolbar/layout-actions-for-data-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/toolbar/layout-actions-for-data-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/.codesandbox/tasks.json b/samples/charts/toolbar/layout-actions-for-data-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/toolbar/layout-actions-for-data-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/.stackblitzrc b/samples/charts/toolbar/layout-actions-for-data-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/toolbar/layout-actions-for-data-chart/.stackblitzrc +++ b/samples/charts/toolbar/layout-actions-for-data-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/angular.json b/samples/charts/toolbar/layout-actions-for-data-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/toolbar/layout-actions-for-data-chart/angular.json +++ b/samples/charts/toolbar/layout-actions-for-data-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/package.json b/samples/charts/toolbar/layout-actions-for-data-chart/package.json index 35b77cb25..b18743c2c 100644 --- a/samples/charts/toolbar/layout-actions-for-data-chart/package.json +++ b/samples/charts/toolbar/layout-actions-for-data-chart/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/sandbox.config.json b/samples/charts/toolbar/layout-actions-for-data-chart/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/toolbar/layout-actions-for-data-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig-es5.app.json b/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.app.json b/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.base.json b/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.spec.json b/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.worker.json b/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/toolbar/layout-actions-for-data-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.app.json b/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.json b/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.json +++ b/samples/charts/toolbar/layout-actions-for-data-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/.codesandbox/Dockerfile b/samples/charts/toolbar/layout-in-vertical-orientation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/toolbar/layout-in-vertical-orientation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/.codesandbox/tasks.json b/samples/charts/toolbar/layout-in-vertical-orientation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/toolbar/layout-in-vertical-orientation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/.stackblitzrc b/samples/charts/toolbar/layout-in-vertical-orientation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/toolbar/layout-in-vertical-orientation/.stackblitzrc +++ b/samples/charts/toolbar/layout-in-vertical-orientation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/angular.json b/samples/charts/toolbar/layout-in-vertical-orientation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/toolbar/layout-in-vertical-orientation/angular.json +++ b/samples/charts/toolbar/layout-in-vertical-orientation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/package.json b/samples/charts/toolbar/layout-in-vertical-orientation/package.json index 35b77cb25..b18743c2c 100644 --- a/samples/charts/toolbar/layout-in-vertical-orientation/package.json +++ b/samples/charts/toolbar/layout-in-vertical-orientation/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", "igniteui-angular-layouts": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/sandbox.config.json b/samples/charts/toolbar/layout-in-vertical-orientation/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/toolbar/layout-in-vertical-orientation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig-es5.app.json b/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.app.json b/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.base.json b/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.spec.json b/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.worker.json b/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/toolbar/layout-in-vertical-orientation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.app.json b/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.json b/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.json +++ b/samples/charts/toolbar/layout-in-vertical-orientation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/toolbar/theming/.codesandbox/Dockerfile b/samples/charts/toolbar/theming/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/toolbar/theming/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/toolbar/theming/.codesandbox/tasks.json b/samples/charts/toolbar/theming/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/toolbar/theming/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/toolbar/theming/.stackblitzrc b/samples/charts/toolbar/theming/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/toolbar/theming/.stackblitzrc +++ b/samples/charts/toolbar/theming/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/toolbar/theming/angular.json b/samples/charts/toolbar/theming/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/toolbar/theming/angular.json +++ b/samples/charts/toolbar/theming/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/toolbar/theming/package.json b/samples/charts/toolbar/theming/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/toolbar/theming/package.json +++ b/samples/charts/toolbar/theming/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/toolbar/theming/sandbox.config.json b/samples/charts/toolbar/theming/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/toolbar/theming/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/toolbar/theming/src/config/tsconfig-es5.app.json b/samples/charts/toolbar/theming/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/toolbar/theming/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/toolbar/theming/src/config/tsconfig.app.json b/samples/charts/toolbar/theming/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/toolbar/theming/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/toolbar/theming/src/config/tsconfig.base.json b/samples/charts/toolbar/theming/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/toolbar/theming/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/toolbar/theming/src/config/tsconfig.spec.json b/samples/charts/toolbar/theming/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/toolbar/theming/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/toolbar/theming/src/config/tsconfig.worker.json b/samples/charts/toolbar/theming/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/toolbar/theming/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/toolbar/theming/tsconfig.app.json b/samples/charts/toolbar/theming/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/toolbar/theming/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/toolbar/theming/tsconfig.json b/samples/charts/toolbar/theming/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/toolbar/theming/tsconfig.json +++ b/samples/charts/toolbar/theming/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/tree-map/events/.codesandbox/Dockerfile b/samples/charts/tree-map/events/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/tree-map/events/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/tree-map/events/.codesandbox/tasks.json b/samples/charts/tree-map/events/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/tree-map/events/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/tree-map/events/.stackblitzrc b/samples/charts/tree-map/events/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/tree-map/events/.stackblitzrc +++ b/samples/charts/tree-map/events/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/tree-map/events/angular.json b/samples/charts/tree-map/events/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/tree-map/events/angular.json +++ b/samples/charts/tree-map/events/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/tree-map/events/package.json b/samples/charts/tree-map/events/package.json index d46b4d159..455da6795 100644 --- a/samples/charts/tree-map/events/package.json +++ b/samples/charts/tree-map/events/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/tree-map/events/sandbox.config.json b/samples/charts/tree-map/events/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/tree-map/events/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/tree-map/events/src/config/tsconfig-es5.app.json b/samples/charts/tree-map/events/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/tree-map/events/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/tree-map/events/src/config/tsconfig.app.json b/samples/charts/tree-map/events/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/tree-map/events/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/tree-map/events/src/config/tsconfig.base.json b/samples/charts/tree-map/events/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/tree-map/events/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/tree-map/events/src/config/tsconfig.spec.json b/samples/charts/tree-map/events/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/tree-map/events/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/tree-map/events/src/config/tsconfig.worker.json b/samples/charts/tree-map/events/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/tree-map/events/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/tree-map/events/tsconfig.app.json b/samples/charts/tree-map/events/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/tree-map/events/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/tree-map/events/tsconfig.json b/samples/charts/tree-map/events/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/tree-map/events/tsconfig.json +++ b/samples/charts/tree-map/events/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting-percent-based/.codesandbox/Dockerfile b/samples/charts/tree-map/highlighting-percent-based/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/tree-map/highlighting-percent-based/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting-percent-based/.codesandbox/tasks.json b/samples/charts/tree-map/highlighting-percent-based/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/tree-map/highlighting-percent-based/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting-percent-based/.stackblitzrc b/samples/charts/tree-map/highlighting-percent-based/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/tree-map/highlighting-percent-based/.stackblitzrc +++ b/samples/charts/tree-map/highlighting-percent-based/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting-percent-based/angular.json b/samples/charts/tree-map/highlighting-percent-based/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/tree-map/highlighting-percent-based/angular.json +++ b/samples/charts/tree-map/highlighting-percent-based/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/tree-map/highlighting-percent-based/package.json b/samples/charts/tree-map/highlighting-percent-based/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/tree-map/highlighting-percent-based/package.json +++ b/samples/charts/tree-map/highlighting-percent-based/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/tree-map/highlighting-percent-based/sandbox.config.json b/samples/charts/tree-map/highlighting-percent-based/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/tree-map/highlighting-percent-based/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig-es5.app.json b/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.app.json b/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.base.json b/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.spec.json b/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.worker.json b/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/tree-map/highlighting-percent-based/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/tree-map/highlighting-percent-based/tsconfig.app.json b/samples/charts/tree-map/highlighting-percent-based/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/tree-map/highlighting-percent-based/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/tree-map/highlighting-percent-based/tsconfig.json b/samples/charts/tree-map/highlighting-percent-based/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/tree-map/highlighting-percent-based/tsconfig.json +++ b/samples/charts/tree-map/highlighting-percent-based/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting/.codesandbox/Dockerfile b/samples/charts/tree-map/highlighting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/tree-map/highlighting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting/.codesandbox/tasks.json b/samples/charts/tree-map/highlighting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/tree-map/highlighting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting/.stackblitzrc b/samples/charts/tree-map/highlighting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/tree-map/highlighting/.stackblitzrc +++ b/samples/charts/tree-map/highlighting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting/angular.json b/samples/charts/tree-map/highlighting/angular.json index 0e17c5c1f..0c2c173c9 100644 --- a/samples/charts/tree-map/highlighting/angular.json +++ b/samples/charts/tree-map/highlighting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,41 +95,25 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - }, + "defaultProject": "demo", "cli": { "analytics": false } diff --git a/samples/charts/tree-map/highlighting/package.json b/samples/charts/tree-map/highlighting/package.json index 4cf59528e..e03218915 100644 --- a/samples/charts/tree-map/highlighting/package.json +++ b/samples/charts/tree-map/highlighting/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/tree-map/highlighting/sandbox.config.json b/samples/charts/tree-map/highlighting/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/tree-map/highlighting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/tree-map/highlighting/src/config/tsconfig-es5.app.json b/samples/charts/tree-map/highlighting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/tree-map/highlighting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/tree-map/highlighting/src/config/tsconfig.app.json b/samples/charts/tree-map/highlighting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/tree-map/highlighting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/tree-map/highlighting/src/config/tsconfig.base.json b/samples/charts/tree-map/highlighting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/tree-map/highlighting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/tree-map/highlighting/src/config/tsconfig.spec.json b/samples/charts/tree-map/highlighting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/tree-map/highlighting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/tree-map/highlighting/src/config/tsconfig.worker.json b/samples/charts/tree-map/highlighting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/tree-map/highlighting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/tree-map/highlighting/tsconfig.app.json b/samples/charts/tree-map/highlighting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/tree-map/highlighting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/tree-map/highlighting/tsconfig.json b/samples/charts/tree-map/highlighting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/tree-map/highlighting/tsconfig.json +++ b/samples/charts/tree-map/highlighting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/tree-map/layout/.codesandbox/Dockerfile b/samples/charts/tree-map/layout/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/tree-map/layout/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/tree-map/layout/.codesandbox/tasks.json b/samples/charts/tree-map/layout/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/tree-map/layout/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/tree-map/layout/.stackblitzrc b/samples/charts/tree-map/layout/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/tree-map/layout/.stackblitzrc +++ b/samples/charts/tree-map/layout/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/tree-map/layout/angular.json b/samples/charts/tree-map/layout/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/tree-map/layout/angular.json +++ b/samples/charts/tree-map/layout/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/tree-map/layout/package.json b/samples/charts/tree-map/layout/package.json index 1d130678d..ae1e51e80 100644 --- a/samples/charts/tree-map/layout/package.json +++ b/samples/charts/tree-map/layout/package.json @@ -7,17 +7,17 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-inputs": "17.3.1-alpha.0", @@ -25,23 +25,23 @@ "igniteui-webcomponents": "4.9.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/tree-map/layout/sandbox.config.json b/samples/charts/tree-map/layout/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/tree-map/layout/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/tree-map/layout/src/config/tsconfig-es5.app.json b/samples/charts/tree-map/layout/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/tree-map/layout/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/tree-map/layout/src/config/tsconfig.app.json b/samples/charts/tree-map/layout/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/tree-map/layout/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/tree-map/layout/src/config/tsconfig.base.json b/samples/charts/tree-map/layout/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/tree-map/layout/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/tree-map/layout/src/config/tsconfig.spec.json b/samples/charts/tree-map/layout/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/tree-map/layout/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/tree-map/layout/src/config/tsconfig.worker.json b/samples/charts/tree-map/layout/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/tree-map/layout/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/tree-map/layout/tsconfig.app.json b/samples/charts/tree-map/layout/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/tree-map/layout/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/tree-map/layout/tsconfig.json b/samples/charts/tree-map/layout/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/tree-map/layout/tsconfig.json +++ b/samples/charts/tree-map/layout/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/tree-map/overview/.codesandbox/Dockerfile b/samples/charts/tree-map/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/tree-map/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/tree-map/overview/.codesandbox/tasks.json b/samples/charts/tree-map/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/tree-map/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/tree-map/overview/.stackblitzrc b/samples/charts/tree-map/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/tree-map/overview/.stackblitzrc +++ b/samples/charts/tree-map/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/tree-map/overview/angular.json b/samples/charts/tree-map/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/tree-map/overview/angular.json +++ b/samples/charts/tree-map/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/tree-map/overview/package.json b/samples/charts/tree-map/overview/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/tree-map/overview/package.json +++ b/samples/charts/tree-map/overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/tree-map/overview/sandbox.config.json b/samples/charts/tree-map/overview/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/tree-map/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/tree-map/overview/src/config/tsconfig-es5.app.json b/samples/charts/tree-map/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/tree-map/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/tree-map/overview/src/config/tsconfig.app.json b/samples/charts/tree-map/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/tree-map/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/tree-map/overview/src/config/tsconfig.base.json b/samples/charts/tree-map/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/tree-map/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/tree-map/overview/src/config/tsconfig.spec.json b/samples/charts/tree-map/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/tree-map/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/tree-map/overview/src/config/tsconfig.worker.json b/samples/charts/tree-map/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/tree-map/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/tree-map/overview/tsconfig.app.json b/samples/charts/tree-map/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/tree-map/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/tree-map/overview/tsconfig.json b/samples/charts/tree-map/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/tree-map/overview/tsconfig.json +++ b/samples/charts/tree-map/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/tree-map/styling/.codesandbox/Dockerfile b/samples/charts/tree-map/styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/tree-map/styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/tree-map/styling/.codesandbox/tasks.json b/samples/charts/tree-map/styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/tree-map/styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/tree-map/styling/.stackblitzrc b/samples/charts/tree-map/styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/tree-map/styling/.stackblitzrc +++ b/samples/charts/tree-map/styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/tree-map/styling/angular.json b/samples/charts/tree-map/styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/tree-map/styling/angular.json +++ b/samples/charts/tree-map/styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/tree-map/styling/package.json b/samples/charts/tree-map/styling/package.json index 95e4ca151..35620b319 100644 --- a/samples/charts/tree-map/styling/package.json +++ b/samples/charts/tree-map/styling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@angular-devkit/build-angular": "17.0.0", - "@types/node": "14.14.28", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@angular-devkit/build-angular": "17.2.0", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", "tslint": "~6.1.3", - "ts-node": "9.1.1", - "typescript": "5.2.2" + "ts-node": "10.9.1", + "typescript": "5.3.3" } } diff --git a/samples/charts/tree-map/styling/sandbox.config.json b/samples/charts/tree-map/styling/sandbox.config.json deleted file mode 100644 index 07f53508e..000000000 --- a/samples/charts/tree-map/styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/tree-map/styling/src/config/tsconfig-es5.app.json b/samples/charts/tree-map/styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/tree-map/styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/tree-map/styling/src/config/tsconfig.app.json b/samples/charts/tree-map/styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/tree-map/styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/tree-map/styling/src/config/tsconfig.base.json b/samples/charts/tree-map/styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/tree-map/styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/tree-map/styling/src/config/tsconfig.spec.json b/samples/charts/tree-map/styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/tree-map/styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/tree-map/styling/src/config/tsconfig.worker.json b/samples/charts/tree-map/styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/tree-map/styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/tree-map/styling/tsconfig.app.json b/samples/charts/tree-map/styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/tree-map/styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/tree-map/styling/tsconfig.json b/samples/charts/tree-map/styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/tree-map/styling/tsconfig.json +++ b/samples/charts/tree-map/styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/charts/zoomslider/overview/.codesandbox/Dockerfile b/samples/charts/zoomslider/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/charts/zoomslider/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/charts/zoomslider/overview/.codesandbox/tasks.json b/samples/charts/zoomslider/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/charts/zoomslider/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/charts/zoomslider/overview/.stackblitzrc b/samples/charts/zoomslider/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/charts/zoomslider/overview/.stackblitzrc +++ b/samples/charts/zoomslider/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/charts/zoomslider/overview/angular.json b/samples/charts/zoomslider/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/charts/zoomslider/overview/angular.json +++ b/samples/charts/zoomslider/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/charts/zoomslider/overview/package.json b/samples/charts/zoomslider/overview/package.json index fabb9adc1..2b3760a42 100644 --- a/samples/charts/zoomslider/overview/package.json +++ b/samples/charts/zoomslider/overview/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/charts/zoomslider/overview/sandbox.config.json b/samples/charts/zoomslider/overview/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/charts/zoomslider/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/charts/zoomslider/overview/src/config/tsconfig-es5.app.json b/samples/charts/zoomslider/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/charts/zoomslider/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/charts/zoomslider/overview/src/config/tsconfig.app.json b/samples/charts/zoomslider/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/charts/zoomslider/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/charts/zoomslider/overview/src/config/tsconfig.base.json b/samples/charts/zoomslider/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/charts/zoomslider/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/charts/zoomslider/overview/src/config/tsconfig.spec.json b/samples/charts/zoomslider/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/charts/zoomslider/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/charts/zoomslider/overview/src/config/tsconfig.worker.json b/samples/charts/zoomslider/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/charts/zoomslider/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/charts/zoomslider/overview/tsconfig.app.json b/samples/charts/zoomslider/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/charts/zoomslider/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/charts/zoomslider/overview/tsconfig.json b/samples/charts/zoomslider/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/charts/zoomslider/overview/tsconfig.json +++ b/samples/charts/zoomslider/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-workbooks/.codesandbox/Dockerfile b/samples/excel/excel-library/operations-on-workbooks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/operations-on-workbooks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-workbooks/.codesandbox/tasks.json b/samples/excel/excel-library/operations-on-workbooks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/operations-on-workbooks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-workbooks/.stackblitzrc b/samples/excel/excel-library/operations-on-workbooks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/operations-on-workbooks/.stackblitzrc +++ b/samples/excel/excel-library/operations-on-workbooks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-workbooks/angular.json b/samples/excel/excel-library/operations-on-workbooks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/operations-on-workbooks/angular.json +++ b/samples/excel/excel-library/operations-on-workbooks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/operations-on-workbooks/package.json b/samples/excel/excel-library/operations-on-workbooks/package.json index b34847a1c..543b4d932 100644 --- a/samples/excel/excel-library/operations-on-workbooks/package.json +++ b/samples/excel/excel-library/operations-on-workbooks/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.app.json b/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.base.json b/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.spec.json b/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.worker.json b/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/operations-on-workbooks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/operations-on-workbooks/tsconfig.app.json b/samples/excel/excel-library/operations-on-workbooks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/operations-on-workbooks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/operations-on-workbooks/tsconfig.json b/samples/excel/excel-library/operations-on-workbooks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/operations-on-workbooks/tsconfig.json +++ b/samples/excel/excel-library/operations-on-workbooks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-worksheets/.codesandbox/Dockerfile b/samples/excel/excel-library/operations-on-worksheets/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/operations-on-worksheets/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-worksheets/.codesandbox/tasks.json b/samples/excel/excel-library/operations-on-worksheets/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/operations-on-worksheets/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-worksheets/.stackblitzrc b/samples/excel/excel-library/operations-on-worksheets/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/operations-on-worksheets/.stackblitzrc +++ b/samples/excel/excel-library/operations-on-worksheets/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/operations-on-worksheets/angular.json b/samples/excel/excel-library/operations-on-worksheets/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/operations-on-worksheets/angular.json +++ b/samples/excel/excel-library/operations-on-worksheets/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/operations-on-worksheets/package.json b/samples/excel/excel-library/operations-on-worksheets/package.json index 803ca64b1..ac56cbd59 100644 --- a/samples/excel/excel-library/operations-on-worksheets/package.json +++ b/samples/excel/excel-library/operations-on-worksheets/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.app.json b/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.base.json b/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.spec.json b/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.worker.json b/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/operations-on-worksheets/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/operations-on-worksheets/tsconfig.app.json b/samples/excel/excel-library/operations-on-worksheets/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/operations-on-worksheets/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/operations-on-worksheets/tsconfig.json b/samples/excel/excel-library/operations-on-worksheets/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/operations-on-worksheets/tsconfig.json +++ b/samples/excel/excel-library/operations-on-worksheets/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/overview/.codesandbox/Dockerfile b/samples/excel/excel-library/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/overview/.codesandbox/tasks.json b/samples/excel/excel-library/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/overview/.stackblitzrc b/samples/excel/excel-library/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/overview/.stackblitzrc +++ b/samples/excel/excel-library/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/overview/angular.json b/samples/excel/excel-library/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/overview/angular.json +++ b/samples/excel/excel-library/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/overview/package.json b/samples/excel/excel-library/overview/package.json index 803ca64b1..ac56cbd59 100644 --- a/samples/excel/excel-library/overview/package.json +++ b/samples/excel/excel-library/overview/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/overview/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/overview/src/config/tsconfig.app.json b/samples/excel/excel-library/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/overview/src/config/tsconfig.base.json b/samples/excel/excel-library/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/overview/src/config/tsconfig.spec.json b/samples/excel/excel-library/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/overview/src/config/tsconfig.worker.json b/samples/excel/excel-library/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/overview/tsconfig.app.json b/samples/excel/excel-library/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/overview/tsconfig.json b/samples/excel/excel-library/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/overview/tsconfig.json +++ b/samples/excel/excel-library/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-cells/.codesandbox/Dockerfile b/samples/excel/excel-library/working-with-cells/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/working-with-cells/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-cells/.codesandbox/tasks.json b/samples/excel/excel-library/working-with-cells/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/working-with-cells/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-cells/.stackblitzrc b/samples/excel/excel-library/working-with-cells/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/working-with-cells/.stackblitzrc +++ b/samples/excel/excel-library/working-with-cells/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-cells/angular.json b/samples/excel/excel-library/working-with-cells/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/working-with-cells/angular.json +++ b/samples/excel/excel-library/working-with-cells/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/working-with-cells/package.json b/samples/excel/excel-library/working-with-cells/package.json index 803ca64b1..ac56cbd59 100644 --- a/samples/excel/excel-library/working-with-cells/package.json +++ b/samples/excel/excel-library/working-with-cells/package.json @@ -7,40 +7,40 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/working-with-cells/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/working-with-cells/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/working-with-cells/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.app.json b/samples/excel/excel-library/working-with-cells/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.base.json b/samples/excel/excel-library/working-with-cells/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.spec.json b/samples/excel/excel-library/working-with-cells/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.worker.json b/samples/excel/excel-library/working-with-cells/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/working-with-cells/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-cells/tsconfig.app.json b/samples/excel/excel-library/working-with-cells/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/working-with-cells/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/working-with-cells/tsconfig.json b/samples/excel/excel-library/working-with-cells/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/working-with-cells/tsconfig.json +++ b/samples/excel/excel-library/working-with-cells/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-charts/.codesandbox/Dockerfile b/samples/excel/excel-library/working-with-charts/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/working-with-charts/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-charts/.codesandbox/tasks.json b/samples/excel/excel-library/working-with-charts/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/working-with-charts/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-charts/.stackblitzrc b/samples/excel/excel-library/working-with-charts/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/working-with-charts/.stackblitzrc +++ b/samples/excel/excel-library/working-with-charts/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-charts/angular.json b/samples/excel/excel-library/working-with-charts/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/working-with-charts/angular.json +++ b/samples/excel/excel-library/working-with-charts/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/working-with-charts/package.json b/samples/excel/excel-library/working-with-charts/package.json index 3f772389d..0c18fe415 100644 --- a/samples/excel/excel-library/working-with-charts/package.json +++ b/samples/excel/excel-library/working-with-charts/package.json @@ -7,42 +7,42 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/working-with-charts/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/working-with-charts/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/working-with-charts/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.app.json b/samples/excel/excel-library/working-with-charts/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.base.json b/samples/excel/excel-library/working-with-charts/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.spec.json b/samples/excel/excel-library/working-with-charts/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.worker.json b/samples/excel/excel-library/working-with-charts/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/working-with-charts/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-charts/tsconfig.app.json b/samples/excel/excel-library/working-with-charts/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/working-with-charts/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/working-with-charts/tsconfig.json b/samples/excel/excel-library/working-with-charts/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/working-with-charts/tsconfig.json +++ b/samples/excel/excel-library/working-with-charts/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-sparklines/.codesandbox/Dockerfile b/samples/excel/excel-library/working-with-sparklines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/working-with-sparklines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-sparklines/.codesandbox/tasks.json b/samples/excel/excel-library/working-with-sparklines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/working-with-sparklines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-sparklines/.stackblitzrc b/samples/excel/excel-library/working-with-sparklines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/working-with-sparklines/.stackblitzrc +++ b/samples/excel/excel-library/working-with-sparklines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-sparklines/angular.json b/samples/excel/excel-library/working-with-sparklines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/working-with-sparklines/angular.json +++ b/samples/excel/excel-library/working-with-sparklines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/working-with-sparklines/package.json b/samples/excel/excel-library/working-with-sparklines/package.json index 3f772389d..0c18fe415 100644 --- a/samples/excel/excel-library/working-with-sparklines/package.json +++ b/samples/excel/excel-library/working-with-sparklines/package.json @@ -7,42 +7,42 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.app.json b/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.base.json b/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.spec.json b/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.worker.json b/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/working-with-sparklines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-sparklines/tsconfig.app.json b/samples/excel/excel-library/working-with-sparklines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/working-with-sparklines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/working-with-sparklines/tsconfig.json b/samples/excel/excel-library/working-with-sparklines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/working-with-sparklines/tsconfig.json +++ b/samples/excel/excel-library/working-with-sparklines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-tables/.codesandbox/Dockerfile b/samples/excel/excel-library/working-with-tables/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/excel-library/working-with-tables/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-tables/.codesandbox/tasks.json b/samples/excel/excel-library/working-with-tables/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/excel-library/working-with-tables/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-tables/.stackblitzrc b/samples/excel/excel-library/working-with-tables/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/excel-library/working-with-tables/.stackblitzrc +++ b/samples/excel/excel-library/working-with-tables/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/excel-library/working-with-tables/angular.json b/samples/excel/excel-library/working-with-tables/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/excel-library/working-with-tables/angular.json +++ b/samples/excel/excel-library/working-with-tables/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/excel-library/working-with-tables/package.json b/samples/excel/excel-library/working-with-tables/package.json index 2f95054e6..d3ae2a586 100644 --- a/samples/excel/excel-library/working-with-tables/package.json +++ b/samples/excel/excel-library/working-with-tables/package.json @@ -7,42 +7,42 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "igniteui-angular-spreadsheet-chart-adapter": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/excel-library/working-with-tables/src/config/tsconfig-es5.app.json b/samples/excel/excel-library/working-with-tables/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/excel-library/working-with-tables/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.app.json b/samples/excel/excel-library/working-with-tables/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.base.json b/samples/excel/excel-library/working-with-tables/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.spec.json b/samples/excel/excel-library/working-with-tables/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.worker.json b/samples/excel/excel-library/working-with-tables/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/excel-library/working-with-tables/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/excel-library/working-with-tables/tsconfig.app.json b/samples/excel/excel-library/working-with-tables/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/excel-library/working-with-tables/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/excel-library/working-with-tables/tsconfig.json b/samples/excel/excel-library/working-with-tables/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/excel-library/working-with-tables/tsconfig.json +++ b/samples/excel/excel-library/working-with-tables/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/activation/.codesandbox/Dockerfile b/samples/excel/spreadsheet/activation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/activation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/activation/.codesandbox/tasks.json b/samples/excel/spreadsheet/activation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/activation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/activation/.stackblitzrc b/samples/excel/spreadsheet/activation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/activation/.stackblitzrc +++ b/samples/excel/spreadsheet/activation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/activation/angular.json b/samples/excel/spreadsheet/activation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/activation/angular.json +++ b/samples/excel/spreadsheet/activation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/activation/package.json b/samples/excel/spreadsheet/activation/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/activation/package.json +++ b/samples/excel/spreadsheet/activation/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/activation/sandbox.config.json b/samples/excel/spreadsheet/activation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/activation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/activation/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/activation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/activation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/activation/src/config/tsconfig.app.json b/samples/excel/spreadsheet/activation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/activation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/activation/src/config/tsconfig.base.json b/samples/excel/spreadsheet/activation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/activation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/activation/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/activation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/activation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/activation/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/activation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/activation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/activation/tsconfig.app.json b/samples/excel/spreadsheet/activation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/activation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/activation/tsconfig.json b/samples/excel/spreadsheet/activation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/activation/tsconfig.json +++ b/samples/excel/spreadsheet/activation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-chart/.codesandbox/Dockerfile b/samples/excel/spreadsheet/adapter-chart/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/adapter-chart/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-chart/.codesandbox/tasks.json b/samples/excel/spreadsheet/adapter-chart/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/adapter-chart/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-chart/.stackblitzrc b/samples/excel/spreadsheet/adapter-chart/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/adapter-chart/.stackblitzrc +++ b/samples/excel/spreadsheet/adapter-chart/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-chart/angular.json b/samples/excel/spreadsheet/adapter-chart/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/adapter-chart/angular.json +++ b/samples/excel/spreadsheet/adapter-chart/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/adapter-chart/package.json b/samples/excel/spreadsheet/adapter-chart/package.json index e9684c6f3..ea7cf664f 100644 --- a/samples/excel/spreadsheet/adapter-chart/package.json +++ b/samples/excel/spreadsheet/adapter-chart/package.json @@ -7,19 +7,19 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", @@ -27,23 +27,23 @@ "igniteui-angular-spreadsheet-chart-adapter": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/adapter-chart/sandbox.config.json b/samples/excel/spreadsheet/adapter-chart/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/adapter-chart/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.app.json b/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.base.json b/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/adapter-chart/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/adapter-chart/tsconfig.app.json b/samples/excel/spreadsheet/adapter-chart/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/adapter-chart/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/adapter-chart/tsconfig.json b/samples/excel/spreadsheet/adapter-chart/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/adapter-chart/tsconfig.json +++ b/samples/excel/spreadsheet/adapter-chart/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-combo/.codesandbox/Dockerfile b/samples/excel/spreadsheet/adapter-combo/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/adapter-combo/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-combo/.codesandbox/tasks.json b/samples/excel/spreadsheet/adapter-combo/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/adapter-combo/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-combo/.stackblitzrc b/samples/excel/spreadsheet/adapter-combo/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/adapter-combo/.stackblitzrc +++ b/samples/excel/spreadsheet/adapter-combo/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-combo/angular.json b/samples/excel/spreadsheet/adapter-combo/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/adapter-combo/angular.json +++ b/samples/excel/spreadsheet/adapter-combo/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/adapter-combo/package.json b/samples/excel/spreadsheet/adapter-combo/package.json index e9684c6f3..ea7cf664f 100644 --- a/samples/excel/spreadsheet/adapter-combo/package.json +++ b/samples/excel/spreadsheet/adapter-combo/package.json @@ -7,19 +7,19 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", @@ -27,23 +27,23 @@ "igniteui-angular-spreadsheet-chart-adapter": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/adapter-combo/sandbox.config.json b/samples/excel/spreadsheet/adapter-combo/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/adapter-combo/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.app.json b/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.base.json b/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/adapter-combo/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/adapter-combo/tsconfig.app.json b/samples/excel/spreadsheet/adapter-combo/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/adapter-combo/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/adapter-combo/tsconfig.json b/samples/excel/spreadsheet/adapter-combo/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/adapter-combo/tsconfig.json +++ b/samples/excel/spreadsheet/adapter-combo/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/clipboard/.codesandbox/Dockerfile b/samples/excel/spreadsheet/clipboard/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/clipboard/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/clipboard/.codesandbox/tasks.json b/samples/excel/spreadsheet/clipboard/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/clipboard/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/clipboard/.stackblitzrc b/samples/excel/spreadsheet/clipboard/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/clipboard/.stackblitzrc +++ b/samples/excel/spreadsheet/clipboard/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/clipboard/angular.json b/samples/excel/spreadsheet/clipboard/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/clipboard/angular.json +++ b/samples/excel/spreadsheet/clipboard/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/clipboard/package.json b/samples/excel/spreadsheet/clipboard/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/clipboard/package.json +++ b/samples/excel/spreadsheet/clipboard/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/clipboard/sandbox.config.json b/samples/excel/spreadsheet/clipboard/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/clipboard/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/clipboard/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/clipboard/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/clipboard/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.app.json b/samples/excel/spreadsheet/clipboard/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.base.json b/samples/excel/spreadsheet/clipboard/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/clipboard/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/clipboard/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/clipboard/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/clipboard/tsconfig.app.json b/samples/excel/spreadsheet/clipboard/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/clipboard/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/clipboard/tsconfig.json b/samples/excel/spreadsheet/clipboard/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/clipboard/tsconfig.json +++ b/samples/excel/spreadsheet/clipboard/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/commands/.codesandbox/Dockerfile b/samples/excel/spreadsheet/commands/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/commands/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/commands/.codesandbox/tasks.json b/samples/excel/spreadsheet/commands/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/commands/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/commands/.stackblitzrc b/samples/excel/spreadsheet/commands/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/commands/.stackblitzrc +++ b/samples/excel/spreadsheet/commands/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/commands/angular.json b/samples/excel/spreadsheet/commands/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/commands/angular.json +++ b/samples/excel/spreadsheet/commands/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/commands/package.json b/samples/excel/spreadsheet/commands/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/commands/package.json +++ b/samples/excel/spreadsheet/commands/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/commands/sandbox.config.json b/samples/excel/spreadsheet/commands/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/commands/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/commands/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/commands/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/commands/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/commands/src/config/tsconfig.app.json b/samples/excel/spreadsheet/commands/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/commands/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/commands/src/config/tsconfig.base.json b/samples/excel/spreadsheet/commands/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/commands/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/commands/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/commands/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/commands/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/commands/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/commands/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/commands/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/commands/tsconfig.app.json b/samples/excel/spreadsheet/commands/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/commands/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/commands/tsconfig.json b/samples/excel/spreadsheet/commands/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/commands/tsconfig.json +++ b/samples/excel/spreadsheet/commands/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/conditional-formatting/.codesandbox/Dockerfile b/samples/excel/spreadsheet/conditional-formatting/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/conditional-formatting/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/conditional-formatting/.codesandbox/tasks.json b/samples/excel/spreadsheet/conditional-formatting/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/conditional-formatting/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/conditional-formatting/.stackblitzrc b/samples/excel/spreadsheet/conditional-formatting/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/conditional-formatting/.stackblitzrc +++ b/samples/excel/spreadsheet/conditional-formatting/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/conditional-formatting/angular.json b/samples/excel/spreadsheet/conditional-formatting/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/conditional-formatting/angular.json +++ b/samples/excel/spreadsheet/conditional-formatting/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/conditional-formatting/package.json b/samples/excel/spreadsheet/conditional-formatting/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/conditional-formatting/package.json +++ b/samples/excel/spreadsheet/conditional-formatting/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/conditional-formatting/sandbox.config.json b/samples/excel/spreadsheet/conditional-formatting/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/conditional-formatting/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.app.json b/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.base.json b/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/conditional-formatting/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/conditional-formatting/tsconfig.app.json b/samples/excel/spreadsheet/conditional-formatting/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/conditional-formatting/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/conditional-formatting/tsconfig.json b/samples/excel/spreadsheet/conditional-formatting/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/conditional-formatting/tsconfig.json +++ b/samples/excel/spreadsheet/conditional-formatting/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/config-options/.codesandbox/Dockerfile b/samples/excel/spreadsheet/config-options/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/config-options/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/config-options/.codesandbox/tasks.json b/samples/excel/spreadsheet/config-options/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/config-options/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/config-options/.stackblitzrc b/samples/excel/spreadsheet/config-options/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/config-options/.stackblitzrc +++ b/samples/excel/spreadsheet/config-options/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/config-options/angular.json b/samples/excel/spreadsheet/config-options/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/config-options/angular.json +++ b/samples/excel/spreadsheet/config-options/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/config-options/package.json b/samples/excel/spreadsheet/config-options/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/config-options/package.json +++ b/samples/excel/spreadsheet/config-options/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/config-options/sandbox.config.json b/samples/excel/spreadsheet/config-options/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/config-options/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/config-options/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/config-options/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/config-options/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/config-options/src/config/tsconfig.app.json b/samples/excel/spreadsheet/config-options/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/config-options/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/config-options/src/config/tsconfig.base.json b/samples/excel/spreadsheet/config-options/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/config-options/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/config-options/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/config-options/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/config-options/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/config-options/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/config-options/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/config-options/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/config-options/tsconfig.app.json b/samples/excel/spreadsheet/config-options/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/config-options/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/config-options/tsconfig.json b/samples/excel/spreadsheet/config-options/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/config-options/tsconfig.json +++ b/samples/excel/spreadsheet/config-options/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/data-validation/.codesandbox/Dockerfile b/samples/excel/spreadsheet/data-validation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/data-validation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/data-validation/.codesandbox/tasks.json b/samples/excel/spreadsheet/data-validation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/data-validation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/data-validation/.stackblitzrc b/samples/excel/spreadsheet/data-validation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/data-validation/.stackblitzrc +++ b/samples/excel/spreadsheet/data-validation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/data-validation/angular.json b/samples/excel/spreadsheet/data-validation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/data-validation/angular.json +++ b/samples/excel/spreadsheet/data-validation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/data-validation/package.json b/samples/excel/spreadsheet/data-validation/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/data-validation/package.json +++ b/samples/excel/spreadsheet/data-validation/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/data-validation/sandbox.config.json b/samples/excel/spreadsheet/data-validation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/data-validation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/data-validation/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/data-validation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/data-validation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.app.json b/samples/excel/spreadsheet/data-validation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.base.json b/samples/excel/spreadsheet/data-validation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/data-validation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/data-validation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/data-validation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/data-validation/tsconfig.app.json b/samples/excel/spreadsheet/data-validation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/data-validation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/data-validation/tsconfig.json b/samples/excel/spreadsheet/data-validation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/data-validation/tsconfig.json +++ b/samples/excel/spreadsheet/data-validation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/hyperlinks/.codesandbox/Dockerfile b/samples/excel/spreadsheet/hyperlinks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/hyperlinks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/hyperlinks/.codesandbox/tasks.json b/samples/excel/spreadsheet/hyperlinks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/hyperlinks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/hyperlinks/.stackblitzrc b/samples/excel/spreadsheet/hyperlinks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/hyperlinks/.stackblitzrc +++ b/samples/excel/spreadsheet/hyperlinks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/hyperlinks/angular.json b/samples/excel/spreadsheet/hyperlinks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/hyperlinks/angular.json +++ b/samples/excel/spreadsheet/hyperlinks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/hyperlinks/package.json b/samples/excel/spreadsheet/hyperlinks/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/hyperlinks/package.json +++ b/samples/excel/spreadsheet/hyperlinks/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/hyperlinks/sandbox.config.json b/samples/excel/spreadsheet/hyperlinks/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/hyperlinks/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.app.json b/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.base.json b/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/hyperlinks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/hyperlinks/tsconfig.app.json b/samples/excel/spreadsheet/hyperlinks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/hyperlinks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/hyperlinks/tsconfig.json b/samples/excel/spreadsheet/hyperlinks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/hyperlinks/tsconfig.json +++ b/samples/excel/spreadsheet/hyperlinks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/excel/spreadsheet/overview/.codesandbox/Dockerfile b/samples/excel/spreadsheet/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/excel/spreadsheet/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/excel/spreadsheet/overview/.codesandbox/tasks.json b/samples/excel/spreadsheet/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/excel/spreadsheet/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/excel/spreadsheet/overview/.stackblitzrc b/samples/excel/spreadsheet/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/excel/spreadsheet/overview/.stackblitzrc +++ b/samples/excel/spreadsheet/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/excel/spreadsheet/overview/angular.json b/samples/excel/spreadsheet/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/excel/spreadsheet/overview/angular.json +++ b/samples/excel/spreadsheet/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/excel/spreadsheet/overview/package.json b/samples/excel/spreadsheet/overview/package.json index 2c19bda4b..f5afec064 100644 --- a/samples/excel/spreadsheet/overview/package.json +++ b/samples/excel/spreadsheet/overview/package.json @@ -7,41 +7,41 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/file-saver": "2.0.5", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", "file-saver": "2.0.5", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-excel": "17.3.1-alpha.0", "igniteui-angular-spreadsheet": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/excel/spreadsheet/overview/sandbox.config.json b/samples/excel/spreadsheet/overview/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/excel/spreadsheet/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/excel/spreadsheet/overview/src/config/tsconfig-es5.app.json b/samples/excel/spreadsheet/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/excel/spreadsheet/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/excel/spreadsheet/overview/src/config/tsconfig.app.json b/samples/excel/spreadsheet/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/excel/spreadsheet/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/excel/spreadsheet/overview/src/config/tsconfig.base.json b/samples/excel/spreadsheet/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/excel/spreadsheet/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/excel/spreadsheet/overview/src/config/tsconfig.spec.json b/samples/excel/spreadsheet/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/excel/spreadsheet/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/excel/spreadsheet/overview/src/config/tsconfig.worker.json b/samples/excel/spreadsheet/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/excel/spreadsheet/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/excel/spreadsheet/overview/tsconfig.app.json b/samples/excel/spreadsheet/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/excel/spreadsheet/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/excel/spreadsheet/overview/tsconfig.json b/samples/excel/spreadsheet/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/excel/spreadsheet/overview/tsconfig.json +++ b/samples/excel/spreadsheet/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/animation/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/animation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/animation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/animation/.codesandbox/tasks.json b/samples/gauges/bullet-graph/animation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/animation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/animation/.stackblitzrc b/samples/gauges/bullet-graph/animation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/animation/.stackblitzrc +++ b/samples/gauges/bullet-graph/animation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/animation/angular.json b/samples/gauges/bullet-graph/animation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/animation/angular.json +++ b/samples/gauges/bullet-graph/animation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/animation/package.json b/samples/gauges/bullet-graph/animation/package.json index e54771d28..be320fa81 100644 --- a/samples/gauges/bullet-graph/animation/package.json +++ b/samples/gauges/bullet-graph/animation/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/animation/sandbox.config.json b/samples/gauges/bullet-graph/animation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/animation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/animation/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/animation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/animation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/animation/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/animation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/animation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/animation/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/animation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/animation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/animation/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/animation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/animation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/animation/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/animation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/animation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/animation/tsconfig.app.json b/samples/gauges/bullet-graph/animation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/animation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/animation/tsconfig.json b/samples/gauges/bullet-graph/animation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/animation/tsconfig.json +++ b/samples/gauges/bullet-graph/animation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/background/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/background/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/background/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/background/.codesandbox/tasks.json b/samples/gauges/bullet-graph/background/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/background/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/background/.stackblitzrc b/samples/gauges/bullet-graph/background/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/background/.stackblitzrc +++ b/samples/gauges/bullet-graph/background/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/background/angular.json b/samples/gauges/bullet-graph/background/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/background/angular.json +++ b/samples/gauges/bullet-graph/background/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/background/package.json b/samples/gauges/bullet-graph/background/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/background/package.json +++ b/samples/gauges/bullet-graph/background/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/background/sandbox.config.json b/samples/gauges/bullet-graph/background/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/background/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/background/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/background/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/background/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/background/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/background/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/background/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/background/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/background/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/background/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/background/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/background/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/background/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/background/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/background/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/background/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/background/tsconfig.app.json b/samples/gauges/bullet-graph/background/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/background/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/background/tsconfig.json b/samples/gauges/bullet-graph/background/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/background/tsconfig.json +++ b/samples/gauges/bullet-graph/background/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/highlight-needle/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/highlight-needle/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/highlight-needle/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/highlight-needle/.codesandbox/tasks.json b/samples/gauges/bullet-graph/highlight-needle/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/highlight-needle/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/highlight-needle/.stackblitzrc b/samples/gauges/bullet-graph/highlight-needle/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/highlight-needle/.stackblitzrc +++ b/samples/gauges/bullet-graph/highlight-needle/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/highlight-needle/angular.json b/samples/gauges/bullet-graph/highlight-needle/angular.json index 0e17c5c1f..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/highlight-needle/angular.json +++ b/samples/gauges/bullet-graph/highlight-needle/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,41 +95,25 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - }, + "defaultProject": "demo", "cli": { "analytics": false } diff --git a/samples/gauges/bullet-graph/highlight-needle/package.json b/samples/gauges/bullet-graph/highlight-needle/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/highlight-needle/package.json +++ b/samples/gauges/bullet-graph/highlight-needle/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/highlight-needle/sandbox.config.json b/samples/gauges/bullet-graph/highlight-needle/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/highlight-needle/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/highlight-needle/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/highlight-needle/tsconfig.app.json b/samples/gauges/bullet-graph/highlight-needle/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/highlight-needle/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/highlight-needle/tsconfig.json b/samples/gauges/bullet-graph/highlight-needle/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/highlight-needle/tsconfig.json +++ b/samples/gauges/bullet-graph/highlight-needle/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/labels/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/labels/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/labels/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/labels/.codesandbox/tasks.json b/samples/gauges/bullet-graph/labels/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/labels/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/labels/.stackblitzrc b/samples/gauges/bullet-graph/labels/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/labels/.stackblitzrc +++ b/samples/gauges/bullet-graph/labels/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/labels/angular.json b/samples/gauges/bullet-graph/labels/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/labels/angular.json +++ b/samples/gauges/bullet-graph/labels/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/labels/package.json b/samples/gauges/bullet-graph/labels/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/labels/package.json +++ b/samples/gauges/bullet-graph/labels/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/labels/sandbox.config.json b/samples/gauges/bullet-graph/labels/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/labels/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/labels/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/labels/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/labels/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/labels/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/labels/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/labels/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/labels/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/labels/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/labels/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/labels/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/labels/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/labels/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/labels/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/labels/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/labels/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/labels/tsconfig.app.json b/samples/gauges/bullet-graph/labels/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/labels/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/labels/tsconfig.json b/samples/gauges/bullet-graph/labels/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/labels/tsconfig.json +++ b/samples/gauges/bullet-graph/labels/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/measures/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/measures/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/measures/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/measures/.codesandbox/tasks.json b/samples/gauges/bullet-graph/measures/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/measures/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/measures/.stackblitzrc b/samples/gauges/bullet-graph/measures/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/measures/.stackblitzrc +++ b/samples/gauges/bullet-graph/measures/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/measures/angular.json b/samples/gauges/bullet-graph/measures/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/measures/angular.json +++ b/samples/gauges/bullet-graph/measures/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/measures/package.json b/samples/gauges/bullet-graph/measures/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/measures/package.json +++ b/samples/gauges/bullet-graph/measures/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/measures/sandbox.config.json b/samples/gauges/bullet-graph/measures/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/measures/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/measures/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/measures/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/measures/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/measures/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/measures/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/measures/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/measures/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/measures/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/measures/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/measures/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/measures/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/measures/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/measures/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/measures/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/measures/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/measures/tsconfig.app.json b/samples/gauges/bullet-graph/measures/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/measures/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/measures/tsconfig.json b/samples/gauges/bullet-graph/measures/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/measures/tsconfig.json +++ b/samples/gauges/bullet-graph/measures/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/ranges/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/ranges/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/ranges/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/ranges/.codesandbox/tasks.json b/samples/gauges/bullet-graph/ranges/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/ranges/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/ranges/.stackblitzrc b/samples/gauges/bullet-graph/ranges/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/ranges/.stackblitzrc +++ b/samples/gauges/bullet-graph/ranges/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/ranges/angular.json b/samples/gauges/bullet-graph/ranges/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/ranges/angular.json +++ b/samples/gauges/bullet-graph/ranges/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/ranges/package.json b/samples/gauges/bullet-graph/ranges/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/ranges/package.json +++ b/samples/gauges/bullet-graph/ranges/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/ranges/sandbox.config.json b/samples/gauges/bullet-graph/ranges/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/ranges/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/ranges/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/ranges/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/ranges/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/ranges/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/ranges/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/ranges/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/ranges/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/ranges/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/ranges/tsconfig.app.json b/samples/gauges/bullet-graph/ranges/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/ranges/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/ranges/tsconfig.json b/samples/gauges/bullet-graph/ranges/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/ranges/tsconfig.json +++ b/samples/gauges/bullet-graph/ranges/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/scale/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/scale/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/scale/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/scale/.codesandbox/tasks.json b/samples/gauges/bullet-graph/scale/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/scale/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/scale/.stackblitzrc b/samples/gauges/bullet-graph/scale/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/scale/.stackblitzrc +++ b/samples/gauges/bullet-graph/scale/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/scale/angular.json b/samples/gauges/bullet-graph/scale/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/scale/angular.json +++ b/samples/gauges/bullet-graph/scale/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/scale/package.json b/samples/gauges/bullet-graph/scale/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/scale/package.json +++ b/samples/gauges/bullet-graph/scale/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/scale/sandbox.config.json b/samples/gauges/bullet-graph/scale/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/scale/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/scale/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/scale/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/scale/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/scale/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/scale/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/scale/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/scale/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/scale/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/scale/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/scale/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/scale/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/scale/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/scale/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/scale/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/scale/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/scale/tsconfig.app.json b/samples/gauges/bullet-graph/scale/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/scale/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/scale/tsconfig.json b/samples/gauges/bullet-graph/scale/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/scale/tsconfig.json +++ b/samples/gauges/bullet-graph/scale/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/bullet-graph/tickmarks/.codesandbox/Dockerfile b/samples/gauges/bullet-graph/tickmarks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/bullet-graph/tickmarks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/bullet-graph/tickmarks/.codesandbox/tasks.json b/samples/gauges/bullet-graph/tickmarks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/bullet-graph/tickmarks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/tickmarks/.stackblitzrc b/samples/gauges/bullet-graph/tickmarks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/bullet-graph/tickmarks/.stackblitzrc +++ b/samples/gauges/bullet-graph/tickmarks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/tickmarks/angular.json b/samples/gauges/bullet-graph/tickmarks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/bullet-graph/tickmarks/angular.json +++ b/samples/gauges/bullet-graph/tickmarks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/bullet-graph/tickmarks/package.json b/samples/gauges/bullet-graph/tickmarks/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/bullet-graph/tickmarks/package.json +++ b/samples/gauges/bullet-graph/tickmarks/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/bullet-graph/tickmarks/sandbox.config.json b/samples/gauges/bullet-graph/tickmarks/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/bullet-graph/tickmarks/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig-es5.app.json b/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.app.json b/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.base.json b/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.spec.json b/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.worker.json b/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/bullet-graph/tickmarks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/bullet-graph/tickmarks/tsconfig.app.json b/samples/gauges/bullet-graph/tickmarks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/bullet-graph/tickmarks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/bullet-graph/tickmarks/tsconfig.json b/samples/gauges/bullet-graph/tickmarks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/bullet-graph/tickmarks/tsconfig.json +++ b/samples/gauges/bullet-graph/tickmarks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/animation/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/animation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/animation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/animation/.codesandbox/tasks.json b/samples/gauges/linear-gauge/animation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/animation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/animation/.stackblitzrc b/samples/gauges/linear-gauge/animation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/animation/.stackblitzrc +++ b/samples/gauges/linear-gauge/animation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/animation/angular.json b/samples/gauges/linear-gauge/animation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/animation/angular.json +++ b/samples/gauges/linear-gauge/animation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/animation/package.json b/samples/gauges/linear-gauge/animation/package.json index e54771d28..be320fa81 100644 --- a/samples/gauges/linear-gauge/animation/package.json +++ b/samples/gauges/linear-gauge/animation/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/animation/sandbox.config.json b/samples/gauges/linear-gauge/animation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/animation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/animation/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/animation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/animation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/animation/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/animation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/animation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/animation/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/animation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/animation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/animation/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/animation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/animation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/animation/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/animation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/animation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/animation/tsconfig.app.json b/samples/gauges/linear-gauge/animation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/animation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/animation/tsconfig.json b/samples/gauges/linear-gauge/animation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/animation/tsconfig.json +++ b/samples/gauges/linear-gauge/animation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/backing/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/backing/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/backing/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/backing/.codesandbox/tasks.json b/samples/gauges/linear-gauge/backing/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/backing/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/backing/.stackblitzrc b/samples/gauges/linear-gauge/backing/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/backing/.stackblitzrc +++ b/samples/gauges/linear-gauge/backing/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/backing/angular.json b/samples/gauges/linear-gauge/backing/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/backing/angular.json +++ b/samples/gauges/linear-gauge/backing/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/backing/package.json b/samples/gauges/linear-gauge/backing/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/backing/package.json +++ b/samples/gauges/linear-gauge/backing/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/backing/sandbox.config.json b/samples/gauges/linear-gauge/backing/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/backing/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/backing/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/backing/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/backing/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/backing/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/backing/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/backing/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/backing/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/backing/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/backing/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/backing/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/backing/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/backing/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/backing/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/backing/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/backing/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/backing/tsconfig.app.json b/samples/gauges/linear-gauge/backing/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/backing/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/backing/tsconfig.json b/samples/gauges/linear-gauge/backing/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/backing/tsconfig.json +++ b/samples/gauges/linear-gauge/backing/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/highlight-needle/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/highlight-needle/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/highlight-needle/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/highlight-needle/.codesandbox/tasks.json b/samples/gauges/linear-gauge/highlight-needle/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/highlight-needle/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/highlight-needle/.stackblitzrc b/samples/gauges/linear-gauge/highlight-needle/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/highlight-needle/.stackblitzrc +++ b/samples/gauges/linear-gauge/highlight-needle/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/highlight-needle/angular.json b/samples/gauges/linear-gauge/highlight-needle/angular.json index 0e17c5c1f..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/highlight-needle/angular.json +++ b/samples/gauges/linear-gauge/highlight-needle/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,41 +95,25 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - }, + "defaultProject": "demo", "cli": { "analytics": false } diff --git a/samples/gauges/linear-gauge/highlight-needle/package.json b/samples/gauges/linear-gauge/highlight-needle/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/highlight-needle/package.json +++ b/samples/gauges/linear-gauge/highlight-needle/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/highlight-needle/sandbox.config.json b/samples/gauges/linear-gauge/highlight-needle/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/highlight-needle/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/highlight-needle/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/highlight-needle/tsconfig.app.json b/samples/gauges/linear-gauge/highlight-needle/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/highlight-needle/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/highlight-needle/tsconfig.json b/samples/gauges/linear-gauge/highlight-needle/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/highlight-needle/tsconfig.json +++ b/samples/gauges/linear-gauge/highlight-needle/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/labels/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/labels/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/labels/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/labels/.codesandbox/tasks.json b/samples/gauges/linear-gauge/labels/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/labels/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/labels/.stackblitzrc b/samples/gauges/linear-gauge/labels/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/labels/.stackblitzrc +++ b/samples/gauges/linear-gauge/labels/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/labels/angular.json b/samples/gauges/linear-gauge/labels/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/labels/angular.json +++ b/samples/gauges/linear-gauge/labels/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/labels/package.json b/samples/gauges/linear-gauge/labels/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/labels/package.json +++ b/samples/gauges/linear-gauge/labels/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/labels/sandbox.config.json b/samples/gauges/linear-gauge/labels/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/labels/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/labels/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/labels/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/labels/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/labels/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/labels/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/labels/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/labels/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/labels/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/labels/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/labels/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/labels/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/labels/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/labels/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/labels/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/labels/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/labels/tsconfig.app.json b/samples/gauges/linear-gauge/labels/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/labels/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/labels/tsconfig.json b/samples/gauges/linear-gauge/labels/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/labels/tsconfig.json +++ b/samples/gauges/linear-gauge/labels/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/needle/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/needle/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/needle/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/needle/.codesandbox/tasks.json b/samples/gauges/linear-gauge/needle/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/needle/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/needle/.stackblitzrc b/samples/gauges/linear-gauge/needle/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/needle/.stackblitzrc +++ b/samples/gauges/linear-gauge/needle/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/needle/angular.json b/samples/gauges/linear-gauge/needle/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/needle/angular.json +++ b/samples/gauges/linear-gauge/needle/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/needle/package.json b/samples/gauges/linear-gauge/needle/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/needle/package.json +++ b/samples/gauges/linear-gauge/needle/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/needle/sandbox.config.json b/samples/gauges/linear-gauge/needle/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/needle/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/needle/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/needle/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/needle/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/needle/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/needle/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/needle/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/needle/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/needle/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/needle/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/needle/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/needle/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/needle/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/needle/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/needle/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/needle/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/needle/tsconfig.app.json b/samples/gauges/linear-gauge/needle/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/needle/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/needle/tsconfig.json b/samples/gauges/linear-gauge/needle/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/needle/tsconfig.json +++ b/samples/gauges/linear-gauge/needle/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/ranges/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/ranges/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/ranges/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/ranges/.codesandbox/tasks.json b/samples/gauges/linear-gauge/ranges/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/ranges/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/ranges/.stackblitzrc b/samples/gauges/linear-gauge/ranges/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/ranges/.stackblitzrc +++ b/samples/gauges/linear-gauge/ranges/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/ranges/angular.json b/samples/gauges/linear-gauge/ranges/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/ranges/angular.json +++ b/samples/gauges/linear-gauge/ranges/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/ranges/package.json b/samples/gauges/linear-gauge/ranges/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/ranges/package.json +++ b/samples/gauges/linear-gauge/ranges/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/ranges/sandbox.config.json b/samples/gauges/linear-gauge/ranges/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/ranges/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/ranges/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/ranges/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/ranges/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/ranges/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/ranges/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/ranges/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/ranges/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/ranges/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/ranges/tsconfig.app.json b/samples/gauges/linear-gauge/ranges/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/ranges/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/ranges/tsconfig.json b/samples/gauges/linear-gauge/ranges/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/ranges/tsconfig.json +++ b/samples/gauges/linear-gauge/ranges/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/scale/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/scale/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/scale/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/scale/.codesandbox/tasks.json b/samples/gauges/linear-gauge/scale/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/scale/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/scale/.stackblitzrc b/samples/gauges/linear-gauge/scale/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/scale/.stackblitzrc +++ b/samples/gauges/linear-gauge/scale/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/scale/angular.json b/samples/gauges/linear-gauge/scale/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/scale/angular.json +++ b/samples/gauges/linear-gauge/scale/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/scale/package.json b/samples/gauges/linear-gauge/scale/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/scale/package.json +++ b/samples/gauges/linear-gauge/scale/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/scale/sandbox.config.json b/samples/gauges/linear-gauge/scale/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/scale/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/scale/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/scale/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/scale/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/scale/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/scale/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/scale/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/scale/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/scale/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/scale/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/scale/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/scale/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/scale/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/scale/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/scale/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/scale/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/scale/tsconfig.app.json b/samples/gauges/linear-gauge/scale/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/scale/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/scale/tsconfig.json b/samples/gauges/linear-gauge/scale/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/scale/tsconfig.json +++ b/samples/gauges/linear-gauge/scale/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/linear-gauge/tickmarks/.codesandbox/Dockerfile b/samples/gauges/linear-gauge/tickmarks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/linear-gauge/tickmarks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/linear-gauge/tickmarks/.codesandbox/tasks.json b/samples/gauges/linear-gauge/tickmarks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/linear-gauge/tickmarks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/tickmarks/.stackblitzrc b/samples/gauges/linear-gauge/tickmarks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/linear-gauge/tickmarks/.stackblitzrc +++ b/samples/gauges/linear-gauge/tickmarks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/tickmarks/angular.json b/samples/gauges/linear-gauge/tickmarks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/linear-gauge/tickmarks/angular.json +++ b/samples/gauges/linear-gauge/tickmarks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/linear-gauge/tickmarks/package.json b/samples/gauges/linear-gauge/tickmarks/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/linear-gauge/tickmarks/package.json +++ b/samples/gauges/linear-gauge/tickmarks/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/linear-gauge/tickmarks/sandbox.config.json b/samples/gauges/linear-gauge/tickmarks/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/linear-gauge/tickmarks/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig-es5.app.json b/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.app.json b/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.base.json b/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.spec.json b/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.worker.json b/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/linear-gauge/tickmarks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/linear-gauge/tickmarks/tsconfig.app.json b/samples/gauges/linear-gauge/tickmarks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/linear-gauge/tickmarks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/linear-gauge/tickmarks/tsconfig.json b/samples/gauges/linear-gauge/tickmarks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/linear-gauge/tickmarks/tsconfig.json +++ b/samples/gauges/linear-gauge/tickmarks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/animation/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/animation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/animation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/animation/.codesandbox/tasks.json b/samples/gauges/radial-gauge/animation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/animation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/animation/.stackblitzrc b/samples/gauges/radial-gauge/animation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/animation/.stackblitzrc +++ b/samples/gauges/radial-gauge/animation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/animation/angular.json b/samples/gauges/radial-gauge/animation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/animation/angular.json +++ b/samples/gauges/radial-gauge/animation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/animation/package.json b/samples/gauges/radial-gauge/animation/package.json index e54771d28..be320fa81 100644 --- a/samples/gauges/radial-gauge/animation/package.json +++ b/samples/gauges/radial-gauge/animation/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular": "17.2.3", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/animation/sandbox.config.json b/samples/gauges/radial-gauge/animation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/animation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/animation/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/animation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/animation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/animation/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/animation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/animation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/animation/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/animation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/animation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/animation/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/animation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/animation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/animation/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/animation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/animation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/animation/tsconfig.app.json b/samples/gauges/radial-gauge/animation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/animation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/animation/tsconfig.json b/samples/gauges/radial-gauge/animation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/animation/tsconfig.json +++ b/samples/gauges/radial-gauge/animation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/backing/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/backing/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/backing/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/backing/.codesandbox/tasks.json b/samples/gauges/radial-gauge/backing/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/backing/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/backing/.stackblitzrc b/samples/gauges/radial-gauge/backing/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/backing/.stackblitzrc +++ b/samples/gauges/radial-gauge/backing/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/backing/angular.json b/samples/gauges/radial-gauge/backing/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/backing/angular.json +++ b/samples/gauges/radial-gauge/backing/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/backing/package.json b/samples/gauges/radial-gauge/backing/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/backing/package.json +++ b/samples/gauges/radial-gauge/backing/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/backing/sandbox.config.json b/samples/gauges/radial-gauge/backing/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/backing/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/backing/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/backing/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/backing/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/backing/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/backing/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/backing/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/backing/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/backing/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/backing/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/backing/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/backing/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/backing/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/backing/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/backing/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/backing/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/backing/tsconfig.app.json b/samples/gauges/radial-gauge/backing/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/backing/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/backing/tsconfig.json b/samples/gauges/radial-gauge/backing/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/backing/tsconfig.json +++ b/samples/gauges/radial-gauge/backing/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/highlight-needle/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/highlight-needle/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/highlight-needle/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/highlight-needle/.codesandbox/tasks.json b/samples/gauges/radial-gauge/highlight-needle/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/highlight-needle/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/highlight-needle/.stackblitzrc b/samples/gauges/radial-gauge/highlight-needle/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/highlight-needle/.stackblitzrc +++ b/samples/gauges/radial-gauge/highlight-needle/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/highlight-needle/angular.json b/samples/gauges/radial-gauge/highlight-needle/angular.json index 0e17c5c1f..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/highlight-needle/angular.json +++ b/samples/gauges/radial-gauge/highlight-needle/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,41 +95,25 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - }, + "defaultProject": "demo", "cli": { "analytics": false } diff --git a/samples/gauges/radial-gauge/highlight-needle/package.json b/samples/gauges/radial-gauge/highlight-needle/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/highlight-needle/package.json +++ b/samples/gauges/radial-gauge/highlight-needle/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/highlight-needle/sandbox.config.json b/samples/gauges/radial-gauge/highlight-needle/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/highlight-needle/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/highlight-needle/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/highlight-needle/tsconfig.app.json b/samples/gauges/radial-gauge/highlight-needle/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/highlight-needle/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/highlight-needle/tsconfig.json b/samples/gauges/radial-gauge/highlight-needle/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/highlight-needle/tsconfig.json +++ b/samples/gauges/radial-gauge/highlight-needle/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/labels/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/labels/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/labels/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/labels/.codesandbox/tasks.json b/samples/gauges/radial-gauge/labels/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/labels/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/labels/.stackblitzrc b/samples/gauges/radial-gauge/labels/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/labels/.stackblitzrc +++ b/samples/gauges/radial-gauge/labels/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/labels/angular.json b/samples/gauges/radial-gauge/labels/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/labels/angular.json +++ b/samples/gauges/radial-gauge/labels/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/labels/package.json b/samples/gauges/radial-gauge/labels/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/labels/package.json +++ b/samples/gauges/radial-gauge/labels/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/labels/sandbox.config.json b/samples/gauges/radial-gauge/labels/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/labels/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/labels/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/labels/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/labels/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/labels/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/labels/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/labels/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/labels/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/labels/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/labels/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/labels/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/labels/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/labels/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/labels/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/labels/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/labels/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/labels/tsconfig.app.json b/samples/gauges/radial-gauge/labels/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/labels/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/labels/tsconfig.json b/samples/gauges/radial-gauge/labels/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/labels/tsconfig.json +++ b/samples/gauges/radial-gauge/labels/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/needle/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/needle/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/needle/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/needle/.codesandbox/tasks.json b/samples/gauges/radial-gauge/needle/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/needle/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/needle/.stackblitzrc b/samples/gauges/radial-gauge/needle/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/needle/.stackblitzrc +++ b/samples/gauges/radial-gauge/needle/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/needle/angular.json b/samples/gauges/radial-gauge/needle/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/needle/angular.json +++ b/samples/gauges/radial-gauge/needle/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/needle/package.json b/samples/gauges/radial-gauge/needle/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/needle/package.json +++ b/samples/gauges/radial-gauge/needle/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/needle/sandbox.config.json b/samples/gauges/radial-gauge/needle/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/needle/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/needle/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/needle/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/needle/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/needle/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/needle/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/needle/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/needle/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/needle/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/needle/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/needle/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/needle/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/needle/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/needle/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/needle/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/needle/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/needle/tsconfig.app.json b/samples/gauges/radial-gauge/needle/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/needle/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/needle/tsconfig.json b/samples/gauges/radial-gauge/needle/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/needle/tsconfig.json +++ b/samples/gauges/radial-gauge/needle/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/optical-scaling/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/optical-scaling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/optical-scaling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/optical-scaling/.codesandbox/tasks.json b/samples/gauges/radial-gauge/optical-scaling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/optical-scaling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/optical-scaling/.stackblitzrc b/samples/gauges/radial-gauge/optical-scaling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/optical-scaling/.stackblitzrc +++ b/samples/gauges/radial-gauge/optical-scaling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/optical-scaling/angular.json b/samples/gauges/radial-gauge/optical-scaling/angular.json index 0e17c5c1f..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/optical-scaling/angular.json +++ b/samples/gauges/radial-gauge/optical-scaling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,41 +95,25 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } - }, + "defaultProject": "demo", "cli": { "analytics": false } diff --git a/samples/gauges/radial-gauge/optical-scaling/package.json b/samples/gauges/radial-gauge/optical-scaling/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/optical-scaling/package.json +++ b/samples/gauges/radial-gauge/optical-scaling/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/optical-scaling/sandbox.config.json b/samples/gauges/radial-gauge/optical-scaling/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/optical-scaling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/optical-scaling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/optical-scaling/tsconfig.app.json b/samples/gauges/radial-gauge/optical-scaling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/optical-scaling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/optical-scaling/tsconfig.json b/samples/gauges/radial-gauge/optical-scaling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/optical-scaling/tsconfig.json +++ b/samples/gauges/radial-gauge/optical-scaling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/ranges/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/ranges/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/ranges/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/ranges/.codesandbox/tasks.json b/samples/gauges/radial-gauge/ranges/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/ranges/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/ranges/.stackblitzrc b/samples/gauges/radial-gauge/ranges/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/ranges/.stackblitzrc +++ b/samples/gauges/radial-gauge/ranges/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/ranges/angular.json b/samples/gauges/radial-gauge/ranges/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/ranges/angular.json +++ b/samples/gauges/radial-gauge/ranges/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/ranges/package.json b/samples/gauges/radial-gauge/ranges/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/ranges/package.json +++ b/samples/gauges/radial-gauge/ranges/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/ranges/sandbox.config.json b/samples/gauges/radial-gauge/ranges/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/ranges/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/ranges/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/ranges/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/ranges/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/ranges/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/ranges/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/ranges/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/ranges/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/ranges/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/ranges/tsconfig.app.json b/samples/gauges/radial-gauge/ranges/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/ranges/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/ranges/tsconfig.json b/samples/gauges/radial-gauge/ranges/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/ranges/tsconfig.json +++ b/samples/gauges/radial-gauge/ranges/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/scale/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/scale/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/scale/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/scale/.codesandbox/tasks.json b/samples/gauges/radial-gauge/scale/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/scale/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/scale/.stackblitzrc b/samples/gauges/radial-gauge/scale/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/scale/.stackblitzrc +++ b/samples/gauges/radial-gauge/scale/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/scale/angular.json b/samples/gauges/radial-gauge/scale/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/scale/angular.json +++ b/samples/gauges/radial-gauge/scale/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/scale/package.json b/samples/gauges/radial-gauge/scale/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/scale/package.json +++ b/samples/gauges/radial-gauge/scale/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/scale/sandbox.config.json b/samples/gauges/radial-gauge/scale/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/scale/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/scale/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/scale/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/scale/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/scale/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/scale/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/scale/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/scale/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/scale/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/scale/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/scale/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/scale/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/scale/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/scale/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/scale/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/scale/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/scale/tsconfig.app.json b/samples/gauges/radial-gauge/scale/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/scale/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/scale/tsconfig.json b/samples/gauges/radial-gauge/scale/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/scale/tsconfig.json +++ b/samples/gauges/radial-gauge/scale/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/gauges/radial-gauge/tickmarks/.codesandbox/Dockerfile b/samples/gauges/radial-gauge/tickmarks/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/gauges/radial-gauge/tickmarks/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/gauges/radial-gauge/tickmarks/.codesandbox/tasks.json b/samples/gauges/radial-gauge/tickmarks/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/gauges/radial-gauge/tickmarks/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/tickmarks/.stackblitzrc b/samples/gauges/radial-gauge/tickmarks/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/gauges/radial-gauge/tickmarks/.stackblitzrc +++ b/samples/gauges/radial-gauge/tickmarks/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/tickmarks/angular.json b/samples/gauges/radial-gauge/tickmarks/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/gauges/radial-gauge/tickmarks/angular.json +++ b/samples/gauges/radial-gauge/tickmarks/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/gauges/radial-gauge/tickmarks/package.json b/samples/gauges/radial-gauge/tickmarks/package.json index 400a970dd..1d5da46d8 100644 --- a/samples/gauges/radial-gauge/tickmarks/package.json +++ b/samples/gauges/radial-gauge/tickmarks/package.json @@ -7,38 +7,38 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-gauges": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/gauges/radial-gauge/tickmarks/sandbox.config.json b/samples/gauges/radial-gauge/tickmarks/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/gauges/radial-gauge/tickmarks/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig-es5.app.json b/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.app.json b/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.base.json b/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.spec.json b/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.worker.json b/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/gauges/radial-gauge/tickmarks/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/gauges/radial-gauge/tickmarks/tsconfig.app.json b/samples/gauges/radial-gauge/tickmarks/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/gauges/radial-gauge/tickmarks/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/gauges/radial-gauge/tickmarks/tsconfig.json b/samples/gauges/radial-gauge/tickmarks/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/gauges/radial-gauge/tickmarks/tsconfig.json +++ b/samples/gauges/radial-gauge/tickmarks/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-csv/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-data-csv/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-data-csv/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-csv/.codesandbox/tasks.json b/samples/maps/geo-map/binding-data-csv/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-data-csv/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-csv/.stackblitzrc b/samples/maps/geo-map/binding-data-csv/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-data-csv/.stackblitzrc +++ b/samples/maps/geo-map/binding-data-csv/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-csv/angular.json b/samples/maps/geo-map/binding-data-csv/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-data-csv/angular.json +++ b/samples/maps/geo-map/binding-data-csv/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-data-csv/package.json b/samples/maps/geo-map/binding-data-csv/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-data-csv/package.json +++ b/samples/maps/geo-map/binding-data-csv/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-data-csv/sandbox.config.json b/samples/maps/geo-map/binding-data-csv/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-data-csv/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-data-csv/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-data-csv/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-csv/tsconfig.app.json b/samples/maps/geo-map/binding-data-csv/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-data-csv/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-data-csv/tsconfig.json b/samples/maps/geo-map/binding-data-csv/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-data-csv/tsconfig.json +++ b/samples/maps/geo-map/binding-data-csv/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-json-points/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-data-json-points/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-data-json-points/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-json-points/.codesandbox/tasks.json b/samples/maps/geo-map/binding-data-json-points/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-data-json-points/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-json-points/.stackblitzrc b/samples/maps/geo-map/binding-data-json-points/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-data-json-points/.stackblitzrc +++ b/samples/maps/geo-map/binding-data-json-points/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-json-points/angular.json b/samples/maps/geo-map/binding-data-json-points/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-data-json-points/angular.json +++ b/samples/maps/geo-map/binding-data-json-points/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-data-json-points/package.json b/samples/maps/geo-map/binding-data-json-points/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-data-json-points/package.json +++ b/samples/maps/geo-map/binding-data-json-points/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-data-json-points/sandbox.config.json b/samples/maps/geo-map/binding-data-json-points/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-data-json-points/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-data-json-points/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-json-points/tsconfig.app.json b/samples/maps/geo-map/binding-data-json-points/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-data-json-points/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-data-json-points/tsconfig.json b/samples/maps/geo-map/binding-data-json-points/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-data-json-points/tsconfig.json +++ b/samples/maps/geo-map/binding-data-json-points/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-model/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-data-model/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-data-model/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-model/.codesandbox/tasks.json b/samples/maps/geo-map/binding-data-model/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-data-model/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-model/.stackblitzrc b/samples/maps/geo-map/binding-data-model/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-data-model/.stackblitzrc +++ b/samples/maps/geo-map/binding-data-model/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-model/angular.json b/samples/maps/geo-map/binding-data-model/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-data-model/angular.json +++ b/samples/maps/geo-map/binding-data-model/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-data-model/package.json b/samples/maps/geo-map/binding-data-model/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-data-model/package.json +++ b/samples/maps/geo-map/binding-data-model/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-data-model/sandbox.config.json b/samples/maps/geo-map/binding-data-model/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-data-model/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-data-model/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-data-model/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-data-model/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-data-model/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-data-model/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-data-model/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-data-model/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-data-model/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-data-model/tsconfig.app.json b/samples/maps/geo-map/binding-data-model/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-data-model/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-data-model/tsconfig.json b/samples/maps/geo-map/binding-data-model/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-data-model/tsconfig.json +++ b/samples/maps/geo-map/binding-data-model/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-shapes/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-multiple-shapes/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-multiple-shapes/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-shapes/.codesandbox/tasks.json b/samples/maps/geo-map/binding-multiple-shapes/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-multiple-shapes/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-shapes/.stackblitzrc b/samples/maps/geo-map/binding-multiple-shapes/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-multiple-shapes/.stackblitzrc +++ b/samples/maps/geo-map/binding-multiple-shapes/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-shapes/angular.json b/samples/maps/geo-map/binding-multiple-shapes/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-multiple-shapes/angular.json +++ b/samples/maps/geo-map/binding-multiple-shapes/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-multiple-shapes/package.json b/samples/maps/geo-map/binding-multiple-shapes/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-multiple-shapes/package.json +++ b/samples/maps/geo-map/binding-multiple-shapes/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-multiple-shapes/sandbox.config.json b/samples/maps/geo-map/binding-multiple-shapes/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-multiple-shapes/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-multiple-shapes/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-multiple-shapes/tsconfig.app.json b/samples/maps/geo-map/binding-multiple-shapes/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-multiple-shapes/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-multiple-shapes/tsconfig.json b/samples/maps/geo-map/binding-multiple-shapes/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-multiple-shapes/tsconfig.json +++ b/samples/maps/geo-map/binding-multiple-shapes/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-sources/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-multiple-sources/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-multiple-sources/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-sources/.codesandbox/tasks.json b/samples/maps/geo-map/binding-multiple-sources/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-multiple-sources/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-sources/.stackblitzrc b/samples/maps/geo-map/binding-multiple-sources/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-multiple-sources/.stackblitzrc +++ b/samples/maps/geo-map/binding-multiple-sources/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-sources/angular.json b/samples/maps/geo-map/binding-multiple-sources/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-multiple-sources/angular.json +++ b/samples/maps/geo-map/binding-multiple-sources/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-multiple-sources/package.json b/samples/maps/geo-map/binding-multiple-sources/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-multiple-sources/package.json +++ b/samples/maps/geo-map/binding-multiple-sources/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-multiple-sources/sandbox.config.json b/samples/maps/geo-map/binding-multiple-sources/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-multiple-sources/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-multiple-sources/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-multiple-sources/tsconfig.app.json b/samples/maps/geo-map/binding-multiple-sources/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-multiple-sources/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-multiple-sources/tsconfig.json b/samples/maps/geo-map/binding-multiple-sources/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-multiple-sources/tsconfig.json +++ b/samples/maps/geo-map/binding-multiple-sources/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-points/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-shp-points/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-shp-points/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-points/.codesandbox/tasks.json b/samples/maps/geo-map/binding-shp-points/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-shp-points/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-points/.stackblitzrc b/samples/maps/geo-map/binding-shp-points/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-shp-points/.stackblitzrc +++ b/samples/maps/geo-map/binding-shp-points/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-points/angular.json b/samples/maps/geo-map/binding-shp-points/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-shp-points/angular.json +++ b/samples/maps/geo-map/binding-shp-points/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-shp-points/package.json b/samples/maps/geo-map/binding-shp-points/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-shp-points/package.json +++ b/samples/maps/geo-map/binding-shp-points/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-shp-points/sandbox.config.json b/samples/maps/geo-map/binding-shp-points/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-shp-points/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-shp-points/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-shp-points/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-points/tsconfig.app.json b/samples/maps/geo-map/binding-shp-points/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-shp-points/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-shp-points/tsconfig.json b/samples/maps/geo-map/binding-shp-points/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-shp-points/tsconfig.json +++ b/samples/maps/geo-map/binding-shp-points/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polygons/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-shp-polygons/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-shp-polygons/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polygons/.codesandbox/tasks.json b/samples/maps/geo-map/binding-shp-polygons/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-shp-polygons/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polygons/.stackblitzrc b/samples/maps/geo-map/binding-shp-polygons/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-shp-polygons/.stackblitzrc +++ b/samples/maps/geo-map/binding-shp-polygons/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polygons/angular.json b/samples/maps/geo-map/binding-shp-polygons/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-shp-polygons/angular.json +++ b/samples/maps/geo-map/binding-shp-polygons/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-shp-polygons/package.json b/samples/maps/geo-map/binding-shp-polygons/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-shp-polygons/package.json +++ b/samples/maps/geo-map/binding-shp-polygons/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-shp-polygons/sandbox.config.json b/samples/maps/geo-map/binding-shp-polygons/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-shp-polygons/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-shp-polygons/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-polygons/tsconfig.app.json b/samples/maps/geo-map/binding-shp-polygons/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-shp-polygons/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-shp-polygons/tsconfig.json b/samples/maps/geo-map/binding-shp-polygons/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-shp-polygons/tsconfig.json +++ b/samples/maps/geo-map/binding-shp-polygons/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polylines/.codesandbox/Dockerfile b/samples/maps/geo-map/binding-shp-polylines/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/binding-shp-polylines/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polylines/.codesandbox/tasks.json b/samples/maps/geo-map/binding-shp-polylines/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/binding-shp-polylines/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polylines/.stackblitzrc b/samples/maps/geo-map/binding-shp-polylines/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/binding-shp-polylines/.stackblitzrc +++ b/samples/maps/geo-map/binding-shp-polylines/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polylines/angular.json b/samples/maps/geo-map/binding-shp-polylines/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/binding-shp-polylines/angular.json +++ b/samples/maps/geo-map/binding-shp-polylines/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/binding-shp-polylines/package.json b/samples/maps/geo-map/binding-shp-polylines/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/binding-shp-polylines/package.json +++ b/samples/maps/geo-map/binding-shp-polylines/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/binding-shp-polylines/sandbox.config.json b/samples/maps/geo-map/binding-shp-polylines/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/binding-shp-polylines/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.app.json b/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.base.json b/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.spec.json b/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.worker.json b/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/binding-shp-polylines/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/binding-shp-polylines/tsconfig.app.json b/samples/maps/geo-map/binding-shp-polylines/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/binding-shp-polylines/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/binding-shp-polylines/tsconfig.json b/samples/maps/geo-map/binding-shp-polylines/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/binding-shp-polylines/tsconfig.json +++ b/samples/maps/geo-map/binding-shp-polylines/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/custom-tooltips/.codesandbox/Dockerfile b/samples/maps/geo-map/custom-tooltips/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/custom-tooltips/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/custom-tooltips/.codesandbox/tasks.json b/samples/maps/geo-map/custom-tooltips/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/custom-tooltips/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/custom-tooltips/.stackblitzrc b/samples/maps/geo-map/custom-tooltips/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/custom-tooltips/.stackblitzrc +++ b/samples/maps/geo-map/custom-tooltips/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/custom-tooltips/angular.json b/samples/maps/geo-map/custom-tooltips/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/custom-tooltips/angular.json +++ b/samples/maps/geo-map/custom-tooltips/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/custom-tooltips/package.json b/samples/maps/geo-map/custom-tooltips/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/custom-tooltips/package.json +++ b/samples/maps/geo-map/custom-tooltips/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/custom-tooltips/sandbox.config.json b/samples/maps/geo-map/custom-tooltips/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/custom-tooltips/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/custom-tooltips/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.app.json b/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.base.json b/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.spec.json b/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.worker.json b/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/custom-tooltips/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/custom-tooltips/tsconfig.app.json b/samples/maps/geo-map/custom-tooltips/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/custom-tooltips/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/custom-tooltips/tsconfig.json b/samples/maps/geo-map/custom-tooltips/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/custom-tooltips/tsconfig.json +++ b/samples/maps/geo-map/custom-tooltips/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/display-bing-imagery/.codesandbox/Dockerfile b/samples/maps/geo-map/display-bing-imagery/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/display-bing-imagery/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/display-bing-imagery/.codesandbox/tasks.json b/samples/maps/geo-map/display-bing-imagery/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/display-bing-imagery/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/display-bing-imagery/.stackblitzrc b/samples/maps/geo-map/display-bing-imagery/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/display-bing-imagery/.stackblitzrc +++ b/samples/maps/geo-map/display-bing-imagery/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/display-bing-imagery/angular.json b/samples/maps/geo-map/display-bing-imagery/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/display-bing-imagery/angular.json +++ b/samples/maps/geo-map/display-bing-imagery/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/display-bing-imagery/package.json b/samples/maps/geo-map/display-bing-imagery/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/display-bing-imagery/package.json +++ b/samples/maps/geo-map/display-bing-imagery/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/display-bing-imagery/sandbox.config.json b/samples/maps/geo-map/display-bing-imagery/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/display-bing-imagery/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.app.json b/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.base.json b/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.spec.json b/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.worker.json b/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/display-bing-imagery/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/display-bing-imagery/tsconfig.app.json b/samples/maps/geo-map/display-bing-imagery/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/display-bing-imagery/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/display-bing-imagery/tsconfig.json b/samples/maps/geo-map/display-bing-imagery/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/display-bing-imagery/tsconfig.json +++ b/samples/maps/geo-map/display-bing-imagery/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/display-esri-imagery/.codesandbox/Dockerfile b/samples/maps/geo-map/display-esri-imagery/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/display-esri-imagery/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/display-esri-imagery/.codesandbox/tasks.json b/samples/maps/geo-map/display-esri-imagery/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/display-esri-imagery/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/display-esri-imagery/.stackblitzrc b/samples/maps/geo-map/display-esri-imagery/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/display-esri-imagery/.stackblitzrc +++ b/samples/maps/geo-map/display-esri-imagery/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/display-esri-imagery/angular.json b/samples/maps/geo-map/display-esri-imagery/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/display-esri-imagery/angular.json +++ b/samples/maps/geo-map/display-esri-imagery/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/display-esri-imagery/package.json b/samples/maps/geo-map/display-esri-imagery/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/display-esri-imagery/package.json +++ b/samples/maps/geo-map/display-esri-imagery/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/display-esri-imagery/sandbox.config.json b/samples/maps/geo-map/display-esri-imagery/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/display-esri-imagery/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.app.json b/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.base.json b/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.spec.json b/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.worker.json b/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/display-esri-imagery/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/display-esri-imagery/tsconfig.app.json b/samples/maps/geo-map/display-esri-imagery/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/display-esri-imagery/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/display-esri-imagery/tsconfig.json b/samples/maps/geo-map/display-esri-imagery/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/display-esri-imagery/tsconfig.json +++ b/samples/maps/geo-map/display-esri-imagery/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/display-heat-imagery/.codesandbox/Dockerfile b/samples/maps/geo-map/display-heat-imagery/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/display-heat-imagery/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/display-heat-imagery/.codesandbox/tasks.json b/samples/maps/geo-map/display-heat-imagery/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/display-heat-imagery/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/display-heat-imagery/.stackblitzrc b/samples/maps/geo-map/display-heat-imagery/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/display-heat-imagery/.stackblitzrc +++ b/samples/maps/geo-map/display-heat-imagery/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/display-heat-imagery/angular.json b/samples/maps/geo-map/display-heat-imagery/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/display-heat-imagery/angular.json +++ b/samples/maps/geo-map/display-heat-imagery/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/display-heat-imagery/package.json b/samples/maps/geo-map/display-heat-imagery/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/display-heat-imagery/package.json +++ b/samples/maps/geo-map/display-heat-imagery/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/display-heat-imagery/sandbox.config.json b/samples/maps/geo-map/display-heat-imagery/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/display-heat-imagery/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.app.json b/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.base.json b/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.spec.json b/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.worker.json b/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/display-heat-imagery/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/display-heat-imagery/tsconfig.app.json b/samples/maps/geo-map/display-heat-imagery/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/display-heat-imagery/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/display-heat-imagery/tsconfig.json b/samples/maps/geo-map/display-heat-imagery/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/display-heat-imagery/tsconfig.json +++ b/samples/maps/geo-map/display-heat-imagery/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/display-osm-imagery/.codesandbox/Dockerfile b/samples/maps/geo-map/display-osm-imagery/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/display-osm-imagery/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/display-osm-imagery/.codesandbox/tasks.json b/samples/maps/geo-map/display-osm-imagery/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/display-osm-imagery/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/display-osm-imagery/.stackblitzrc b/samples/maps/geo-map/display-osm-imagery/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/display-osm-imagery/.stackblitzrc +++ b/samples/maps/geo-map/display-osm-imagery/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/display-osm-imagery/angular.json b/samples/maps/geo-map/display-osm-imagery/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/display-osm-imagery/angular.json +++ b/samples/maps/geo-map/display-osm-imagery/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/display-osm-imagery/package.json b/samples/maps/geo-map/display-osm-imagery/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/display-osm-imagery/package.json +++ b/samples/maps/geo-map/display-osm-imagery/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/display-osm-imagery/sandbox.config.json b/samples/maps/geo-map/display-osm-imagery/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/display-osm-imagery/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.app.json b/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.base.json b/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.spec.json b/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.worker.json b/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/display-osm-imagery/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/display-osm-imagery/tsconfig.app.json b/samples/maps/geo-map/display-osm-imagery/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/display-osm-imagery/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/display-osm-imagery/tsconfig.json b/samples/maps/geo-map/display-osm-imagery/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/display-osm-imagery/tsconfig.json +++ b/samples/maps/geo-map/display-osm-imagery/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/marker-layouts/.codesandbox/Dockerfile b/samples/maps/geo-map/marker-layouts/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/marker-layouts/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/marker-layouts/.codesandbox/tasks.json b/samples/maps/geo-map/marker-layouts/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/marker-layouts/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-layouts/.stackblitzrc b/samples/maps/geo-map/marker-layouts/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/marker-layouts/.stackblitzrc +++ b/samples/maps/geo-map/marker-layouts/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-layouts/angular.json b/samples/maps/geo-map/marker-layouts/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/marker-layouts/angular.json +++ b/samples/maps/geo-map/marker-layouts/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/marker-layouts/package.json b/samples/maps/geo-map/marker-layouts/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/marker-layouts/package.json +++ b/samples/maps/geo-map/marker-layouts/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/marker-layouts/sandbox.config.json b/samples/maps/geo-map/marker-layouts/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/marker-layouts/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-layouts/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/marker-layouts/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/marker-layouts/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.app.json b/samples/maps/geo-map/marker-layouts/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.base.json b/samples/maps/geo-map/marker-layouts/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.spec.json b/samples/maps/geo-map/marker-layouts/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.worker.json b/samples/maps/geo-map/marker-layouts/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/marker-layouts/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/marker-layouts/tsconfig.app.json b/samples/maps/geo-map/marker-layouts/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/marker-layouts/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/marker-layouts/tsconfig.json b/samples/maps/geo-map/marker-layouts/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/marker-layouts/tsconfig.json +++ b/samples/maps/geo-map/marker-layouts/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/marker-template/.codesandbox/Dockerfile b/samples/maps/geo-map/marker-template/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/marker-template/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/marker-template/.codesandbox/tasks.json b/samples/maps/geo-map/marker-template/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/marker-template/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-template/.stackblitzrc b/samples/maps/geo-map/marker-template/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/marker-template/.stackblitzrc +++ b/samples/maps/geo-map/marker-template/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-template/angular.json b/samples/maps/geo-map/marker-template/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/marker-template/angular.json +++ b/samples/maps/geo-map/marker-template/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/marker-template/package.json b/samples/maps/geo-map/marker-template/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/marker-template/package.json +++ b/samples/maps/geo-map/marker-template/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/marker-template/sandbox.config.json b/samples/maps/geo-map/marker-template/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/marker-template/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-template/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/marker-template/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/marker-template/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/marker-template/src/config/tsconfig.app.json b/samples/maps/geo-map/marker-template/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/marker-template/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/marker-template/src/config/tsconfig.base.json b/samples/maps/geo-map/marker-template/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/marker-template/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/marker-template/src/config/tsconfig.spec.json b/samples/maps/geo-map/marker-template/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/marker-template/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/marker-template/src/config/tsconfig.worker.json b/samples/maps/geo-map/marker-template/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/marker-template/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/marker-template/tsconfig.app.json b/samples/maps/geo-map/marker-template/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/marker-template/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/marker-template/tsconfig.json b/samples/maps/geo-map/marker-template/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/marker-template/tsconfig.json +++ b/samples/maps/geo-map/marker-template/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/marker-type/.codesandbox/Dockerfile b/samples/maps/geo-map/marker-type/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/marker-type/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/marker-type/.codesandbox/tasks.json b/samples/maps/geo-map/marker-type/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/marker-type/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-type/.stackblitzrc b/samples/maps/geo-map/marker-type/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/marker-type/.stackblitzrc +++ b/samples/maps/geo-map/marker-type/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-type/angular.json b/samples/maps/geo-map/marker-type/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/marker-type/angular.json +++ b/samples/maps/geo-map/marker-type/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/marker-type/package.json b/samples/maps/geo-map/marker-type/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/marker-type/package.json +++ b/samples/maps/geo-map/marker-type/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/marker-type/sandbox.config.json b/samples/maps/geo-map/marker-type/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/marker-type/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/marker-type/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/marker-type/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/marker-type/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/marker-type/src/config/tsconfig.app.json b/samples/maps/geo-map/marker-type/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/marker-type/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/marker-type/src/config/tsconfig.base.json b/samples/maps/geo-map/marker-type/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/marker-type/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/marker-type/src/config/tsconfig.spec.json b/samples/maps/geo-map/marker-type/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/marker-type/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/marker-type/src/config/tsconfig.worker.json b/samples/maps/geo-map/marker-type/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/marker-type/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/marker-type/tsconfig.app.json b/samples/maps/geo-map/marker-type/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/marker-type/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/marker-type/tsconfig.json b/samples/maps/geo-map/marker-type/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/marker-type/tsconfig.json +++ b/samples/maps/geo-map/marker-type/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/navigation/.codesandbox/Dockerfile b/samples/maps/geo-map/navigation/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/navigation/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/navigation/.codesandbox/tasks.json b/samples/maps/geo-map/navigation/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/navigation/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/navigation/.stackblitzrc b/samples/maps/geo-map/navigation/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/navigation/.stackblitzrc +++ b/samples/maps/geo-map/navigation/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/navigation/angular.json b/samples/maps/geo-map/navigation/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/navigation/angular.json +++ b/samples/maps/geo-map/navigation/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/navigation/package.json b/samples/maps/geo-map/navigation/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/navigation/package.json +++ b/samples/maps/geo-map/navigation/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/navigation/sandbox.config.json b/samples/maps/geo-map/navigation/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/navigation/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/navigation/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/navigation/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/navigation/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/navigation/src/config/tsconfig.app.json b/samples/maps/geo-map/navigation/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/navigation/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/navigation/src/config/tsconfig.base.json b/samples/maps/geo-map/navigation/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/navigation/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/navigation/src/config/tsconfig.spec.json b/samples/maps/geo-map/navigation/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/navigation/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/navigation/src/config/tsconfig.worker.json b/samples/maps/geo-map/navigation/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/navigation/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/navigation/tsconfig.app.json b/samples/maps/geo-map/navigation/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/navigation/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/navigation/tsconfig.json b/samples/maps/geo-map/navigation/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/navigation/tsconfig.json +++ b/samples/maps/geo-map/navigation/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/overview/.codesandbox/Dockerfile b/samples/maps/geo-map/overview/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/overview/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/overview/.codesandbox/tasks.json b/samples/maps/geo-map/overview/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/overview/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/overview/.stackblitzrc b/samples/maps/geo-map/overview/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/overview/.stackblitzrc +++ b/samples/maps/geo-map/overview/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/overview/angular.json b/samples/maps/geo-map/overview/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/overview/angular.json +++ b/samples/maps/geo-map/overview/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/overview/package.json b/samples/maps/geo-map/overview/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/overview/package.json +++ b/samples/maps/geo-map/overview/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/overview/sandbox.config.json b/samples/maps/geo-map/overview/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/overview/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/overview/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/overview/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/overview/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/overview/src/config/tsconfig.app.json b/samples/maps/geo-map/overview/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/overview/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/overview/src/config/tsconfig.base.json b/samples/maps/geo-map/overview/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/overview/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/overview/src/config/tsconfig.spec.json b/samples/maps/geo-map/overview/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/overview/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/overview/src/config/tsconfig.worker.json b/samples/maps/geo-map/overview/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/overview/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/overview/tsconfig.app.json b/samples/maps/geo-map/overview/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/overview/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/overview/tsconfig.json b/samples/maps/geo-map/overview/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/overview/tsconfig.json +++ b/samples/maps/geo-map/overview/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/shape-styling/.codesandbox/Dockerfile b/samples/maps/geo-map/shape-styling/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/shape-styling/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/shape-styling/.codesandbox/tasks.json b/samples/maps/geo-map/shape-styling/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/shape-styling/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/shape-styling/.stackblitzrc b/samples/maps/geo-map/shape-styling/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/shape-styling/.stackblitzrc +++ b/samples/maps/geo-map/shape-styling/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/shape-styling/angular.json b/samples/maps/geo-map/shape-styling/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/shape-styling/angular.json +++ b/samples/maps/geo-map/shape-styling/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/shape-styling/package.json b/samples/maps/geo-map/shape-styling/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/shape-styling/package.json +++ b/samples/maps/geo-map/shape-styling/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/shape-styling/sandbox.config.json b/samples/maps/geo-map/shape-styling/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/shape-styling/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/shape-styling/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/shape-styling/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/shape-styling/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/shape-styling/src/config/tsconfig.app.json b/samples/maps/geo-map/shape-styling/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/shape-styling/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/shape-styling/src/config/tsconfig.base.json b/samples/maps/geo-map/shape-styling/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/shape-styling/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/shape-styling/src/config/tsconfig.spec.json b/samples/maps/geo-map/shape-styling/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/shape-styling/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/shape-styling/src/config/tsconfig.worker.json b/samples/maps/geo-map/shape-styling/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/shape-styling/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/shape-styling/tsconfig.app.json b/samples/maps/geo-map/shape-styling/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/shape-styling/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/shape-styling/tsconfig.json b/samples/maps/geo-map/shape-styling/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/shape-styling/tsconfig.json +++ b/samples/maps/geo-map/shape-styling/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/triangulating-data/.codesandbox/Dockerfile b/samples/maps/geo-map/triangulating-data/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/triangulating-data/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/triangulating-data/.codesandbox/tasks.json b/samples/maps/geo-map/triangulating-data/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/triangulating-data/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/triangulating-data/.stackblitzrc b/samples/maps/geo-map/triangulating-data/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/triangulating-data/.stackblitzrc +++ b/samples/maps/geo-map/triangulating-data/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/triangulating-data/angular.json b/samples/maps/geo-map/triangulating-data/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/triangulating-data/angular.json +++ b/samples/maps/geo-map/triangulating-data/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/triangulating-data/package.json b/samples/maps/geo-map/triangulating-data/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/triangulating-data/package.json +++ b/samples/maps/geo-map/triangulating-data/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/triangulating-data/sandbox.config.json b/samples/maps/geo-map/triangulating-data/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/triangulating-data/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/triangulating-data/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/triangulating-data/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/triangulating-data/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.app.json b/samples/maps/geo-map/triangulating-data/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.base.json b/samples/maps/geo-map/triangulating-data/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.spec.json b/samples/maps/geo-map/triangulating-data/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.worker.json b/samples/maps/geo-map/triangulating-data/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/triangulating-data/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/triangulating-data/tsconfig.app.json b/samples/maps/geo-map/triangulating-data/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/triangulating-data/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/triangulating-data/tsconfig.json b/samples/maps/geo-map/triangulating-data/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/triangulating-data/tsconfig.json +++ b/samples/maps/geo-map/triangulating-data/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-area-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-scatter-area-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-scatter-area-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-area-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-scatter-area-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-scatter-area-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-area-series/.stackblitzrc b/samples/maps/geo-map/type-scatter-area-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-scatter-area-series/.stackblitzrc +++ b/samples/maps/geo-map/type-scatter-area-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-area-series/angular.json b/samples/maps/geo-map/type-scatter-area-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-scatter-area-series/angular.json +++ b/samples/maps/geo-map/type-scatter-area-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-scatter-area-series/package.json b/samples/maps/geo-map/type-scatter-area-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-scatter-area-series/package.json +++ b/samples/maps/geo-map/type-scatter-area-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-scatter-area-series/sandbox.config.json b/samples/maps/geo-map/type-scatter-area-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-scatter-area-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-scatter-area-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-area-series/tsconfig.app.json b/samples/maps/geo-map/type-scatter-area-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-scatter-area-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-scatter-area-series/tsconfig.json b/samples/maps/geo-map/type-scatter-area-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-scatter-area-series/tsconfig.json +++ b/samples/maps/geo-map/type-scatter-area-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-bubble-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-scatter-bubble-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-scatter-bubble-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-bubble-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-scatter-bubble-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-scatter-bubble-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-bubble-series/.stackblitzrc b/samples/maps/geo-map/type-scatter-bubble-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-scatter-bubble-series/.stackblitzrc +++ b/samples/maps/geo-map/type-scatter-bubble-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-bubble-series/angular.json b/samples/maps/geo-map/type-scatter-bubble-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-scatter-bubble-series/angular.json +++ b/samples/maps/geo-map/type-scatter-bubble-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-scatter-bubble-series/package.json b/samples/maps/geo-map/type-scatter-bubble-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-scatter-bubble-series/package.json +++ b/samples/maps/geo-map/type-scatter-bubble-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-scatter-bubble-series/sandbox.config.json b/samples/maps/geo-map/type-scatter-bubble-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-scatter-bubble-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-scatter-bubble-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.app.json b/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.json b/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.json +++ b/samples/maps/geo-map/type-scatter-bubble-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-contour-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-scatter-contour-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-scatter-contour-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-contour-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-scatter-contour-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-scatter-contour-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-contour-series/.stackblitzrc b/samples/maps/geo-map/type-scatter-contour-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-scatter-contour-series/.stackblitzrc +++ b/samples/maps/geo-map/type-scatter-contour-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-contour-series/angular.json b/samples/maps/geo-map/type-scatter-contour-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-scatter-contour-series/angular.json +++ b/samples/maps/geo-map/type-scatter-contour-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-scatter-contour-series/package.json b/samples/maps/geo-map/type-scatter-contour-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-scatter-contour-series/package.json +++ b/samples/maps/geo-map/type-scatter-contour-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-scatter-contour-series/sandbox.config.json b/samples/maps/geo-map/type-scatter-contour-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-scatter-contour-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-scatter-contour-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-contour-series/tsconfig.app.json b/samples/maps/geo-map/type-scatter-contour-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-scatter-contour-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-scatter-contour-series/tsconfig.json b/samples/maps/geo-map/type-scatter-contour-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-scatter-contour-series/tsconfig.json +++ b/samples/maps/geo-map/type-scatter-contour-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-density-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-scatter-density-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-scatter-density-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-density-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-scatter-density-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-scatter-density-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-density-series/.stackblitzrc b/samples/maps/geo-map/type-scatter-density-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-scatter-density-series/.stackblitzrc +++ b/samples/maps/geo-map/type-scatter-density-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-density-series/angular.json b/samples/maps/geo-map/type-scatter-density-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-scatter-density-series/angular.json +++ b/samples/maps/geo-map/type-scatter-density-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-scatter-density-series/package.json b/samples/maps/geo-map/type-scatter-density-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-scatter-density-series/package.json +++ b/samples/maps/geo-map/type-scatter-density-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-scatter-density-series/sandbox.config.json b/samples/maps/geo-map/type-scatter-density-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-scatter-density-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-scatter-density-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-density-series/tsconfig.app.json b/samples/maps/geo-map/type-scatter-density-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-scatter-density-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-scatter-density-series/tsconfig.json b/samples/maps/geo-map/type-scatter-density-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-scatter-density-series/tsconfig.json +++ b/samples/maps/geo-map/type-scatter-density-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-symbol-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-scatter-symbol-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-scatter-symbol-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-symbol-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-scatter-symbol-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-scatter-symbol-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-symbol-series/.stackblitzrc b/samples/maps/geo-map/type-scatter-symbol-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-scatter-symbol-series/.stackblitzrc +++ b/samples/maps/geo-map/type-scatter-symbol-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-symbol-series/angular.json b/samples/maps/geo-map/type-scatter-symbol-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-scatter-symbol-series/angular.json +++ b/samples/maps/geo-map/type-scatter-symbol-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-scatter-symbol-series/package.json b/samples/maps/geo-map/type-scatter-symbol-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-scatter-symbol-series/package.json +++ b/samples/maps/geo-map/type-scatter-symbol-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-scatter-symbol-series/sandbox.config.json b/samples/maps/geo-map/type-scatter-symbol-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-scatter-symbol-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-scatter-symbol-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.app.json b/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.json b/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.json +++ b/samples/maps/geo-map/type-scatter-symbol-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polygon-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-shape-polygon-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-shape-polygon-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polygon-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-shape-polygon-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-shape-polygon-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polygon-series/.stackblitzrc b/samples/maps/geo-map/type-shape-polygon-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-shape-polygon-series/.stackblitzrc +++ b/samples/maps/geo-map/type-shape-polygon-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polygon-series/angular.json b/samples/maps/geo-map/type-shape-polygon-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-shape-polygon-series/angular.json +++ b/samples/maps/geo-map/type-shape-polygon-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-shape-polygon-series/package.json b/samples/maps/geo-map/type-shape-polygon-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-shape-polygon-series/package.json +++ b/samples/maps/geo-map/type-shape-polygon-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-shape-polygon-series/sandbox.config.json b/samples/maps/geo-map/type-shape-polygon-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-shape-polygon-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-shape-polygon-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-shape-polygon-series/tsconfig.app.json b/samples/maps/geo-map/type-shape-polygon-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-shape-polygon-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-shape-polygon-series/tsconfig.json b/samples/maps/geo-map/type-shape-polygon-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-shape-polygon-series/tsconfig.json +++ b/samples/maps/geo-map/type-shape-polygon-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polyline-series/.codesandbox/Dockerfile b/samples/maps/geo-map/type-shape-polyline-series/.codesandbox/Dockerfile new file mode 100644 index 000000000..adf04bd95 --- /dev/null +++ b/samples/maps/geo-map/type-shape-polyline-series/.codesandbox/Dockerfile @@ -0,0 +1 @@ +FROM node:18 \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polyline-series/.codesandbox/tasks.json b/samples/maps/geo-map/type-shape-polyline-series/.codesandbox/tasks.json new file mode 100644 index 000000000..8d92a54cd --- /dev/null +++ b/samples/maps/geo-map/type-shape-polyline-series/.codesandbox/tasks.json @@ -0,0 +1,17 @@ +{ + // These tasks will run in order when initializing your CodeSandbox project. + "setupTasks": [ + { + "name": "Install Dependencies", + "command": "yarn install" + } + ], + // These tasks can be run from CodeSandbox. Running one will open a log in the app. + "tasks": { + "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check": { + "name": "Start Project", + "command": "node node_modules/@angular/cli/bin/ng serve -o --disable-host-check", + "runAtStart": true + } + } +} \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polyline-series/.stackblitzrc b/samples/maps/geo-map/type-shape-polyline-series/.stackblitzrc index 65efbb4fd..dd44ea00f 100644 --- a/samples/maps/geo-map/type-shape-polyline-series/.stackblitzrc +++ b/samples/maps/geo-map/type-shape-polyline-series/.stackblitzrc @@ -1 +1 @@ -{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file +{"installDependencies":true, "startCommand":"npm start"} \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polyline-series/angular.json b/samples/maps/geo-map/type-shape-polyline-series/angular.json index 11ffb8c9c..0c2c173c9 100644 --- a/samples/maps/geo-map/type-shape-polyline-series/angular.json +++ b/samples/maps/geo-map/type-shape-polyline-series/angular.json @@ -4,8 +4,17 @@ "newProjectRoot": "projects", "projects": { "demo": { + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, "root": "", "sourceRoot": "src", + "prefix": "app", "projectType": "application", "architect": { "build": { @@ -15,17 +24,20 @@ "index": "src/index.html", "main": "src/main.ts", "polyfills": [ - "zone.js", - "hammerjs" + "src/polyfills.ts" ], - "tsConfig": "src/config/tsconfig.app.json", + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", "assets": [ "src/assets" ], "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } }, "configurations": { "production": { @@ -35,27 +47,42 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true } - } + }, + "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "buildTarget": "demo:build" - }, "configurations": { "production": { "buildTarget": "demo:build:production" + }, + "development": { + "buildTarget": "demo:build:development" } - } + }, + "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", @@ -68,39 +95,26 @@ "options": { "main": "src/test.ts", "polyfills": "src/polyfills.ts", - "tsConfig": "src/config/tsconfig.spec.json", - "karmaConfig": "src/config/karma.conf.js", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", "styles": [ - "styles.css" + "src/styles.scss" ], "scripts": [], - "assets": [ + "assets": [ "src/assets" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/config/tsconfig.app.json", - "src/config/tsconfig.spec.json" ], - "exclude": [ - "**/node_modules/**" - ] + "inlineStyleLanguage": "scss", + "stylePreprocessorOptions": { + "includePaths": ["node_modules/"] + } } } } } }, - "schematics": { - "@schematics/angular:component": { - "prefix": "app", - "style": "scss" - }, - "@schematics/angular:directive": { - "prefix": "app" - } + "defaultProject": "demo", + "cli": { + "analytics": false } } diff --git a/samples/maps/geo-map/type-shape-polyline-series/package.json b/samples/maps/geo-map/type-shape-polyline-series/package.json index 0c717502f..427146442 100644 --- a/samples/maps/geo-map/type-shape-polyline-series/package.json +++ b/samples/maps/geo-map/type-shape-polyline-series/package.json @@ -7,39 +7,39 @@ "lint": "ng lint" }, "dependencies": { - "@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/animations": "^17.2.1", + "@angular/common": "^17.2.1", + "@angular/compiler": "^17.2.1", + "@angular/core": "^17.2.1", + "@angular/forms": "^17.2.1", + "@angular/platform-browser": "^17.2.1", + "@angular/platform-browser-dynamic": "^17.2.1", "@types/hammerjs": "2.0.39", "classlist.js": "1.1.20150312", "core-js": "3.21.0", - "hammerjs": "2.0.8", + "hammerjs": "^2.0.8", "igniteui-angular-charts": "17.3.1-alpha.0", "igniteui-angular-core": "17.3.1-alpha.0", "igniteui-angular-maps": "17.3.1-alpha.0", "intl": "1.2.5", "jszip": "3.8.0", - "rxjs": "6.6.7", - "tslib": "2.3.1", + "rxjs": "^7.8.1", + "tslib": "^2.6.1", "web-animations-js": "2.3.2", - "zone.js": "~0.14.1" + "zone.js": "~0.14.4" }, "devDependencies": { - "@angular-devkit/build-angular": "17.0.0", - "@angular/cli": "17.0.0", - "@angular/compiler-cli": "17.0.0", - "@angular/language-service": "17.0.0", - "@types/node": "14.14.28", + "@angular-devkit/build-angular": "17.2.0", + "@angular/cli": "17.2.0", + "@angular/compiler-cli": "17.2.1", + "@angular/language-service": "17.2.1", + "@types/node": "18.17.0", "codelyzer": "6.0.2", - "jasmine-core": "3.7.1", + "jasmine-core": "5.1.1", "jasmine-spec-reporter": "~4.2.1", "sass.js": "0.11.1", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "~6.1.3", - "typescript": "5.2.2" + "typescript": "5.3.3" } } diff --git a/samples/maps/geo-map/type-shape-polyline-series/sandbox.config.json b/samples/maps/geo-map/type-shape-polyline-series/sandbox.config.json deleted file mode 100644 index 00acba0c1..000000000 --- a/samples/maps/geo-map/type-shape-polyline-series/sandbox.config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "infiniteLoopProtection": false, - "hardReloadOnChange": false, - "view": "browser" -} \ No newline at end of file diff --git a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig-es5.app.json b/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig-es5.app.json deleted file mode 100644 index 7e8983eb4..000000000 --- a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig-es5.app.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "./tsconfig.app.json", - "compilerOptions": { - "target": "ES2022" - } - } diff --git a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.app.json b/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.app.json deleted file mode 100644 index f722e3fe4..000000000 --- a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.app.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/app", - "baseUrl": "./", - "types": [] - }, - "files": [ - "../main.ts", - "../polyfills.ts" - ] -} diff --git a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.base.json b/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.base.json deleted file mode 100644 index 5574be5e5..000000000 --- a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.base.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "compileOnSave": false, - "compilerOptions": { - "importHelpers": true, - "module": "ES2022", - "outDir": "../../dist/out-tsc", - "sourceMap": false, - "declaration": false, - "moduleResolution": "node", - "experimentalDecorators": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "downlevelIteration": true, // required for excel library - "target": "ES2022", - "typeRoots": [ - "../../node_modules/@types" - ], - "lib": [ - "ES2022", - "dom" - ], - "useDefineForClassFields": false - } -} diff --git a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.spec.json b/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.spec.json deleted file mode 100644 index 6eb8c055c..000000000 --- a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.spec.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/spec", - "baseUrl": "./", - "types": [ - "jasmine", - "node" - ] - }, - "files": [ - "../test.ts", - "../polyfills.ts" - ], - "include": [ - "../**/*.spec.ts", - "../**/*.d.ts" - ] -} diff --git a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.worker.json b/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.worker.json deleted file mode 100644 index 4867b1275..000000000 --- a/samples/maps/geo-map/type-shape-polyline-series/src/config/tsconfig.worker.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "outDir": "../../out-tsc/worker", - "lib": [ - "ES2022", - "DOM" - ], - "types": [] - }, - "include": [ - "../**/*Worker.ts" - ] -} diff --git a/samples/maps/geo-map/type-shape-polyline-series/tsconfig.app.json b/samples/maps/geo-map/type-shape-polyline-series/tsconfig.app.json new file mode 100644 index 000000000..ff396d4ce --- /dev/null +++ b/samples/maps/geo-map/type-shape-polyline-series/tsconfig.app.json @@ -0,0 +1,10 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [] + }, + "files": ["src/main.ts", "src/polyfills.ts"], + "include": ["src/**/*.d.ts"] +} diff --git a/samples/maps/geo-map/type-shape-polyline-series/tsconfig.json b/samples/maps/geo-map/type-shape-polyline-series/tsconfig.json index 1aaac63d3..22d546ab3 100644 --- a/samples/maps/geo-map/type-shape-polyline-series/tsconfig.json +++ b/samples/maps/geo-map/type-shape-polyline-series/tsconfig.json @@ -1,21 +1,27 @@ -/* - This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience. - It is not intended to be used to perform a compilation. - - To learn more about this file see: https://angular.io/config/solution-tsconfig. -*/ { - "useDefineForClassFields": false, - "files": [], - "references": [ - { - "path": "./src/config/tsconfig.app.json" - }, - { - "path": "./src/config/tsconfig.worker.json" - }, - { - "path": "./src/config/tsconfig.spec.json" - } - ] + "compileOnSave": false, + "compilerOptions": { + "importHelpers": true, + "module": "esnext", + "baseUrl": "./", + "outDir": "./dist/out-tsc", + "sourceMap": false, + "declaration": false, + "moduleResolution": "node", + "experimentalDecorators": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "downlevelIteration": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ] + }, + "angularCompilerOptions": { + "enableIvy": true + } } \ No newline at end of file diff --git a/tests/display-heat-imagery/.stackblitzrc b/tests/display-heat-imagery/.stackblitzrc new file mode 100644 index 000000000..65efbb4fd --- /dev/null +++ b/tests/display-heat-imagery/.stackblitzrc @@ -0,0 +1 @@ +{"installDependencies":true,"startCommand":"turbo start","env":{"ENABLE_CJS_IMPORTS":true}} \ No newline at end of file diff --git a/tests/display-heat-imagery/ReadMe.md b/tests/display-heat-imagery/ReadMe.md new file mode 100644 index 000000000..d751a7883 --- /dev/null +++ b/tests/display-heat-imagery/ReadMe.md @@ -0,0 +1,58 @@ + + + +This folder contains Angular application with example of Display Heat Imagery feature using [GeoMap](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general-getting-started.html) component. + + + +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Branches
+
+> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-angular-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext) branch only when you want to contribute new samples to this repository.
+
+## Instructions
+
+Follow these instructions to run this example:
+
+
+- clone and navigate to this sample in terminal window
+
+```
+git clone https://github.com/IgniteUI/igniteui-angular-examples.git
+git checkout master
+cd ../samples/maps/geo-map/display-heat-imagery
+```
+
+
+- open above folder in VS Code or type:
+```
+code .
+```
+
+- In terminal window, run:
+```
+npm install --legacy-peer-deps
+npm run-script start
+```
+
+- open http://localhost:4200/ in your browser
+
+
+## Learn More
+
+To learn more about **Ignite UI for Angular** components, check out the [Angular documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general-getting-started.html).
diff --git a/tests/display-heat-imagery/angular.json b/tests/display-heat-imagery/angular.json
new file mode 100644
index 000000000..11ffb8c9c
--- /dev/null
+++ b/tests/display-heat-imagery/angular.json
@@ -0,0 +1,106 @@
+{
+ "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
+ "version": 1,
+ "newProjectRoot": "projects",
+ "projects": {
+ "demo": {
+ "root": "",
+ "sourceRoot": "src",
+ "projectType": "application",
+ "architect": {
+ "build": {
+ "builder": "@angular-devkit/build-angular:browser",
+ "options": {
+ "outputPath": "dist/demo",
+ "index": "src/index.html",
+ "main": "src/main.ts",
+ "polyfills": [
+ "zone.js",
+ "hammerjs"
+ ],
+ "tsConfig": "src/config/tsconfig.app.json",
+ "assets": [
+ "src/assets"
+ ],
+ "styles": [
+ "src/styles.scss"
+ ],
+ "scripts": []
+ },
+ "configurations": {
+ "production": {
+ "fileReplacements": [
+ {
+ "replace": "src/environments/environment.ts",
+ "with": "src/environments/environment.prod.ts"
+ }
+ ],
+ "optimization": true,
+ "outputHashing": "all",
+ "sourceMap": false,
+ "namedChunks": false,
+ "aot": true,
+ "extractLicenses": true,
+ "vendorChunk": false,
+ "buildOptimizer": true
+ }
+ }
+ },
+ "serve": {
+ "builder": "@angular-devkit/build-angular:dev-server",
+ "options": {
+ "buildTarget": "demo:build"
+ },
+ "configurations": {
+ "production": {
+ "buildTarget": "demo:build:production"
+ }
+ }
+ },
+ "extract-i18n": {
+ "builder": "@angular-devkit/build-angular:extract-i18n",
+ "options": {
+ "buildTarget": "demo:build"
+ }
+ },
+ "test": {
+ "builder": "@angular-devkit/build-angular:karma",
+ "options": {
+ "main": "src/test.ts",
+ "polyfills": "src/polyfills.ts",
+ "tsConfig": "src/config/tsconfig.spec.json",
+ "karmaConfig": "src/config/karma.conf.js",
+ "styles": [
+ "styles.css"
+ ],
+ "scripts": [],
+ "assets": [
+ "src/assets"
+ ]
+ }
+ },
+ "lint": {
+ "builder": "@angular-devkit/build-angular:tslint",
+ "options": {
+ "tsConfig": [
+ "src/config/tsconfig.app.json",
+ "src/config/tsconfig.spec.json"
+ ],
+ "exclude": [
+ "**/node_modules/**"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "schematics": {
+ "@schematics/angular:component": {
+ "prefix": "app",
+ "style": "scss"
+ },
+ "@schematics/angular:directive": {
+ "prefix": "app"
+ }
+ }
+}
diff --git a/tests/display-heat-imagery/package.json b/tests/display-heat-imagery/package.json
new file mode 100644
index 000000000..0c717502f
--- /dev/null
+++ b/tests/display-heat-imagery/package.json
@@ -0,0 +1,45 @@
+{
+ "scripts": {
+ "ng": "ng",
+ "update": "ng update",
+ "start": "node --max_old_space_size=12192 node_modules/@angular/cli/bin/ng serve -o",
+ "build": "node --max_old_space_size=12192 node_modules/@angular/cli/bin/ng build --configuration production",
+ "lint": "ng lint"
+ },
+ "dependencies": {
+ "@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",
+ "@types/hammerjs": "2.0.39",
+ "classlist.js": "1.1.20150312",
+ "core-js": "3.21.0",
+ "hammerjs": "2.0.8",
+ "igniteui-angular-charts": "17.3.1-alpha.0",
+ "igniteui-angular-core": "17.3.1-alpha.0",
+ "igniteui-angular-maps": "17.3.1-alpha.0",
+ "intl": "1.2.5",
+ "jszip": "3.8.0",
+ "rxjs": "6.6.7",
+ "tslib": "2.3.1",
+ "web-animations-js": "2.3.2",
+ "zone.js": "~0.14.1"
+ },
+ "devDependencies": {
+ "@angular-devkit/build-angular": "17.0.0",
+ "@angular/cli": "17.0.0",
+ "@angular/compiler-cli": "17.0.0",
+ "@angular/language-service": "17.0.0",
+ "@types/node": "14.14.28",
+ "codelyzer": "6.0.2",
+ "jasmine-core": "3.7.1",
+ "jasmine-spec-reporter": "~4.2.1",
+ "sass.js": "0.11.1",
+ "ts-node": "9.1.1",
+ "tslint": "~6.1.3",
+ "typescript": "5.2.2"
+ }
+}
diff --git a/samples/charts/category-chart/annotations/sandbox.config.json b/tests/display-heat-imagery/sandbox.config.json
similarity index 100%
rename from samples/charts/category-chart/annotations/sandbox.config.json
rename to tests/display-heat-imagery/sandbox.config.json
diff --git a/tests/display-heat-imagery/src/HeatmapWorker.ts b/tests/display-heat-imagery/src/HeatmapWorker.ts
new file mode 100644
index 000000000..fdccd9d9f
--- /dev/null
+++ b/tests/display-heat-imagery/src/HeatmapWorker.ts
@@ -0,0 +1,15 @@
+// import { HeatTileGeneratorWebWorker } from "igniteui-angular-core/esm5/lib/HeatTileGeneratorWebWorker";
+import { HeatTileGeneratorWebWorker } from "igniteui-angular-core/esm2015/lib/HeatTileGeneratorWebWorker";
+
+const worker: Worker = self as any;
+
+worker.onmessage = HeatTileGeneratorWebWorker.onmessage;
+HeatTileGeneratorWebWorker.postmessage = heatWorkerPostMessage;
+
+function heatWorkerPostMessage() {
+ (self as any).postMessage.apply(self, Array.prototype.slice.call(arguments));
+}
+
+HeatTileGeneratorWebWorker.start();
+
+export default {} as typeof Worker & (new () => Worker);
diff --git a/tests/display-heat-imagery/src/app.component.html b/tests/display-heat-imagery/src/app.component.html
new file mode 100644
index 000000000..7ffb86ef2
--- /dev/null
+++ b/tests/display-heat-imagery/src/app.component.html
@@ -0,0 +1,4 @@
+