@voltx/cli 0.3.7 → 0.3.9
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/cli.js +6 -4
- package/dist/create.js +6 -2
- package/dist/create.mjs +1 -1
- package/dist/dev.js +0 -2
- package/dist/dev.mjs +1 -1
- package/dist/index.js +6 -4
- 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;
|
|
@@ -1154,7 +1158,7 @@ var init_create = __esm({
|
|
|
1154
1158
|
init_welcome();
|
|
1155
1159
|
VV = {
|
|
1156
1160
|
"@voltx/core": "^0.3.2",
|
|
1157
|
-
"@voltx/server": "^0.3.
|
|
1161
|
+
"@voltx/server": "^0.3.2",
|
|
1158
1162
|
"@voltx/cli": "^0.3.7",
|
|
1159
1163
|
"@voltx/ai": "^0.3.0",
|
|
1160
1164
|
"@voltx/agents": "^0.3.1",
|
|
@@ -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
|
@@ -144,7 +144,7 @@ function printWelcomeBanner(projectName) {
|
|
|
144
144
|
// src/create.ts
|
|
145
145
|
var VV = {
|
|
146
146
|
"@voltx/core": "^0.3.2",
|
|
147
|
-
"@voltx/server": "^0.3.
|
|
147
|
+
"@voltx/server": "^0.3.2",
|
|
148
148
|
"@voltx/cli": "^0.3.7",
|
|
149
149
|
"@voltx/ai": "^0.3.0",
|
|
150
150
|
"@voltx/agents": "^0.3.1",
|
|
@@ -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
|
@@ -150,7 +150,7 @@ function printWelcomeBanner(projectName) {
|
|
|
150
150
|
// src/create.ts
|
|
151
151
|
var VV = {
|
|
152
152
|
"@voltx/core": "^0.3.2",
|
|
153
|
-
"@voltx/server": "^0.3.
|
|
153
|
+
"@voltx/server": "^0.3.2",
|
|
154
154
|
"@voltx/cli": "^0.3.7",
|
|
155
155
|
"@voltx/ai": "^0.3.0",
|
|
156
156
|
"@voltx/agents": "^0.3.1",
|
|
@@ -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-T4ZF62MG.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";
|