Conveyor is a comprehensive React UI library for quickly building UI components to interact with GraphQL APIs generated by the Magql library. It provides an intuitive and user-friendly interface for performing CRUD (Create, Read, Update, Delete) operations on your GraphQL data.
Both a UMD module and ES module exist, allowing Conveyor to be used either as an npm package with the command:
pnpm install @autoinvent/conveyor
import Conveyor from '@autoinvent/conveyor'
or via a CDN with the following link tag:
<link crossorigin href="https://unpkg.com/@autoinvent/conveyor@2.0.0" rel="stylesheet" />
Note: React is not used in the final bundle and needs to be installed separately.
pnpm build
- Build library for production; The generated files will be on thedist
folder.pnpm build:css
- Run tailwind CLI tool to build the css file.pnpm storybook
- run storybookpnpm format
- Format all files with Biome.pnpm lint
- Scan all files for linting errors with Biome.
pnpm pack
will package the files frompnpm build
into a tarball for install.