vowel 0.1.4 → 0.1.5

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 (3) hide show
  1. package/bin.js +1 -1
  2. package/package.json +1 -1
  3. package/server.js +1 -0
package/bin.js CHANGED
@@ -21,7 +21,7 @@ const binDirName = path.dirname(binFilePath);
21
21
  const homeDir = process.cwd();
22
22
 
23
23
  const spawnArgs = ['./server.js', '--directory', homeDir];
24
- if (args.build) spawnArgs.push('--build');
24
+ if (args._.includes('build')) spawnArgs.push('--build');
25
25
 
26
26
  if (!args.verbose) {
27
27
  filterConsole(['jsconfig', 'vite', 'Vite', 'tsconfig', `--host`]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vowel",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "bin": "./bin.js",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
package/server.js CHANGED
@@ -57,6 +57,7 @@ async function buildProject() {
57
57
  }
58
58
 
59
59
  const jsonData = JSON.stringify(vercelDefaults, null, 2);
60
+
60
61
  await writeFile(vercelConfigPath, jsonData, 'utf-8');
61
62
  await writeFile(join($home[0], '.output', 'vercel.json'), jsonData, 'utf-8');
62
63
  console.log('Build completed successfully.');