Effect Angular provides Angular-first integrations for Effect Platform and Effect RPC.
This workspace currently ships two Angular libraries:
effect-platform-angular: Adapter that bridges Effect PlatformHttpClientto AngularHttpClient.effect-angular-query: Injectable Effect RPC client with auto-generated TanStack Query and Mutation helpers.
- Keep APIs idiomatic to Angular applications.
- Preserve strong Effect and TypeScript type-safety.
- Minimize setup overhead for HTTP and RPC usage in Angular.
- Node.js 22+ recommended
- Bun
1.2.x - Angular
21+
Install dependencies:
bun installBuild the workspace:
bun run buildRun tests:
bun run test -- --watch=false| Package | Purpose | Path |
|---|---|---|
effect-platform-angular |
Angular HttpClient adapter for Effect Platform HTTP/RPC transport |
projects/effect-platform-angular |
effect-angular-query |
Effect RPC client + TanStack Angular Query/Mutation helper layer | projects/effect-angular-query |
npm packages:
@heddendorp/effect-platform-angular@heddendorp/effect-angular-query
Install from npm:
bun add @heddendorp/effect-platform-angular @heddendorp/effect-angular-queryPackage-specific docs:
projects/effect-platform-angular/README.mdprojects/effect-angular-query/README.md
Run a project-specific test target:
bun run ng test effect-platform-angular --watch=false
bun run ng test effect-angular-query --watch=falseBuild a specific library:
bun run ng build effect-platform-angular
bun run ng build effect-angular-queryThis repository uses Knope with GitHub Actions for release automation.
-
Change files live in
.changeset/and are the source for release notes. -
Each change file uses frontmatter + summary markdown, for example:
--- effect-platform-angular: patch effect-angular-query: major --- ### Changed - Describe user-facing impact. ### Migration - For breaking changes, list explicit old -> new API replacements.
-
Knope Bot updates/creates the
knope/releasepull request from.changesetfiles. -
Merging
knope/releaseintomaintriggers theReleaseworkflow, which runs tests/builds and publishes both libraries to npm.
Required repository secrets:
RELEASE_PAT(recommended): Personal access token withcontents:writeandpull-requests:write. The workflows fall back toGITHUB_TOKEN, butRELEASE_PATis recommended for reliable branch/PR operations.
Required npm setup:
- Configure both npm packages (
@heddendorp/effect-platform-angular,@heddendorp/effect-angular-query) as trusted publishers linked to this GitHub repository/workflow (OIDC).
Manual first release bootstrap:
- Add at least one change file in
.changeset/. - Wait for Knope Bot to create/update the
knope/releasePR. - Merge the generated
knope/releasepull request. - Confirm the
Releaseworkflow succeeds and both npm packages publish successfully.