@lunora/config 1.0.0-alpha.77 → 1.0.0-alpha.79
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/index.mjs +3 -3
- package/dist/packem_shared/{PACKAGE_SECRETS_REGISTRY-BeRSvrl5.mjs → PACKAGE_SECRETS_REGISTRY-NCTSphDk.mjs} +32 -0
- package/dist/packem_shared/{buildPackageSecretsBlock-B-dWb-Sa.mjs → buildPackageSecretsBlock-BxOcyaAY.mjs} +1 -1
- package/dist/packem_shared/{collectWranglerSecretVariables-p4ezBYQ4.mjs → collectWranglerSecretVariables-BRWIvT-e.mjs} +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -10,14 +10,14 @@ export { inferLunoraBindings, packageNamesFromBindings } from './packem_shared/i
|
|
|
10
10
|
export { LINKED_PROJECT_DIR, LINKED_PROJECT_FILE, readLinkedProject, writeLinkedProject } from './packem_shared/LINKED_PROJECT_DIR-CXwXzV_C.mjs';
|
|
11
11
|
export { LUNORA_EVENT_SOURCE, formatLunoraEvent } from './packem_shared/LUNORA_EVENT_SOURCE-M1KM9_pR.mjs';
|
|
12
12
|
export { default as LunoraReporter } from './packem_shared/LunoraReporter-Ci-bDCK9.mjs';
|
|
13
|
-
export { PACKAGE_SECRETS_REGISTRY, secretsForPackages } from './packem_shared/PACKAGE_SECRETS_REGISTRY-
|
|
13
|
+
export { PACKAGE_SECRETS_REGISTRY, secretsForPackages } from './packem_shared/PACKAGE_SECRETS_REGISTRY-NCTSphDk.mjs';
|
|
14
14
|
export { LUNORA_CONFIG_FILE, interpretRemote, readProjectRemotePreference } from './packem_shared/LUNORA_CONFIG_FILE-CtcIcB5-.mjs';
|
|
15
15
|
export { createConfirm, isInteractive, promptMultiSelect, promptSelect, promptText, promptYesNo } from './packem_shared/createConfirm-BMikeJC9.mjs';
|
|
16
16
|
export { reconcileWranglerBindings } from './packem_shared/reconcileWranglerBindings-2Cww5VLa.mjs';
|
|
17
17
|
export { reconcileWranglerCompatibilityDate } from './packem_shared/reconcileWranglerCompatibilityDate-C8c497ag.mjs';
|
|
18
18
|
export { reconcileWranglerCrons } from './packem_shared/reconcileWranglerCrons-DvsceVFz.mjs';
|
|
19
19
|
export { REMOTE_ELIGIBLE_KEYS, injectRemoteFlags, isRemoteEnvEnabled, materializeRemoteWranglerConfig, planRemoteBindings, resolveRemoteEnabled } from './packem_shared/REMOTE_ELIGIBLE_KEYS-C-F_Flgy.mjs';
|
|
20
|
-
export { buildPackageSecretsBlock, ensureDevVariables, ensureDevVarsExample, fillDevSecrets, generateSecretValue, isMintableSecretKey, isPlaceholderValue, planDevSecretsFill, planDevVariablesAugment, planDevVariablesScaffold, requiredSecrets } from './packem_shared/buildPackageSecretsBlock-
|
|
20
|
+
export { buildPackageSecretsBlock, ensureDevVariables, ensureDevVarsExample, fillDevSecrets, generateSecretValue, isMintableSecretKey, isPlaceholderValue, planDevSecretsFill, planDevVariablesAugment, planDevVariablesScaffold, requiredSecrets } from './packem_shared/buildPackageSecretsBlock-BxOcyaAY.mjs';
|
|
21
21
|
export { applyAdditiveEdit, classifyEdit } from './packem_shared/applyAdditiveEdit-C-snTFEV.mjs';
|
|
22
22
|
export { parseSchema } from './packem_shared/parseSchema-DSeyktvG.mjs';
|
|
23
23
|
export { classifyPolicyEdit, scaffoldPolicyFile, wireRlsIntoProcedure } from './packem_shared/classifyPolicyEdit-BHeAqF8P.mjs';
|
|
@@ -26,5 +26,5 @@ export { ACCENT, BADGES, BADGE_COLUMN_WIDTH, LUNA_ART, LUNA_BUNNY, LUNA_NAME, LU
|
|
|
26
26
|
export { WORKERS_CACHE_MIN_DATE, isCacheEnabled } from './packem_shared/WORKERS_CACHE_MIN_DATE-CaXbS7CX.mjs';
|
|
27
27
|
export { discoverWorkflowInfo } from './packem_shared/discoverWorkflowInfo-CedvR0mn.mjs';
|
|
28
28
|
export { WRANGLER_FILES, findWranglerFile, readWranglerJsonc } from './packem_shared/WRANGLER_FILES-DwSuC-Kn.mjs';
|
|
29
|
-
export { collectWranglerSecretVariables, scanWranglerVariablesForSecrets } from './packem_shared/collectWranglerSecretVariables-
|
|
29
|
+
export { collectWranglerSecretVariables, scanWranglerVariablesForSecrets } from './packem_shared/collectWranglerSecretVariables-BRWIvT-e.mjs';
|
|
30
30
|
export { REQUIRED_COMPATIBILITY_DATE, REQUIRED_FLAG, validateWrangler, validateWranglerConfig, validateWranglerProject, withTailConsumer } from './packem_shared/REQUIRED_COMPATIBILITY_DATE-DP0SFVy9.mjs';
|
|
@@ -29,6 +29,38 @@ const PACKAGE_SECRETS_REGISTRY = {
|
|
|
29
29
|
placeholderValue: "<your-resend-api-key>"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
|
+
"@lunora/notify": [
|
|
33
|
+
{
|
|
34
|
+
description: "Public VAPID key (base64url) for Web Push. Generate a keypair once with: npx web-push generate-vapid-keys — the public key is also shipped to the browser to subscribe.",
|
|
35
|
+
docsUrl: "https://lunora.sh/docs/packages/notify#web-push",
|
|
36
|
+
key: "VAPID_PUBLIC_KEY",
|
|
37
|
+
placeholderValue: "<your-vapid-public-key>"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
description: "Private VAPID key (base64url) for Web Push — the application-server signing key. Generate with: npx web-push generate-vapid-keys",
|
|
41
|
+
docsUrl: "https://lunora.sh/docs/packages/notify#web-push",
|
|
42
|
+
key: "VAPID_PRIVATE_KEY",
|
|
43
|
+
placeholderValue: "<your-vapid-private-key>"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
description: "VAPID `sub` contact — a mailto: or https: URL identifying the application server (e.g. mailto:you@example.com).",
|
|
47
|
+
docsUrl: "https://lunora.sh/docs/packages/notify#web-push",
|
|
48
|
+
key: "VAPID_SUBJECT",
|
|
49
|
+
placeholderValue: "mailto:you@example.com"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
description: "Firebase project id for FCM (HTTP v1) push. Found in the Firebase console project settings.",
|
|
53
|
+
docsUrl: "https://lunora.sh/docs/packages/notify#fcm",
|
|
54
|
+
key: "FCM_PROJECT_ID",
|
|
55
|
+
placeholderValue: "<your-firebase-project-id>"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
description: "OAuth2 access token for FCM (HTTP v1). Convenient for dev but expires — in production supply a getAccessToken() in defineNotify instead. Obtain via the Google Cloud SDK / a service account.",
|
|
59
|
+
docsUrl: "https://lunora.sh/docs/packages/notify#fcm",
|
|
60
|
+
key: "FCM_ACCESS_TOKEN",
|
|
61
|
+
placeholderValue: "<your-fcm-access-token>"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
32
64
|
"@lunora/payment": [
|
|
33
65
|
{
|
|
34
66
|
description: "Stripe secret key (sk_test_…). Required when using the Stripe adapter. Obtain at https://dashboard.stripe.com/apikeys",
|
|
@@ -3,7 +3,7 @@ import { existsSync, readFileSync, writeFileSync, renameSync, rmSync, statSync }
|
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { LunoraError } from '@lunora/errors';
|
|
5
5
|
import { DEV_VARS_FILE, DEV_VARS_EXAMPLE_FILE, splitDevVariableLine, parseDevVariableEntries, DEV_VARS_NEWLINE, unquoteDevVariable } from './DEV_VARS_EXAMPLE_FILE-dJPNTEnK.mjs';
|
|
6
|
-
import { CORE_SECRETS, PACKAGE_SECRETS_REGISTRY, secretsForPackages } from './PACKAGE_SECRETS_REGISTRY-
|
|
6
|
+
import { CORE_SECRETS, PACKAGE_SECRETS_REGISTRY, secretsForPackages } from './PACKAGE_SECRETS_REGISTRY-NCTSphDk.mjs';
|
|
7
7
|
|
|
8
8
|
const requiredSecrets = (packageNames) => [...CORE_SECRETS, ...secretsForPackages(packageNames)];
|
|
9
9
|
const SECRET_BYTES = 32;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { relative } from 'node:path';
|
|
2
2
|
import { secretKindOf, redact } from '@lunora/codegen';
|
|
3
|
-
import { isPlaceholderValue } from './buildPackageSecretsBlock-
|
|
3
|
+
import { isPlaceholderValue } from './buildPackageSecretsBlock-BxOcyaAY.mjs';
|
|
4
4
|
import { findWranglerFile, readWranglerJsonc } from './WRANGLER_FILES-DwSuC-Kn.mjs';
|
|
5
5
|
|
|
6
6
|
const MIN_SECRET_NAMED_VALUE_LENGTH = 8;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/config",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.79",
|
|
4
4
|
"description": "Internal shared CLI + Vite config layer for Lunora: wrangler.jsonc validation, binding inference, and .dev.vars scaffolding",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bindings",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@lunora/codegen": "1.0.0-alpha.
|
|
54
|
-
"@lunora/container": "1.0.0-alpha.
|
|
55
|
-
"@lunora/errors": "1.0.0-alpha.
|
|
56
|
-
"@lunora/seed": "1.0.0-alpha.
|
|
53
|
+
"@lunora/codegen": "1.0.0-alpha.53",
|
|
54
|
+
"@lunora/container": "1.0.0-alpha.15",
|
|
55
|
+
"@lunora/errors": "1.0.0-alpha.7",
|
|
56
|
+
"@lunora/seed": "1.0.0-alpha.29",
|
|
57
57
|
"@visulima/colorize": "2.0.0",
|
|
58
58
|
"@visulima/find-ai-runner": "1.0.0",
|
|
59
59
|
"dockerode": "^5.0.1",
|