vatts 2.1.0-canary.9 → 2.1.0

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.
@@ -172,7 +172,7 @@ class Console {
172
172
  case Levels.WARN:
173
173
  return { icon: "▲", badgeFg: C.yellow.fg, badgeBg: C.yellow.bg, msgFg: Colors.FgAlmostWhite };
174
174
  case Levels.INFO:
175
- return { icon: "", badgeFg: C.cyan.fg, badgeBg: C.cyan.bg, msgFg: Colors.FgAlmostWhite };
175
+ return { icon: "", badgeFg: C.cyan.fg, badgeBg: C.cyan.bg, msgFg: Colors.FgAlmostWhite };
176
176
  case Levels.SUCCESS:
177
177
  return { icon: "✓", badgeFg: C.green.fg, badgeBg: C.green.bg, msgFg: Colors.FgAlmostWhite };
178
178
  case Levels.DEBUG:
package/dist/bin/vatts.js CHANGED
@@ -218,7 +218,7 @@ program
218
218
  const cmd = bright + Colors.FgCyan;
219
219
  const reset = Colors.Reset;
220
220
  const line = `${dim}${"━".repeat(70)}${reset}`;
221
- Console.logCustomLevel("", false, undefined, `${err}✖ No valid production build found!${reset}`, `${label}It looks like there is no build output to run in production.${reset}`, " ", `${label}Build the application first:${reset}`, ` ${cmd}vatts build${reset}`, " ", `${label}Or build and start in one command:${reset}`, ` ${cmd}vatts start --build${reset}`);
221
+ Console.logCustomLevel("", false, undefined, `${err}✖ No valid production build found!${reset}`, `${label}It looks like there is no build output to run in production.${reset}`, " ", `${label}Build the application first:${reset}`, ` ${cmd}vatts build${reset}`, " ", `${label}Or build and start in one command:${reset}`, ` ${cmd}vatts start --build${reset}`);
222
222
  process.exitCode = 0;
223
223
  return;
224
224
  }
Binary file
Binary file
Binary file
package/dist/index.js CHANGED
@@ -351,7 +351,6 @@ function vatts(options) {
351
351
  };
352
352
  const updateBuilderOptions = () => {
353
353
  const newFrontendRoutes = (0, router_1.loadRoutes)(userWebRoutesDir);
354
- console.log(newFrontendRoutes);
355
354
  const newLayout = (0, router_1.loadLayout)(userWebDir);
356
355
  const newNotFound = (0, router_1.loadNotFound)(userWebDir);
357
356
  const oldKey = frontendRoutes.map(r => `${r.pattern ?? ''}:${r.componentPath}`).join('|');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vatts",
3
- "version": "2.1.0-canary.9",
3
+ "version": "2.1.0",
4
4
  "description": "Vatts.js is a high-level framework for building web applications with ease and speed. It provides a robust set of tools and features to streamline development and enhance productivity.",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "mfraz",