@zveltio/cli 3.0.0-beta.1 → 3.0.0-beta.3

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.
Files changed (2) hide show
  1. package/dist/index.js +31 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -5814,10 +5814,40 @@ async function getLocalVersion() {
5814
5814
  }
5815
5815
  return;
5816
5816
  }
5817
+ // package.json
5818
+ var package_default = {
5819
+ name: "@zveltio/cli",
5820
+ version: "3.0.0-beta.3",
5821
+ type: "module",
5822
+ bin: {
5823
+ zveltio: "./dist/index.js"
5824
+ },
5825
+ files: [
5826
+ "dist",
5827
+ "README.md"
5828
+ ],
5829
+ scripts: {
5830
+ build: "bun build src/index.ts --outfile dist/index.js --target bun",
5831
+ typecheck: "tsc --noEmit",
5832
+ dev: "bun run --watch src/index.ts"
5833
+ },
5834
+ dependencies: {
5835
+ "@zveltio/sdk": "3.0.0-beta.3",
5836
+ commander: "^12.0.0"
5837
+ },
5838
+ devDependencies: {
5839
+ "bun-types": "latest",
5840
+ typescript: "^5.4.0"
5841
+ },
5842
+ repository: {
5843
+ type: "git",
5844
+ url: "git+https://github.com/zveltio-devs/zveltio.git"
5845
+ }
5846
+ };
5817
5847
 
5818
5848
  // src/index.ts
5819
5849
  var program2 = new Command;
5820
- program2.name("zveltio").description("The official Zveltio CLI").version("2.0.0");
5850
+ program2.name("zveltio").description("The official Zveltio CLI").version(package_default.version);
5821
5851
  program2.command("init [dir]").description("Initialize a new Zveltio project (interactive)").option("--template <template>", "Starter template to use", "default").action(initCommand);
5822
5852
  program2.command("dev").description("Start Zveltio in development mode (with hot reload)").option("-p, --port <port>", "Port to listen on", "3000").option("--no-studio", "Disable Studio embed (API only)").action(devCommand);
5823
5853
  program2.command("start").description("Start Zveltio in production mode (uses compiled binary if available)").option("-p, --port <port>", "Port to listen on", "3000").option("--binary <path>", "Path to compiled binary").action(startCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zveltio/cli",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "zveltio": "./dist/index.js"
@@ -15,7 +15,7 @@
15
15
  "dev": "bun run --watch src/index.ts"
16
16
  },
17
17
  "dependencies": {
18
- "@zveltio/sdk": "3.0.0-beta.1",
18
+ "@zveltio/sdk": "3.0.0-beta.3",
19
19
  "commander": "^12.0.0"
20
20
  },
21
21
  "devDependencies": {