docs: add auth login script and fix local README setup#809
docs: add auth login script and fix local README setup#809pavan-sh wants to merge 5 commits intoTanStack:mainfrom
Conversation
👷 Deploy request for tanstack pending review.Visit the deploys page to approve it
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughA new npm script entry Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Around line 10-12: The package.json contains a duplicate "with-env" script
key; remove the unintended entry that runs "dotenv -e ../../.env" so only the
intended "with-env": "dotenv -e .env.local" remains. Locate the duplicate
"with-env" script in package.json and delete the line that references
"../../.env" (leave the "dotenv -e .env.local" entry), then run a quick
lint/format check to ensure no duplicate keys remain.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 7b31e2a3-1933-430c-a128-2946d91d66ed
📒 Files selected for processing (2)
README.mdpackage.json
✅ Files skipped from review due to trivial changes (1)
- README.md
Removed setup instructions for running the app locally.
Updated the 'with-env' script to use '.env.local' instead of '../../.env'.
Summary
Fix the local auth/setup instructions for contributors.
auth:loginscript topackage.jsonhttps://localhost:3000tohttp://localhost:3000Why
The README pointed contributors to
pnpm auth:login, but that script did not exist inpackage.json, which made the documented command fail. The localhost protocol in the README was also inconsistent with the dev server setup.Summary by CodeRabbit
auth:loginnpm script command for authentication login operations.