Skip to content

Commit

Permalink
update to angular 9
Browse files Browse the repository at this point in the history
  • Loading branch information
manfredsteyer committed Mar 4, 2020
1 parent 10204d2 commit 41a6ea0
Show file tree
Hide file tree
Showing 8 changed files with 15,529 additions and 42 deletions.
15,494 changes: 15,494 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"ng": "ng",
"start": "ng serve --project sample -o",
"build": "ng build --prod --project lib && npm run copy:readme && npm run docs",
"build:jwks": "ng build angular-oauth2-oidc-jwks --ts-config tsconfig.npm.json",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
Expand All @@ -19,32 +20,33 @@
},
"private": true,
"dependencies": {
"@angular/animations": "9.0.0",
"@angular/common": "9.0.0",
"@angular/compiler": "9.0.0",
"@angular/core": "9.0.0",
"@angular/elements": "9.0.0",
"@angular/forms": "9.0.0",
"@angular/platform-browser": "9.0.0",
"@angular/platform-browser-dynamic": "9.0.0",
"@angular/router": "9.0.0",
"@angular/animations": "9.0.5",
"@angular/common": "9.0.5",
"@angular/compiler": "9.0.5",
"@angular/core": "9.0.5",
"@angular/elements": "9.0.5",
"@angular/forms": "9.0.5",
"@angular/platform-browser": "9.0.5",
"@angular/platform-browser-dynamic": "9.0.5",
"@angular/router": "9.0.5",
"@webcomponents/custom-elements": "^1.2.4",
"angular-oauth2-oidc": "^9.0.0",
"base64-js": "^1.3.0",
"bootstrap": "^3.3.7",
"jsrsasign": "^8.0.12",
"rxjs": "6.5.4",
"rxjs-compat": "^6.5.2",
"text-encoder-lite": "^1.0.1",
"tsickle": "^0.35.0",
"tslib": "^1.10.0",
"zone.js": "^0.9.1"
"tslib": "^1.11.1",
"zone.js": "^0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.900.1",
"@angular-devkit/build-ng-packagr": "~0.900.1",
"@angular/cli": "^9.0.1",
"@angular/compiler-cli": "9.0.0",
"@angular/language-service": "9.0.0",
"@angular/compiler-cli": "9.0.5",
"@angular/language-service": "9.0.5",
"@compodoc/compodoc": "^1.1.11",
"@types/jasmine": "~3.3.13",
"@types/jasminewd2": "~2.0.6",
Expand Down
25 changes: 2 additions & 23 deletions projects/angular-oauth2-oidc-jwks/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
# AngularOauth2OidcJwks
# angular-oauth2-oidc-jwks

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.1.

## Code scaffolding

Run `ng generate component component-name --project angular-oauth2-oidc-jwks` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project angular-oauth2-oidc-jwks`.
> Note: Don't forget to add `--project angular-oauth2-oidc-jwks` or else it will be added to the default project in your `angular.json` file.
## Build

Run `ng build angular-oauth2-oidc-jwks` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build angular-oauth2-oidc-jwks`, go to the dist folder `cd dist/angular-oauth2-oidc-jwks` and run `npm publish`.

## Running unit tests

Run `ng test angular-oauth2-oidc-jwks` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
``JwksValidationHandler`` for ``angular-oauth2-odic``. Only needed for implicit flow.
5 changes: 4 additions & 1 deletion projects/angular-oauth2-oidc-jwks/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"dest": "../../dist/angular-oauth2-oidc-jwks",
"lib": {
"entryFile": "src/public-api.ts"
}
},
"whitelistedNonPeerDependencies": [
"jsrsasign"
]
}
5 changes: 1 addition & 4 deletions projects/lib/ng-package.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"dest": "../../dist/lib",
"lib": {
"entryFile": "src/public_api.ts"
},
"whitelistedNonPeerDependencies": [
"jsrsasign"
]
}
}
1 change: 1 addition & 0 deletions projects/quickstart-demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Component } from '@angular/core';
import { OAuthService } from 'angular-oauth2-oidc';
import { filter } from 'rxjs/operators';
import { authCodeFlowConfig } from './auth.config';
import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';

@Component({
selector: 'app-root',
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
]


}
},
},
"angularCompilerOptions": {
"enableIvy": false
}

}
7 changes: 7 additions & 0 deletions tsconfig.npm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"paths": {
},
}
}

0 comments on commit 41a6ea0

Please sign in to comment.