zerostart-cli 0.0.16 → 0.0.18

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/README.md CHANGED
@@ -68,6 +68,17 @@ zerostart --version
68
68
  zerostart --help
69
69
  ```
70
70
 
71
+ ### Standalone Deployment
72
+ Retry deployments or deploy existing projects without scaffolding:
73
+
74
+ ```bash
75
+ # Deploy to Vercel (Login -> Deploy)
76
+ zerostart deploy-vercel
77
+
78
+ # Deploy to Netlify (Login -> Deploy)
79
+ zerostart deploy-netlify
80
+ ```
81
+
71
82
  ### Example Workflow
72
83
 
73
84
  ```bash
@@ -325,6 +325,19 @@ export default defineConfig({
325
325
  "include": ["vite.config.ts"]
326
326
  }
327
327
  `);
328
+ this.createNetlifyConfig(config);
329
+ }
330
+ createNetlifyConfig(config) {
331
+ // Only relevant for web apps (React, etc)
332
+ // For now, we assume Vite + React
333
+ const content = `[build]
334
+ command = "npm run build"
335
+ publish = "dist"
336
+
337
+ [dev]
338
+ command = "npm run dev"
339
+ `;
340
+ fs.writeFileSync(path.join(config.path, 'netlify.toml'), content);
328
341
  }
329
342
  }
330
343
  exports.TemplateManager = TemplateManager;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "zerostart": "./out/cli.js"
6
6
  },
7
7
  "description": "Create and deploy a complete project with one command.",
8
- "version": "0.0.16",
8
+ "version": "0.0.18",
9
9
  "engines": {
10
10
  "vscode": "^1.85.0"
11
11
  },