Skip to content

Commit

Permalink
Merge pull request #242 from allenkepler-finastra/master
Browse files Browse the repository at this point in the history
upgrade to angular 17
  • Loading branch information
codehippie1 authored Jan 2, 2024
2 parents 0237293 + f0051ad commit 5aab7a7
Show file tree
Hide file tree
Showing 20 changed files with 13,259 additions and 13,507 deletions.
8 changes: 0 additions & 8 deletions LiveDemo/ClientApp/polyfills/browser.polyfills.ts

This file was deleted.

29 changes: 0 additions & 29 deletions LiveDemo/ClientApp/polyfills/polyfills.ts

This file was deleted.

4 changes: 0 additions & 4 deletions LiveDemo/ClientApp/polyfills/server.polyfills.ts

This file was deleted.

23 changes: 11 additions & 12 deletions LiveDemo/ClientApp/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"baseUrl": "",
"types": ["jasmine", "node"]
},
"files": ["polyfills.ts"],
"include": ["**/*.spec.ts", "**/*.d.ts"]
}
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"baseUrl": "",
"types": ["jasmine", "node"]
},
"include": ["**/*.spec.ts", "**/*.d.ts"]
}
227 changes: 113 additions & 114 deletions LiveDemo/angular.json
Original file line number Diff line number Diff line change
@@ -1,114 +1,113 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"AspnetCore-Angular-Universal": {
"root": "",
"sourceRoot": "ClientApp",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "wwwroot/dist",
"main": "ClientApp/boot-browser.ts",
"polyfills": "ClientApp/polyfills/polyfills.ts",
"tsConfig": "ClientApp/tsconfig.app.json",
"assets": [
"src/assets",
{
"glob": "**/*",
"input": "node_modules/ng2-pdfjs-viewer/pdfjs",
"output": "/assets/pdfjs"
}
],
"styles": [],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "ClientApp/environments/environment.ts",
"with": "ClientApp/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "AspnetCore-Angular-Universal:build"
},
"configurations": {
"production": {
"browserTarget": "AspnetCore-Angular-Universal:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "AspnetCore-Angular-Universal:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "ClientApp/test.ts",
"polyfills": "ClientApp/polyfills.ts",
"tsConfig": "ClientApp/tsconfig.spec.json",
"karmaConfig": "ClientApp/karma.conf.js",
"styles": ["ClientApp/styles.css"],
"scripts": [],
"assets": ["ClientApp/favicon.ico", "ClientApp/assets"]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"ClientApp/tsconfig.app.json",
"ClientApp/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
"AspnetCore-Angular-Universal-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "AspnetCore-Angular-Universal:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"defaultProject": "AspnetCore-Angular-Universal"
}
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"AspnetCore-Angular-Universal": {
"root": "",
"sourceRoot": "ClientApp",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "wwwroot/dist",
"main": "ClientApp/boot-browser.ts",
"tsConfig": "ClientApp/tsconfig.app.json",
"assets": [
"src/assets",
{
"glob": "**/*",
"input": "node_modules/ng2-pdfjs-viewer/pdfjs",
"output": "/assets/pdfjs"
}
],
"styles": [],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "ClientApp/environments/environment.ts",
"with": "ClientApp/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "AspnetCore-Angular-Universal:build"
},
"configurations": {
"production": {
"browserTarget": "AspnetCore-Angular-Universal:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "AspnetCore-Angular-Universal:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "ClientApp/test.ts",
"polyfills": "ClientApp/polyfills.ts",
"tsConfig": "ClientApp/tsconfig.spec.json",
"karmaConfig": "ClientApp/karma.conf.js",
"styles": ["ClientApp/styles.css"],
"scripts": [],
"assets": ["ClientApp/favicon.ico", "ClientApp/assets"]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"ClientApp/tsconfig.app.json",
"ClientApp/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
}
}
}
},
"AspnetCore-Angular-Universal-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "AspnetCore-Angular-Universal:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"defaultProject": "AspnetCore-Angular-Universal"
}
46 changes: 23 additions & 23 deletions LiveDemo/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "es2015",
"target": "es5",
"alwaysStrict": true,
"noImplicitAny": false,
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"allowUnreachableCode": false,
"lib": [
"es2016",
"dom"
],
"types": [ "node" ]
},
"include": [
"ClientApp", "Server/RestAPI/DocumentController.cs"
]
}
{
"compilerOptions": {
"moduleResolution": "node",
"module": "ES2022",
"target": "ES2022",
"alwaysStrict": true,
"noImplicitAny": false,
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"allowUnreachableCode": false,
"lib": [
"ES2022",
"dom"
],
"types": [ "node" ]
},
"include": [
"ClientApp", "Server/RestAPI/DocumentController.cs"
]
}
Loading

0 comments on commit 5aab7a7

Please sign in to comment.