@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.
- package/dist/{chunk-AVKPM7C4.js → chunk-CDZZ3JYU.js} +2 -2
- package/dist/{dev-UTZC4ZJ7.js → dev-BHBF4ECH.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/{init-WQ4DQWXY.js → init-LVO3ZMG7.js} +3 -0
- package/dist/{resources-J3B5HNQZ.js → resources-2IHBFKMX.js} +1 -1
- package/package.json +1 -1
- package/templates/default/CLAUDE.md +1 -1
- package/templates/default/gitignore +9 -0
|
@@ -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-
|
|
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-
|
|
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);
|
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-
|
|
95
|
+
await import("./resources-2IHBFKMX.js").then((m) => m.plan(args.slice(1)));
|
|
96
96
|
break;
|
|
97
97
|
case "apply":
|
|
98
|
-
await import("./resources-
|
|
98
|
+
await import("./resources-2IHBFKMX.js").then((m) => m.apply(args.slice(1)));
|
|
99
99
|
break;
|
|
100
100
|
case "pull":
|
|
101
|
-
await import("./resources-
|
|
101
|
+
await import("./resources-2IHBFKMX.js").then((m) => m.pull(args.slice(1)));
|
|
102
102
|
break;
|
|
103
103
|
case "destroy":
|
|
104
|
-
await import("./resources-
|
|
104
|
+
await import("./resources-2IHBFKMX.js").then((m) => m.destroy(args.slice(1)));
|
|
105
105
|
break;
|
|
106
106
|
case "list":
|
|
107
|
-
await import("./resources-
|
|
107
|
+
await import("./resources-2IHBFKMX.js").then((m) => m.list(args.slice(1)));
|
|
108
108
|
break;
|
|
109
109
|
case "show":
|
|
110
|
-
await import("./resources-
|
|
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-
|
|
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-
|
|
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);
|
package/package.json
CHANGED