From dee4c98c998b26e3f282e70b8f088876049ee4af Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Aug 2026 15:51:55 +0000 Subject: [PATCH] =?UTF-8?q?docs(contributing):=20=E6=8C=89=E7=9C=9F?= =?UTF-8?q?=E5=AE=9E=20root=20scripts=20=E9=87=8D=E5=86=99=E4=B8=89?= =?UTF-8?q?=E6=9D=A1=E6=AD=BB=E7=9A=84=E5=BC=80=E5=8F=91=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E5=91=BD=E4=BB=A4=20(#3596)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpm designer / pnpm prototype 在 root package.json 里没有对应 script, pnpm docs:dev 已随 docs: → site: 改名。三条照抄即报 Command not found。 - designer:packages/plugin-designer 是库(scripts 只有 build/clean/test/ type-check/lint,无 dev),没有独立 demo 入口;FieldDesigner 实际挂在 console 里,故改为 pnpm dev,并在注释里如实说明它没有自己的 demo。 - prototype:全 workspace 零命中,无同名包/脚本;改为实测可解析的 pnpm --filter @object-ui/example-console-starter dev。 - docs:dev → site:dev(root script 实测存在)。 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt --- CONTRIBUTING.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d10422e57e..3c9620f8f6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -81,14 +81,16 @@ git checkout -b feature/your-feature-name ### Running Development Servers ```bash -# Run the visual designer demo -pnpm designer +# Run the console app — the main dev playground (app shell + the full plugin set, +# including the visual designer, which mounts here rather than in a demo of its own) +pnpm dev -# Run the prototype example -pnpm prototype +# Run an example app (console-starter and byo-backend-console are the two that ship +# a dev server; hello-world has none, and schema-catalog is a data package) +pnpm --filter @object-ui/example-console-starter dev -# Run documentation site -pnpm docs:dev +# Run the documentation site +pnpm site:dev ``` ### Building