TD-925: Bump Angular to 18 (#12)

This commit is contained in:
Rinat Arsaev 2024-06-21 13:44:58 +05:00 committed by GitHub
parent d789cd1247
commit f62c39fe04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 2790 additions and 2358 deletions

View File

@ -1,7 +1,7 @@
module.exports = {
extends: '@vality/eslint-config',
extends: '@vality/eslint-config-ng',
overrides: [
...require('@vality/eslint-config/configs').angular('ngt').overrides,
...require('@vality/eslint-config/configs').importOrder(['@ngt/**']).overrides,
...require('@vality/eslint-config-ng/configs').angular('ngt').overrides,
...require('@vality/eslint-config-ng/configs').importOrder(['@ngt/**']).overrides,
],
};

5090
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,13 +5,13 @@
"ng": "ng",
"start": "ng build ng-thrift --watch --configuration development",
"doc": "ng serve --port 4500",
"build": "ng build ng-thrift && ng build ng-thrift-doc --base-href='./'",
"build": "ng build ng-thrift && echo \"TODO: ng build ng-thrift-doc --base-href='./'\"",
"test": "ng test ng-thrift",
"test:ci": "npm run test -- --browsers=ChromeHeadless --watch=false",
"format": "prettier \"**\" --list-different",
"format:fix": "prettier \"**\" --write --log-level warn",
"lint": "eslint \"**\" --max-warnings=0",
"lint:fix": "eslint \"**\" --fix",
"lint": "eslint \"**\" --max-warnings=0 --resolve-plugins-relative-to node_modules/@vality/eslint-config-ng",
"lint:fix": "npm run lint -- --fix",
"spell": "cspell --no-progress **",
"spell:fix": "cspell --no-progress --show-suggestions --show-context **",
"check": "npm run format && npm run lint && npm run spell",
@ -26,14 +26,14 @@
"url": "https://github.com/valitydev/ng-thrift"
},
"dependencies": {
"@angular/animations": "^17.2.1",
"@angular/common": "^17.2.1",
"@angular/compiler": "^17.2.1",
"@angular/core": "^17.2.1",
"@angular/forms": "^17.2.1",
"@angular/platform-browser": "^17.2.1",
"@angular/platform-browser-dynamic": "^17.2.1",
"@angular/router": "^17.2.1",
"@angular/animations": "^18.0.3",
"@angular/common": "^18.0.3",
"@angular/compiler": "^18.0.3",
"@angular/core": "^18.0.3",
"@angular/forms": "^18.0.3",
"@angular/platform-browser": "^18.0.3",
"@angular/platform-browser-dynamic": "^18.0.3",
"@angular/router": "^18.0.3",
"@ng-doc/app": "17.5.5",
"@ng-doc/builder": "17.5.5",
"@ng-doc/core": "17.5.5",
@ -43,12 +43,12 @@
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.2.0",
"@angular/cli": "~17.2.0",
"@angular/compiler-cli": "^17.2.1",
"@angular-devkit/build-angular": "^18.0.4",
"@angular/cli": "~18.0.4",
"@angular/compiler-cli": "^18.0.3",
"@types/jasmine": "~4.3.0",
"@vality/cspell-config": "^8.0.1-a6a2910.0",
"@vality/eslint-config": "^8.2.1-a6a2910.0",
"@vality/eslint-config-ng": "^18.0.1-pr-63-e72dd8e.0",
"@vality/prettier-config": "^3.1.1-a6a2910.0",
"cspell": "^8.3.2",
"eslint": "^8.56.0",
@ -58,8 +58,8 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"ng-packagr": "^17.2.0",
"ng-packagr": "^18.0.0",
"prettier": "^3.1.1",
"typescript": "~5.2.2"
"typescript": "~5.4.5"
}
}
}

View File

@ -1,18 +1,18 @@
{
"name": "@vality/ng-thrift",
"version": "17.1.0",
"version": "18.0.0",
"sideEffects": false,
"dependencies": {
"tslib": "^2.3.0",
"yaml": "^2.4.2"
"yaml": "^2.4.5"
},
"peerDependencies": {
"@angular/cdk": "^17.2.0",
"@angular/common": "^17.2.0",
"@angular/core": "^17.2.0",
"@angular/material": "^17.2.0",
"@angular/cdk": "^18.0.0",
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/material": "^18.0.0",
"@types/lodash-es": "^4.0.0",
"@vality/ng-core": "^17.2.1-a6a2910.0",
"@vality/ng-core": "^18.0.0 || ^18.0.1-pr",
"@vality/thrift-ts": "^2.4.1-8ad5123.0",
"lodash-es": "^4.0.0",
"rxjs": "^7.0.0",

View File

@ -5,6 +5,7 @@
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
@ -17,7 +18,6 @@
"@vality/ng-thrift": ["./projects/ng-thrift/dist"]
},
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,