Skip to content

Commit 9949a18

Browse files
Add more notes on adding support for new Angular releases
1 parent ee10cca commit 9949a18

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

add_support_for_new_angular_version.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,26 @@ Notes from when I added Angular 11 support
1919
- yarn && yarn test
2020
- gh pr create
2121

22+
- in sample-app-angular-hybrid
23+
- npx ng update @angular/core @angular/cli
24+
- yarn upgrade-interactive --latest (update uirouter libs)
25+
- push to a branch 'upgrade-to-angular-11'
26+
27+
- in uirouter/angular-hybrid
28+
- target the sample-app branch in downstream_test.json:
29+
- "https://github.com/ui-router/sample-app-angular-hybrid.git@update-to-angular-11"
30+
- update peer deps for angular packages, bumping each range by one
31+
- update angular packages manually to the lower range supported (for angular 11, set to ^10.0.0)
32+
- update ng-packagr manually to the lower range supported (for angular 11, set to ^10.0.0)
33+
- update typescript to the version required by @angular/compiler-cli
34+
- npx check-peer-dependencies
35+
- in example
36+
- npx ng update @angular/core @angular/cli
37+
- yarn upgrade-interactive --latest (update uirouter libs)
38+
- gh pr create
39+
- npm run release
40+
- revert downstream_projects.json and push
41+
42+
- in sample-app-angular-hybrid after merging
43+
- yarn upgrade-interactive --latest (update uirouter libs)
44+
- push and merge

0 commit comments

Comments
 (0)