You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 22ff2ea
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,16 +199,16 @@ same list.
199
199
|`content/docs/references/`| Generated from the Zod schemas by `packages/spec/scripts/build-docs.ts`. Never edit it by hand. |
200
200
|`content/docs/releases/`| Written at release time from changesets. Never edit it in a code pull request. |
201
201
|`examples/`| The example apps. The *Examples* table in the [package directory](#package-directory) describes each one. |
202
-
|`ui/`| ObjectUI: the `@object-ui/*` packages, the Console's source and the objectui.org docs site. [UI Workspace](#ui-workspace-ui) below covers working there. |
202
+
|`ui/`| ObjectUI: the `@object-ui/*` packages and the Console's source. Their guides live in `content/docs/frontend/`. [UI Workspace](#ui-workspace-ui) below covers working there. |
203
203
|[ARCHITECTURE.md](./ARCHITECTURE.md)| Design details, the plugin lifecycle and the dependency graph. |
204
204
205
205
AGENTS.md (*Documentation Guardrails*) has the rules for every docs path, including what a
206
206
new page needs before it shows up in the navigation.
207
207
208
208
## UI Workspace (`ui/`)
209
209
210
-
`ui/` holds ObjectUI, the view layer: the `@object-ui/*` packages, the Console
211
-
(`ui/apps/console`) and the objectui.org docs site (`ui/apps/site`). It is a member of this
210
+
`ui/` holds ObjectUI, the view layer: the `@object-ui/*` packages and the Console
211
+
(`ui/apps/console`). It is a member of this
212
212
workspace, so the root `pnpm install` above installs it too, and
213
213
[ui/AGENTS.md](./ui/AGENTS.md) adds that tree's own rules to AGENTS.md: the spec-first and
214
214
contract-first commandments, Shadcn-native styling, actions as data. Its code is MIT-licensed
@@ -219,13 +219,12 @@ contract-first commandments, Shadcn-native styling, actions as data. Its code is
219
219
Run these from `ui/`:
220
220
221
221
```bash
222
-
pnpm exec turbo run build --filter='./*/*' --filter='!@object-ui/site'# Build every ui package (turbo, parallel & cached)
223
-
pnpm exec turbo run type-check --filter='./*/*'# Run tsc --noEmit across the ui packages (turbo)
224
-
pnpm exec turbo run lint --filter='./*/*'# Run eslint across the ui packages (turbo)
225
-
pnpm dev # The Console's Vite dev server, on :5180
226
-
pnpm site:dev # The docs site, on http://localhost:3000
227
-
pnpm docs:check-links # The internal-link check CI runs on ui docs
228
-
pnpm test:e2e # End-to-end tests (playwright)
222
+
pnpm exec turbo run build --filter='./*/*'# Build every ui package (turbo, parallel & cached)
223
+
pnpm exec turbo run type-check --filter='./*/*'# Run tsc --noEmit across the ui packages (turbo)
224
+
pnpm exec turbo run lint --filter='./*/*'# Run eslint across the ui packages (turbo)
225
+
pnpm dev # The Console's Vite dev server, on :5180
226
+
pnpm docs:check-links # The internal-link check CI runs on the ui READMEs and docs
227
+
pnpm test:e2e # End-to-end tests (playwright)
229
228
```
230
229
231
230
turbo resolves a relative filter against the directory it is launched from, so the filter above
@@ -290,32 +289,29 @@ use as a few-shot corpus. Neither declares a `dev` script.
290
289
| --- | --- |
291
290
|`ui/packages/*`| The published `@object-ui/*` packages, plus the private `vscode-extension`, `test-support` (test-only, never released), `runner` (workspace demo app, never released) and `app-shell` (the Console's shell and views, no longer published after 18.2.0) |
292
291
|`ui/apps/console`| The Console app (Vite + React), which `pnpm console:build` builds into the `@objectstack/console` package |
293
-
|`ui/apps/site`| The public docs site at <https://www.objectui.org> (fumadocs) |
294
292
|`ui/examples/*`| The snippet and the schema catalog, see [UI examples](#ui-examples)|
295
-
|`ui/content/docs/`| The docs site's pages |
296
-
|`ui/docs/`| Internal engineering material (ADRs, audits); not part of the site |
293
+
|`ui/docs/`| Internal engineering material (ADRs, audits, design records); not part of the docs site |
297
294
|`ui/e2e/`| Playwright end-to-end tests |
298
295
299
296
The [package directory](#package-directory) lists every `@object-ui/*` package by layer.
300
297
301
298
### UI documentation
302
299
303
-
The docs site's pages live in `ui/content/docs/`, and a page's path below it becomes its
304
-
route under the site's /docs base, so an internal link between pages is written
305
-
`[Quick Start](/docs/guide/quick-start)`, with the prefix. `ui/docs/` is not part of the site.
300
+
ObjectUI's guides are pages of the documentation site, under `content/docs/frontend/`
301
+
(*Custom front-end*), and follow the `content/docs/` rules above. `ui/docs/` is not part of the site.
306
302
307
303
-**A code block in an ADR or a dated audit is a specimen, not an example to copy.** Fence it
308
-
`plaintext`, never `ts` / `tsx`: a gate compiles the code fences of `ui/content/docs/`, and
304
+
`plaintext`, never `ts` / `tsx`: a gate compiles the code fences of `content/docs/frontend/`, and
309
305
a record edited until it compiles says something it never said. Code a reader may copy
310
-
belongs in `ui/content/docs/` or the skills tree.
306
+
belongs in `content/docs/frontend/` or the skills tree.
311
307
-**A `json` fence must pass a strict `JSON.parse`.** A block annotated with comments or
312
308
trailing commas is fenced `jsonc`, and must still be one JSON document once those are
313
309
removed; a `${…}` expression stays on one line inside its string.
314
310
-**Internal links are checked offline.**`pnpm docs:check-links` resolves every relative
315
-
path and site route against the checkout, and CI runs it on every change.
311
+
path in the ui READMEs and `ui/docs/` against the checkout, and CI runs it on every change.
316
312
317
-
ObjectUI's [Quick Start](./ui/content/docs/guide/quick-start.md) and
318
-
[Component Registry](./ui/content/docs/guide/component-registry.md) guides are the place to
313
+
ObjectUI's [Quick Start](./content/docs/frontend/quick-start.mdx) and
314
+
[Component Registry](./content/docs/frontend/component-registry.mdx) guides are the place to
Copy file name to clipboardExpand all lines: ui/apps/console/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"description": "ObjectStack Console — opinionated, fork-ready runtime console built on @object-ui/app-shell with the full plugin set wired up. Ships as a Hono UI plugin serving a pre-built SPA.",
0 commit comments