1.0.1 โข Published 7 months ago
@mrathod05/use-nextauth-v5 v1.0.1
๐ก๏ธ Next Auth v5 File Integrator CLI
A simple CLI tool to guide you through the file integration setup for next-auth@^5.0.0-beta.25 in your Next.js project.
๐ฆ Installation
You can install the CLI globally or use it directly with npx.
npm install -g @mrathod05/use-nextauth-v5or
npx @mrathod05/use-nextauth-v5๐ Usage
Run the CLI in your project root:
npx @mrathod05/use-nextauth-v5You'll be guided through the process of integrating the required files for next-auth@^5.0.0-beta.25.
Note: This tool does not install the
next-authpackage automatically. It will remind you to install it yourself using your preferred package manager.
๐ ๏ธ What It Does
- Guides you through adding required files for NextAuth v5
- Helps standardize setup for authentication routes, config, and provider files
- Promotes best practices and v5-compatible structure
๐งช Example
$ npx @mrathod05/use-nextauth-v5
Next Auth v5 File Integrator
==========================
๐ Please install NextAuth v5 manually using one of the following commands:
npm:
npm install next-auth@^5.0.0-beta.25
yarn:
yarn add next-auth@^5.0.0-beta.25
pnpm:
pnpm add next-auth@^5.0.0-beta.25
โ ๏ธ Make sure to run this command in your project directory.๐งโ๐ป Developer
Meet Rathod