mearie
mearie
Build-time codegen and tooling for Mearie GraphQL client.
This package provides build plugins (Vite, Next.js) and code generation tools that extract GraphQL queries from your source code and generate TypeScript types at build time.
Installation
npm install -D mearie
This package provides build-time code generation and build plugins (Vite, Next.js) for automatic TypeScript type generation from GraphQL operations. For runtime functionality, install a framework-specific package like @mearie/react, @mearie/vue, @mearie/svelte, or @mearie/solid.
Usage
Add the Vite plugin to your vite.config.ts:
import { defineConfig } from 'vite';
import mearie from 'mearie/vite';
export default defineConfig({
plugins: [mearie()],
});
Or for Next.js, add to your next.config.js:
import withMearie from 'mearie/next';
export default withMearie({
// Your Next.js config
});
For framework-specific runtime usage, see @mearie/react, @mearie/vue, @mearie/svelte, or @mearie/solid.
Documentation
Full documentation is available at https://mearie.dev/.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.1.8 | MIT | |
| 0.1.7 | MIT | |
| 0.1.6 | MIT | |
| 0.1.5 | MIT | |
| 0.1.4 | MIT | |
| 0.1.3 | MIT | |
| 0.1.2 | MIT | |
| 0.1.0 | MIT | |
| 0.0.0 | MIT |
Pre-releases (30)
| Version | Released | License |
|---|---|---|
| 0.0.1-next.5 | MIT | |
| 0.0.1-next.4 | MIT | |
| 0.0.1-next.3 | MIT | |
| 0.0.1-next.1 | ||
| 0.0.0-next-20260723193255 | MIT | |
| 0.0.0-next-20260723192339 | MIT | |
| 0.0.0-next-20260723192022 | MIT | |
| 0.0.0-next-20260723192010 | MIT | |
| 0.0.0-next-20260605074650 | MIT | |
| 0.0.0-next-20260501191720 | MIT | |
| 0.0.0-next-20260501143547 | MIT | |
| 0.0.0-next-20260314061624 | MIT | |
| 0.0.0-next-20260307092244 | MIT | |
| 0.0.0-next-20260307090329 | MIT | |
| 0.0.0-next-20260307083818 | MIT | |
| 0.0.0-next-20260228150111 | MIT | |
| 0.0.0-next-20260228144449 | MIT | |
| 0.0.0-next-20260228141746 | MIT | |
| 0.0.0-next-20260228070001 | MIT | |
| 0.0.0-next-20260228064912 | MIT | |
| 0.0.0-next-20260228064632 | MIT | |
| 0.0.0-next-20260228053204 | MIT | |
| 0.0.0-next-20260228053037 | MIT | |
| 0.0.0-next-20260228052447 | MIT | |
| 0.0.0-next-20260228050608 | MIT | |
| 0.0.0-next-20260228044018 | MIT | |
| 0.0.0-next-20260228041044 | MIT | |
| 0.0.0-next-20260228035926 | MIT | |
| 0.0.0-next-20260228034710 | MIT | |
| 0.0.0-next-20260228033203 | MIT |