An open API service indexing awesome lists of open source software.

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.

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
```