For full documentation, visit docs.postguard.eu.
Monorepo for the PostGuard JS fleet.
| Path | What |
|---|---|
packages/pg-js |
@e4a/pg-js — the published browser/Node SDK |
apps/* |
PostGuard clients (website, mail addons) — imported incrementally, see #123 |
pnpm workspaces. From the repo root:
pnpm install # runs the prebuild generators + a full build via `prepare`
pnpm build
pnpm testReleases are managed by changesets: a PR that should ship adds a changeset (pnpm changeset); merging to main opens or updates a "Version Packages" PR; merging that publishes to npm with provenance.
The public type surface of @e4a/pg-js is tracked in packages/pg-js/etc/pg-js.api.md. pnpm build fails when that file no longer matches the build, so a change to the compatibility contract always lands as a reviewable diff. Refresh it with pnpm api:update from packages/pg-js.
MIT.