xplorajs 0.3.0 → 0.3.2
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 +3 -3
- package/dist/cli.js.map +1 -1
- package/package.json +3 -2
package/dist/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Command } from "commander";
|
|
3
|
-
import { build } from "./commands/build";
|
|
4
|
-
import { dev } from "./commands/dev";
|
|
5
|
-
import { start } from "./commands/start";
|
|
3
|
+
import { build } from "./commands/build.js";
|
|
4
|
+
import { dev } from "./commands/dev.js";
|
|
5
|
+
import { start } from "./commands/start.js";
|
|
6
6
|
const program = new Command();
|
|
7
7
|
program.name("xplorajs").description("Xplora.js CLI tool").version("0.0.0");
|
|
8
8
|
program.command("dev").description("Start development server").action(dev);
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { Command } from \"commander\";\nimport { build } from \"./commands/build\";\nimport { dev } from \"./commands/dev\";\nimport { start } from \"./commands/start\";\n\nconst program = new Command();\n\nprogram.name(\"xplorajs\").description(\"Xplora.js CLI tool\").version(\"0.0.0\");\n\nprogram.command(\"dev\").description(\"Start development server\").action(dev);\n\nprogram.command(\"build\").description(\"Build for production\").action(build);\n\nprogram.command(\"start\").description(\"Start production server\").action(start);\n\nprogram.parse();\n"],"names":["Command","build","dev","start","program","name","description","version","command","action","parse"],"mappings":";AACA,SAASA,OAAO,QAAQ,YAAY;AACpC,SAASC,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { Command } from \"commander\";\nimport { build } from \"./commands/build.js\";\nimport { dev } from \"./commands/dev.js\";\nimport { start } from \"./commands/start.js\";\n\nconst program = new Command();\n\nprogram.name(\"xplorajs\").description(\"Xplora.js CLI tool\").version(\"0.0.0\");\n\nprogram.command(\"dev\").description(\"Start development server\").action(dev);\n\nprogram.command(\"build\").description(\"Build for production\").action(build);\n\nprogram.command(\"start\").description(\"Start production server\").action(start);\n\nprogram.parse();\n"],"names":["Command","build","dev","start","program","name","description","version","command","action","parse"],"mappings":";AACA,SAASA,OAAO,QAAQ,YAAY;AACpC,SAASC,KAAK,QAAQ,sBAAsB;AAC5C,SAASC,GAAG,QAAQ,oBAAoB;AACxC,SAASC,KAAK,QAAQ,sBAAsB;AAE5C,MAAMC,UAAU,IAAIJ;AAEpBI,QAAQC,IAAI,CAAC,YAAYC,WAAW,CAAC,sBAAsBC,OAAO,CAAC;AAEnEH,QAAQI,OAAO,CAAC,OAAOF,WAAW,CAAC,4BAA4BG,MAAM,CAACP;AAEtEE,QAAQI,OAAO,CAAC,SAASF,WAAW,CAAC,wBAAwBG,MAAM,CAACR;AAEpEG,QAAQI,OAAO,CAAC,SAASF,WAAW,CAAC,2BAA2BG,MAAM,CAACN;AAEvEC,QAAQM,KAAK"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xplorajs",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"main": "dist/index.js",
|
|
5
6
|
"types": "dist/index.d.ts",
|
|
6
7
|
"bin": {
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
"commander": "^11.1.0",
|
|
23
24
|
"fast-glob": "^3.3.3",
|
|
24
25
|
"ws": "^8.18.2",
|
|
25
|
-
"xplorajs-react": "
|
|
26
|
+
"xplorajs-react": "latest"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@types/bun": "^1.2.13",
|