Skip to content

Commit 09c5845

Browse files
committed
PD-0000 angular 22 update
1 parent 30154fa commit 09c5845

446 files changed

Lines changed: 13860 additions & 12415 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

angular.json

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,16 @@
103103
},
104104
"architect": {
105105
"build": {
106-
"builder": "@angular-devkit/build-angular:browser",
106+
"builder": "@angular-devkit/build-angular:application",
107107
"options": {
108108
"index": "src/index.html",
109-
"main": "src/main.ts",
110-
"polyfills": "src/polyfills.ts",
109+
"polyfills": ["src/polyfills.ts"],
111110
"tsConfig": "src/tsconfig.app.json",
112111
"crossOrigin": "use-credentials",
113112
"outputHashing": "all",
114-
"outputPath": "dist",
113+
"outputPath": {
114+
"base": "dist"
115+
},
115116
"i18nMissingTranslation": "warning",
116117
"assets": [
117118
{
@@ -151,7 +152,11 @@
151152
"scripts": [
152153
"/scripts/environment.runtime.js",
153154
"/scripts/onetrust.runtime.js"
154-
]
155+
],
156+
"browser": "src/main.ts",
157+
"stylePreprocessorOptions": {
158+
"includePaths": ["."]
159+
}
155160
},
156161
"configurations": {
157162
"local": {
@@ -176,9 +181,9 @@
176181
},
177182
"namedChunks": true,
178183
"extractLicenses": false,
179-
"vendorChunk": true,
180-
"buildOptimizer": false,
181-
"outputPath": "dist"
184+
"outputPath": {
185+
"base": "dist"
186+
}
182187
},
183188
"local-with-proxy": {
184189
"scripts": [
@@ -191,9 +196,9 @@
191196
"sourceMap": true,
192197
"namedChunks": true,
193198
"extractLicenses": false,
194-
"vendorChunk": true,
195-
"buildOptimizer": false,
196-
"outputPath": "dist",
199+
"outputPath": {
200+
"base": "dist"
201+
},
197202
"budgets": [
198203
{
199204
"type": "anyComponentStyle",
@@ -213,9 +218,9 @@
213218
"sourceMap": true,
214219
"namedChunks": true,
215220
"extractLicenses": false,
216-
"vendorChunk": true,
217-
"buildOptimizer": false,
218-
"outputPath": "dist",
221+
"outputPath": {
222+
"base": "dist"
223+
},
219224
"budgets": [
220225
{
221226
"type": "anyComponentStyle",

package.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@
3939
},
4040
"private": true,
4141
"dependencies": {
42-
"@angular/animations": "20.1.6",
43-
"@angular/cdk": "20.1.6",
44-
"@angular/common": "20.1.6",
45-
"@angular/compiler": "20.1.6",
46-
"@angular/core": "20.1.6",
47-
"@angular/elements": "20.1.6",
48-
"@angular/forms": "20.1.6",
49-
"@angular/localize": "20.1.6",
50-
"@angular/material": "20.1.6",
51-
"@angular/platform-browser": "20.1.6",
52-
"@angular/platform-browser-dynamic": "20.1.6",
53-
"@angular/router": "20.1.6",
54-
"@angular/service-worker": "20.1.6",
42+
"@angular/animations": "22.0.2",
43+
"@angular/cdk": "22.0.2",
44+
"@angular/common": "22.0.2",
45+
"@angular/compiler": "22.0.2",
46+
"@angular/core": "22.0.2",
47+
"@angular/elements": "22.0.2",
48+
"@angular/forms": "22.0.2",
49+
"@angular/localize": "22.0.2",
50+
"@angular/material": "22.0.2",
51+
"@angular/platform-browser": "22.0.2",
52+
"@angular/platform-browser-dynamic": "22.0.2",
53+
"@angular/router": "22.0.2",
54+
"@angular/service-worker": "22.0.2",
5555
"@intl-tel-input/angular": "^29.0.1",
5656
"@orcid/bibtex-parse-js": "0.0.25",
5757
"@tailwindcss/postcss": "^4.1.18",
@@ -66,7 +66,7 @@
6666
"intl-tel-input": "^29.0.1",
6767
"karma-jasmine-html-reporter": "^1.7.0",
6868
"lodash": "^4.18.1",
69-
"ngx-cookie-service": "^20",
69+
"ngx-cookie-service": "22.0.0",
7070
"postcss": "^8.5.10",
7171
"properties-to-json": "^0.1.4",
7272
"rxjs": "~7.8.0",
@@ -78,38 +78,39 @@
7878
"zone.js": "~0.15.1"
7979
},
8080
"devDependencies": {
81-
"@angular-devkit/build-angular": "20.1.6",
82-
"@angular/build": "20.1.6",
83-
"@angular/cli": "20.1.6",
84-
"@angular/compiler-cli": "20.1.6",
85-
"@angular/language-service": "20.1.6",
81+
"@angular-devkit/build-angular": "22.0.3",
82+
"@angular/build": "22.0.3",
83+
"@angular/cli": "22.0.3",
84+
"@angular/compiler-cli": "22.0.2",
85+
"@angular/language-service": "22.0.2",
8686
"@types/jasmine": "~3.6.0",
8787
"@types/jasminewd2": "~2.0.3",
8888
"@types/lodash": "^4.14.168",
89-
"@types/node": "^12.11.1",
89+
"@types/node": "^26.0.0",
9090
"@types/puppeteer": "^2.0.0",
9191
"@types/xml2js": "^0.4.4",
9292
"caniuse-lite": "^1.0.30001733",
9393
"git-repo-info": "^2.1.1",
9494
"glob": "^7.1.6",
9595
"gulp": "^4.0.2",
9696
"husky": "^9.1.7",
97+
"istanbul-lib-instrument": "^6.0.3",
9798
"jasmine-core": "~3.8.0",
9899
"jasmine-spec-reporter": "~5.0.0",
99100
"karma": "^6.3.16",
100101
"karma-chrome-launcher": "~3.2",
101102
"karma-coverage": "^2.2.1",
102103
"karma-coverage-istanbul-reporter": "^2.1.0",
103104
"karma-jasmine": "~4.0.0",
104-
"ng-packagr": "^20.1.0",
105+
"ng-packagr": "^22.0.0",
105106
"prettier": "^2.0.5",
106107
"puppeteer": "^23.11.1",
107108
"rimraf": "^3.0.0",
108109
"ts-node": "^8.5.2",
109110
"tslint": "~6.1.0",
110111
"tslint-config-prettier": "^1.18.0",
111112
"tsx": "^4.20.6",
112-
"typescript": "~5.8.3",
113+
"typescript": "~6.0.3",
113114
"update-browserslist-db": "^1.1.3"
114115
}
115116
}

projects/orcid-registry-ui/src/lib/components/auth-challenge/auth-challenge.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
Output,
1111
Input,
1212
Optional,
13+
ChangeDetectionStrategy,
1314
} from '@angular/core'
1415
import {
1516
AbstractControl,
@@ -50,6 +51,7 @@ class ErrorStateMatcherForTwoFactorFields implements ErrorStateMatcher {
5051
MatDialogModule,
5152
],
5253
templateUrl: './auth-challenge.component.html',
54+
changeDetection: ChangeDetectionStrategy.Eager,
5355
styleUrls: [
5456
'./auth-challenge.component.scss',
5557
'./auth-challenge.component.scss-theme.scss',

0 commit comments

Comments
 (0)