A monorepo holding tRPC adapters for various platforms and frameworks. With tRPC adapters, you can have end-to-end type safety no matter where your API runs.
Run the following command from the root directory:
pnpm install
This monorepo includes the following packages, which are published to npm:
trpc-firebase-functions
: a tRPC adapter for Firebase functionstrpc-google-cloud-functions
: a tRPC adapter for Google cloud functions
It also includes the following internal configuration packages:
@trpc-adapters/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@trpc-adapters/typescript-config
:tsconfig.json
s used throughout the monorepo
The following commands will apply to all apps and packages if run from the root directory. Alternatively, commands run from individual project directories will only apply to that project.
pnpm build
Start dev servers or file watchers that auto reload on file changes.
pnpm dev
pnpm lint
pnpm format
pnpm test
Read more about the tooling used in this monorepo:
- Turborepo: a tool for managing monorepos
- Changesets: a tool for managing changelogs and semantic versioning
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting