@lunora/cli 1.0.0-alpha.6 → 1.0.0-alpha.8

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.
@@ -489,7 +489,13 @@ const WRANGLER = `{
489
489
  "observability": { "enabled": true, "head_sampling_rate": 1 },
490
490
  }
491
491
  `;
492
- const GITIGNORE_ADDITIONS = [".wrangler", ".lunora/", ".lunora-cache", "lunora/_generated"];
492
+ const GITIGNORE_ADDITIONS = [".wrangler", ".env", ".env.*", "!.env.example", ".lunora/", ".lunora-cache", "lunora/_generated"];
493
+ const ENV_EXAMPLE = `# Lunora endpoint for the browser client.
494
+ # Vite statically replaces \`import.meta.env.VITE_LUNORA_URL\` at \`vite dev\` / build.
495
+ # Leave it unset to use the page origin; set it to point at a deployed Worker:
496
+ #
497
+ # VITE_LUNORA_URL=https://my-app.example.workers.dev
498
+ `;
493
499
  const COMMON_DEV_DEPENDENCIES = {
494
500
  "@cloudflare/workers-types": "^4.20260611.1",
495
501
  wrangler: "^4.100.0"
@@ -558,6 +564,7 @@ const applyLunoraOverlay = (options) => {
558
564
  writeFile(target, join$1("lunora", "messages.ts"), LUNORA_MESSAGES, written);
559
565
  writeFile(target, join$1("src", "server.ts"), SERVER_ENTRY, written);
560
566
  writeFile(target, "wrangler.jsonc", WRANGLER.replaceAll("__NAME__", name), written);
567
+ writeFile(target, ".env.example", ENV_EXAMPLE, written);
561
568
  for (const file of adapter.files) {
562
569
  writeFile(target, file.path, file.contents, written);
563
570
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/cli",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "The Lunora CLI: init, dev, deploy, codegen, run, reset, and migrate commands",
5
5
  "keywords": [
6
6
  "agent-skills",
@@ -51,11 +51,11 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@bomb.sh/tab": "0.0.17",
55
- "@lunora/codegen": "1.0.0-alpha.2",
56
- "@lunora/config": "1.0.0-alpha.3",
54
+ "@bomb.sh/tab": "0.0.16",
55
+ "@lunora/codegen": "1.0.0-alpha.3",
56
+ "@lunora/config": "1.0.0-alpha.4",
57
57
  "@lunora/container": "1.0.0-alpha.1",
58
- "@lunora/d1": "1.0.0-alpha.3",
58
+ "@lunora/d1": "1.0.0-alpha.4",
59
59
  "@lunora/seed": "1.0.0-alpha.1",
60
60
  "@visulima/cerebro": "3.0.0-alpha.32",
61
61
  "@visulima/fs": "5.0.0-alpha.32",