-
Notifications
You must be signed in to change notification settings - Fork 0
Adjust example runtime architecture and CLI initialization with automatic .gitignore management #29
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
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>
|
@copilot 继续 |
|
@copilot 注意添加 gitignore,包括在init命令中 |
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
已完成!实现已完成并测试通过。 The architecture adjustment is now complete (commit 82f6f70). The new workflow:
All commands now use the local |
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
🚀 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 #29 |
|
@copilot fix build |
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
🚀 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 #29 |
Adjust example running architecture - CLI copies site to content/.objectdocs
This PR restructures the ObjectDocs architecture to use a local copy of the site engine, providing better isolation and version control.
Changes Made
New
initCommand (packages/cli/src/commands/init.mjs):@objectdocs/sitepackage tocontent/.objectdocs--legacy-peer-depsflagcontent/.objectdocsto.gitignore(creates file if needed, prevents duplicates)Updated CLI Commands:
dev.mjs: Usescontent/.objectdocsas the Next.js app directorybuild.mjs: Usescontent/.objectdocsas the Next.js app directorystart.mjs: Usescontent/.objectdocsas the Next.js app directory.objectdocsexists and provide helpful error messagesDocumentation Updates:
README.md: Added init step to Quick Start guide, notes automatic .gitignore updatepackages/cli/README.md: Documented the new init command with .gitignore featureexamples/starter/README.md: Updated installation and testing instructions.objectdocsdirectoryUpdated .gitignore Files:
.gitignore: Excludescontent/.objectdocsexamples/starter/.gitignore: Excludescontent/.objectdocs.gitignoreCI/CD Fixes:
build:sitefor monorepo buildsinitNew Workflow
Users now follow this workflow:
@objectdocs/clipnpm objectdocs initto initialize the site engine locallycontent/.objectdocsto.gitignorepnpm dev,pnpm build,pnpm startas usualMonorepo Development
For monorepo development and CI:
pnpm run build:siteto build the site package directlyinitin the monorepo contextTesting
.gitignore.gitignorefiles correctly.gitignoreif it doesn't exist.objectdocs.objectdocsbuild:sitecommandOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.