Skip to content

Commit 416b2d1

Browse files
committed
upgraded to angular 15 and other NPM packages
1 parent 5e8d06c commit 416b2d1

File tree

4 files changed

+663
-694
lines changed

4 files changed

+663
-694
lines changed

angular/nswag/service.config.nswag

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
{
1+
{
22
"runtime": "Default",
33
"defaultVariables": null,
44
"documentGenerator": {
55
"fromDocument": {
66
"url": "https://localhost:44311/swagger/v1/swagger.json",
7-
"output": null
7+
"output": null,
8+
"newLineBehavior": "Auto"
89
}
910
},
1011
"codeGenerators": {
@@ -16,9 +17,10 @@
1617
"template": "Angular",
1718
"promiseType": "Promise",
1819
"httpClass": "HttpClient",
20+
"withCredentials": false,
1921
"useSingletonProvider": false,
2022
"injectionTokenType": "InjectionToken",
21-
"rxJsVersion": 6.0,
23+
"rxJsVersion": 7.0,
2224
"dateTimeType": "MomentJS",
2325
"nullValue": "Undefined",
2426
"generateClientClasses": true,
@@ -41,34 +43,41 @@
4143
"markOptionalProperties": false,
4244
"generateCloneMethod": true,
4345
"typeStyle": "Class",
46+
"enumStyle": "Enum",
47+
"useLeafType": false,
4448
"classTypes": [],
4549
"extendedClasses": [],
4650
"extensionCode": null,
4751
"generateDefaultValues": true,
4852
"excludedTypeNames": [],
4953
"excludedParameterNames": [],
5054
"handleReferences": false,
55+
"generateTypeCheckFunctions": false,
5156
"generateConstructorInterface": true,
5257
"convertConstructorInterfaceData": false,
5358
"importRequiredTypes": true,
5459
"useGetBaseUrlMethod": false,
5560
"baseUrlTokenName": "API_BASE_URL",
5661
"queryNullValue": "",
62+
"useAbortSignal": false,
5763
"inlineNamedDictionaries": false,
5864
"inlineNamedAny": false,
65+
"includeHttpContext": false,
5966
"templateDirectory": null,
6067
"typeNameGeneratorType": null,
6168
"propertyNameGeneratorType": null,
6269
"enumNameGeneratorType": null,
6370
"serviceHost": null,
6471
"serviceSchemes": null,
65-
"output": "../src/shared/service-proxies/service-proxies.ts"
72+
"output": "../src/shared/service-proxies/service-proxies.ts",
73+
"newLineBehavior": "Auto"
6674
},
6775
"openApiToCSharpClient": {
6876
"clientBaseClass": null,
6977
"configurationClass": null,
7078
"generateClientClasses": true,
7179
"generateClientInterfaces": false,
80+
"clientBaseInterface": null,
7281
"injectHttpClient": false,
7382
"disposeHttpClient": true,
7483
"protectedMethods": [],
@@ -81,14 +90,17 @@
8190
"useBaseUrl": true,
8291
"generateBaseUrlProperty": true,
8392
"generateSyncMethods": false,
93+
"generatePrepareRequestAndProcessResponseAsAsyncMethods": false,
8494
"exposeJsonSerializerSettings": false,
8595
"clientClassAccessModifier": "public",
8696
"typeAccessModifier": "public",
8797
"generateContractsOutput": false,
8898
"contractsNamespace": null,
8999
"contractsOutputFilePath": null,
90100
"parameterDateTimeFormat": "s",
101+
"parameterDateFormat": "yyyy-MM-dd",
91102
"generateUpdateJsonSerializerSettingsMethod": true,
103+
"useRequestAndResponseSerializationSettings": false,
92104
"serializeTypeInformation": false,
93105
"queryNullValue": "",
94106
"className": "{controller}Client",
@@ -121,6 +133,7 @@
121133
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
122134
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
123135
"classStyle": "Inpc",
136+
"jsonLibrary": "NewtonsoftJson",
124137
"generateDefaultValues": true,
125138
"generateDataAnnotations": true,
126139
"excludedTypeNames": [],
@@ -135,13 +148,15 @@
135148
"inlineNamedAny": false,
136149
"generateDtoTypes": true,
137150
"generateOptionalPropertiesAsNullable": false,
151+
"generateNullableReferenceTypes": false,
138152
"templateDirectory": null,
139153
"typeNameGeneratorType": null,
140154
"propertyNameGeneratorType": null,
141155
"enumNameGeneratorType": null,
142156
"serviceHost": null,
143157
"serviceSchemes": null,
144-
"output": null
158+
"output": null,
159+
"newLineBehavior": "Auto"
145160
},
146161
"openApiToCSharpController": {
147162
"controllerBaseClass": null,
@@ -151,6 +166,7 @@
151166
"useActionResultType": false,
152167
"generateModelValidationAttributes": false,
153168
"routeNamingStrategy": "None",
169+
"basePath": null,
154170
"className": "{controller}",
155171
"operationGenerationMode": "MultipleClientsFromOperationId",
156172
"additionalNamespaceUsages": [
@@ -183,6 +199,7 @@
183199
"arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
184200
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
185201
"classStyle": "Inpc",
202+
"jsonLibrary": "NewtonsoftJson",
186203
"generateDefaultValues": true,
187204
"generateDataAnnotations": true,
188205
"excludedTypeNames": [],
@@ -197,13 +214,15 @@
197214
"inlineNamedAny": false,
198215
"generateDtoTypes": true,
199216
"generateOptionalPropertiesAsNullable": false,
217+
"generateNullableReferenceTypes": false,
200218
"templateDirectory": null,
201219
"typeNameGeneratorType": null,
202220
"propertyNameGeneratorType": null,
203221
"enumNameGeneratorType": null,
204222
"serviceHost": null,
205223
"serviceSchemes": null,
206-
"output": null
224+
"output": null,
225+
"newLineBehavior": "Auto"
207226
}
208227
}
209228
}

angular/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,48 +22,48 @@
2222
"@angular/platform-browser-dynamic": "^15.0.3",
2323
"@angular/router": "^15.0.3",
2424
"@aspnet/signalr": "^1.1.4",
25-
"@fortawesome/fontawesome-free": "^5.15.3",
26-
"abp-ng2-module": "7.2.0",
25+
"@fortawesome/fontawesome-free": "^6.2.1",
26+
"abp-ng2-module": "8.0.0",
2727
"abp-web-resources": "^5.7.0",
28-
"admin-lte-css-only": "^3.1.0",
29-
"core-js": "^3.2.1",
28+
"admin-lte-css-only": "^3.2.0",
29+
"core-js": "^3.26.1",
3030
"famfamfam-flags": "^1.0.0",
3131
"lodash-es": "^4.17.15",
32-
"moment": "2.24.0",
33-
"moment-timezone": "0.5.33",
34-
"ngx-bootstrap": "^5.6.1",
35-
"ngx-pagination": "^5.0.0",
32+
"moment": "2.29.4",
33+
"moment-timezone": "0.5.40",
34+
"ngx-bootstrap": "^9.0.0",
35+
"ngx-pagination": "^6.0.3",
3636
"push.js": "1.0.12",
37-
"rxjs": "^6.4.0",
38-
"sweetalert2": "^10.15.6",
37+
"rxjs": "^7.6.0",
38+
"sweetalert2": "^11.6.15",
3939
"ts-helpers": "^1.1.2",
40-
"tslib": "^2.0.0",
41-
"zone.js": "~0.11.4"
40+
"tslib": "^2.4.1",
41+
"zone.js": "~0.12.0"
4242
},
4343
"devDependencies": {
4444
"@angular-devkit/build-angular": "^15.0.3",
4545
"@angular/cli": "^15.0.3",
4646
"@angular/compiler-cli": "^15.0.3",
47-
"@angularclass/hmr": "^2.1.3",
48-
"@types/jasmine": "~3.6.0",
49-
"@types/lodash-es": "^4.17.3",
47+
"@angularclass/hmr": "^3.0.0",
48+
"@types/jasmine": "~4.3.1",
49+
"@types/lodash-es": "^4.17.6",
5050
"@types/moment-timezone": "^0.5.30",
51-
"@types/node": "^13.13.4",
51+
"@types/node": "^18.11.15",
5252
"codelyzer": "^6.0.0",
53-
"jasmine-core": "~3.6.0",
54-
"jasmine-spec-reporter": "~5.0.0",
55-
"karma": "~6.3.4",
56-
"karma-chrome-launcher": "~3.1.0",
53+
"jasmine-core": "~4.5.0",
54+
"jasmine-spec-reporter": "~7.0.0",
55+
"karma": "~6.4.1",
56+
"karma-chrome-launcher": "~3.1.1",
5757
"karma-cli": "^2.0.0",
5858
"karma-coverage-istanbul-reporter": "~3.0.2",
59-
"karma-jasmine": "~4.0.0",
60-
"karma-jasmine-html-reporter": "^1.5.0",
61-
"nswag": "^13.4.2",
59+
"karma-jasmine": "~5.1.0",
60+
"karma-jasmine-html-reporter": "^2.0.0",
61+
"nswag": "^13.18.1",
6262
"protractor": "~7.0.0",
63-
"ts-node": "^8.10.1",
63+
"ts-node": "^10.9.1",
6464
"tslint": "~6.1.0",
6565
"typescript": "4.8.4",
66-
"webpack-bundle-analyzer": "^3.7.0"
66+
"webpack-bundle-analyzer": "^4.7.0"
6767
},
6868
"angular-cli": {}
6969
}

0 commit comments

Comments
 (0)