chore: scaffold from seamless-templates v0.9.0 - #167
Merged
Conversation
Both React starters move to @seamless-auth/react ^0.9.0, which makes the bundled auth screens themeable via --seamless-* CSS custom properties. The public API is unchanged, so a project that sets no variables renders as before. Both API starters pin postgres:18-alpine with the volume mounted at /var/lib/postgresql. This closes a mismatch introduced by the PostgreSQL 18 bump: a scaffold named postgres:18 in the CLI-generated compose file and postgres:16-alpine in the API starter copied in beside it. All four starters also gain Vitest, Prettier, and a uniform script set (typecheck, lint, format, test, check) that passes on a fresh npm install. Verify adapter pins need no change: v0.9.0 carries @seamless-auth/express ^0.12.0 and @seamless-auth/fastify ^0.3.1, and the harness apps are already at ^0.12.1 and ^0.3.1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
SEAMLESS_TEMPLATES_REFfromv0.8.1tov0.9.0(src/core/images.ts).What v0.9.0 carries
@seamless-auth/react^0.9.0. Every colour in the bundled auth screens now reads from a--seamless-*CSS custom property with the previous literal as its fallback, so a scaffolded project can match the auth UI to its brand by setting those variables on:rootor on any ancestor of<AuthRoutes />. The public API is unchanged, and a project that sets no variables renders exactly as before.postgres:18-alpinewith the volume mounted at/var/lib/postgresql. This closes a mismatch the PostgreSQL 18 work left open: a scaffold namedpostgres:18in the CLI-generated compose file andpostgres:16-alpinein the API starter copied in beside it.npm install, Prettier alongside ESLint, and the same script names (typecheck,lint,lint:fix,format,format:check,test,test:watch,test:coverage, and acheckthat runs the whole gate).Verification
registry.jsonresolves at the tag (HTTP 200).npm run buildclean; full test suite passes via the pre-commit coverage run.@seamless-auth/express^0.12.0and@seamless-auth/fastify^0.3.1, andverify/adapter-app/verify/adapter-fastify-appare already at^0.12.1and^0.3.1.Changeset included (
minor).