Skip to content

Commit a827d83

Browse files
committed
Fix formatting issues
1 parent cd05f52 commit a827d83

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

apps/desktop/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,38 @@
1616
},
1717
"devDependencies": {
1818
"@bufbuild/protobuf": "catalog:",
19-
"@connectrpc/connect-node": "catalog:",
2019
"@connectrpc/connect": "catalog:",
20+
"@connectrpc/connect-node": "catalog:",
2121
"@effect-atom/atom-react": "catalog:",
22+
"@effect/platform": "catalog:",
2223
"@effect/platform-browser": "catalog:",
2324
"@effect/platform-node": "catalog:",
24-
"@effect/platform": "catalog:",
2525
"@lezer/generator": "catalog:",
2626
"@tailwindcss/typography": "catalog:",
2727
"@tailwindcss/vite": "catalog:",
2828
"@the-dev-tools/client": "workspace:^",
2929
"@the-dev-tools/eslint-config": "workspace:^",
3030
"@the-dev-tools/ui": "workspace:^",
31-
"@types/react-dom": "catalog:",
3231
"@types/react": "catalog:",
32+
"@types/react-dom": "catalog:",
3333
"@vitejs/plugin-react": "catalog:",
3434
"babel-plugin-react-compiler": "catalog:",
3535
"builder-util-runtime": "catalog:",
3636
"effect": "catalog:",
37+
"electron": "catalog:",
3738
"electron-builder": "catalog:",
3839
"electron-devtools-installer": "catalog:",
3940
"electron-updater": "6.7.3",
4041
"electron-vite": "catalog:",
41-
"electron": "catalog:",
4242
"eslint": "catalog:",
43+
"react": "catalog:",
4344
"react-dom": "catalog:",
4445
"react-markdown": "catalog:",
45-
"react": "catalog:",
4646
"tailwindcss": "catalog:",
4747
"typescript": "catalog:",
4848
"undici": "catalog:",
49-
"vite-tsconfig-paths": "catalog:",
5049
"vite": "catalog:",
50+
"vite-tsconfig-paths": "catalog:",
5151
"yaml": "catalog:"
5252
}
5353
}

docs/cli.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,22 @@ The binary is primarily a **server**. It can optionally act as a CLI when the `c
102102

103103
### Build Variants
104104

105-
| Variant | Build Command | Includes CLI | Typical Use |
106-
|---------|---------------|--------------|-------------|
107-
| Server-only | `go build -o devtools .` | No | Desktop app backend, production deployment |
108-
| Unified | `go build -tags cli -o devtools .` | Yes | All-in-one distribution, CI pipelines |
105+
| Variant | Build Command | Includes CLI | Typical Use |
106+
| ----------- | ---------------------------------- | ------------ | ------------------------------------------ |
107+
| Server-only | `go build -o devtools .` | No | Desktop app backend, production deployment |
108+
| Unified | `go build -tags cli -o devtools .` | Yes | All-in-one distribution, CI pipelines |
109109

110110
The server-only build excludes CLI dependencies (Cobra, Viper, config management) and produces a smaller binary. The unified build links the CLI in via the `cli` build tag.
111111

112112
### Runtime Mode Selection
113113

114114
Set the `DEVTOOLS_MODE` environment variable to switch modes:
115115

116-
| Value | Behaviour |
117-
|-------|-----------|
118-
| `server` | Starts the HTTP server (Connect RPC) |
119-
| `cli` | Runs the CLI (Cobra commands: flow run, import, etc.) |
120-
| *(unset)* | Defaults to `server` |
116+
| Value | Behaviour |
117+
| --------- | ----------------------------------------------------- |
118+
| `server` | Starts the HTTP server (Connect RPC) |
119+
| `cli` | Runs the CLI (Cobra commands: flow run, import, etc.) |
120+
| _(unset)_ | Defaults to `server` |
121121

122122
Any other value is rejected with an error.
123123

@@ -145,7 +145,7 @@ Command.env({
145145
DB_PATH: app.getPath('userData'),
146146
DB_ENCRYPTION_KEY: 'secret',
147147
HMAC_SECRET: 'secret',
148-
})
148+
});
149149
```
150150

151151
The server requires the same environment variables as before (`DB_MODE`, `DB_NAME`, `DB_PATH`, `DB_ENCRYPTION_KEY`, `HMAC_SECRET`).

0 commit comments

Comments
 (0)