@alumbwe/anvil 1.0.10 → 1.0.12
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/README.md +4 -3
- package/dist/bundled.js +9 -9
- package/dist/bundled.js.map +2 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -14,9 +14,10 @@ anvil
|
|
|
14
14
|
Anvil runs its bundled application with [Bun](https://bun.sh). Install Bun
|
|
15
15
|
before running the command.
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
Publishing loads `.env` / `.env.local` and embeds every `NEXT_PUBLIC_*` value
|
|
18
|
+
into the npm bundle. These are client-safe settings such as the application
|
|
19
|
+
URL, telemetry endpoint, and public Stripe key. API keys, tokens, and every
|
|
20
|
+
other private environment value stay out of the public package.
|
|
20
21
|
|
|
21
22
|
## Development
|
|
22
23
|
|
package/dist/bundled.js
CHANGED
|
@@ -394,17 +394,17 @@ var init_env_schema = __esm(() => {
|
|
|
394
394
|
});
|
|
395
395
|
clientEnvVars = clientEnvSchema.keyof().options;
|
|
396
396
|
clientProcessEnv = {
|
|
397
|
-
NEXT_PUBLIC_CB_ENVIRONMENT:
|
|
398
|
-
NEXT_PUBLIC_ANVIL_APP_URL:
|
|
397
|
+
NEXT_PUBLIC_CB_ENVIRONMENT: "dev",
|
|
398
|
+
NEXT_PUBLIC_ANVIL_APP_URL: "https://codebuff.com",
|
|
399
399
|
NEXT_PUBLIC_FREEBUFF_APP_URL: process.env.NEXT_PUBLIC_FREEBUFF_APP_URL,
|
|
400
|
-
NEXT_PUBLIC_SUPPORT_EMAIL:
|
|
401
|
-
NEXT_PUBLIC_POSTHOG_API_KEY:
|
|
402
|
-
NEXT_PUBLIC_POSTHOG_HOST_URL:
|
|
400
|
+
NEXT_PUBLIC_SUPPORT_EMAIL: "support@codebuff.com",
|
|
401
|
+
NEXT_PUBLIC_POSTHOG_API_KEY: "phc_placeholder",
|
|
402
|
+
NEXT_PUBLIC_POSTHOG_HOST_URL: "https://posthog.codebuff.test",
|
|
403
403
|
NEXT_PUBLIC_GRAVITY_PIXEL_ID: process.env.NEXT_PUBLIC_GRAVITY_PIXEL_ID,
|
|
404
|
-
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY:
|
|
405
|
-
NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL:
|
|
404
|
+
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: "pk_test_placeholder",
|
|
405
|
+
NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL: "https://stripe.codebuff.test",
|
|
406
406
|
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION_ID: process.env.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION_ID,
|
|
407
|
-
NEXT_PUBLIC_WEB_PORT:
|
|
407
|
+
NEXT_PUBLIC_WEB_PORT: "3000",
|
|
408
408
|
NEXT_PUBLIC_TURNSTILE_SITE_KEY: process.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY,
|
|
409
409
|
NEXT_PUBLIC_RECAPTCHA_V2_SITE_KEY: process.env.NEXT_PUBLIC_RECAPTCHA_V2_SITE_KEY,
|
|
410
410
|
NEXT_PUBLIC_RECAPTCHA_V3_SITE_KEY: process.env.NEXT_PUBLIC_RECAPTCHA_V3_SITE_KEY,
|
|
@@ -123435,5 +123435,5 @@ if (isTerminalCommandBrokerInvocation(process.argv)) {
|
|
|
123435
123435
|
await Promise.resolve().then(() => (init_src2(), exports_src));
|
|
123436
123436
|
}
|
|
123437
123437
|
|
|
123438
|
-
//# debugId=
|
|
123438
|
+
//# debugId=75AFC7A15FF84A1464756E2164756E21
|
|
123439
123439
|
//# sourceMappingURL=bundled.js.map
|