Skip to content

Commit b4d4763

Browse files
committed
update build config and docs
1 parent a9663de commit b4d4763

17 files changed

Lines changed: 20 additions & 90 deletions

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ Support for OAuth 2 and OpenId Connect (OIDC) in Angular. Already prepared for t
2020

2121
## Tested Environment
2222

23-
Successfully tested with **Angular 4.3 to Angular 16** and its Router, PathLocationStrategy as well as HashLocationStrategy and CommonJS-Bundling via webpack.
23+
Successfully tested with **Angular 4.3 to Angular 22** and its Router, PathLocationStrategy as well as HashLocationStrategy and CommonJS-Bundling via webpack.
2424

2525
On the server-side we've used **IdentityServer** (.NET / .NET Core), Redhat's **Keycloak** (Java), and **Auth0** (Auth0 is officially supported since version 10 of this lib). For Auth0, please have a look into the respective documentation page here.
2626

2727
For using this library with **Azure Active Directory** (**Azure AD**), we recommend an additional look to this [blog post](https://dev.to/yuriburger/azure-active-directory-b2c-with-pkce-for-your-angular-app-1dcg) and the example linked at the end of this blog post.
2828

2929
Also, the Okta community created some guidelines on how to use this lib with Okta. See the links at the end of this page for more information.
3030

31+
**Angular 22**: Use 22.x versions of this library (**should also work with older Angular versions!**).
32+
3133
**Angular 21**: Use 21.x versions of this library (**should also work with older Angular versions!**).
3234

3335
**Angular 20**: Use 20.x versions of this library (**should also work with older Angular versions!**).

docs/dependencies.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,23 @@
119119
</ol>
120120
<ul class="dependencies-list">
121121
<li>
122-
<b>@angular/animations</b> : ^21.0.0</li>
122+
<b>@angular/animations</b> : ^22.0.1</li>
123123
<li>
124-
<b>@angular/common</b> : ^21.0.0</li>
124+
<b>@angular/common</b> : ^22.0.1</li>
125125
<li>
126-
<b>@angular/compiler</b> : ^21.0.0</li>
126+
<b>@angular/compiler</b> : ^22.0.1</li>
127127
<li>
128-
<b>@angular/core</b> : ^21.0.0</li>
128+
<b>@angular/core</b> : ^22.0.1</li>
129129
<li>
130-
<b>@angular/elements</b> : ^21.0.0</li>
130+
<b>@angular/elements</b> : ^22.0.1</li>
131131
<li>
132-
<b>@angular/forms</b> : ^21.0.0</li>
132+
<b>@angular/forms</b> : ^22.0.1</li>
133133
<li>
134-
<b>@angular/platform-browser</b> : ^21.0.0</li>
134+
<b>@angular/platform-browser</b> : ^22.0.1</li>
135135
<li>
136-
<b>@angular/platform-browser-dynamic</b> : ^21.0.0</li>
136+
<b>@angular/platform-browser-dynamic</b> : ^22.0.1</li>
137137
<li>
138-
<b>@angular/router</b> : ^21.0.0</li>
138+
<b>@angular/router</b> : ^22.0.1</li>
139139
<li>
140140
<b>@popperjs/core</b> : ^2.11.8</li>
141141
<li>
@@ -161,7 +161,7 @@
161161
<li>
162162
<b>tslib</b> : ^2.5.2</li>
163163
<li>
164-
<b>zone.js</b> : ~0.16.0</li>
164+
<b>zone.js</b> : ~0.16.2</li>
165165
</ul>
166166

167167

docs/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,11 @@ <h2>Resources</h2>
114114
<li>Community-provided sample implementation: <a href="https://github.com/jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards/">https://github.com/jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards/</a></li>
115115
</ul>
116116
<h2>Tested Environment</h2>
117-
<p>Successfully tested with <strong>Angular 4.3 to Angular 16</strong> and its Router, PathLocationStrategy as well as HashLocationStrategy and CommonJS-Bundling via webpack.</p>
117+
<p>Successfully tested with <strong>Angular 4.3 to Angular 22</strong> and its Router, PathLocationStrategy as well as HashLocationStrategy and CommonJS-Bundling via webpack.</p>
118118
<p>On the server-side we&#39;ve used <strong>IdentityServer</strong> (.NET / .NET Core), Redhat&#39;s <strong>Keycloak</strong> (Java), and <strong>Auth0</strong> (Auth0 is officially supported since version 10 of this lib). For Auth0, please have a look into the respective documentation page here.</p>
119119
<p>For using this library with <strong>Azure Active Directory</strong> (<strong>Azure AD</strong>), we recommend an additional look to this <a href="https://dev.to/yuriburger/azure-active-directory-b2c-with-pkce-for-your-angular-app-1dcg">blog post</a> and the example linked at the end of this blog post.</p>
120120
<p>Also, the Okta community created some guidelines on how to use this lib with Okta. See the links at the end of this page for more information.</p>
121+
<p><strong>Angular 22</strong>: Use 22.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>
121122
<p><strong>Angular 21</strong>: Use 21.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>
122123
<p><strong>Angular 20</strong>: Use 20.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>
123124
<p><strong>Angular 19</strong>: Use 19.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>

docs/js/search/search_index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/properties.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
</ol>
121121
<ul class="properties-list">
122122
<li>
123-
<b>Version</b> : 21.0.2</li>
123+
<b>Version</b> : 22.0.0</li>
124124
<li>
125125
<b>License</b> : MIT</li>
126126
</ul>

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@
8888
"typescript": "~6.0.3",
8989
"typescript-eslint": "^8.61.0"
9090
},
91-
"husky": {
92-
"hooks": {
93-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
94-
}
95-
},
9691
"config": {
9792
"commitizen": {
9893
"path": "./node_modules/cz-conventional-changelog"

projects/angular-oauth2-oidc-jwks/tsconfig.lib.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,8 @@
1212
"compilationMode": "partial",
1313
"skipTemplateCodegen": true,
1414
"strictMetadataEmit": true,
15-
"extendedDiagnostics": {
16-
"checks": {
17-
"nullishCoalescingNotNullable": "suppress",
18-
"optionalChainNotNullable": "suppress"
19-
}
20-
},
21-
"fullTemplateTypeCheck": true,
22-
"strictInjectionParameters": true,
15+
"fullTemplateTypeCheck": false,
16+
"strictInjectionParameters": false,
2317
"enableResourceInlining": true,
2418
"strictTemplates": false
2519
},

projects/angular-oauth2-oidc-jwks/tsconfig.spec.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
"files": ["src/test.ts"],
88
"include": ["**/*.spec.ts", "**/*.d.ts"],
99
"angularCompilerOptions": {
10-
"extendedDiagnostics": {
11-
"checks": {
12-
"nullishCoalescingNotNullable": "suppress",
13-
"optionalChainNotNullable": "suppress"
14-
}
15-
},
1610
"strictTemplates": false
1711
}
1812
}

projects/lib/tsconfig.lib.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
"exclude": ["src/test.ts", "**/*.spec.ts"],
1717
"angularCompilerOptions": {
1818
"compilationMode": "partial",
19-
"extendedDiagnostics": {
20-
"checks": {
21-
"nullishCoalescingNotNullable": "suppress",
22-
"optionalChainNotNullable": "suppress"
23-
}
24-
},
2519
"strictTemplates": false
2620
}
2721
}

projects/lib/tsconfig.lib.prod.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,5 @@
33
"compilerOptions": {
44
"declarationMap": false,
55
"outDir": "../../out-tsc/lib-prod"
6-
},
7-
"angularCompilerOptions": {
8-
"extendedDiagnostics": {
9-
"checks": {
10-
"nullishCoalescingNotNullable": "suppress",
11-
"optionalChainNotNullable": "suppress"
12-
}
13-
}
146
}
157
}

0 commit comments

Comments
 (0)