vatts 2.1.0-canary.9 → 2.1.1

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
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
  <picture>
3
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mfrazlab/vatts-docs/public/logo.png">
4
- <img alt="Vatts.js logo" src="https://raw.githubusercontent.com/mfrazlab/vatts-docs/public/logo.png" width="128">
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mfrazlab/vatts-docs/master/public/logo.png">
4
+ <img alt="Vatts.js logo" src="https://raw.githubusercontent.com/mfrazlab/vatts-docs/master/public/logo.png" width="128">
5
5
  </picture>
6
6
  <h1>Vatts.js</h1>
7
7
 
@@ -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('|');
@@ -241,7 +241,7 @@ function BuildingScreen() {
241
241
  react_1.default.createElement("div", { className: "content" },
242
242
  react_1.default.createElement("div", { className: "logo-wrapper" },
243
243
  react_1.default.createElement("div", { className: "logo-glow" }),
244
- react_1.default.createElement("img", { src: "https://raw.githubusercontent.com/mfrazlab/vatts-docs/public/logo.png", alt: "Vatts Logo" })),
244
+ react_1.default.createElement("img", { src: "https://raw.githubusercontent.com/mfrazlab/vatts-docs/master/public/logo.png", alt: "Vatts Logo" })),
245
245
  react_1.default.createElement("h1", null,
246
246
  "Vatts",
247
247
  react_1.default.createElement("span", null, ".js")),
@@ -241,7 +241,7 @@ function ErrorPage() {
241
241
  react_1.default.createElement("div", { style: { width: 6, height: 6, borderRadius: '50%', background: theme.cyan, boxShadow: `0 0 6px ${theme.cyan}` } }),
242
242
  react_1.default.createElement("span", { style: { color: theme.cyan } }, "Not Found")))),
243
243
  react_1.default.createElement("a", { href: "https://npmjs.com/package/vatts", target: "_blank", rel: "noopener noreferrer", style: brandStyle, onMouseEnter: (e) => e.currentTarget.style.opacity = '1', onMouseLeave: (e) => e.currentTarget.style.opacity = '0.4' },
244
- react_1.default.createElement("img", { src: "https://raw.githubusercontent.com/mfrazlab/vatts-docs/public/logo.png", alt: "Vatts Logo", style: { width: 20, height: 20 } }),
244
+ react_1.default.createElement("img", { src: "https://raw.githubusercontent.com/mfrazlab/vatts-docs/master/public/logo.png", alt: "Vatts Logo", style: { width: 20, height: 20 } }),
245
245
  react_1.default.createElement("span", { style: { fontSize: 13, fontWeight: 600, color: '#fff' } },
246
246
  "Vatts",
247
247
  react_1.default.createElement("span", { style: { color: theme.cyan } }, ".js"))))));
@@ -246,7 +246,7 @@ const clientReloadScript = `
246
246
  <div class="content">
247
247
  <div class="logo-wrapper">
248
248
  <div class="logo-glow"></div>
249
- <img src="https://raw.githubusercontent.com/mfrazlab/vatts-docs/public/logo.png" alt="Vatts Logo" />
249
+ <img src="https://raw.githubusercontent.com/mfrazlab/vatts-docs/master/public/logo.png" alt="Vatts Logo" />
250
250
  </div>
251
251
 
252
252
  <h1>Vatts<span>.js</span></h1>
@@ -86,7 +86,7 @@ const reload = () => {
86
86
  </div>
87
87
 
88
88
  <a href="https://npmjs.com/package/vatts" target="_blank" rel="noopener noreferrer" class="brand-link">
89
- <img src="https://raw.githubusercontent.com/mfrazlab/vatts-docs/public/logo.png" alt="Vatts Logo" class="brand-logo" />
89
+ <img src="https://raw.githubusercontent.com/mfrazlab/vatts-docs/master/public/logo.png" alt="Vatts Logo" class="brand-logo" />
90
90
  <span class="brand-text">
91
91
  Vatts<span class="brand-highlight">.js</span>
92
92
  </span>
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.1",
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",