@vinadesignstore/init
v0.0.7
Published
Interactive initializer for VNDS satellite Next.js apps.
Downloads
20
Readme
@vinadesignstore/init
Interactive initializer for VNDS satellite Next.js apps.
Usage
Initial setup
pnpm dlx @vinadesignstore/initThis will scaffold VNDS auth + optional settings integration into the current Next.js project.
Add routes later
If you forgot to add users, roles, or invites routes during initial setup:
pnpm dlx @vinadesignstore/init addThis will prompt you to select which route bundles to add to an existing project.
Requirements
- Node.js >= 18
- pnpm
- A Next.js App Router project
- GitHub PAT with
read:packagesscope (for installing private@vinadesignstore/*packages)
What it does
- Prompts for configuration options (auth base URL, settings integration, route bundles)
- Scaffolds auth proxy routes and optional UI pages (login/register/account)
- Creates
.npmrcfor GitHub Packages authentication (private@vinadesignstore/authand@vinadesignstore/settings) - Optionally installs dependencies via
pnpm add
Notes
- This package is published to public npm for easy access.
- Private packages (
@vinadesignstore/auth,@vinadesignstore/settings) require GitHub Packages authentication. - Auth and settings routes are scaffolded under
app/(auth)/...(route group; URLs stay the same). - Verify-email and password setup flows live in the central VNDS Auth app.
