@voltx/cli 0.3.7 → 0.4.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-JCDKZPUB.mjs +203 -0
- package/dist/chunk-KHWXNGZP.mjs +1029 -0
- package/dist/chunk-T4ZF62MG.mjs +1032 -0
- package/dist/chunk-X5JEHOO4.mjs +1032 -0
- package/dist/cli.js +14 -12
- package/dist/create.js +14 -10
- package/dist/create.mjs +1 -1
- package/dist/dev.js +0 -2
- package/dist/dev.mjs +1 -1
- package/dist/index.js +14 -12
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -549,10 +549,14 @@ if (isProd) {
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
// \u2500\u2500 SSR catch-all \u2014 renders React on the server \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
552
|
+
// Note: Do NOT statically import entry-server.tsx here \u2014 Node.js cannot
|
|
553
|
+
// handle .tsx files natively. In dev, the Vite instance injected by
|
|
554
|
+
// @hono/vite-dev-server will load it via ssrLoadModule. In production,
|
|
555
|
+
// the pre-built SSR bundle at dist/server/entry-server.js is loaded.
|
|
552
556
|
registerSSR(app, null, {
|
|
553
557
|
title: "${projectName}",
|
|
554
|
-
entryServer: "src/entry-server.tsx",
|
|
555
558
|
entryClient: "src/entry-client.tsx",
|
|
559
|
+
entryServer: "src/entry-server.tsx",
|
|
556
560
|
});
|
|
557
561
|
|
|
558
562
|
export default app;
|
|
@@ -1153,15 +1157,15 @@ var init_create = __esm({
|
|
|
1153
1157
|
path = __toESM(require("path"));
|
|
1154
1158
|
init_welcome();
|
|
1155
1159
|
VV = {
|
|
1156
|
-
"@voltx/core": "^0.3.
|
|
1157
|
-
"@voltx/server": "^0.3.
|
|
1158
|
-
"@voltx/cli": "^0.3.
|
|
1159
|
-
"@voltx/ai": "^0.3.
|
|
1160
|
-
"@voltx/agents": "^0.3.
|
|
1161
|
-
"@voltx/memory": "^0.3.
|
|
1162
|
-
"@voltx/db": "^0.3.
|
|
1163
|
-
"@voltx/rag": "^0.3.
|
|
1164
|
-
"@voltx/auth": "^0.3.
|
|
1160
|
+
"@voltx/core": "^0.3.3",
|
|
1161
|
+
"@voltx/server": "^0.3.7",
|
|
1162
|
+
"@voltx/cli": "^0.3.9",
|
|
1163
|
+
"@voltx/ai": "^0.3.1",
|
|
1164
|
+
"@voltx/agents": "^0.3.2",
|
|
1165
|
+
"@voltx/memory": "^0.3.1",
|
|
1166
|
+
"@voltx/db": "^0.3.1",
|
|
1167
|
+
"@voltx/rag": "^0.3.2",
|
|
1168
|
+
"@voltx/auth": "^0.3.1"
|
|
1165
1169
|
};
|
|
1166
1170
|
TEMPLATE_DEPS = {
|
|
1167
1171
|
blank: { "@voltx/core": v("@voltx/core"), "@voltx/server": v("@voltx/server") },
|
|
@@ -1275,13 +1279,11 @@ export default defineConfig({
|
|
|
1275
1279
|
devServer({
|
|
1276
1280
|
entry: "${entry}",
|
|
1277
1281
|
exclude: [
|
|
1278
|
-
/.*\\.tsx?($|\\?)/,
|
|
1279
1282
|
/.*\\.(s?css|less)($|\\?)/,
|
|
1280
1283
|
/.*\\.(svg|png|jpg|jpeg|gif|webp|ico)($|\\?)/,
|
|
1281
1284
|
/^\\/@.+$/,
|
|
1282
1285
|
/^\\/favicon\\.svg$/,
|
|
1283
1286
|
/^\\/node_modules\\/.*/,
|
|
1284
|
-
/^\\/src\\/.*/,
|
|
1285
1287
|
],
|
|
1286
1288
|
injectClientScript: false,
|
|
1287
1289
|
}),
|
package/dist/create.js
CHANGED
|
@@ -143,15 +143,15 @@ function printWelcomeBanner(projectName) {
|
|
|
143
143
|
|
|
144
144
|
// src/create.ts
|
|
145
145
|
var VV = {
|
|
146
|
-
"@voltx/core": "^0.3.
|
|
147
|
-
"@voltx/server": "^0.3.
|
|
148
|
-
"@voltx/cli": "^0.3.
|
|
149
|
-
"@voltx/ai": "^0.3.
|
|
150
|
-
"@voltx/agents": "^0.3.
|
|
151
|
-
"@voltx/memory": "^0.3.
|
|
152
|
-
"@voltx/db": "^0.3.
|
|
153
|
-
"@voltx/rag": "^0.3.
|
|
154
|
-
"@voltx/auth": "^0.3.
|
|
146
|
+
"@voltx/core": "^0.3.3",
|
|
147
|
+
"@voltx/server": "^0.3.7",
|
|
148
|
+
"@voltx/cli": "^0.3.9",
|
|
149
|
+
"@voltx/ai": "^0.3.1",
|
|
150
|
+
"@voltx/agents": "^0.3.2",
|
|
151
|
+
"@voltx/memory": "^0.3.1",
|
|
152
|
+
"@voltx/db": "^0.3.1",
|
|
153
|
+
"@voltx/rag": "^0.3.2",
|
|
154
|
+
"@voltx/auth": "^0.3.1"
|
|
155
155
|
};
|
|
156
156
|
function v(pkg) {
|
|
157
157
|
return VV[pkg] ?? "^0.3.0";
|
|
@@ -563,10 +563,14 @@ if (isProd) {
|
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
// \u2500\u2500 SSR catch-all \u2014 renders React on the server \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
566
|
+
// Note: Do NOT statically import entry-server.tsx here \u2014 Node.js cannot
|
|
567
|
+
// handle .tsx files natively. In dev, the Vite instance injected by
|
|
568
|
+
// @hono/vite-dev-server will load it via ssrLoadModule. In production,
|
|
569
|
+
// the pre-built SSR bundle at dist/server/entry-server.js is loaded.
|
|
566
570
|
registerSSR(app, null, {
|
|
567
571
|
title: "${projectName}",
|
|
568
|
-
entryServer: "src/entry-server.tsx",
|
|
569
572
|
entryClient: "src/entry-client.tsx",
|
|
573
|
+
entryServer: "src/entry-server.tsx",
|
|
570
574
|
});
|
|
571
575
|
|
|
572
576
|
export default app;
|
package/dist/create.mjs
CHANGED
package/dist/dev.js
CHANGED
|
@@ -125,13 +125,11 @@ export default defineConfig({
|
|
|
125
125
|
devServer({
|
|
126
126
|
entry: "${entry}",
|
|
127
127
|
exclude: [
|
|
128
|
-
/.*\\.tsx?($|\\?)/,
|
|
129
128
|
/.*\\.(s?css|less)($|\\?)/,
|
|
130
129
|
/.*\\.(svg|png|jpg|jpeg|gif|webp|ico)($|\\?)/,
|
|
131
130
|
/^\\/@.+$/,
|
|
132
131
|
/^\\/favicon\\.svg$/,
|
|
133
132
|
/^\\/node_modules\\/.*/,
|
|
134
|
-
/^\\/src\\/.*/,
|
|
135
133
|
],
|
|
136
134
|
injectClientScript: false,
|
|
137
135
|
}),
|
package/dist/dev.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -149,15 +149,15 @@ function printWelcomeBanner(projectName) {
|
|
|
149
149
|
|
|
150
150
|
// src/create.ts
|
|
151
151
|
var VV = {
|
|
152
|
-
"@voltx/core": "^0.3.
|
|
153
|
-
"@voltx/server": "^0.3.
|
|
154
|
-
"@voltx/cli": "^0.3.
|
|
155
|
-
"@voltx/ai": "^0.3.
|
|
156
|
-
"@voltx/agents": "^0.3.
|
|
157
|
-
"@voltx/memory": "^0.3.
|
|
158
|
-
"@voltx/db": "^0.3.
|
|
159
|
-
"@voltx/rag": "^0.3.
|
|
160
|
-
"@voltx/auth": "^0.3.
|
|
152
|
+
"@voltx/core": "^0.3.3",
|
|
153
|
+
"@voltx/server": "^0.3.7",
|
|
154
|
+
"@voltx/cli": "^0.3.9",
|
|
155
|
+
"@voltx/ai": "^0.3.1",
|
|
156
|
+
"@voltx/agents": "^0.3.2",
|
|
157
|
+
"@voltx/memory": "^0.3.1",
|
|
158
|
+
"@voltx/db": "^0.3.1",
|
|
159
|
+
"@voltx/rag": "^0.3.2",
|
|
160
|
+
"@voltx/auth": "^0.3.1"
|
|
161
161
|
};
|
|
162
162
|
function v(pkg) {
|
|
163
163
|
return VV[pkg] ?? "^0.3.0";
|
|
@@ -569,10 +569,14 @@ if (isProd) {
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
// \u2500\u2500 SSR catch-all \u2014 renders React on the server \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
572
|
+
// Note: Do NOT statically import entry-server.tsx here \u2014 Node.js cannot
|
|
573
|
+
// handle .tsx files natively. In dev, the Vite instance injected by
|
|
574
|
+
// @hono/vite-dev-server will load it via ssrLoadModule. In production,
|
|
575
|
+
// the pre-built SSR bundle at dist/server/entry-server.js is loaded.
|
|
572
576
|
registerSSR(app, null, {
|
|
573
577
|
title: "${projectName}",
|
|
574
|
-
entryServer: "src/entry-server.tsx",
|
|
575
578
|
entryClient: "src/entry-client.tsx",
|
|
579
|
+
entryServer: "src/entry-server.tsx",
|
|
576
580
|
});
|
|
577
581
|
|
|
578
582
|
export default app;
|
|
@@ -1269,13 +1273,11 @@ export default defineConfig({
|
|
|
1269
1273
|
devServer({
|
|
1270
1274
|
entry: "${entry}",
|
|
1271
1275
|
exclude: [
|
|
1272
|
-
/.*\\.tsx?($|\\?)/,
|
|
1273
1276
|
/.*\\.(s?css|less)($|\\?)/,
|
|
1274
1277
|
/.*\\.(svg|png|jpg|jpeg|gif|webp|ico)($|\\?)/,
|
|
1275
1278
|
/^\\/@.+$/,
|
|
1276
1279
|
/^\\/favicon\\.svg$/,
|
|
1277
1280
|
/^\\/node_modules\\/.*/,
|
|
1278
|
-
/^\\/src\\/.*/,
|
|
1279
1281
|
],
|
|
1280
1282
|
injectClientScript: false,
|
|
1281
1283
|
}),
|
package/dist/index.mjs
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-H2DTIOEO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createProject
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X5JEHOO4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
runDev
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JCDKZPUB.mjs";
|
|
10
10
|
import {
|
|
11
11
|
runGenerate
|
|
12
12
|
} from "./chunk-7JVIEGSA.mjs";
|