Skip to content

Commit 55b04c0

Browse files
authored
Ng21 (#766)
* fix at 20.3 * fix @angular-builders/jest * upgrade to Angular 21 * fix tests
1 parent 76fbfa3 commit 55b04c0

File tree

18 files changed

+9171
-10011
lines changed

18 files changed

+9171
-10011
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/setup-node@v3
1212
with:
1313
node-version: 22
14-
- run: npm install
14+
- run: npm install --legacy-peer-deps
1515
- run: npm run test:ci && npm run build:demo
1616
env:
1717
CI: true

.github/workflows/ghpages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 18
18-
- run: npm install
18+
- run: npm install --legacy-peer-deps
1919
- run: npm run build:demo
2020
- run: cp ./dist/demo/index.html ./dist/demo/404.html
2121
- run: ./ghpages.sh

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: 18
1919
- run: ./tag-version.sh
20-
- run: npm install && npm run build
20+
- run: npm install --legacy-peer-deps && npm run build
2121
- uses: JS-DevTools/npm-publish@v1
2222
with:
2323
token: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.71.0 (2026-01-26)
2+
3+
- Upgrade to Angular 21
4+
15
# 2.70.3 (2025-10-13)
26

37
### Bug fix

angular.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"architect": {
1818
"build": {
19-
"builder": "@angular-devkit/build-angular:ng-packagr",
19+
"builder": "@angular/build:ng-packagr",
2020
"options": {
2121
"project": "projects/pastanaga-angular/ng-package.json"
2222
},
@@ -73,12 +73,15 @@
7373
"prefix": "pa-demo",
7474
"architect": {
7575
"build": {
76-
"builder": "@angular-devkit/build-angular:browser",
76+
"builder": "@angular/build:application",
7777
"options": {
78-
"outputPath": "dist/demo",
78+
"outputPath": {
79+
"base": "dist/demo"
80+
},
7981
"index": "projects/demo/src/index.html",
80-
"main": "projects/demo/src/main.ts",
81-
"polyfills": "projects/demo/src/polyfills.ts",
82+
"polyfills": [
83+
"projects/demo/src/polyfills.ts"
84+
],
8285
"tsConfig": "projects/demo/tsconfig.app.json",
8386
"inlineStyleLanguage": "scss",
8487
"assets": [
@@ -94,7 +97,8 @@
9497
"scripts": [],
9598
"stylePreprocessorOptions": {
9699
"includePaths": ["src"]
97-
}
100+
},
101+
"browser": "projects/demo/src/main.ts"
98102
},
99103
"configurations": {
100104
"production": {
@@ -119,9 +123,7 @@
119123
"outputHashing": "all"
120124
},
121125
"development": {
122-
"buildOptimizer": false,
123126
"optimization": false,
124-
"vendorChunk": true,
125127
"extractLicenses": false,
126128
"sourceMap": true,
127129
"namedChunks": true
@@ -130,7 +132,7 @@
130132
"defaultConfiguration": "production"
131133
},
132134
"serve": {
133-
"builder": "@angular-devkit/build-angular:dev-server",
135+
"builder": "@angular/build:dev-server",
134136
"configurations": {
135137
"production": {
136138
"buildTarget": "demo:build:production"
@@ -142,7 +144,7 @@
142144
"defaultConfiguration": "development"
143145
},
144146
"extract-i18n": {
145-
"builder": "@angular-devkit/build-angular:extract-i18n",
147+
"builder": "@angular/build:extract-i18n",
146148
"options": {
147149
"buildTarget": "demo:build"
148150
}

0 commit comments

Comments
 (0)