Skip to content

better-auth in cli #64

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

Merged
merged 3 commits into from
Aug 25, 2025
Merged

better-auth in cli #64

merged 3 commits into from
Aug 25, 2025

Conversation

eluce2
Copy link
Collaborator

@eluce2 eluce2 commented Aug 15, 2025

No description provided.

Copy link

vercel bot commented Aug 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
proofkit-docs Ready Ready Preview Aug 25, 2025 2:17am

Copy link
Collaborator Author

eluce2 commented Aug 15, 2025

@eluce2 eluce2 force-pushed the 08-08-better-auth_in_cli branch from 9c448e6 to adf966d Compare August 15, 2025 01:38
@eluce2 eluce2 force-pushed the 08-08-better-auth_in_cli branch from adf966d to 4cf8e4e Compare August 15, 2025 01:42
@eluce2 eluce2 changed the base branch from main to graphite-base/64 August 16, 2025 13:37
@eluce2 eluce2 force-pushed the 08-08-better-auth_in_cli branch from a173832 to 08db0a5 Compare August 16, 2025 13:37
@eluce2 eluce2 changed the base branch from graphite-base/64 to shadcn August 16, 2025 13:37
This was referenced Aug 16, 2025
@eluce2 eluce2 force-pushed the 08-08-better-auth_in_cli branch from 0b01edf to 180f145 Compare August 16, 2025 18:22
Copy link

pkg-pr-new bot commented Aug 16, 2025

Open in StackBlitz

@proofkit/better-auth

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/better-auth@64

@proofkit/cli

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/cli@64

create-proofkit

pnpm add https://pkg.pr.new/proofgeist/proofkit/create-proofkit@64

@proofkit/fmdapi

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/fmdapi@64

@proofkit/typegen

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/typegen@64

@proofkit/webviewer

pnpm add https://pkg.pr.new/proofgeist/proofkit/@proofkit/webviewer@64

commit: 54a4a7b

Copy link
Collaborator Author

eluce2 commented Aug 25, 2025

Merge activity

  • Aug 25, 2:15 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 25, 2:17 AM UTC: Graphite rebased this pull request as part of a merge.
  • Aug 25, 2:17 AM UTC: @eluce2 merged this pull request with Graphite.

@eluce2 eluce2 changed the base branch from shadcn to graphite-base/64 August 25, 2025 02:15
@eluce2 eluce2 changed the base branch from graphite-base/64 to main August 25, 2025 02:15
eluce2 added 3 commits August 25, 2025 02:16
… CLI commands for improved error handling and project info retrieval
… default settings to include UI type; refactor better-auth template paths and imports for consistency.
@eluce2 eluce2 force-pushed the 08-08-better-auth_in_cli branch from 19a0aae to 54a4a7b Compare August 25, 2025 02:16
@eluce2 eluce2 merged commit 92914b9 into main Aug 25, 2025
4 of 5 checks passed
Copy link

coderabbitai bot commented Aug 25, 2025

Warning

Rate limit exceeded

@eluce2 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 5 minutes and 19 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between a79339f and 54a4a7b.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (150)
  • .gitignore (1 hunks)
  • apps/docs/next.config.ts (1 hunks)
  • apps/docs/package.json (1 hunks)
  • apps/docs/src/app/r/[[...name]]/registry.ts (2 hunks)
  • apps/docs/src/registry/lib/types.ts (0 hunks)
  • apps/docs/src/registry/lib/utils.ts (0 hunks)
  • apps/docs/src/registry/lib/validator.ts (0 hunks)
  • apps/docs/tests/registry-api.test.ts (5 hunks)
  • apps/docs/tests/utils.manifest.test.ts (2 hunks)
  • packages/cli/package.json (5 hunks)
  • packages/cli/src/cli/add/fmschema.ts (1 hunks)
  • packages/cli/src/cli/add/index.ts (5 hunks)
  • packages/cli/src/cli/add/registry/getOptions.ts (1 hunks)
  • packages/cli/src/cli/add/registry/http.ts (1 hunks)
  • packages/cli/src/cli/add/registry/install.ts (1 hunks)
  • packages/cli/src/cli/add/registry/postInstall/index.ts (1 hunks)
  • packages/cli/src/cli/add/registry/postInstall/package-script.ts (1 hunks)
  • packages/cli/src/cli/add/registry/postInstall/wrap-provider.ts (1 hunks)
  • packages/cli/src/cli/add/registry/preflight.ts (1 hunks)
  • packages/cli/src/cli/fmdapi.ts (3 hunks)
  • packages/cli/src/cli/init.ts (1 hunks)
  • packages/cli/src/cli/react-email.ts (1 hunks)
  • packages/cli/src/consts.ts (1 hunks)
  • packages/cli/src/generators/auth.ts (4 hunks)
  • packages/cli/src/generators/fmdapi.ts (1 hunks)
  • packages/cli/src/generators/route.ts (1 hunks)
  • packages/cli/src/globals.d.ts (1 hunks)
  • packages/cli/src/helpers/installDependencies.ts (3 hunks)
  • packages/cli/src/helpers/shadcn-cli.ts (1 hunks)
  • packages/cli/src/helpers/stealth-init.ts (1 hunks)
  • packages/cli/src/installers/better-auth.ts (1 hunks)
  • packages/cli/src/installers/dependencyVersionMap.ts (3 hunks)
  • packages/cli/src/installers/proofkit-auth.ts (3 hunks)
  • packages/cli/src/installers/react-email.ts (2 hunks)
  • packages/cli/src/utils/getProofKitVersion.ts (2 hunks)
  • packages/cli/src/utils/parseSettings.ts (2 hunks)
  • packages/cli/template/extras/config/query-provider-vite.tsx (0 hunks)
  • packages/cli/template/extras/emailProviders/none/email.tsx (2 hunks)
  • packages/cli/template/extras/emailProviders/plunk/email.tsx (2 hunks)
  • packages/cli/template/extras/emailProviders/plunk/service.ts (1 hunks)
  • packages/cli/template/extras/emailProviders/resend/email.tsx (1 hunks)
  • packages/cli/template/extras/emailProviders/resend/service.ts (1 hunks)
  • packages/cli/template/extras/emailTemplates/auth-code.tsx (1 hunks)
  • packages/cli/template/extras/emailTemplates/generic.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/(main)/auth/profile/actions.ts (2 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/(main)/auth/profile/page.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/(main)/auth/profile/profile-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/(main)/auth/profile/reset-password-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/forgot-password/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/forgot-password/forgot-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/forgot-password/page.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/login/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/login/login-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/login/page.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/reset-password/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/reset-password/page.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/reset-password/reset-password-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/reset-password/verify-email/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/reset-password/verify-email/page.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/reset-password/verify-email/verify-email-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/signup/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/signup/page.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/signup/signup-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/verify-email/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/verify-email/email-verification-form.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/verify-email/page.tsx (2 hunks)
  • packages/cli/template/extras/fmaddon-auth/app/auth/verify-email/resend-button.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/components/auth/actions.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/components/auth/protect.tsx (2 hunks)
  • packages/cli/template/extras/fmaddon-auth/components/auth/redirect.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/components/auth/use-user.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/components/auth/user-menu.tsx (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/middleware.ts (0 hunks)
  • packages/cli/template/extras/fmaddon-auth/server/auth/utils/email-verification.ts (6 hunks)
  • packages/cli/template/extras/fmaddon-auth/server/auth/utils/encryption.ts (2 hunks)
  • packages/cli/template/extras/fmaddon-auth/server/auth/utils/password-reset.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/server/auth/utils/redirect.ts (1 hunks)
  • packages/cli/template/extras/fmaddon-auth/server/auth/utils/session.ts (5 hunks)
  • packages/cli/template/extras/fmaddon-auth/server/auth/utils/user.ts (1 hunks)
  • packages/cli/template/extras/src/app/next-auth/signin/page.tsx (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_de.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_es.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_fr.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_it.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_ja.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_ko.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_nl.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_pt.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_sv.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitAuth/info_zh.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_de.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_en.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_es.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_fr.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_it.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_ja.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_ko.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_nl.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_pt.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_sv.json (1 hunks)
  • packages/cli/template/fm-addon/ProofKitWV/info_zh.json (1 hunks)
  • packages/cli/template/nextjs-mantine/src/components/AppShell/internal/HeaderNavLink.tsx (1 hunks)
  • packages/cli/template/nextjs-mantine/src/utils/notification-helpers.ts (1 hunks)
  • packages/cli/template/nextjs-mantine/tsconfig.json (2 hunks)
  • packages/cli/template/nextjs-shadcn/src/components/AppShell/internal/HeaderNavLink.tsx (1 hunks)
  • packages/cli/template/nextjs-shadcn/src/utils/notification-helpers.ts (1 hunks)
  • packages/cli/template/nextjs-shadcn/tsconfig.json (2 hunks)
  • packages/cli/template/pages/nextjs/table-edit/page.tsx (2 hunks)
  • packages/cli/template/pages/nextjs/table-edit/table.tsx (2 hunks)
  • packages/cli/template/pages/nextjs/table-infinite-edit/page.tsx (2 hunks)
  • packages/cli/template/pages/nextjs/table-infinite-edit/query.ts (2 hunks)
  • packages/cli/template/pages/nextjs/table-infinite/query.ts (1 hunks)
  • packages/cli/template/pages/nextjs/table-infinite/table.tsx (2 hunks)
  • packages/cli/template/pages/vite-wv/table-edit/index.tsx (2 hunks)
  • packages/cli/template/pages/vite-wv/table/index.tsx (1 hunks)
  • packages/cli/template/vite-wv/src/main.tsx (1 hunks)
  • packages/cli/template/vite-wv/src/routeTree.gen.ts (1 hunks)
  • packages/cli/tsconfig.eslint.json (1 hunks)
  • packages/cli/tsconfig.json (1 hunks)
  • packages/cli/tsdown.config.ts (1 hunks)
  • packages/cli/tsup.config.ts (0 hunks)
  • packages/registry/lib/index.ts (1 hunks)
  • packages/registry/lib/types.ts (1 hunks)
  • packages/registry/lib/utils.ts (1 hunks)
  • packages/registry/lib/validator.test.ts (1 hunks)
  • packages/registry/lib/validator.ts (1 hunks)
  • packages/registry/package.json (1 hunks)
  • packages/registry/templates/better-auth/AuthUIProvider.tsx (1 hunks)
  • packages/registry/templates/better-auth/_meta.ts (1 hunks)
  • packages/registry/templates/better-auth/auth-api-route.ts (1 hunks)
  • packages/registry/templates/better-auth/auth-client.ts (1 hunks)
  • packages/registry/templates/better-auth/auth-layout.tsx (1 hunks)
  • packages/registry/templates/better-auth/auth.ts (1 hunks)
  • packages/registry/templates/better-auth/main-layout.tsx (1 hunks)
  • packages/registry/templates/better-auth/page.tsx (1 hunks)
  • packages/registry/templates/components/mode-toggle/_meta.ts (1 hunks)
  • packages/registry/templates/email/auth-code/_meta.ts (1 hunks)
  • packages/registry/templates/email/auth-code/auth-code.tsx (1 hunks)
  • packages/registry/templates/email/generic/_meta.ts (1 hunks)
  • packages/registry/templates/email/generic/generic.tsx (1 hunks)
  • packages/registry/templates/react-email/_meta.ts (1 hunks)
  • packages/registry/templates/utils/t3-env/_meta.ts (1 hunks)
  • packages/registry/templates/utils/t3-env/env.ts (1 hunks)
  • packages/registry/tsconfig.json (1 hunks)
  • packages/registry/tsdown.config.ts (1 hunks)
  • packages/registry/vitest.config.ts (1 hunks)
  • packages/typegen/vite.config.ts (1 hunks)
  • tsconfig.json (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 08-08-better-auth_in_cli

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant