This monorepo includes the deploy of PoolTogether's Cabana Worldchain app.
Make sure you have pnpm installed, as it is the package manager used throughout this monorepo.
pnpm i
pnpm dev
app
: Cabana App w/ core PoolTogether functionality on Worldchain.
Cabana is a Next.js app with Tailwind CSS support, written in TypeScript.
Repo Links: App
This Turborepo has some additional tools already setup:
- Tailwind CSS for styles
- TypeScript for static type checking
- Prettier for code formatting
When adding/updating apps and/or packages, duplicate dependencies may be created, creating versioning issues. This can be resolved through running pnpm up -r
as described here, or just looking through pnpm-lock.yaml
to identify version discrepancies.
The biggest culprit of the above is @tanstack/react-query
, which sometimes is installed as two different versions and apps can no longer utilize hooks from the hooks package. This has been solved through the method described here.
If editing component themes in ui
, having the Tailwind CSS IntelliSense
plugin for VSCode is recommended. In order to enable it for custom Flowbite themes and string class names, add theme
and .*ClassName*
to the Class Attributes
setting.
Currently, lottie-react
has some SSR issues in Node v22 as seen here. Downgrading your node version to v18 resolves this issue.