Skip to content

Commit

Permalink
Update Angular to v17 (DevExpress#27945)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDayForSurf authored Sep 2, 2024
1 parent 68e5194 commit 531f561
Show file tree
Hide file tree
Showing 6 changed files with 2,677 additions and 2,428 deletions.
28 changes: 14 additions & 14 deletions apps/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"author": "Developer Express Inc.",
"license": "MIT",
"dependencies": {
"@angular/animations": "16.2.12",
"@angular/common": "16.2.12",
"@angular/compiler": "16.2.12",
"@angular/compiler-cli": "16.2.12",
"@angular/core": "16.2.12",
"@angular/forms": "16.2.12",
"@angular/platform-browser": "16.2.12",
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/router": "16.2.12",
"@angular/animations": "17.3.12",
"@angular/common": "17.3.12",
"@angular/compiler": "17.3.12",
"@angular/compiler-cli": "17.3.12",
"@angular/core": "17.3.12",
"@angular/forms": "17.3.12",
"@angular/platform-browser": "17.3.12",
"@angular/platform-browser-dynamic": "17.3.12",
"@angular/router": "17.3.12",
"core-js": "^2.6.12",
"devextreme": "workspace:~24.2.0",
"devextreme-angular": "workspace:~24.2.0",
Expand All @@ -23,15 +23,15 @@
"zone.js": "0.13.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "16.2.14",
"@angular/cli": "16.2.14",
"@angular/language-service": "16.2.12",
"@angular/platform-server": "16.2.12",
"@angular-devkit/build-angular": "17.3.8",
"@angular/cli": "17.3.8",
"@angular/language-service": "17.3.12",
"@angular/platform-server": "17.3.12",
"@types/jasmine": "5.1.4",
"@types/node": "20.11.17",
"cross-env": "7.0.3",
"ts-node": "10.9.2",
"typescript": "4.9.5"
"typescript": "5.4.5"
},
"scripts": {
"ng": "ng",
Expand Down
22 changes: 11 additions & 11 deletions apps/demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"devextreme-vue": "workspace:~24.2.0"
},
"dependencies": {
"@angular/cli": "16.2.12",
"@angular/common": "16.2.12",
"@angular/compiler": "16.2.12",
"@angular/compiler-cli": "16.2.12",
"@angular/core": "16.2.12",
"@angular/forms": "16.2.12",
"@angular/platform-browser": "16.2.12",
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/cli": "17.3.8",
"@angular/common": "17.3.12",
"@angular/compiler": "17.3.12",
"@angular/compiler-cli": "17.3.12",
"@angular/core": "17.3.12",
"@angular/forms": "17.3.12",
"@angular/platform-browser": "17.3.12",
"@angular/platform-browser-dynamic": "17.3.12",
"@aspnet/signalr": "1.0.27",
"@devextreme/runtime": "3.0.12",
"@vue/compiler-sfc": "3.4.27",
Expand Down Expand Up @@ -71,15 +71,15 @@
"systemjs-plugin-babel": "0.0.25",
"systemjs-plugin-json": "0.3.0",
"turndown": "~7.1.0",
"typescript": "~4.9.3",
"typescript": "~5.4.5",
"vue": "^3.3.4",
"vuex": "4.0.0-beta.4",
"whatwg-fetch": "2.0.4",
"yargs": "17.7.2",
"zone.js": "0.13.3"
"zone.js": "0.14.10"
},
"devDependencies": {
"@angular/platform-server": "16.2.12",
"@angular/platform-server": "17.3.12",
"@babel/core": "7.23.9",
"@babel/eslint-parser": "7.23.10",
"@babel/preset-env": "7.23.9",
Expand Down
14 changes: 14 additions & 0 deletions apps/demos/rollup.ng.umd.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ export default [
},
external: ["rxjs", "rxjs/operators", "zone.js"],
},
{
input: NG_BASE_DIR + "@angular/core/fesm2022/primitives/signals.mjs",
output: {
file: OUTPUT_DIR + `@angular/core.primitives.signals.umd.js`,
format: "umd",
name: "ng.core.primitives.signals",
globals: {
"@angular/core": "ng.core",
rxjs: "rxjs",
"rxjs/operators": "rxjs.operators",
},
},
external: ["rxjs", "rxjs/operators", "zone.js"],
},

// forms
{
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-angular/karma.test.shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ testing.TestBed.initTestEnvironment(
browser.platformBrowserDynamicTesting(),
);

const context = require.context('./tests/dist', true, /^.\/(?!.*\/ssr-components.spec.js$).*\.spec\.js$/);
const context = require.context('./tests/dist', true, /^.\/(?!.*\/ssr-.*\.spec.js$).*\.spec\.js$/);
context.keys().map(context);
__karma__.start();
54 changes: 27 additions & 27 deletions packages/devextreme-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@
"author": "Developer Express Inc.",
"license": "MIT",
"peerDependencies": {
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@angular/forms": ">=16.0.0",
"@angular/common": ">=17.0.0",
"@angular/core": ">=17.0.0",
"@angular/forms": ">=17.0.0",
"devextreme": "workspace:~24.2.0"
},
"devDependencies": {
"@angular-devkit/architect": "0.1602.14",
"@angular-devkit/schematics": "16.2.14",
"@angular/animations": "16.2.12",
"@angular/cli": "16.2.12",
"@angular/common": "16.2.12",
"@angular/compiler": "16.2.12",
"@angular/compiler-cli": "16.2.12",
"@angular/core": "16.2.12",
"@angular/forms": "16.2.12",
"@angular/platform-browser": "16.2.12",
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/platform-server": "16.2.12",
"@angular-devkit/architect": "0.1703.8",
"@angular-devkit/schematics": "17.3.8",
"@angular/animations": "17.3.12",
"@angular/cli": "17.3.8",
"@angular/common": "17.3.12",
"@angular/compiler": "17.3.12",
"@angular/compiler-cli": "17.3.12",
"@angular/core": "17.3.12",
"@angular/forms": "17.3.12",
"@angular/platform-browser": "17.3.12",
"@angular/platform-browser-dynamic": "17.3.12",
"@angular/platform-server": "17.3.12",
"@types/jasmine": "2.8.23",
"@types/node": "20.11.17",
"@webcomponents/custom-elements": "1.6.0",
Expand All @@ -49,22 +49,22 @@
"gulp-replace": "0.6.1",
"gulp-sourcemaps": "2.6.5",
"gulp-typescript": "4.0.2",
"jasmine": "2.99.0",
"karma": "6.4.3",
"karma-chrome-launcher": "3.2.0",
"karma-jasmine": "5.1.0",
"karma-junit-reporter": "2.0.1",
"jasmine": "^5.2.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-jasmine": "^5.1.0",
"karma-junit-reporter": "^2.0.1",
"karma-webpack": "5.0.1",
"ng-packagr": "16.2.0",
"puppeteer": "19.11.1",
"ng-packagr": "17.3.0",
"puppeteer": "~23.1.1",
"reflect-metadata": "0.1.13",
"rxjs": "7.8.1",
"stream-browserify": "3.0.0",
"tslib": "2.6.2",
"typescript": "4.9.5",
"webpack": "5.94.0",
"tslib": "2.6.3",
"typescript": "5.4.5",
"webpack": "5.93.0",
"yargs": "17.7.2",
"zone.js": "0.13.3"
"zone.js": "0.14.10"
},
"main": "./src/index.ts",
"keywords": [
Expand All @@ -73,7 +73,7 @@
"devexpress"
],
"dependencies": {
"@angular-devkit/schematics": "16.2.14",
"@angular-devkit/schematics": "17.3.8",
"devextreme-schematics": "*",
"inferno-server": "7.4.11"
},
Expand Down
Loading

0 comments on commit 531f561

Please sign in to comment.