@evolu/common
v7.4.1
Published
TypeScript library and local-first platform
Downloads
8,126
Maintainers
Readme
Evolu
Evolu is a TypeScript library and local-first platform.
Documentation
Please visit evolu.dev.
Community
The Evolu community is on GitHub Discussions, where you can ask questions and voice ideas.
To chat with other community members, you can join the Evolu Discord.
Hosting Evolu Relay
We provide a free relay free.evoluhq.com for testing and personal usage.
The Evolu Relay source and Docker files are in the /apps/relay directory.
Alternatively, a pre-built image evoluhq/relay:latest is hosted on Docker Hub.
For more information, reference the Evolu Relay documentation.
Developing
Evolu monorepo uses pnpm.
Install dependencies:
pnpm installBuild scripts
pnpm build- Build packagespnpm build:web- Build webpnpm examples:build- Build all examples
Start dev
Warning: Run
pnpm buildbefore running dev. Packages must be built first.
pnpm dev- Dev server for webpnpm ios- Run iOS example (requirespnpm devrunning)pnpm android- Run Android example (requirespnpm devrunning)pnpm examples:react-nextjs:dev- Dev server for React Next.js examplepnpm examples:react-vite-pwa:dev- Dev server for React Vite PWA examplepnpm examples:svelte-vite-pwa:dev- Dev server for Svelte Vite PWA examplepnpm examples:vue-vite-pwa:dev- Dev server for Vue Vite PWA example
Linting
pnpm lint- Lint codepnpm lint-monorepo- Lint monorepo structure
Testing
pnpm test- Run tests
Release
pnpm changeset- Describe changes for release log
Verify
pnpm verify- Run all checks (build, lint, test) before commit
