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.
@@ -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 if enable password reset)
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:
@@ -14,6 +14,8 @@
14
14
  "@nextworks/blocks-core": "*"
15
15
  },
16
16
  "devDependencies": {
17
- "prisma": "^6.16.1"
17
+ "prisma": "^6.16.1",
18
+ "@types/nodemailer": "^7.0.4"
19
+
18
20
  }
19
21
  }
@@ -7,7 +7,7 @@ import { useThemeVariant } from "@/components/enhanced-theme-provider";
7
7
  import {
8
8
  themes,
9
9
  darkThemes,
10
- ThemeVariant,
10
+ type ThemeVariant,
11
11
  type ThemeConfig,
12
12
  } from "@/lib/themes";
13
13
 
@@ -1,3 +1,4 @@
1
+ export type { ThemeConfig, ThemeVariant } from "@nextworks/blocks-core";
1
2
  import { type ThemeConfig, type ThemeVariant } from "@nextworks/blocks-core";
2
3
 
3
4
  export const themes: Record<ThemeVariant, ThemeConfig> = {
@@ -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.3.7",
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.0",
16
- "@nextworks/blocks-sections": "0.1.0-alpha.0",
17
- "@nextworks/blocks-templates": "0.1.0-alpha.0"
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextworks",
3
- "version": "0.1.0-alpha.11",
3
+ "version": "0.1.0-alpha.13",
4
4
  "description": "Nextworks CLI - Feature kits installer for Next.js apps",
5
5
  "main": "dist/index.js",
6
6
  "bin": {