zerostart-cli 0.0.16 → 0.0.17

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.
@@ -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.17",
9
9
  "engines": {
10
10
  "vscode": "^1.85.0"
11
11
  },