@voltx/cli 0.1.1 → 0.2.0
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-H2SJO7GX.mjs +102 -0
- package/dist/chunk-YID3JCVU.mjs +131 -0
- package/dist/cli.js +36 -4
- package/dist/create.js +36 -4
- package/dist/create.mjs +1 -1
- package/dist/index.js +36 -4
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__require,
|
|
3
|
+
printWelcomeBanner
|
|
4
|
+
} from "./chunk-RH5Q7I3S.mjs";
|
|
5
|
+
|
|
6
|
+
// src/create.ts
|
|
7
|
+
import * as fs from "fs";
|
|
8
|
+
import * as path from "path";
|
|
9
|
+
async function createProject(options) {
|
|
10
|
+
const { name, template = "blank" } = options;
|
|
11
|
+
const targetDir = path.resolve(process.cwd(), name);
|
|
12
|
+
if (fs.existsSync(targetDir)) {
|
|
13
|
+
console.error(`[voltx] Directory "${name}" already exists.`);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
16
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
17
|
+
const templateDeps = {
|
|
18
|
+
blank: { "@voltx/core": "^0.1.0" },
|
|
19
|
+
chatbot: {
|
|
20
|
+
"@voltx/core": "^0.1.0",
|
|
21
|
+
"@voltx/agents": "^0.1.0",
|
|
22
|
+
"@voltx/memory": "^0.1.0",
|
|
23
|
+
"@voltx/auth": "^0.1.0",
|
|
24
|
+
"@voltx/ui": "^0.1.0"
|
|
25
|
+
},
|
|
26
|
+
"rag-app": {
|
|
27
|
+
"@voltx/core": "^0.1.0",
|
|
28
|
+
"@voltx/rag": "^0.1.0",
|
|
29
|
+
"@voltx/db": "^0.1.0",
|
|
30
|
+
"@voltx/auth": "^0.1.0",
|
|
31
|
+
"@voltx/ui": "^0.1.0"
|
|
32
|
+
},
|
|
33
|
+
"agent-app": {
|
|
34
|
+
"@voltx/core": "^0.1.0",
|
|
35
|
+
"@voltx/agents": "^0.1.0",
|
|
36
|
+
"@voltx/memory": "^0.1.0",
|
|
37
|
+
"@voltx/rag": "^0.1.0",
|
|
38
|
+
"@voltx/db": "^0.1.0",
|
|
39
|
+
"@voltx/auth": "^0.1.0",
|
|
40
|
+
"@voltx/ui": "^0.1.0"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const packageJson = {
|
|
44
|
+
name,
|
|
45
|
+
version: "0.1.0",
|
|
46
|
+
private: true,
|
|
47
|
+
scripts: {
|
|
48
|
+
dev: "voltx dev",
|
|
49
|
+
build: "voltx build",
|
|
50
|
+
start: "voltx start"
|
|
51
|
+
},
|
|
52
|
+
dependencies: templateDeps[template] ?? templateDeps["blank"]
|
|
53
|
+
};
|
|
54
|
+
fs.writeFileSync(
|
|
55
|
+
path.join(targetDir, "package.json"),
|
|
56
|
+
JSON.stringify(packageJson, null, 2)
|
|
57
|
+
);
|
|
58
|
+
const configContent = `import { defineConfig } from "@voltx/core";
|
|
59
|
+
|
|
60
|
+
export default defineConfig({
|
|
61
|
+
name: "${name}",
|
|
62
|
+
port: 3000,
|
|
63
|
+
ai: {
|
|
64
|
+
provider: "openai",
|
|
65
|
+
model: "gpt-4o",
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
`;
|
|
69
|
+
fs.writeFileSync(path.join(targetDir, "voltx.config.ts"), configContent);
|
|
70
|
+
fs.mkdirSync(path.join(targetDir, "src", "routes"), { recursive: true });
|
|
71
|
+
fs.mkdirSync(path.join(targetDir, "src", "agents"), { recursive: true });
|
|
72
|
+
const indexContent = `import { createApp } from "@voltx/core";
|
|
73
|
+
import config from "../voltx.config";
|
|
74
|
+
|
|
75
|
+
const app = createApp(config);
|
|
76
|
+
app.start();
|
|
77
|
+
`;
|
|
78
|
+
fs.writeFileSync(path.join(targetDir, "src", "index.ts"), indexContent);
|
|
79
|
+
fs.writeFileSync(
|
|
80
|
+
path.join(targetDir, ".env.example"),
|
|
81
|
+
"OPENAI_API_KEY=your-key-here\nDATABASE_URL=\n"
|
|
82
|
+
);
|
|
83
|
+
printWelcomeBanner(name);
|
|
84
|
+
}
|
|
85
|
+
var isDirectRun = typeof __require !== "undefined" && __require.main === module && process.argv[1]?.includes("create");
|
|
86
|
+
if (isDirectRun) {
|
|
87
|
+
const projectName = process.argv[2];
|
|
88
|
+
if (!projectName) {
|
|
89
|
+
console.log("Usage: create-voltx-app <project-name> [--template chatbot]");
|
|
90
|
+
process.exit(1);
|
|
91
|
+
}
|
|
92
|
+
const templateFlag = process.argv.indexOf("--template");
|
|
93
|
+
const template = templateFlag !== -1 ? process.argv[templateFlag + 1] : "blank";
|
|
94
|
+
createProject({ name: projectName, template }).catch((err) => {
|
|
95
|
+
console.error("[voltx] Error:", err);
|
|
96
|
+
process.exit(1);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export {
|
|
101
|
+
createProject
|
|
102
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__require,
|
|
3
|
+
printWelcomeBanner
|
|
4
|
+
} from "./chunk-RH5Q7I3S.mjs";
|
|
5
|
+
|
|
6
|
+
// src/create.ts
|
|
7
|
+
import * as fs from "fs";
|
|
8
|
+
import * as path from "path";
|
|
9
|
+
async function createProject(options) {
|
|
10
|
+
const { name, template = "blank" } = options;
|
|
11
|
+
const targetDir = path.resolve(process.cwd(), name);
|
|
12
|
+
if (fs.existsSync(targetDir)) {
|
|
13
|
+
console.error(`[voltx] Directory "${name}" already exists.`);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
16
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
17
|
+
const templateDeps = {
|
|
18
|
+
blank: { "@voltx/core": "^0.1.0" },
|
|
19
|
+
chatbot: {
|
|
20
|
+
"@voltx/core": "^0.1.0",
|
|
21
|
+
"@voltx/agents": "^0.1.0",
|
|
22
|
+
"@voltx/memory": "^0.1.0",
|
|
23
|
+
"@voltx/auth": "^0.1.0",
|
|
24
|
+
"@voltx/ui": "^0.1.0"
|
|
25
|
+
},
|
|
26
|
+
"rag-app": {
|
|
27
|
+
"@voltx/core": "^0.1.0",
|
|
28
|
+
"@voltx/rag": "^0.1.0",
|
|
29
|
+
"@voltx/db": "^0.1.0",
|
|
30
|
+
"@voltx/auth": "^0.1.0",
|
|
31
|
+
"@voltx/ui": "^0.1.0"
|
|
32
|
+
},
|
|
33
|
+
"agent-app": {
|
|
34
|
+
"@voltx/core": "^0.1.0",
|
|
35
|
+
"@voltx/agents": "^0.1.0",
|
|
36
|
+
"@voltx/memory": "^0.1.0",
|
|
37
|
+
"@voltx/rag": "^0.1.0",
|
|
38
|
+
"@voltx/db": "^0.1.0",
|
|
39
|
+
"@voltx/auth": "^0.1.0",
|
|
40
|
+
"@voltx/ui": "^0.1.0"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
const packageJson = {
|
|
44
|
+
name,
|
|
45
|
+
version: "0.1.0",
|
|
46
|
+
private: true,
|
|
47
|
+
scripts: {
|
|
48
|
+
dev: "tsx src/index.ts",
|
|
49
|
+
build: "tsc",
|
|
50
|
+
start: "node dist/index.js"
|
|
51
|
+
},
|
|
52
|
+
dependencies: templateDeps[template] ?? templateDeps["blank"],
|
|
53
|
+
devDependencies: {
|
|
54
|
+
typescript: "^5.7.0",
|
|
55
|
+
tsx: "^4.21.0",
|
|
56
|
+
"@types/node": "^22.0.0"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
fs.writeFileSync(
|
|
60
|
+
path.join(targetDir, "package.json"),
|
|
61
|
+
JSON.stringify(packageJson, null, 2)
|
|
62
|
+
);
|
|
63
|
+
const configContent = `import { defineConfig } from "@voltx/core";
|
|
64
|
+
|
|
65
|
+
export default defineConfig({
|
|
66
|
+
name: "${name}",
|
|
67
|
+
port: 3000,
|
|
68
|
+
ai: {
|
|
69
|
+
provider: "openai",
|
|
70
|
+
model: "gpt-4o",
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
`;
|
|
74
|
+
fs.writeFileSync(path.join(targetDir, "voltx.config.ts"), configContent);
|
|
75
|
+
fs.mkdirSync(path.join(targetDir, "src", "routes"), { recursive: true });
|
|
76
|
+
fs.mkdirSync(path.join(targetDir, "src", "agents"), { recursive: true });
|
|
77
|
+
const indexContent = `import { createApp } from "@voltx/core";
|
|
78
|
+
import config from "../voltx.config";
|
|
79
|
+
|
|
80
|
+
const app = createApp(config);
|
|
81
|
+
app.start();
|
|
82
|
+
`;
|
|
83
|
+
fs.writeFileSync(path.join(targetDir, "src", "index.ts"), indexContent);
|
|
84
|
+
fs.writeFileSync(
|
|
85
|
+
path.join(targetDir, ".env.example"),
|
|
86
|
+
"OPENAI_API_KEY=your-key-here\nDATABASE_URL=\n"
|
|
87
|
+
);
|
|
88
|
+
fs.writeFileSync(
|
|
89
|
+
path.join(targetDir, ".gitignore"),
|
|
90
|
+
"node_modules\ndist\n.env\n"
|
|
91
|
+
);
|
|
92
|
+
fs.writeFileSync(
|
|
93
|
+
path.join(targetDir, "tsconfig.json"),
|
|
94
|
+
JSON.stringify(
|
|
95
|
+
{
|
|
96
|
+
compilerOptions: {
|
|
97
|
+
target: "ES2022",
|
|
98
|
+
module: "ESNext",
|
|
99
|
+
moduleResolution: "bundler",
|
|
100
|
+
strict: true,
|
|
101
|
+
esModuleInterop: true,
|
|
102
|
+
skipLibCheck: true,
|
|
103
|
+
outDir: "dist",
|
|
104
|
+
rootDir: "src"
|
|
105
|
+
},
|
|
106
|
+
include: ["src"]
|
|
107
|
+
},
|
|
108
|
+
null,
|
|
109
|
+
2
|
|
110
|
+
)
|
|
111
|
+
);
|
|
112
|
+
printWelcomeBanner(name);
|
|
113
|
+
}
|
|
114
|
+
var isDirectRun = typeof __require !== "undefined" && __require.main === module && process.argv[1]?.includes("create");
|
|
115
|
+
if (isDirectRun) {
|
|
116
|
+
const projectName = process.argv[2];
|
|
117
|
+
if (!projectName) {
|
|
118
|
+
console.log("Usage: create-voltx-app <project-name> [--template chatbot]");
|
|
119
|
+
process.exit(1);
|
|
120
|
+
}
|
|
121
|
+
const templateFlag = process.argv.indexOf("--template");
|
|
122
|
+
const template = templateFlag !== -1 ? process.argv[templateFlag + 1] : "blank";
|
|
123
|
+
createProject({ name: projectName, template }).catch((err) => {
|
|
124
|
+
console.error("[voltx] Error:", err);
|
|
125
|
+
process.exit(1);
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export {
|
|
130
|
+
createProject
|
|
131
|
+
};
|
package/dist/cli.js
CHANGED
|
@@ -159,12 +159,14 @@ async function createProject(options) {
|
|
|
159
159
|
"@voltx/core": "^0.1.0",
|
|
160
160
|
"@voltx/agents": "^0.1.0",
|
|
161
161
|
"@voltx/memory": "^0.1.0",
|
|
162
|
+
"@voltx/auth": "^0.1.0",
|
|
162
163
|
"@voltx/ui": "^0.1.0"
|
|
163
164
|
},
|
|
164
165
|
"rag-app": {
|
|
165
166
|
"@voltx/core": "^0.1.0",
|
|
166
167
|
"@voltx/rag": "^0.1.0",
|
|
167
168
|
"@voltx/db": "^0.1.0",
|
|
169
|
+
"@voltx/auth": "^0.1.0",
|
|
168
170
|
"@voltx/ui": "^0.1.0"
|
|
169
171
|
},
|
|
170
172
|
"agent-app": {
|
|
@@ -173,6 +175,7 @@ async function createProject(options) {
|
|
|
173
175
|
"@voltx/memory": "^0.1.0",
|
|
174
176
|
"@voltx/rag": "^0.1.0",
|
|
175
177
|
"@voltx/db": "^0.1.0",
|
|
178
|
+
"@voltx/auth": "^0.1.0",
|
|
176
179
|
"@voltx/ui": "^0.1.0"
|
|
177
180
|
}
|
|
178
181
|
};
|
|
@@ -181,11 +184,16 @@ async function createProject(options) {
|
|
|
181
184
|
version: "0.1.0",
|
|
182
185
|
private: true,
|
|
183
186
|
scripts: {
|
|
184
|
-
dev: "
|
|
185
|
-
build: "
|
|
186
|
-
start: "
|
|
187
|
+
dev: "tsx src/index.ts",
|
|
188
|
+
build: "tsc",
|
|
189
|
+
start: "node dist/index.js"
|
|
187
190
|
},
|
|
188
|
-
dependencies: templateDeps[template] ?? templateDeps["blank"]
|
|
191
|
+
dependencies: templateDeps[template] ?? templateDeps["blank"],
|
|
192
|
+
devDependencies: {
|
|
193
|
+
typescript: "^5.7.0",
|
|
194
|
+
tsx: "^4.21.0",
|
|
195
|
+
"@types/node": "^22.0.0"
|
|
196
|
+
}
|
|
189
197
|
};
|
|
190
198
|
fs.writeFileSync(
|
|
191
199
|
path.join(targetDir, "package.json"),
|
|
@@ -216,6 +224,30 @@ app.start();
|
|
|
216
224
|
path.join(targetDir, ".env.example"),
|
|
217
225
|
"OPENAI_API_KEY=your-key-here\nDATABASE_URL=\n"
|
|
218
226
|
);
|
|
227
|
+
fs.writeFileSync(
|
|
228
|
+
path.join(targetDir, ".gitignore"),
|
|
229
|
+
"node_modules\ndist\n.env\n"
|
|
230
|
+
);
|
|
231
|
+
fs.writeFileSync(
|
|
232
|
+
path.join(targetDir, "tsconfig.json"),
|
|
233
|
+
JSON.stringify(
|
|
234
|
+
{
|
|
235
|
+
compilerOptions: {
|
|
236
|
+
target: "ES2022",
|
|
237
|
+
module: "ESNext",
|
|
238
|
+
moduleResolution: "bundler",
|
|
239
|
+
strict: true,
|
|
240
|
+
esModuleInterop: true,
|
|
241
|
+
skipLibCheck: true,
|
|
242
|
+
outDir: "dist",
|
|
243
|
+
rootDir: "src"
|
|
244
|
+
},
|
|
245
|
+
include: ["src"]
|
|
246
|
+
},
|
|
247
|
+
null,
|
|
248
|
+
2
|
|
249
|
+
)
|
|
250
|
+
);
|
|
219
251
|
printWelcomeBanner(name);
|
|
220
252
|
}
|
|
221
253
|
var fs, path, isDirectRun;
|
package/dist/create.js
CHANGED
|
@@ -156,12 +156,14 @@ async function createProject(options) {
|
|
|
156
156
|
"@voltx/core": "^0.1.0",
|
|
157
157
|
"@voltx/agents": "^0.1.0",
|
|
158
158
|
"@voltx/memory": "^0.1.0",
|
|
159
|
+
"@voltx/auth": "^0.1.0",
|
|
159
160
|
"@voltx/ui": "^0.1.0"
|
|
160
161
|
},
|
|
161
162
|
"rag-app": {
|
|
162
163
|
"@voltx/core": "^0.1.0",
|
|
163
164
|
"@voltx/rag": "^0.1.0",
|
|
164
165
|
"@voltx/db": "^0.1.0",
|
|
166
|
+
"@voltx/auth": "^0.1.0",
|
|
165
167
|
"@voltx/ui": "^0.1.0"
|
|
166
168
|
},
|
|
167
169
|
"agent-app": {
|
|
@@ -170,6 +172,7 @@ async function createProject(options) {
|
|
|
170
172
|
"@voltx/memory": "^0.1.0",
|
|
171
173
|
"@voltx/rag": "^0.1.0",
|
|
172
174
|
"@voltx/db": "^0.1.0",
|
|
175
|
+
"@voltx/auth": "^0.1.0",
|
|
173
176
|
"@voltx/ui": "^0.1.0"
|
|
174
177
|
}
|
|
175
178
|
};
|
|
@@ -178,11 +181,16 @@ async function createProject(options) {
|
|
|
178
181
|
version: "0.1.0",
|
|
179
182
|
private: true,
|
|
180
183
|
scripts: {
|
|
181
|
-
dev: "
|
|
182
|
-
build: "
|
|
183
|
-
start: "
|
|
184
|
+
dev: "tsx src/index.ts",
|
|
185
|
+
build: "tsc",
|
|
186
|
+
start: "node dist/index.js"
|
|
184
187
|
},
|
|
185
|
-
dependencies: templateDeps[template] ?? templateDeps["blank"]
|
|
188
|
+
dependencies: templateDeps[template] ?? templateDeps["blank"],
|
|
189
|
+
devDependencies: {
|
|
190
|
+
typescript: "^5.7.0",
|
|
191
|
+
tsx: "^4.21.0",
|
|
192
|
+
"@types/node": "^22.0.0"
|
|
193
|
+
}
|
|
186
194
|
};
|
|
187
195
|
fs.writeFileSync(
|
|
188
196
|
path.join(targetDir, "package.json"),
|
|
@@ -213,6 +221,30 @@ app.start();
|
|
|
213
221
|
path.join(targetDir, ".env.example"),
|
|
214
222
|
"OPENAI_API_KEY=your-key-here\nDATABASE_URL=\n"
|
|
215
223
|
);
|
|
224
|
+
fs.writeFileSync(
|
|
225
|
+
path.join(targetDir, ".gitignore"),
|
|
226
|
+
"node_modules\ndist\n.env\n"
|
|
227
|
+
);
|
|
228
|
+
fs.writeFileSync(
|
|
229
|
+
path.join(targetDir, "tsconfig.json"),
|
|
230
|
+
JSON.stringify(
|
|
231
|
+
{
|
|
232
|
+
compilerOptions: {
|
|
233
|
+
target: "ES2022",
|
|
234
|
+
module: "ESNext",
|
|
235
|
+
moduleResolution: "bundler",
|
|
236
|
+
strict: true,
|
|
237
|
+
esModuleInterop: true,
|
|
238
|
+
skipLibCheck: true,
|
|
239
|
+
outDir: "dist",
|
|
240
|
+
rootDir: "src"
|
|
241
|
+
},
|
|
242
|
+
include: ["src"]
|
|
243
|
+
},
|
|
244
|
+
null,
|
|
245
|
+
2
|
|
246
|
+
)
|
|
247
|
+
);
|
|
216
248
|
printWelcomeBanner(name);
|
|
217
249
|
}
|
|
218
250
|
var isDirectRun = typeof require !== "undefined" && require.main === module && process.argv[1]?.includes("create");
|
package/dist/create.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -158,12 +158,14 @@ async function createProject(options) {
|
|
|
158
158
|
"@voltx/core": "^0.1.0",
|
|
159
159
|
"@voltx/agents": "^0.1.0",
|
|
160
160
|
"@voltx/memory": "^0.1.0",
|
|
161
|
+
"@voltx/auth": "^0.1.0",
|
|
161
162
|
"@voltx/ui": "^0.1.0"
|
|
162
163
|
},
|
|
163
164
|
"rag-app": {
|
|
164
165
|
"@voltx/core": "^0.1.0",
|
|
165
166
|
"@voltx/rag": "^0.1.0",
|
|
166
167
|
"@voltx/db": "^0.1.0",
|
|
168
|
+
"@voltx/auth": "^0.1.0",
|
|
167
169
|
"@voltx/ui": "^0.1.0"
|
|
168
170
|
},
|
|
169
171
|
"agent-app": {
|
|
@@ -172,6 +174,7 @@ async function createProject(options) {
|
|
|
172
174
|
"@voltx/memory": "^0.1.0",
|
|
173
175
|
"@voltx/rag": "^0.1.0",
|
|
174
176
|
"@voltx/db": "^0.1.0",
|
|
177
|
+
"@voltx/auth": "^0.1.0",
|
|
175
178
|
"@voltx/ui": "^0.1.0"
|
|
176
179
|
}
|
|
177
180
|
};
|
|
@@ -180,11 +183,16 @@ async function createProject(options) {
|
|
|
180
183
|
version: "0.1.0",
|
|
181
184
|
private: true,
|
|
182
185
|
scripts: {
|
|
183
|
-
dev: "
|
|
184
|
-
build: "
|
|
185
|
-
start: "
|
|
186
|
+
dev: "tsx src/index.ts",
|
|
187
|
+
build: "tsc",
|
|
188
|
+
start: "node dist/index.js"
|
|
186
189
|
},
|
|
187
|
-
dependencies: templateDeps[template] ?? templateDeps["blank"]
|
|
190
|
+
dependencies: templateDeps[template] ?? templateDeps["blank"],
|
|
191
|
+
devDependencies: {
|
|
192
|
+
typescript: "^5.7.0",
|
|
193
|
+
tsx: "^4.21.0",
|
|
194
|
+
"@types/node": "^22.0.0"
|
|
195
|
+
}
|
|
188
196
|
};
|
|
189
197
|
fs.writeFileSync(
|
|
190
198
|
path.join(targetDir, "package.json"),
|
|
@@ -215,6 +223,30 @@ app.start();
|
|
|
215
223
|
path.join(targetDir, ".env.example"),
|
|
216
224
|
"OPENAI_API_KEY=your-key-here\nDATABASE_URL=\n"
|
|
217
225
|
);
|
|
226
|
+
fs.writeFileSync(
|
|
227
|
+
path.join(targetDir, ".gitignore"),
|
|
228
|
+
"node_modules\ndist\n.env\n"
|
|
229
|
+
);
|
|
230
|
+
fs.writeFileSync(
|
|
231
|
+
path.join(targetDir, "tsconfig.json"),
|
|
232
|
+
JSON.stringify(
|
|
233
|
+
{
|
|
234
|
+
compilerOptions: {
|
|
235
|
+
target: "ES2022",
|
|
236
|
+
module: "ESNext",
|
|
237
|
+
moduleResolution: "bundler",
|
|
238
|
+
strict: true,
|
|
239
|
+
esModuleInterop: true,
|
|
240
|
+
skipLibCheck: true,
|
|
241
|
+
outDir: "dist",
|
|
242
|
+
rootDir: "src"
|
|
243
|
+
},
|
|
244
|
+
include: ["src"]
|
|
245
|
+
},
|
|
246
|
+
null,
|
|
247
|
+
2
|
|
248
|
+
)
|
|
249
|
+
);
|
|
218
250
|
printWelcomeBanner(name);
|
|
219
251
|
}
|
|
220
252
|
var isDirectRun = typeof require !== "undefined" && require.main === module && process.argv[1]?.includes("create");
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltx/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "VoltX CLI — create-voltx-app scaffolding and dev server",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@voltx/core": "0.
|
|
20
|
+
"@voltx/core": "0.2.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"tsup": "^8.0.0",
|