Skip to content

Add @unirate/astro to Astro Integrations - #100

Open
rob-browncc wants to merge 1 commit into
one-aalam:mainfrom
rob-browncc:add-unirate-astro
Open

Add @unirate/astro to Astro Integrations#100
rob-browncc wants to merge 1 commit into
one-aalam:mainfrom
rob-browncc:add-unirate-astro

Conversation

@rob-browncc

Copy link
Copy Markdown

Adds @unirate/astro to the Astro Integrations section.

@unirate/astro is a proper Astro integration that fetches a currency rate snapshot at build time via astro:config:setup, registers a Vite virtual module (virtual:unirate), and injects type declarations via astro:config:done. Ships <Currency /> and <Rate /> components plus convertCurrency/getRate/formatCurrency helpers. Zero runtime deps, published on npm with provenance attestation. 33 vitest mock tests, CI matrix Node 20/22.

Disclosure: I maintain the UniRate API and this integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant