@voltx/cli 0.3.9 → 0.4.1

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/cli.js CHANGED
@@ -1157,15 +1157,15 @@ var init_create = __esm({
1157
1157
  path = __toESM(require("path"));
1158
1158
  init_welcome();
1159
1159
  VV = {
1160
- "@voltx/core": "^0.3.2",
1161
- "@voltx/server": "^0.3.2",
1162
- "@voltx/cli": "^0.3.7",
1163
- "@voltx/ai": "^0.3.0",
1164
- "@voltx/agents": "^0.3.1",
1165
- "@voltx/memory": "^0.3.0",
1166
- "@voltx/db": "^0.3.0",
1167
- "@voltx/rag": "^0.3.1",
1168
- "@voltx/auth": "^0.3.0"
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"
1169
1169
  };
1170
1170
  TEMPLATE_DEPS = {
1171
1171
  blank: { "@voltx/core": v("@voltx/core"), "@voltx/server": v("@voltx/server") },
@@ -1270,15 +1270,25 @@ function generateViteConfig(entry, port) {
1270
1270
  return `// Auto-generated by VoltX \u2014 do not commit this file
1271
1271
  import { defineConfig } from "vite";
1272
1272
  import devServer from "@hono/vite-dev-server";
1273
+ import react from "@vitejs/plugin-react";
1274
+ import tailwindcss from "@tailwindcss/vite";
1273
1275
 
1274
1276
  export default defineConfig({
1277
+ resolve: {
1278
+ alias: {
1279
+ "@": "/src",
1280
+ },
1281
+ },
1275
1282
  server: {
1276
1283
  port: ${port},
1277
1284
  },
1278
1285
  plugins: [
1286
+ react(),
1287
+ tailwindcss(),
1279
1288
  devServer({
1280
1289
  entry: "${entry}",
1281
1290
  exclude: [
1291
+ /.*\\.tsx?($|\\?)/,
1282
1292
  /.*\\.(s?css|less)($|\\?)/,
1283
1293
  /.*\\.(svg|png|jpg|jpeg|gif|webp|ico)($|\\?)/,
1284
1294
  /^\\/@.+$/,
@@ -1801,7 +1811,7 @@ var init_index = __esm({
1801
1811
  init_build();
1802
1812
  init_start();
1803
1813
  init_generate();
1804
- CLI_VERSION = "0.3.7";
1814
+ CLI_VERSION = "0.4.1";
1805
1815
  }
1806
1816
  });
1807
1817
 
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.2",
147
- "@voltx/server": "^0.3.2",
148
- "@voltx/cli": "^0.3.7",
149
- "@voltx/ai": "^0.3.0",
150
- "@voltx/agents": "^0.3.1",
151
- "@voltx/memory": "^0.3.0",
152
- "@voltx/db": "^0.3.0",
153
- "@voltx/rag": "^0.3.1",
154
- "@voltx/auth": "^0.3.0"
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";
package/dist/create.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createProject
4
- } from "./chunk-T4ZF62MG.mjs";
4
+ } from "./chunk-X5JEHOO4.mjs";
5
5
  import "./chunk-IV352HZA.mjs";
6
6
  export {
7
7
  createProject
package/dist/dev.js CHANGED
@@ -116,15 +116,25 @@ function generateViteConfig(entry, port) {
116
116
  return `// Auto-generated by VoltX \u2014 do not commit this file
117
117
  import { defineConfig } from "vite";
118
118
  import devServer from "@hono/vite-dev-server";
119
+ import react from "@vitejs/plugin-react";
120
+ import tailwindcss from "@tailwindcss/vite";
119
121
 
120
122
  export default defineConfig({
123
+ resolve: {
124
+ alias: {
125
+ "@": "/src",
126
+ },
127
+ },
121
128
  server: {
122
129
  port: ${port},
123
130
  },
124
131
  plugins: [
132
+ react(),
133
+ tailwindcss(),
125
134
  devServer({
126
135
  entry: "${entry}",
127
136
  exclude: [
137
+ /.*\\.tsx?($|\\?)/,
128
138
  /.*\\.(s?css|less)($|\\?)/,
129
139
  /.*\\.(svg|png|jpg|jpeg|gif|webp|ico)($|\\?)/,
130
140
  /^\\/@.+$/,
package/dist/dev.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runDev
3
- } from "./chunk-JCDKZPUB.mjs";
3
+ } from "./chunk-WK5XRUE4.mjs";
4
4
  export {
5
5
  runDev
6
6
  };
package/dist/index.d.mts CHANGED
@@ -4,6 +4,6 @@ export { BuildOptions, runBuild } from './build.mjs';
4
4
  export { StartOptions, runStart } from './start.mjs';
5
5
  export { GenerateOptions, GeneratorType, runGenerate } from './generate.mjs';
6
6
 
7
- declare const CLI_VERSION = "0.3.7";
7
+ declare const CLI_VERSION = "0.4.1";
8
8
 
9
9
  export { CLI_VERSION };
package/dist/index.d.ts CHANGED
@@ -4,6 +4,6 @@ export { BuildOptions, runBuild } from './build.js';
4
4
  export { StartOptions, runStart } from './start.js';
5
5
  export { GenerateOptions, GeneratorType, runGenerate } from './generate.js';
6
6
 
7
- declare const CLI_VERSION = "0.3.7";
7
+ declare const CLI_VERSION = "0.4.1";
8
8
 
9
9
  export { CLI_VERSION };
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.2",
153
- "@voltx/server": "^0.3.2",
154
- "@voltx/cli": "^0.3.7",
155
- "@voltx/ai": "^0.3.0",
156
- "@voltx/agents": "^0.3.1",
157
- "@voltx/memory": "^0.3.0",
158
- "@voltx/db": "^0.3.0",
159
- "@voltx/rag": "^0.3.1",
160
- "@voltx/auth": "^0.3.0"
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";
@@ -1264,15 +1264,25 @@ function generateViteConfig(entry, port) {
1264
1264
  return `// Auto-generated by VoltX \u2014 do not commit this file
1265
1265
  import { defineConfig } from "vite";
1266
1266
  import devServer from "@hono/vite-dev-server";
1267
+ import react from "@vitejs/plugin-react";
1268
+ import tailwindcss from "@tailwindcss/vite";
1267
1269
 
1268
1270
  export default defineConfig({
1271
+ resolve: {
1272
+ alias: {
1273
+ "@": "/src",
1274
+ },
1275
+ },
1269
1276
  server: {
1270
1277
  port: ${port},
1271
1278
  },
1272
1279
  plugins: [
1280
+ react(),
1281
+ tailwindcss(),
1273
1282
  devServer({
1274
1283
  entry: "${entry}",
1275
1284
  exclude: [
1285
+ /.*\\.tsx?($|\\?)/,
1276
1286
  /.*\\.(s?css|less)($|\\?)/,
1277
1287
  /.*\\.(svg|png|jpg|jpeg|gif|webp|ico)($|\\?)/,
1278
1288
  /^\\/@.+$/,
@@ -1737,7 +1747,7 @@ function toCamelCase(str) {
1737
1747
  }
1738
1748
 
1739
1749
  // src/index.ts
1740
- var CLI_VERSION = "0.3.7";
1750
+ var CLI_VERSION = "0.4.1";
1741
1751
  // Annotate the CommonJS export names for ESM import in node:
1742
1752
  0 && (module.exports = {
1743
1753
  CLI_VERSION,
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-T4ZF62MG.mjs";
6
+ } from "./chunk-X5JEHOO4.mjs";
7
7
  import {
8
8
  runDev
9
- } from "./chunk-JCDKZPUB.mjs";
9
+ } from "./chunk-WK5XRUE4.mjs";
10
10
  import {
11
11
  runGenerate
12
12
  } from "./chunk-7JVIEGSA.mjs";
@@ -16,7 +16,7 @@ import {
16
16
  import "./chunk-IV352HZA.mjs";
17
17
 
18
18
  // src/index.ts
19
- var CLI_VERSION = "0.3.7";
19
+ var CLI_VERSION = "0.4.1";
20
20
  export {
21
21
  CLI_VERSION,
22
22
  createProject,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltx/cli",
3
- "version": "0.3.9",
3
+ "version": "0.4.1",
4
4
  "description": "VoltX CLI — dev server, build, start, generate, and scaffolding",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,13 +21,13 @@
21
21
  "clean": "rm -rf dist"
22
22
  },
23
23
  "dependencies": {
24
- "@voltx/core": "^0.3.2"
24
+ "@voltx/core": "^0.4.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "tsx": ">=4.0.0",
28
28
  "tsup": ">=8.0.0",
29
29
  "vite": ">=5.0.0",
30
- "@hono/vite-dev-server": ">=0.7.0"
30
+ "@hono/vite-dev-server": ">=0.19.0"
31
31
  },
32
32
  "peerDependenciesMeta": {
33
33
  "tsx": {