Skip to content

Commit 1db94d4

Browse files
chore: update to ng 18
1 parent 0335790 commit 1db94d4

File tree

10 files changed

+8645
-8835
lines changed

10 files changed

+8645
-8835
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ For using this library with **Azure Active Directory** (**Azure AD**), we recomm
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 18**: Use 18.x versions of this library (**should also work with older Angular versions!**).
32+
3133
**Angular 17**: Use 17.x versions of this library (**should also work with older Angular versions!**).
3234

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

angular.json

+28-25
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@
4141
"schematics": {},
4242
"architect": {
4343
"build": {
44-
"builder": "@angular-devkit/build-angular:browser",
44+
"builder": "@angular-devkit/build-angular:application",
4545
"options": {
46-
"outputPath": "dist/sample",
46+
"outputPath": {
47+
"base": "dist/sample",
48+
"browser": ""
49+
},
4750
"index": "projects/sample/src/index.html",
48-
"main": "projects/sample/src/main.ts",
49-
"polyfills": "projects/sample/src/polyfills.ts",
51+
"polyfills": [
52+
"projects/sample/src/polyfills.ts"
53+
],
5054
"tsConfig": "projects/sample/tsconfig.app.json",
5155
"assets": [
5256
"projects/sample/src/favicon.ico",
@@ -58,12 +62,11 @@
5862
"node_modules/bootstrap/dist/css/bootstrap.css"
5963
],
6064
"scripts": [],
61-
"vendorChunk": true,
6265
"extractLicenses": false,
63-
"buildOptimizer": false,
6466
"sourceMap": true,
6567
"optimization": false,
66-
"namedChunks": true
68+
"namedChunks": true,
69+
"browser": "projects/sample/src/main.ts"
6770
},
6871
"configurations": {
6972
"production": {
@@ -83,9 +86,7 @@
8386
"outputHashing": "all",
8487
"sourceMap": false,
8588
"namedChunks": false,
86-
"extractLicenses": true,
87-
"vendorChunk": false,
88-
"buildOptimizer": true
89+
"extractLicenses": true
8990
}
9091
},
9192
"defaultConfiguration": ""
@@ -135,12 +136,16 @@
135136
"prefix": "app",
136137
"architect": {
137138
"build": {
138-
"builder": "@angular-devkit/build-angular:browser",
139+
"builder": "@angular-devkit/build-angular:application",
139140
"options": {
140-
"outputPath": "dist/quickstart-demo",
141+
"outputPath": {
142+
"base": "dist/quickstart-demo",
143+
"browser": ""
144+
},
141145
"index": "projects/quickstart-demo/src/index.html",
142-
"main": "projects/quickstart-demo/src/main.ts",
143-
"polyfills": "projects/quickstart-demo/src/polyfills.ts",
146+
"polyfills": [
147+
"projects/quickstart-demo/src/polyfills.ts"
148+
],
144149
"tsConfig": "projects/quickstart-demo/tsconfig.app.json",
145150
"aot": false,
146151
"assets": [
@@ -149,12 +154,11 @@
149154
],
150155
"styles": ["projects/quickstart-demo/src/styles.css"],
151156
"scripts": [],
152-
"vendorChunk": true,
153157
"extractLicenses": false,
154-
"buildOptimizer": false,
155158
"sourceMap": true,
156159
"optimization": false,
157-
"namedChunks": true
160+
"namedChunks": true,
161+
"browser": "projects/quickstart-demo/src/main.ts"
158162
},
159163
"configurations": {
160164
"production": {
@@ -170,8 +174,6 @@
170174
"namedChunks": false,
171175
"aot": true,
172176
"extractLicenses": true,
173-
"vendorChunk": false,
174-
"buildOptimizer": true,
175177
"budgets": [
176178
{
177179
"type": "initial",
@@ -248,11 +250,13 @@
248250
"prefix": "app",
249251
"architect": {
250252
"build": {
251-
"builder": "@angular-devkit/build-angular:browser",
253+
"builder": "@angular-devkit/build-angular:application",
252254
"options": {
253-
"outputPath": "dist/quickstart-standalone",
255+
"outputPath": {
256+
"base": "dist/quickstart-standalone",
257+
"browser": ""
258+
},
254259
"index": "projects/quickstart-standalone/src/index.html",
255-
"main": "projects/quickstart-standalone/src/main.ts",
256260
"polyfills": [
257261
"zone.js"
258262
],
@@ -264,7 +268,8 @@
264268
"styles": [
265269
"projects/quickstart-standalone/src/styles.css"
266270
],
267-
"scripts": []
271+
"scripts": [],
272+
"browser": "projects/quickstart-standalone/src/main.ts"
268273
},
269274
"configurations": {
270275
"production": {
@@ -283,9 +288,7 @@
283288
"outputHashing": "all"
284289
},
285290
"development": {
286-
"buildOptimizer": false,
287291
"optimization": false,
288-
"vendorChunk": true,
289292
"extractLicenses": false,
290293
"sourceMap": true,
291294
"namedChunks": true

docs/dependencies.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,23 @@
5050
</ol>
5151
<ul class="dependencies-list">
5252
<li>
53-
<b>@angular/animations</b> : ^17.0.7</li>
53+
<b>@angular/animations</b> : ^18.0.7</li>
5454
<li>
55-
<b>@angular/common</b> : ^17.0.7</li>
55+
<b>@angular/common</b> : ^18.0.7</li>
5656
<li>
57-
<b>@angular/compiler</b> : ^17.0.7</li>
57+
<b>@angular/compiler</b> : ^18.0.7</li>
5858
<li>
59-
<b>@angular/core</b> : ^17.0.7</li>
59+
<b>@angular/core</b> : ^18.0.7</li>
6060
<li>
61-
<b>@angular/elements</b> : ^17.0.7</li>
61+
<b>@angular/elements</b> : ^18.0.7</li>
6262
<li>
63-
<b>@angular/forms</b> : ^17.0.7</li>
63+
<b>@angular/forms</b> : ^18.0.7</li>
6464
<li>
65-
<b>@angular/platform-browser</b> : ^17.0.7</li>
65+
<b>@angular/platform-browser</b> : ^18.0.7</li>
6666
<li>
67-
<b>@angular/platform-browser-dynamic</b> : ^17.0.7</li>
67+
<b>@angular/platform-browser-dynamic</b> : ^18.0.7</li>
6868
<li>
69-
<b>@angular/router</b> : ^17.0.7</li>
69+
<b>@angular/router</b> : ^18.0.7</li>
7070
<li>
7171
<b>@popperjs/core</b> : ^2.9.2</li>
7272
<li>
@@ -82,7 +82,7 @@
8282
<li>
8383
<b>fast-sha256</b> : ^1.3.0</li>
8484
<li>
85-
<b>jsrsasign</b> : ^10.3.0</li>
85+
<b>jsrsasign</b> : ^11.0.0</li>
8686
<li>
8787
<b>rxjs</b> : ^6.5.3</li>
8888
<li>

docs/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ <h2>Tested Environment</h2>
5252
<p>At 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>
5353
<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>
5454
<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>
55+
<p><strong>Angular 18</strong>: Use 18.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>
5556
<p><strong>Angular 17</strong>: Use 17.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>
5657
<p><strong>Angular 16</strong>: Use 16.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>
5758
<p><strong>Angular 15</strong>: Use 15.x versions of this library (<strong>should also work with older Angular versions!</strong>).</p>

docs/js/search/search_index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)