Skip to content

Commit

Permalink
update angular
Browse files Browse the repository at this point in the history
  • Loading branch information
allenkepler-finastra committed Nov 17, 2023
1 parent e1e556c commit 40a1224
Show file tree
Hide file tree
Showing 10 changed files with 520 additions and 2,885 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"
]
}
15 changes: 8 additions & 7 deletions lib/dist/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "ng2-pdfjs-viewer",
"version": "16.0.4",
"version": "17.0.2",
"$schema": "./node_modules/ng-packagr/package.schema.json",
"peerDependencies": {
"@angular/common": "^16.0.4",
"@angular/core": "^16.0.4"
"@angular/common": "^17.0.2",
"@angular/core": "^17.0.2",
"ng-packagr": "^17.0.0"
},
"repository": {
"type": "git",
Expand All @@ -26,6 +27,9 @@
"bugs": {
"url": "https://github.com/intbot/ng2-pdfjs-viewer/issues"
},
"dependencies": {
"tslib": "^2.3.0"
},
"module": "fesm2022/ng2-pdfjs-viewer.mjs",
"typings": "index.d.ts",
"exports": {
Expand All @@ -39,8 +43,5 @@
"default": "./fesm2022/ng2-pdfjs-viewer.mjs"
}
},
"sideEffects": false,
"dependencies": {
"tslib": "^2.3.0"
}
"sideEffects": false
}
Loading

0 comments on commit 40a1224

Please sign in to comment.