https://github.com/xsynaptic/astro-font-devtools
An Astro dev toolbar plugin for previewing fonts from Google, Fontsource, Bunny, and Fontshare live on your site.
https://github.com/xsynaptic/astro-font-devtools
Last synced: 15 days ago
JSON representation
An Astro dev toolbar plugin for previewing fonts from Google, Fontsource, Bunny, and Fontshare live on your site.
- Host: GitHub
- URL: https://github.com/xsynaptic/astro-font-devtools
- Owner: xsynaptic
- License: mit
- Created: 2026-05-30T17:54:45.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-18T08:23:25.000Z (about 1 month ago)
- Last Synced: 2026-06-18T10:17:04.537Z (about 1 month ago)
- Language: TypeScript
- Size: 497 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# astro-font-devtools
Monorepo for [`@xsynaptic/astro-font-devtools`](packages/astro-font-devtools), an Astro dev
toolbar app for browsing fonts (Google, Fontsource, Bunny, Fontshare) and previewing them live
on your site. See the [package README](packages/astro-font-devtools/README.md) for usage.
## Layout
- [`packages/astro-font-devtools`](packages/astro-font-devtools): the published package
- [`playground`](playground): a local Astro app for trying the toolbar during development
## Development
```sh
pnpm install # install dependencies and build the package
pnpm build # rebuild the package (tsdown -> dist)
pnpm playground # run the playground against the local workspace package
pnpm test # run unit tests (vitest)
pnpm test:e2e # run end-to-end tests (playwright, drives the playground)
pnpm check # report-only: prettier check, lint, type-check, knip
pnpm fix # auto-fix: prettier write + eslint --fix, then type-check + knip
```
## Releasing
Versioning and publishing are managed by [changesets](https://github.com/changesets/changesets):
```sh
pnpm changeset # describe a change + pick a semver bump
pnpm changeset version # apply the bump and update CHANGELOG.md
pnpm release # check, build, then publish to npm and tag
```