@autoinvent/conveyor
v1.8.1
Published
UI component library for magql
Downloads
304
Keywords
Readme
Conveyor
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.
Usages
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/[email protected]" rel="stylesheet" />
Note: React is not used in the final bundle and needs to be installed separately.
Scripts
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.
Useful commands
pnpm pack
will package the files frompnpm build
into a tarball for install.