-
Notifications
You must be signed in to change notification settings - Fork 2
Add development tooling: CLI scaffolding, server command, environment diagnostics, and template generators #437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a62b6e9
a3dfaac
d4c25ec
9b5fbe0
58b6dba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,397 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # 开发调试测试指南 | Development, Debugging & Testing Guide | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > **English** | [中文](#中文版) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| > **English** | [中文](#中文版) | |
| > **English** | 中文 |
Copilot
AI
Jan 31, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The objectstack.config.ts example here uses metadata and plugins, but the current defineStack schema in @objectstack/spec expects a manifest object (and objects/apps/views are top-level arrays). As written, objectstack compile (which validates with ObjectStackDefinitionSchema) will fail on this example. Please update the example to the schema-valid shape (or update the compiler/schema if the format is changing).
| import { HonoServerPlugin } from '@objectstack/plugin-hono-server'; | |
| export default defineStack({ | |
| metadata: { | |
| name: 'my-app', | |
| version: '1.0.0', | |
| }, | |
| objects: { | |
| // Your data objects | |
| }, | |
| plugins: [ | |
| // Add plugins to load | |
| new HonoServerPlugin({ port: 3000 }), | |
| ], | |
| export default defineStack({ | |
| manifest: { | |
| name: 'my_app', | |
| label: 'My App', | |
| version: '1.0.0', | |
| }, | |
| objects: [ | |
| // Your data objects | |
| ], | |
| apps: [ | |
| // Your apps | |
| ], | |
| views: [ | |
| // Your views | |
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR description says the new docs are English-only, but this file starts with a Chinese title and includes a Chinese section link. Either update the PR description or adjust the document to match the stated English-only documentation goal.