create-kelpie 0.12.0 → 0.14.0
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/package.json
CHANGED
package/templates/README.md
CHANGED
|
@@ -82,8 +82,8 @@ egress, module-locking, and per-account login-limit settings — is
|
|
|
82
82
|
| `SMTP_HOST` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. The mail server to connect to |
|
|
83
83
|
| `SMTP_PORT` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. The mail server's port |
|
|
84
84
|
| `SMTP_SECURE` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. `true` or `false`. Whether to connect over TLS from the start (typically port 465) rather than upgrading with STARTTLS (typically port 587 or 25) |
|
|
85
|
-
| `SMTP_USER` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. The SMTP username |
|
|
86
|
-
| `SMTP_PASSWORD` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. The SMTP password |
|
|
85
|
+
| `SMTP_USER` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. Optional. The SMTP username. Omit both `SMTP_USER` and `SMTP_PASSWORD` to connect without SMTP AUTH — for local catch-alls (maildev, MailHog, smtp4dev) that do not require it. Setting only one of the pair fails at boot |
|
|
86
|
+
| `SMTP_PASSWORD` | Read by the built-in `smtp-email` module when `EMAIL_PROVIDER=smtp`. Optional. The SMTP password. Paired with `SMTP_USER`; see the note there |
|
|
87
87
|
| `SECRET_ENCRYPTION_KEY` | 32 bytes of base64, generated for this project |
|
|
88
88
|
| `SECRET_ENCRYPTION_KEY_PREVIOUS` | Optional. Set only while rotating the key above |
|
|
89
89
|
| `WEBHOOK_DELIVERY_RETENTION_DAYS` | Optional, default 30 |
|
|
@@ -63,6 +63,12 @@ export default defineKelpieConfig({
|
|
|
63
63
|
siteName: fromEnv<string | undefined>('KELPIE_SITE_NAME', z.string().min(1).optional(), undefined),
|
|
64
64
|
trustedProxyHopCount: fromEnv('TRUSTED_PROXY_HOP_COUNT', nonNegativeInt, 0),
|
|
65
65
|
|
|
66
|
+
// `closed` refuses a brand-new account, through either `POST
|
|
67
|
+
// /v1/auth/signup` or external-sign-in provisioning. Joining an existing
|
|
68
|
+
// workspace via invite, and workspace creation by an already-verified
|
|
69
|
+
// account, are unaffected either way.
|
|
70
|
+
signups: fromEnv('SIGNUPS', z.enum(['open', 'closed']), 'open'),
|
|
71
|
+
|
|
66
72
|
// The deployment's base URL. Every emailed link (invite, password reset,
|
|
67
73
|
// email verification) is built from it.
|
|
68
74
|
appBaseUrl: fromEnv('APP_BASE_URL', appUrlConfigSchema.shape.APP_BASE_URL),
|