Skip to content

Commit 0feeaf0

Browse files
committed
update to ng15
1 parent c483f38 commit 0feeaf0

File tree

9 files changed

+1969
-3249
lines changed

9 files changed

+1969
-3249
lines changed

package-lock.json

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

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
},
2727
"private": true,
2828
"dependencies": {
29-
"@angular/animations": "14.2.11",
30-
"@angular/common": "14.2.11",
31-
"@angular/compiler": "14.2.11",
32-
"@angular/core": "14.2.11",
33-
"@angular/elements": "14.2.11",
34-
"@angular/forms": "14.2.11",
35-
"@angular/platform-browser": "14.2.11",
36-
"@angular/platform-browser-dynamic": "14.2.11",
37-
"@angular/router": "14.2.11",
29+
"@angular/animations": "15.0.0",
30+
"@angular/common": "15.0.0",
31+
"@angular/compiler": "15.0.0",
32+
"@angular/core": "15.0.0",
33+
"@angular/elements": "15.0.0",
34+
"@angular/forms": "15.0.0",
35+
"@angular/platform-browser": "15.0.0",
36+
"@angular/platform-browser-dynamic": "15.0.0",
37+
"@angular/router": "15.0.0",
3838
"@popperjs/core": "^2.9.2",
3939
"@webcomponents/custom-elements": "^1.4.3",
4040
"angular-oauth2-oidc": "^10.0.3",
@@ -52,10 +52,10 @@
5252
"zone.js": "~0.11.4"
5353
},
5454
"devDependencies": {
55-
"@angular-devkit/build-angular": "^14.2.10",
56-
"@angular/cli": "^14.2.10",
57-
"@angular/compiler-cli": "14.2.11",
58-
"@angular/language-service": "14.2.11",
55+
"@angular-devkit/build-angular": "^15.0.0",
56+
"@angular/cli": "^15.0.0",
57+
"@angular/compiler-cli": "15.0.0",
58+
"@angular/language-service": "15.0.0",
5959
"@commitlint/cli": "^12.1.4",
6060
"@commitlint/config-conventional": "^12.1.4",
6161
"@compodoc/compodoc": "^1.1.14",
@@ -79,7 +79,7 @@
7979
"karma-jasmine-html-reporter": "^1.7.0",
8080
"markdown-magic": "^2.3.2",
8181
"markdown-magic-github-contributors": "0.0.3",
82-
"ng-packagr": "^14.2.2",
82+
"ng-packagr": "^15.0.0",
8383
"prettier": "^2.3.2",
8484
"protractor": "~7.0.0",
8585
"standard-version": "^9.3.1",

projects/angular-oauth2-oidc-jwks/src/test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import {
88
platformBrowserDynamicTesting,
99
} from '@angular/platform-browser-dynamic/testing';
1010

11-
declare const require: any;
12-
1311
// First, initialize the Angular testing environment.
1412
getTestBed().initTestEnvironment(
1513
BrowserDynamicTestingModule,
@@ -18,7 +16,3 @@ getTestBed().initTestEnvironment(
1816
teardown: { destroyAfterEach: false },
1917
}
2018
);
21-
// Then we find all the tests.
22-
const context = require.context('./', true, /\.spec\.ts$/);
23-
// And load the modules.
24-
context.keys().map(context);

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
5-
"target": "es2020",
65
"declaration": true,
76
"inlineSources": true,
87
"types": [],

projects/lib/tsconfig.lib.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
55
"declarationMap": true,
6-
"target": "es2020",
76
"module": "es2015",
87
"moduleResolution": "node",
98
"declaration": true,

projects/quickstart-demo/src/test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import {
77
platformBrowserDynamicTesting,
88
} from '@angular/platform-browser-dynamic/testing';
99

10-
declare const require: any;
11-
1210
// First, initialize the Angular testing environment.
1311
getTestBed().initTestEnvironment(
1412
BrowserDynamicTestingModule,
@@ -17,7 +15,3 @@ getTestBed().initTestEnvironment(
1715
teardown: { destroyAfterEach: false },
1816
}
1917
);
20-
// Then we find all the tests.
21-
const context = require.context('./', true, /\.spec\.ts$/);
22-
// And load the modules.
23-
context.keys().map(context);

projects/sample/.browserslistrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

projects/sample/src/test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import {
77
platformBrowserDynamicTesting,
88
} from '@angular/platform-browser-dynamic/testing';
99

10-
declare const require: any;
11-
1210
// First, initialize the Angular testing environment.
1311
getTestBed().initTestEnvironment(
1412
BrowserDynamicTestingModule,
@@ -17,7 +15,3 @@ getTestBed().initTestEnvironment(
1715
teardown: { destroyAfterEach: false },
1816
}
1917
);
20-
// Then we find all the tests.
21-
const context = require.context('./', true, /\.spec\.ts$/);
22-
// And load the modules.
23-
context.keys().map(context);

tsconfig.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,26 @@
1010
"experimentalDecorators": true,
1111
"downlevelIteration": true,
1212
"module": "esnext",
13-
"target": "es2020",
14-
"typeRoots": ["node_modules/@types"],
15-
"lib": ["es2017", "dom"],
13+
"target": "ES2022",
14+
"typeRoots": [
15+
"node_modules/@types"
16+
],
17+
"lib": [
18+
"es2017",
19+
"dom"
20+
],
1621
"paths": {
17-
"sample": ["dist/sample"],
18-
"angular-oauth2-oidc": ["projects/lib/src/public_api"],
19-
22+
"sample": [
23+
"dist/sample"
24+
],
25+
"angular-oauth2-oidc": [
26+
"projects/lib/src/public_api"
27+
],
2028
"angular-oauth2-oidc-jwks": [
2129
"projects/angular-oauth2-oidc-jwks/src/public-api"
2230
]
23-
}
31+
},
32+
"useDefineForClassFields": false
2433
},
2534
"angularCompilerOptions": {
2635
"enableIvy": false

0 commit comments

Comments
 (0)