@lunora/config 1.0.0-alpha.12 → 1.0.0-alpha.120

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.
Files changed (91) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +2 -2
  3. package/__assets__/package-og.svg +1 -1
  4. package/dist/cloudflare/index.d.mts +790 -0
  5. package/dist/cloudflare/index.d.ts +790 -0
  6. package/dist/cloudflare/index.mjs +1 -0
  7. package/dist/index.d.mts +714 -851
  8. package/dist/index.d.ts +714 -851
  9. package/dist/index.mjs +1 -22
  10. package/dist/packem_shared/ACCENT-CLeV5v0K.mjs +7 -0
  11. package/dist/packem_shared/AGENT_MODE_ENV-B54hVQ_w.mjs +1 -0
  12. package/dist/packem_shared/AGENT_RULES_DIR-hP9TiDNx.mjs +1 -0
  13. package/dist/packem_shared/ALLOW_FORWARDED_ENV-DGdbCDre.mjs +1 -0
  14. package/dist/packem_shared/BINDING_MANIFEST_VERSION-BNab7wQ-.mjs +1 -0
  15. package/dist/packem_shared/CLOUDFLARE_DRIVER-4eMO4O3x.mjs +1 -0
  16. package/dist/packem_shared/DEFAULT_DEPLOY_TARGET-DftkW2Zb.mjs +1 -0
  17. package/dist/packem_shared/DEV_DAEMON_ENV-D9Z83rlU.mjs +4 -0
  18. package/dist/packem_shared/DEV_VARS_EXAMPLE_FILE-BL0hrPx3.mjs +6 -0
  19. package/dist/packem_shared/LINKED_PROJECT_DIR-CMzUvj-1.mjs +2 -0
  20. package/dist/packem_shared/LUNORA_CONFIG_FILE-BrZLPIqF.mjs +1 -0
  21. package/dist/packem_shared/LUNORA_EVENT_SOURCE-ZclWASXS.mjs +1 -0
  22. package/dist/packem_shared/LUNORA_IGNORED_PATHS-DIdyP0js.mjs +19 -0
  23. package/dist/packem_shared/LunoraReporter-BnXUqh8t.mjs +6 -0
  24. package/dist/packem_shared/PACKAGE_SECRETS_REGISTRY-BgmvEPA-.mjs +1 -0
  25. package/dist/packem_shared/POLICY_SCAFFOLD_ENDPOINT-CUYWD0Mh.mjs +1 -0
  26. package/dist/packem_shared/REMOTE_ELIGIBLE_KEYS-ws6iE0y-.mjs +1 -0
  27. package/dist/packem_shared/REQUIRED_COMPATIBILITY_DATE-BwmyesjD.mjs +1 -0
  28. package/dist/packem_shared/SCHEMA_EDIT_ENDPOINT-BNB1ogaj.mjs +1 -0
  29. package/dist/packem_shared/SEED_ENDPOINT-BaYShU8q.mjs +1 -0
  30. package/dist/packem_shared/WORKERS_CACHE_MIN_DATE-B1h_wNDN.mjs +1 -0
  31. package/dist/packem_shared/WRANGLER_FILES-Bi_18Pj6.mjs +1 -0
  32. package/dist/packem_shared/applyAdditiveEdit-Cff30cSa.mjs +6 -0
  33. package/dist/packem_shared/assetContentType-DNZyUOuF.mjs +1 -0
  34. package/dist/packem_shared/buildPackageSecretsBlock-DlAPMSwt.mjs +18 -0
  35. package/dist/packem_shared/classifyPolicyEdit-BzC_MfYK.mjs +24 -0
  36. package/dist/packem_shared/collectExportGaps-B7gjEClt.mjs +1 -0
  37. package/dist/packem_shared/collectWranglerSecretVariables-jPUxMC9j.mjs +1 -0
  38. package/dist/packem_shared/createConfirm-7IL0kZyE.mjs +7 -0
  39. package/dist/packem_shared/detectFramework-VTQfCNXy.mjs +1 -0
  40. package/dist/packem_shared/discoverAgentInfo-BJm0QtoI.mjs +1 -0
  41. package/dist/packem_shared/discoverContainerInfo-CYG9j2LY.mjs +1 -0
  42. package/dist/packem_shared/discoverSchemaInfo-C8X9mo-i.mjs +1 -0
  43. package/dist/packem_shared/discoverWorkflowInfo-Bbc0u2gE.mjs +1 -0
  44. package/dist/packem_shared/inferLunoraBindings-tf2nExl_.mjs +1 -0
  45. package/dist/packem_shared/jsonc-edit-BZVpxVA0.mjs +1 -0
  46. package/dist/packem_shared/parseDevVariable-B193_28t.mjs +1 -0
  47. package/dist/packem_shared/parseSchema-BQjgz6bk.mjs +1 -0
  48. package/dist/packem_shared/{policy-scaffold.d-DCmwn7zQ.d.mts → policy-scaffold.d-fV3db0S_.d.mts} +23 -23
  49. package/dist/packem_shared/{policy-scaffold.d-DCmwn7zQ.d.ts → policy-scaffold.d-fV3db0S_.d.ts} +23 -23
  50. package/dist/packem_shared/reconcileWranglerCompatibilityDate-BXNiEQ7p.mjs +1 -0
  51. package/dist/packem_shared/reconcileWranglerCrons-BmQa_kGL.mjs +1 -0
  52. package/dist/packem_shared/renderStudioHtml-B2AkxcW1.mjs +15 -0
  53. package/dist/packem_shared/schema-info.d-DS0bUsWE.d.mts +375 -0
  54. package/dist/packem_shared/schema-info.d-DS0bUsWE.d.ts +375 -0
  55. package/dist/packem_shared/serveJsonHandler-DQ-Yqa4J.mjs +1 -0
  56. package/dist/packem_shared/streamContainerLogs-BPYBNrWS.mjs +2 -0
  57. package/dist/packem_shared/wranglerToAlchemy-Fh5KfTPB.mjs +6 -0
  58. package/dist/packem_shared/write-atomic-Cdr2oQb-.mjs +1 -0
  59. package/dist/studio-host/index.d.mts +166 -92
  60. package/dist/studio-host/index.d.ts +166 -92
  61. package/dist/studio-host/index.mjs +1 -7
  62. package/package.json +15 -8
  63. package/dist/packem_shared/ACCENT-DW1XJn8i.mjs +0 -40
  64. package/dist/packem_shared/AGENT_RULES_DIR-lcgC08aE.mjs +0 -40
  65. package/dist/packem_shared/DEV_VARS_EXAMPLE_FILE-dJPNTEnK.mjs +0 -37
  66. package/dist/packem_shared/LINKED_PROJECT_DIR-CXwXzV_C.mjs +0 -52
  67. package/dist/packem_shared/LUNORA_CONFIG_FILE-CtcIcB5-.mjs +0 -34
  68. package/dist/packem_shared/LUNORA_EVENT_SOURCE-D2fDeGB6.mjs +0 -86
  69. package/dist/packem_shared/LunoraReporter-Ci-bDCK9.mjs +0 -70
  70. package/dist/packem_shared/PACKAGE_SECRETS_REGISTRY-B8t_SdoZ.mjs +0 -70
  71. package/dist/packem_shared/POLICY_SCAFFOLD_ENDPOINT-CiC2IGKx.mjs +0 -103
  72. package/dist/packem_shared/REMOTE_ELIGIBLE_KEYS-BC7_e9Bz.mjs +0 -105
  73. package/dist/packem_shared/REQUIRED_COMPATIBILITY_DATE-DRSNSOOp.mjs +0 -476
  74. package/dist/packem_shared/SCHEMA_EDIT_ENDPOINT-Df-Wrix-.mjs +0 -99
  75. package/dist/packem_shared/SEED_ENDPOINT-DVCjaGO-.mjs +0 -61
  76. package/dist/packem_shared/WRANGLER_FILES-DwSuC-Kn.mjs +0 -25
  77. package/dist/packem_shared/applyAdditiveEdit-C-snTFEV.mjs +0 -228
  78. package/dist/packem_shared/buildPackageSecretsBlock-nbqOA644.mjs +0 -238
  79. package/dist/packem_shared/classifyPolicyEdit-BHeAqF8P.mjs +0 -99
  80. package/dist/packem_shared/createConfirm-fvpdgJ9s.mjs +0 -100
  81. package/dist/packem_shared/detectFramework-Br-BcPBq.mjs +0 -41
  82. package/dist/packem_shared/discoverContainerInfo-BXFs6Wav.mjs +0 -19
  83. package/dist/packem_shared/discoverSchemaInfo-BB-CKlTK.mjs +0 -25
  84. package/dist/packem_shared/discoverWorkflowInfo-CedvR0mn.mjs +0 -19
  85. package/dist/packem_shared/inferLunoraBindings-DIku9mTN.mjs +0 -302
  86. package/dist/packem_shared/loadStudioAssets-Csk5RS4E.mjs +0 -28
  87. package/dist/packem_shared/parseDevVariable-CJiq2IwE.mjs +0 -30
  88. package/dist/packem_shared/parseSchema-DSeyktvG.mjs +0 -107
  89. package/dist/packem_shared/reconcileWranglerBindings-DTHmqTbL.mjs +0 -277
  90. package/dist/packem_shared/renderStudioHtml-449Ysn75.mjs +0 -37
  91. package/dist/packem_shared/serveJsonHandler-B4OLTGLS.mjs +0 -86
package/LICENSE.md CHANGED
@@ -103,3 +103,9 @@ Unless required by applicable law or agreed to in writing, software distributed
103
103
  under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
104
104
  CONDITIONS OF ANY KIND, either express or implied. See the License for the
105
105
  specific language governing permissions and limitations under the License.
106
+
107
+ <!-- DEPENDENCIES -->
108
+ <!-- /DEPENDENCIES -->
109
+
110
+ <!-- TYPE_DEPENDENCIES -->
111
+ <!-- /TYPE_DEPENDENCIES -->
package/README.md CHANGED
@@ -57,7 +57,7 @@ pnpm add @lunora/config
57
57
  Validate a project's `wrangler.jsonc` from disk. `validateWranglerProject` finds the config file, parses the JSONC, discovers the schema (to know whether a `DB` D1 binding or Vectorize bindings are required), and returns a structured report:
58
58
 
59
59
  ```ts
60
- import { validateWranglerProject } from "@lunora/config";
60
+ import { validateWranglerProject } from "@lunora/config/cloudflare";
61
61
 
62
62
  const { report, wranglerPath } = validateWranglerProject({ projectRoot: process.cwd() });
63
63
 
@@ -70,7 +70,7 @@ for (const warning of report.warnings) console.warn(warning);
70
70
  If you already hold a parsed config object, `validateWranglerConfig` (aliased as `validateWrangler`) is the pure, I/O-free form. Pass the discovered `SchemaInfo` so it knows which bindings the schema demands:
71
71
 
72
72
  ```ts
73
- import { validateWranglerConfig } from "@lunora/config";
73
+ import { validateWranglerConfig } from "@lunora/config/cloudflare";
74
74
 
75
75
  const report = validateWranglerConfig(wrangler, { hasGlobalTable: true });
76
76
  // report: { valid: boolean; errors: string[]; warnings: string[] }