Open History to see the last commit
1# TanStack Angular Query Angular CLI 22 Integration
2β
3Checks that `@tanstack/angular-query` and `@tanstack/angular-query-devtools` build with Angular CLI 22.
4β
5## What it checks
6β
7- `src/app/app.config.ts` registers the client with `provideTanStackQuery(() => new QueryClient(), withDevtools())`.
8- `src/app/app.ts` reads a query with `injectQuery` and renders its pending, error, and success states with `@if` blocks.
9- `angular.json` builds `src/main.ts` with the `@angular/build:application` builder, using Angular 22 and TypeScript 6.
10- CI runs the `build` script (`ng build`).
11β
12To run it from the repository root:
13β
14- `pnpm nx run @tanstack/query-integration-angular-cli-22:build`