nextworks 0.1.0-alpha.11 → 0.1.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kits/auth-core/.nextworks/docs/AUTH_CORE_README.md +1 -1
- package/dist/kits/auth-core/.nextworks/docs/AUTH_QUICKSTART.md +2 -2
- package/dist/kits/auth-core/package-deps.json +3 -1
- package/dist/kits/blocks/components/ui/theme-selector.tsx +1 -1
- package/dist/kits/blocks/lib/themes.ts +1 -0
- package/dist/kits/blocks/package-deps.json +4 -4
- package/package.json +1 -1
|
@@ -109,7 +109,7 @@ Post-install steps (recommended)
|
|
|
109
109
|
Notes & security
|
|
110
110
|
|
|
111
111
|
- Password reset is intentionally opt-in. Do not enable NEXTWORKS_ENABLE_PASSWORD_RESET in production unless you have configured a real mail provider and replaced the in-memory rate limiter.
|
|
112
|
-
- NEXTWORKS_USE_DEV_EMAIL=1 uses Ethereal (nodemailer) and prints a preview URL to server logs for development testing.
|
|
112
|
+
- NEXTWORKS_USE_DEV_EMAIL=1 uses Ethereal (nodemailer) and prints a preview URL to server logs for development testing. **This is intended for `next dev` only**. In production (`next start` / `NODE_ENV=production`), password reset requires a real mail provider (SMTP); otherwise `/api/auth/forgot-password` returns **404 by design**.
|
|
113
113
|
- Email verification on signup is **not yet implemented**. Stub endpoints and UI are in place at `/api/auth/send-verify-email` and `/auth/verify-email`. The Prisma `VerificationToken` model is already included so a future implementation can be added as a non-breaking enhancement.
|
|
114
114
|
|
|
115
115
|
CLI behavior (for maintainers)
|
|
@@ -30,8 +30,8 @@ Optional / password reset / email provider vars:
|
|
|
30
30
|
- GITHUB_ID — (optional) GitHub OAuth client id
|
|
31
31
|
- GITHUB_SECRET — (optional) GitHub OAuth client secret
|
|
32
32
|
- NEXTWORKS_ENABLE_PASSWORD_RESET — set to `1` to enable the dev password reset scaffold (default: disabled)
|
|
33
|
-
- NEXTWORKS_USE_DEV_EMAIL — set to `1` to enable Ethereal dev email transport (for local testing only)
|
|
34
|
-
- SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, NOREPLY_EMAIL — when using a real SMTP provider (required in production
|
|
33
|
+
- NEXTWORKS_USE_DEV_EMAIL — set to `1` to enable Ethereal dev email transport (for local testing only). **Works in `next dev` only.**
|
|
34
|
+
- SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, NOREPLY_EMAIL — when using a real SMTP provider (**required in production** when password reset is enabled). If not configured, `/api/auth/forgot-password` returns **404 by design**.
|
|
35
35
|
- NODE_ENV — (production/dev) used to guard password-reset behavior
|
|
36
36
|
|
|
37
37
|
Notes:
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
9
9
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
10
10
|
"tailwind-merge": "^3.3.1",
|
|
11
|
-
"tw-animate-css": "^1.
|
|
11
|
+
"tw-animate-css": "^1.4.0",
|
|
12
12
|
"next-themes": "^0.4.6",
|
|
13
13
|
"motion": "^12.23.12",
|
|
14
14
|
"sonner": "^2.0.7",
|
|
15
|
-
"@nextworks/blocks-core": "0.1.0-alpha.
|
|
16
|
-
"@nextworks/blocks-sections": "0.1.0-alpha.
|
|
17
|
-
"@nextworks/blocks-templates": "0.1.0-alpha.
|
|
15
|
+
"@nextworks/blocks-core": "0.1.0-alpha.13",
|
|
16
|
+
"@nextworks/blocks-sections": "0.1.0-alpha.13",
|
|
17
|
+
"@nextworks/blocks-templates": "0.1.0-alpha.13"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"tailwindcss": "^4.1.12"
|