Skip to content

Commit 9c4f213

Browse files
authored
Merge pull request #507 from krishna217/master
feat: update to angular v20
2 parents e725c9a + de3dd8b commit 9c4f213

27 files changed

Lines changed: 8905 additions & 13540 deletions

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Test and build
11-
uses: actions/setup-node@v1
11+
uses: actions/setup-node@v3
1212
with:
13-
node-version: 20.11
13+
node-version: 24
1414
- run: npm install
1515
- run: npm run test
1616
env:

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
- name: checkout
1313
uses: actions/checkout@v2
1414
- name: setup Node
15-
uses: actions/setup-node@v1
15+
uses: actions/setup-node@v3
1616
with:
17-
node-version: 20.11
17+
node-version: 24
1818
- run: npm install
1919
- name: Github pages
2020
uses: sterlingwes/gh-pages-deploy-action@v1.1

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.14.0 (2025-11-17)
2+
3+
- Upgrade to Angular 20 (krishna217)
4+
15
# 2.12.2 (2024-09-27)
26

37
- Throw required error only if property is visible (Adithya Jayasankar)

angular.json

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"schematics": {},
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
1616
"outputPath": {
1717
"base": "dist/ngx-schema-form"
@@ -59,7 +59,7 @@
5959
"defaultConfiguration": ""
6060
},
6161
"serve": {
62-
"builder": "@angular-devkit/build-angular:dev-server",
62+
"builder": "@angular/build:dev-server",
6363
"options": {
6464
"buildTarget": "ngx-schema-form:build"
6565
},
@@ -70,16 +70,16 @@
7070
}
7171
},
7272
"extract-i18n": {
73-
"builder": "@angular-devkit/build-angular:extract-i18n",
73+
"builder": "@angular/build:extract-i18n",
7474
"options": {
7575
"buildTarget": "ngx-schema-form:build"
7676
}
7777
},
7878
"test": {
79-
"builder": "@angular-devkit/build-angular:karma",
79+
"builder": "@angular/build:karma",
8080
"options": {
8181
"main": "src/test.ts",
82-
"polyfills": "src/polyfills.ts",
82+
"polyfills": ["src/polyfills.ts"],
8383
"tsConfig": "src/tsconfig.spec.json",
8484
"karmaConfig": "src/karma.conf.js",
8585
"styles": [
@@ -110,7 +110,7 @@
110110
"prefix": "sf",
111111
"architect": {
112112
"build": {
113-
"builder": "@angular-devkit/build-angular:ng-packagr",
113+
"builder": "@angular/build:ng-packagr",
114114
"options": {
115115
"tsConfig": "projects/schema-form/tsconfig.lib.json",
116116
"project": "projects/schema-form/ng-package.json"
@@ -123,7 +123,7 @@
123123
}
124124
},
125125
"test": {
126-
"builder": "@angular-devkit/build-angular:karma",
126+
"builder": "@angular/build:karma",
127127
"options": {
128128
"main": "projects/schema-form/src/test.ts",
129129
"tsConfig": "projects/schema-form/tsconfig.spec.json",
@@ -147,5 +147,31 @@
147147
"schematicCollections": [
148148
"@angular-eslint/schematics"
149149
]
150+
},
151+
"schematics": {
152+
"@schematics/angular:component": {
153+
"type": "component"
154+
},
155+
"@schematics/angular:directive": {
156+
"type": "directive"
157+
},
158+
"@schematics/angular:service": {
159+
"type": "service"
160+
},
161+
"@schematics/angular:guard": {
162+
"typeSeparator": "."
163+
},
164+
"@schematics/angular:interceptor": {
165+
"typeSeparator": "."
166+
},
167+
"@schematics/angular:module": {
168+
"typeSeparator": "."
169+
},
170+
"@schematics/angular:pipe": {
171+
"typeSeparator": "."
172+
},
173+
"@schematics/angular:resolver": {
174+
"typeSeparator": "."
175+
}
150176
}
151177
}

0 commit comments

Comments
 (0)