Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 18 additions & 23 deletions src/content/docs/build/ecosystem.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ packages, which require Node.js 18 or later.

| Package | Latest release | Declares on other Seamless packages | Other peer ranges |
| --------------------------------- | -------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- |
| `seamless-auth-api` | 0.21.0 | `@seamless-auth/types` ^0.34.0, `@seamless-auth/messaging`, `-aws`, `-twilio` ^0.2.0 | None |
| `@seamless-auth/oidc-provider` | 0.1.0 | `@seamless-auth/express` and `core` ^0.22.0, `@seamless-auth/types` ^0.34.0 | None |
| `seamless-auth-api` | 0.21.1 | `@seamless-auth/types` ^0.34.0, `@seamless-auth/messaging`, `-aws`, `-twilio` ^0.3.1 | None |
| `@seamless-auth/oidc-provider` | 0.1.1 | `@seamless-auth/express` and `core` ^0.23.0, `@seamless-auth/types` ^0.34.0 | None |
| `@seamless-auth/core` | 0.23.0 | `@seamless-auth/types` ^0.34.0 | None |
| `@seamless-auth/express` | 0.23.0 | `@seamless-auth/core` ^0.23.0 | `express` >=5.0.0 |
| `@seamless-auth/fastify` | 0.14.0 | `@seamless-auth/core` ^0.23.0 | `fastify` >=5.0.0 |
Expand All @@ -186,10 +186,10 @@ packages, which require Node.js 18 or later.
| `@seamless-auth/svelte` | 0.3.1 | `@seamless-auth/client` ^0.8.1 | `svelte` 5, optional `@sveltejs/kit` 2.26+ or 3 |
| `@seamless-auth/react-native` | 0.4.2 | `@seamless-auth/client` ^0.8.2, `@seamless-auth/types` ^0.34.0 | `react` 18 or 19 |
| `@seamless-auth/types` | 0.34.0 | None | None |
| `@seamless-auth/messaging` | 0.3.0 | `@seamless-auth/types` ^0.33.0 | None |
| `@seamless-auth/messaging-aws` | 0.3.0 | `@seamless-auth/messaging` ^0.3.0 | None |
| `@seamless-auth/messaging-twilio` | 0.3.0 | `@seamless-auth/messaging` ^0.3.0 | None |
| `seamless-cli` | 0.27.0 | `@seamless-auth/types` ^0.34.0 | None |
| `@seamless-auth/messaging` | 0.3.1 | `@seamless-auth/types` ^0.34.0 | None |
| `@seamless-auth/messaging-aws` | 0.3.1 | `@seamless-auth/messaging` ^0.3.1 | None |
| `@seamless-auth/messaging-twilio` | 0.3.1 | `@seamless-auth/messaging` ^0.3.1 | None |
| `seamless-cli` | 0.27.1 | `@seamless-auth/types` ^0.34.0 | None |
| `seamless-auth-admin-dashboard` | 0.12.0 | `@seamless-auth/react` ^0.19.0, `@seamless-auth/types` ^0.34.0 | None |

How to read it:
Expand All @@ -200,9 +200,8 @@ How to read it:
- `@seamless-auth/express`, `fastify`, and `nextjs` declare `@seamless-auth/core` as
`workspace:^`, which pnpm rewrites at publish to a caret on the core version in the same release
(`^0.23.0` today).
- Every SDK and adapter that depends on `@seamless-auth/types` declares ^0.34.0, so an app that
installs any mix of them resolves a single copy of it. The messaging packages still declare
^0.33.0; only the auth API installs them.
- Every package that depends on `@seamless-auth/types` declares ^0.34.0, so an install of any mix
of them resolves a single copy of it.
- The messaging packages are used by `seamless-auth-api` to deliver email and SMS. Your application
does not install them.
- The auth API exposes an HTTP contract, not a package range. No package declares a range on
Expand All @@ -222,31 +221,27 @@ instead.

### What The CLI Scaffolds

`seamless-cli` 0.27.0 does not install the newest of everything. It pins the images and the
`seamless-cli` 0.27.1 does not install the newest of everything. It pins the images and the
template tag it scaffolds, so a given CLI version always produces the same project:

| What `seamless init` uses | Pinned to | Where it is set |
| ------------------------- | -------------------------------------------------------------- | ------------------------------------------------------- |
| Auth API image | `ghcr.io/fells-code/seamless-auth-api:v0.21.0` | `seamless-cli` `src/core/images.ts` |
| Admin dashboard image | `ghcr.io/fells-code/seamless-auth-admin-dashboard:v0.12.0` | `seamless-cli` `src/core/images.ts` |
| Starter templates | `fells-code/seamless-templates` at `v0.21.1` | `seamless-cli` `src/core/images.ts` |
| Express API template | `@seamless-auth/express` ^0.22.0 | `templates/api/express/package.json` |
| Fastify API template | `@seamless-auth/fastify` ^0.13.0 | `templates/api/fastify/package.json` |
| Next.js template | `@seamless-auth/nextjs` ^0.6.0, `@seamless-auth/react` ^0.19.0 | `templates/fullstack/nextjs/package.json` |
| Starter templates | `fells-code/seamless-templates` at `v0.21.2` | `seamless-cli` `src/core/images.ts` |
| Express API template | `@seamless-auth/express` ^0.23.0 | `templates/api/express/package.json` |
| Fastify API template | `@seamless-auth/fastify` ^0.14.0 | `templates/api/fastify/package.json` |
| Next.js template | `@seamless-auth/nextjs` ^0.7.0, `@seamless-auth/react` ^0.19.2 | `templates/fullstack/nextjs/package.json` |
| React web templates | `@seamless-auth/react` ^0.19.0 | `templates/web/react-vite`, `templates/web/react-oauth` |
| Angular web template | `@seamless-auth/angular` ^0.4.0 | `templates/web/angular/package.json` |
| Vue web template | `@seamless-auth/vue` ^0.3.0 | `templates/web/vue/package.json` |
| SvelteKit web template | `@seamless-auth/svelte` ^0.3.0 | `templates/web/svelte/package.json` |
| Expo template | `@seamless-auth/react-native` ^0.4.0 | `templates/mobile/expo/package.json` |
| Gin API template | `github.com/fells-code/seamless-auth-go` v0.3.0 | `templates/api/gin/go.mod` |
| Axum API template | `seamless-auth` 0.3 | `templates/api/axum/Cargo.toml` |
| FastAPI API template | `seamless-auth[fastapi]>=0.3,<0.4` | `templates/api/fastapi/pyproject.toml` |

Template paths are inside `fells-code/seamless-templates` at `v0.21.1`. Those templates still
declare the v0.20 adapters (`@seamless-auth/express` ^0.22.0, `fastify` ^0.13.0, `nextjs` ^0.6.0,
and the Go, Python and Rust adapters at 0.3), which work against auth API v0.21.0. A scaffolded
project can move to the v0.21 adapters by bumping the ranges in its own `package.json`, `go.mod`,
`Cargo.toml` or `pyproject.toml`.
| Gin API template | `github.com/fells-code/seamless-auth-go` v0.4.0 | `templates/api/gin/go.mod` |
| Axum API template | `seamless-auth` 0.4 | `templates/api/axum/Cargo.toml` |
| FastAPI API template | `seamless-auth[fastapi]>=0.4,<0.5` | `templates/api/fastapi/pyproject.toml` |

Template paths are inside `fells-code/seamless-templates` at `v0.21.2`.

### Keeping This Matrix Current

Expand Down
Loading