Brain2 is your handy cerebral companion
Install the workspace dependencies by running
pnpm i
To create a new package, run the following command in the monorepo root:
pnpm turbo gen init
If you want to use the package live (with transpilation) in the nextjs app, be sure to update next.config.js.
On WSL, you might face some issues connecting your phone to Expo CLI. This is usually because of discrepancies between the IP address of the WSL adapter and the real LAN ip address of your computer. Find the real ip address using ipconfig
on PowerShell/cmd and set that in the environment via REACT_NATIVE_PACKAGER_HOSTNAME=<ip>
before running expo start
to resolve the issues.