Skip to content

Commit b7fbc45

Browse files
committed
fix: add upper bound to Angular version ranges
- Change peerDependencies from >=18.0.0 to >=18.0.0 <22.0.0 - Explicitly support Angular 18, 19, 20, 21 - Update docs to reflect v3.x as current version
1 parent efb14fc commit b7fbc45

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ If this is not the folder that you want to serve, you should explicitly specify
9797
ng deploy --dir=dist/test/browser
9898
```
9999

100-
This new build logic is a breaking change, therefore `angular-cli-ghpages` v2 requires Angular 18 or higher.
100+
This new build logic is a breaking change, therefore `angular-cli-ghpages` v2+ requires Angular 18 or higher.
101101
For previous versions of Angular, use `angular-cli-ghpages` v1.x.
102102

103103
## ⚠️ Prerequisites <a name="prerequisites"></a>

docs/README_contributors.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Follow the instructions for [checking and updating the Angular CLI version](#ang
3535
This builder requires the method `getTargetOptions()` from the Angular DevKit which was introduced [here](https://github.com/angular/angular-cli/pull/13825/files).
3636

3737
**Version compatibility:**
38-
- **v2.x:** Supports Angular 18 and higher (current version)
39-
- **v1.x:** Supported Angular 9-17 (now deprecated for new projects)
38+
- **v3.x:** Supports Angular 18 and higher (current version)
39+
- **v2.x:** Supported Angular 18 (previous major version)
40+
- **v1.x:** Supported Angular 9-17 (deprecated)
4041

4142
Execute the next three steps to update your test project to the latest Angular version.
4243

src/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272
"typescript": "~5.2.2"
7373
},
7474
"dependencies": {
75-
"@angular-devkit/architect": ">=0.1800.0",
76-
"@angular-devkit/core": ">=18.0.0",
77-
"@angular-devkit/schematics": ">=18.0.0",
75+
"@angular-devkit/architect": ">=0.1800.0 <0.2200.0",
76+
"@angular-devkit/core": ">=18.0.0 <22.0.0",
77+
"@angular-devkit/schematics": ">=18.0.0 <22.0.0",
7878
"fs-extra": "^11.2.0",
7979
"gh-pages": "6.3.0"
8080
},
8181
"peerDependencies": {
82-
"@angular/cli": ">=18.0.0"
82+
"@angular/cli": ">=18.0.0 <22.0.0"
8383
}
8484
}

0 commit comments

Comments
 (0)