mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(angular): add ng19 test app (#30041)
Issue number: internal --------- ## What is the current behavior? There are tests apps for Angular 16, 17 and 18 ## What is the new behavior? Adds a test app for Angular 19 ## Does this introduce a breaking change? - [ ] Yes - [x] No --------- Co-authored-by: Brandy Carney <6577830+brandyscarney@users.noreply.github.com>
This commit is contained in:
@@ -6,11 +6,13 @@ Ionic Framework supports multiple versions of Angular. As a result, we need to v
|
||||
|
||||
The Angular test app supports syncing your locally built changes for validation.
|
||||
|
||||
1. Build the `core` and `packages/angular` directories using `npm run build`.
|
||||
2. [Build the Angular test app](#test-app-build-structure).
|
||||
3. Navigate to the built test app directory (e.g. `packages/angular/test/build/ng14`).
|
||||
4. Install dependencies using `npm install`.
|
||||
5. Sync your local changes using `npm run sync`.
|
||||
1. Build the `core` directory.
|
||||
2. Navigate to `packages/angular` and run `npm run sync`.
|
||||
3. Build `packages/angular` using `npm run build`.
|
||||
4. [Build the Angular test app](#test-app-build-structure).
|
||||
5. Navigate to the built test app directory (e.g. `packages/angular/test/build/ng14`).
|
||||
6. Install dependencies using `npm install`.
|
||||
7. Sync your local changes using `npm run sync`.
|
||||
|
||||
From here you can either build the application or start a local dev server. When re-syncing changes, you will need to [wipe or disable the application cache](#application-cache).
|
||||
|
||||
@@ -86,6 +88,7 @@ As we add support for new versions of Angular, we will also need to update this
|
||||
2. Update the application by following the steps on https://update.angular.io/.
|
||||
3. Make note of any files that changed during the upgrade (`package.json`, `package-lock.json`, `angular.json`, etc).
|
||||
4. Copy the changed files to a new directory in `apps`.
|
||||
- Do NOT copy the entire directory. The `test/base` directory contains shared files between all major versions. Only files that are different than previous major versions should be copied to the new directory in `apps`.
|
||||
5. Add a new entry to the matrix for `test-core-angular` in `./github/workflows/build.yml`. This will allow the new test app to run against all PRs.
|
||||
6. Commit these changes and push.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user