Add example folder for CLI-created project validation #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Current CLI-created projects reference
@objectdocs/sitevia workspace protocol, creating uncertainty around Vercel deployment. Need standalone example using published npm packages to validate deployment path.Changes
Example Project Structure
example/- Complete standalone project using@objectdocs/cli@^0.2.11from npmvercel.json)Documentation (1,658 lines)
README.md- Quick start and deployment instructionsARCHITECTURE.md- Technical explanation of@objectdocs/siteresolution strategyVERCEL.md- Deployment guide with troubleshootingTESTING.md- Standalone testing procedures outside monorepoINDEX.md- Bilingual overview (EN/中文)Validation Tooling
validate.sh- Automated checks for package config, content structure, frontmatter, and deployment settingsKey Findings
Current architecture is correct. When published,
workspace:*converts to proper version:Verified via
npm view @objectdocs/cli dependencies:{ "@objectdocs/site": "0.2.11" // ✓ correct, not "workspace:*" }Vercel deployment works with standard npm dependency resolution. No architectural changes needed.
Usage
For standalone testing outside monorepo:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.