This repos is based on pnpm starter turborepo template.
docs
: a Next.js appweb
: another Next.js appui
: a stub React component library shared by bothweb
anddocs
applicationseslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
- Install pnpm https://pnpm.io/
- Install Vercel CLI https://vercel.com/docs/cli
pnpm i -g vercel
- Login Vercel
vercel login
- Link apps/api to Vercel choose beam-fi-meeting-api
cd apps/api
vercel link
- Setup env vars for apps/api:
vercel env pull .env.local
- Run install in root Go back to the project root dir
pnpm install
To build all apps and packages, run the following command:
pnpm run build
To develop all apps and packages, run the following command:
pnpm run dev
Parsing error: Cannot find module 'next/babel' in Visual Studio Code
Add following to VSCode settings.json:
"eslint.packageManager": "pnpm"
vercel/next.js#40687
https://stackoverflow.com/questions/68163385/parsing-error-cannot-find-module-next-babel/70421220#70421220