TRPC Panel welcomes and encourages open source contributions.
The repo is configured to work with yarn v1 workspaces. To install dependencies, run:
yarn
Included in this repo there is a development app that makes it easy to work on trpc-panel
locally. It is a next.js
app that will render the router included in the dev app. To run it, do:
cd packages/dev-app && yarn dev
This will run the app in your browser.
To add / remove procedures from the dev app's panel, modify its router in packages/dev-app/src/router.ts
. Please do not commit changes to this file.
The trpc-panel
front end is just a bunch of react components. Any updates made to the react components should immediately be visible while running the dev-app
.
The React components are located in packages/trpc-panel/src/react-app
.
For more advanced features, it may be required to update the parsing logic, which can be found in packages/trpc-panel/parse
.