Skip to content

Commit f6ac46b

Browse files
authored
Merge pull request #35 from philenius/feat/upgrade-to-angular-20
feat: upgrade to Angular 20
2 parents 0f8b126 + 4462f37 commit f6ac46b

File tree

13 files changed

+7186
-12047
lines changed

13 files changed

+7186
-12047
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## 20.0.0
4+
5+
Pull request: https://github.com/philenius/ngx-annotate-text/pull/35
6+
7+
- Upgrade to Angular 20.0.0
8+
39
## 19.0.0
410

511
Pull request: https://github.com/philenius/ngx-annotate-text/pull/34

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ View and edit the live demo Angular app on <a href="https://codesandbox.io/s/ngx
111111
### Recreate project from scratch
112112

113113
```bash
114-
npm install -g @angular/cli@^19
114+
npm install -g @angular/cli@^20
115115
ng new ngx-annotate-text-workspace
116116
cd ngx-annotate-text-workspace/
117117
ng generate library ngx-annotate-text
118-
ng add angular-eslint@^19
118+
ng add angular-eslint@^20
119119
ng g angular-eslint:add-eslint-to-project ngx-annotate-text-workspace
120120
ng g angular-eslint:add-eslint-to-project ngx-annotate-text
121121
npm install prettier --save-dev

angular.json

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
"prefix": "app",
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
16-
"outputPath": "dist/ngx-annotate-text-workspace",
17-
"index": "src/index.html",
1816
"browser": "src/main.ts",
1917
"polyfills": ["zone.js"],
2018
"tsConfig": "tsconfig.app.json",
@@ -24,8 +22,7 @@
2422
"input": "public"
2523
}
2624
],
27-
"styles": ["src/styles.css"],
28-
"scripts": []
25+
"styles": ["src/styles.css"]
2926
},
3027
"configurations": {
3128
"production": {
@@ -52,7 +49,7 @@
5249
"defaultConfiguration": "production"
5350
},
5451
"serve": {
55-
"builder": "@angular-devkit/build-angular:dev-server",
52+
"builder": "@angular/build:dev-server",
5653
"configurations": {
5754
"production": {
5855
"buildTarget": "ngx-annotate-text-workspace:build:production"
@@ -64,10 +61,10 @@
6461
"defaultConfiguration": "development"
6562
},
6663
"extract-i18n": {
67-
"builder": "@angular-devkit/build-angular:extract-i18n"
64+
"builder": "@angular/build:extract-i18n"
6865
},
6966
"test": {
70-
"builder": "@angular-devkit/build-angular:karma",
67+
"builder": "@angular/build:karma",
7168
"options": {
7269
"polyfills": ["zone.js", "zone.js/testing"],
7370
"tsConfig": "tsconfig.spec.json",
@@ -77,8 +74,7 @@
7774
"input": "public"
7875
}
7976
],
80-
"styles": ["src/styles.css"],
81-
"scripts": []
77+
"styles": ["src/styles.css"]
8278
}
8379
},
8480
"lint": {
@@ -96,10 +92,7 @@
9692
"prefix": "lib",
9793
"architect": {
9894
"build": {
99-
"builder": "@angular-devkit/build-angular:ng-packagr",
100-
"options": {
101-
"project": "projects/ngx-annotate-text/ng-package.json"
102-
},
95+
"builder": "@angular/build:ng-packagr",
10396
"configurations": {
10497
"production": {
10598
"tsConfig": "projects/ngx-annotate-text/tsconfig.lib.prod.json"
@@ -111,7 +104,7 @@
111104
"defaultConfiguration": "production"
112105
},
113106
"test": {
114-
"builder": "@angular-devkit/build-angular:karma",
107+
"builder": "@angular/build:karma",
115108
"options": {
116109
"tsConfig": "projects/ngx-annotate-text/tsconfig.spec.json",
117110
"polyfills": ["zone.js", "zone.js/testing"]

0 commit comments

Comments
 (0)