Skip to content

Commit 070928d

Browse files
author
Kwoin
authored
Merge branch 'damienbod:main' into main
2 parents cf3be5a + 6dc4174 commit 070928d

32 files changed

+4170
-5087
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
types: [opened, synchronize, reopened, closed]
99
branches:
1010
- main
11-
- releaseV12-WIP
1211

1312
jobs:
1413
build_job:
@@ -20,19 +19,19 @@ jobs:
2019
with:
2120
submodules: true
2221

23-
- name: Setup Node.js 14.15
24-
uses: actions/setup-node@v1
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v2
2524
with:
26-
node-version: 14.15
25+
node-version: 16
2726

2827
- name: Installing Dependencies
29-
run: sudo npm install
28+
run: npm install
3029

3130
- name: Linting Frontend
32-
run: sudo npm run lint-lib
31+
run: npm run lint-lib
3332

3433
- name: Testing Frontend
35-
run: sudo npm run test-lib-ci
34+
run: npm run test-lib-ci
3635

3736
- name: Coveralls
3837
uses: coverallsapp/github-action@master
@@ -47,7 +46,10 @@ jobs:
4746
parallel-finished: true
4847

4948
- name: Building Frontend
50-
run: sudo npm run build-lib-prod
49+
run: npm run build-lib-prod
50+
51+
- name: Copying essential additional files
52+
run: npm run copy-files
5153

5254
- name: Create new Angular Project and install lib in it, test it and build it
5355
run: |
@@ -65,24 +67,7 @@ jobs:
6567
npm test -- --watch=false --browsers=ChromeHeadless
6668
sudo npm run build
6769
68-
- name: Create new Angular Project (RxJs 6) and use the schematics to add a module
69-
run: |
70-
cd ..
71-
echo '=== Current Directory ==='
72-
ls
73-
sudo npm install -g @angular/cli
74-
echo 'Creating new angular project'
75-
sudo ng new testProjectSchematicRxJs6 --skip-git --skip-install
76-
cd testProjectSchematicRxJs6
77-
echo '=== Current Directory ==='
78-
ls
79-
sudo npm install --unsafe-perm=true
80-
sudo npm install rxjs@6.5.3
81-
sudo ng add ../angular-auth-oidc-client/dist/angular-auth-oidc-client --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using iframe silent renew" --use-local-package=true --skip-confirmation
82-
npm test -- --watch=false --browsers=ChromeHeadless
83-
sudo npm run build
84-
85-
- name: Create new Angular Project (RxJs 7) and use the schematics to add a module
70+
- name: Create new Angular Project and use the schematics to add a module
8671
run: |
8772
cd ..
8873
echo '=== Current Directory ==='

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,21 @@ on:
88
types: [opened, synchronize, reopened, closed]
99
branches:
1010
- main
11-
- releaseV12-WIP
1211

1312
jobs:
1413
build_and_deploy_job:
15-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') && github.repository_owner == 'damienbod'
14+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
1615
runs-on: ubuntu-latest
1716
name: Build and Deploy Job
1817
steps:
1918
- uses: actions/checkout@v2
2019
with:
2120
submodules: true
2221

23-
- name: Setup Node.js 14
22+
- name: Setup Node.js 14.15.5
2423
uses: actions/setup-node@v1
2524
with:
26-
node-version: 14.15.1
25+
node-version: 14.15.5
2726

2827
- name: Installing Dependencies
2928
run: sudo npm install
@@ -33,9 +32,11 @@ jobs:
3332
working-directory: docs/site/angular-auth-oidc-client
3433

3534
- name: Building Documentation
36-
run: sudo npm run build-docs
35+
run: sudo npm run build
36+
working-directory: docs/site/angular-auth-oidc-client
3737

3838
- name: Build And Deploy
39+
if: ${{ github.actor == 'damienbod' || github.actor == 'FabianGosebrink' }}
3940
id: builddeploy
4041
uses: Azure/static-web-apps-deploy@v1
4142
with:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ Thumbs.db
4848

4949
/.angulardoc.json
5050
debug.log
51+
52+
/.husky

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
## Angular Lib for OpenID Connect/OAuth2 Changelog
22

3+
### 2022-07-05 14.1.1
4+
5+
- Bugfix getUserData - You provided an invalid object where a stream was expected.
6+
- [PR](https://github.com/damienbod/angular-auth-oidc-client/pull/1480)
7+
8+
### 2022-07-02 14.1.0
9+
10+
- Support Angular 14
11+
12+
### 2022-06-10 14.0.2
13+
14+
- Disable id_token time validation
15+
- [PR](https://github.com/damienbod/angular-auth-oidc-client/pull/1451)
16+
317
### 2022-05-22 14.0.1
418

519
- Fix regression in the check session service
620
- [PR](https://github.com/damienbod/angular-auth-oidc-client/pull/1440)
7-
21+
822
### 2022-04-18 14.0.0
923

1024
In this version the APP_INITIALIZER was removed. ([See PR](https://github.com/damienbod/angular-auth-oidc-client/pull/1307)).

angular.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,6 +2004,5 @@
20042004
},
20052005
"cli": {
20062006
"analytics": "b91d4847-f3d9-4b77-91da-efc9e14ed237"
2007-
},
2008-
"defaultProject": "angular-auth-oidc-client"
2007+
}
20092008
}

0 commit comments

Comments
 (0)