Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ Expected domain errors are returned as `Result<T, E>` via [`better-result`](http

### Prerequisites

You need [pnpm](https://pnpm.io/) installed. If you plan to regenerate
protobufs, also install the [Buf CLI](https://buf.build/docs/cli/installation/).
You need [pnpm](https://pnpm.io/) installed. The [Buf CLI](https://buf.build/docs/cli/installation/) is only required if you plan to regenerate protobuf stubs — the generated TypeScript is committed to the repo, so a fresh clone builds without it.

### Setup

Expand All @@ -102,8 +101,18 @@ pnpm --filter @meshtastic/web dev

### Build everything

`@meshtastic/protobufs` has a `build` script that regenerates its stubs with `buf`, so skip it when building the rest of the workspace:

```bash
pnpm --filter '!@meshtastic/protobufs' -r build
```

### Regenerate protobuf stubs

Only needed after bumping the `meshtastic/protobufs` submodule or editing the generator config. Requires the Buf CLI:

```bash
pnpm -r build
pnpm --filter @meshtastic/protobufs build
```

### Run tests
Expand Down
1 change: 1 addition & 0 deletions packages/ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default defineConfig({
{
src: "src/lib/theme/default.css",
dest: "theme",
rename: { stripBase: true },
},
],
}),
Expand Down
Loading