@lumerahq/cli 0.9.1 → 0.9.3

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.
@@ -166,7 +166,7 @@ async function dev(options) {
166
166
  console.log(pc.green(" Starting dev server..."));
167
167
  console.log();
168
168
  console.log(pc.cyan(pc.bold(" Open in Lumera (dev mode):")));
169
- console.log(pc.cyan(` https://app.lumerahq.com/custom-apps/${appName}?dev`));
169
+ console.log(pc.cyan(` https://app.lumerahq.com/custom-app/${appName}?dev`));
170
170
  console.log();
171
171
  const safeEnvPrefixes = ["VITE_", "LUMERA_", "NODE_", "npm_"];
172
172
  const safeEnvKeys = ["PATH", "HOME", "USER", "SHELL", "TERM", "LANG", "LC_ALL", "TMPDIR", "TZ"];
@@ -184,7 +184,7 @@ async function dev(options) {
184
184
  });
185
185
  setTimeout(() => {
186
186
  console.log();
187
- console.log(pc.cyan(pc.bold(` \u279C Lumera: https://app.lumerahq.com/custom-apps/${appName}?dev`)));
187
+ console.log(pc.cyan(pc.bold(` \u279C Lumera: https://app.lumerahq.com/custom-app/${appName}?dev`)));
188
188
  }, 2e3);
189
189
  vite.on("close", (code) => {
190
190
  process.exit(code || 0);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  dev
3
- } from "./chunk-AVKPM7C4.js";
3
+ } from "./chunk-CDZZ3JYU.js";
4
4
  import {
5
5
  loadEnv
6
6
  } from "./chunk-2CR762KB.js";
package/dist/index.js CHANGED
@@ -92,33 +92,33 @@ async function main() {
92
92
  switch (command) {
93
93
  // Resource commands
94
94
  case "plan":
95
- await import("./resources-J3B5HNQZ.js").then((m) => m.plan(args.slice(1)));
95
+ await import("./resources-2IHBFKMX.js").then((m) => m.plan(args.slice(1)));
96
96
  break;
97
97
  case "apply":
98
- await import("./resources-J3B5HNQZ.js").then((m) => m.apply(args.slice(1)));
98
+ await import("./resources-2IHBFKMX.js").then((m) => m.apply(args.slice(1)));
99
99
  break;
100
100
  case "pull":
101
- await import("./resources-J3B5HNQZ.js").then((m) => m.pull(args.slice(1)));
101
+ await import("./resources-2IHBFKMX.js").then((m) => m.pull(args.slice(1)));
102
102
  break;
103
103
  case "destroy":
104
- await import("./resources-J3B5HNQZ.js").then((m) => m.destroy(args.slice(1)));
104
+ await import("./resources-2IHBFKMX.js").then((m) => m.destroy(args.slice(1)));
105
105
  break;
106
106
  case "list":
107
- await import("./resources-J3B5HNQZ.js").then((m) => m.list(args.slice(1)));
107
+ await import("./resources-2IHBFKMX.js").then((m) => m.list(args.slice(1)));
108
108
  break;
109
109
  case "show":
110
- await import("./resources-J3B5HNQZ.js").then((m) => m.show(args.slice(1)));
110
+ await import("./resources-2IHBFKMX.js").then((m) => m.show(args.slice(1)));
111
111
  break;
112
112
  // Development
113
113
  case "dev":
114
- await import("./dev-UTZC4ZJ7.js").then((m) => m.dev(args.slice(1)));
114
+ await import("./dev-BHBF4ECH.js").then((m) => m.dev(args.slice(1)));
115
115
  break;
116
116
  case "run":
117
117
  await import("./run-4NDI2CN4.js").then((m) => m.run(args.slice(1)));
118
118
  break;
119
119
  // Project
120
120
  case "init":
121
- await import("./init-WQ4DQWXY.js").then((m) => m.init(args.slice(1)));
121
+ await import("./init-LVO3ZMG7.js").then((m) => m.init(args.slice(1)));
122
122
  break;
123
123
  case "status":
124
124
  await import("./status-E4IHEUKO.js").then((m) => m.status(args.slice(1)));
@@ -48,6 +48,9 @@ function copyDir(src, dest, vars) {
48
48
  if (destName.endsWith(".hbs")) {
49
49
  destName = destName.slice(0, -4);
50
50
  }
51
+ if (destName === "gitignore") {
52
+ destName = ".gitignore";
53
+ }
51
54
  const destPath = join(dest, destName);
52
55
  if (entry.isDirectory()) {
53
56
  copyDir(srcPath, destPath, vars);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deploy
3
- } from "./chunk-AVKPM7C4.js";
3
+ } from "./chunk-CDZZ3JYU.js";
4
4
  import {
5
5
  createApiClient
6
6
  } from "./chunk-V2XXMMEI.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumerahq/cli",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "CLI for building and deploying Lumera apps",
5
5
  "type": "module",
6
6
  "engines": {
@@ -197,7 +197,7 @@ const result = await pbSql<{ id: string; name: string }>({
197
197
  });
198
198
 
199
199
  const items = await pbList<User>('users', {
200
- filter: 'active = true',
200
+ filter: JSON.stringify({ status: "active" }),
201
201
  sort: '-created',
202
202
  perPage: 50,
203
203
  });
@@ -0,0 +1,9 @@
1
+ node_modules
2
+ dist
3
+ .env
4
+ .env.local
5
+ *.local
6
+ __pycache__
7
+ *.pyc
8
+ .venv/
9
+ .lumera/