Add example folder for CLI-created project validation#26
Merged
huangyiirene merged 6 commits intomainfrom Jan 19, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add example folder for CLI project testing
Add example folder for CLI-created project validation
Jan 19, 2026
🚀 Preview DeploymentThis pull request will be automatically deployed to Vercel. Preview Links
Build StatusCheck the CI workflow for build status and any errors. Automated preview information for PR #26 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.