-
Notifications
You must be signed in to change notification settings - Fork 642
docs: add Node.js and pnpm setup tip #8642
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Alex <[email protected]>
|
WalkthroughREADME.md receives a new quick-start tip recommending Node.js v18+ and pnpm for local development, inserted twice within the Quick Start section. No functional code changes are present. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@README.md`:
- Line 45: Update the README tip to match package.json's engine requirement by
changing the Node.js version from "v18+" to "v20+"; locate the sentence "Tip:
Make sure you are using Node.js v18+ and have `pnpm` installed..." in README.md
and replace "v18+" with "v20+" so the documentation aligns with the "node":
">=20" entry in package.json.
| Visit the [developer portal](https://portal.thirdweb.com) for full documentation. | ||
|
|
||
| ### 🚀 Quick Start | ||
| > Tip: Make sure you are using Node.js v18+ and have `pnpm` installed for a smoother local development experience. |
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.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Search for Node version constraints in repo config files
echo "=== Searching for Node version constraints ==="
rg -n 'engines|node-version|NODE_VERSION' . --type json --type yaml --type yml 2>/dev/null || true
echo ""
echo "=== Looking for .nvmrc and similar version files ==="
fd -e nvmrc -e npmrc -e node-version 2>/dev/null || true
echo ""
echo "=== Checking package.json for engines field ==="
if [ -f "package.json" ]; then
cat -n package.json | grep -A5 -B5 'engines' || echo "No engines field found"
fi
echo ""
echo "=== Checking for volta configuration ==="
if [ -f "package.json" ]; then
cat -n package.json | grep -A5 -B5 'volta' || echo "No volta config found"
fi
echo ""
echo "=== Looking for CI config files ==="
fd -e yml -e yaml -path '*/.github/*' -o -path '*/.gitlab-ci*' -o -path '*/azure-pipelines*' 2>/dev/null | head -10 || trueRepository: thirdweb-dev/js
Length of output: 607
Update Node.js version requirement from v18+ to v20+.
The README states "Node.js v18+" but package.json specifies "node": ">=20". Update the tip to reflect the actual minimum requirement.
🤖 Prompt for AI Agents
In `@README.md` at line 45, Update the README tip to match package.json's engine
requirement by changing the Node.js version from "v18+" to "v20+"; locate the
sentence "Tip: Make sure you are using Node.js v18+ and have `pnpm`
installed..." in README.md and replace "v18+" with "v20+" so the documentation
aligns with the "node": ">=20" entry in package.json.
|
@Alex000115 is attempting to deploy a commit to the thirdweb Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for the feedback! I’m happy to update this PR to follow the project’s guidelines. I’ll make the necessary updates right away. 🙏 |
PR-Codex overview
This PR adds a tip in the
README.mdto ensure users are using Node.js v18+ and havepnpminstalled for better local development.Detailed summary
Quick Startsection ofREADME.mdadvising users to use Node.js v18+ and havepnpminstalled for smoother local development experience.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.