File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -127,11 +127,13 @@ vercel
127127
128128### Vercel Configuration
129129
130- No special configuration is needed . Vercel will automatically:
130+ This project includes a ` vercel.json ` file with Next.js framework detection . Vercel will automatically:
131131- Detect the Next.js framework
132132- Use ` pnpm build ` (via ` objectdocs build ` ) as the build command
133133- Use the ` .next ` directory as the output
134134
135+ For more details on Vercel deployment, see [ VERCEL.md] ( ./VERCEL.md ) .
136+
135137## ✅ Testing Checklist
136138
137139Use this checklist to validate the starter works correctly:
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ This method is closer to how users would install from npm:
4848``` bash
4949cd packages/cli
5050pnpm pack
51- # This creates objectdocs-cli-0.2.11 .tgz
51+ # This creates objectdocs-cli-X.X.X .tgz (where X.X.X is the current version)
5252```
5353
54542 . Create a test directory:
@@ -62,7 +62,7 @@ cd /tmp/test-standalone
6262
6363``` bash
6464pnpm init
65- pnpm add -D ../path/to/objectdocs-cli-0.2.11 .tgz
65+ pnpm add -D ../path/to/objectdocs-cli-X.X.X .tgz
6666```
6767
68684 . Copy the content structure:
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ GREEN='\033[0;32m'
1515YELLOW=' \033[1;33m'
1616NC=' \033[0m' # No Color
1717
18- # Check if we're in the starter directory
19- if [ ! -f " package.json" ] || ! grep -q " objectdocs-starter " package.json; then
20- echo -e " ${RED} Error: This script must be run from the examples/starter directory${NC} "
18+ # Check if we're in an ObjectDocs project directory
19+ if [ ! -f " package.json" ] || ! grep -q " @ objectdocs/cli " package.json; then
20+ echo -e " ${RED} Error: This script must be run from an ObjectDocs project directory${NC} "
2121 exit 1
2222fi
2323
You can’t perform that action at this time.
0 commit comments