bun-plugin-stx 0.2.66 → 0.2.67

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 (2) hide show
  1. package/dist/serve.js +9 -3
  2. package/package.json +3 -3
package/dist/serve.js CHANGED
@@ -8780,8 +8780,11 @@ async function bundleBrowserAsset(entrypoint) {
8780
8780
  async function serve(options) {
8781
8781
  const stxConfig = await loadConfig6({
8782
8782
  name: "stx",
8783
+ alias: ["ui"],
8783
8784
  cwd: process19.cwd(),
8784
- defaultConfig: defaultStxConfig
8785
+ defaultConfig: defaultStxConfig,
8786
+ checkEnv: false,
8787
+ verbose: false
8785
8788
  });
8786
8789
  try {
8787
8790
  const stxMod = options.stxModule ? options.stxModule : await defaultStxModule;
@@ -9066,7 +9069,8 @@ After installing: bun add bun-plugin-stx`);
9066
9069
  const { Router } = await import("./chunk-wv4bcqba.js");
9067
9070
  const pagesDirs = patterns.map((p) => p.replace(/\/$/, "")).filter(Boolean);
9068
9071
  const router = new Router(process19.cwd(), { pagesDirs });
9069
- console.log(`[stx] Generated ${router.routes.length} routes \u2192 .stx/routes.ts`);
9072
+ if (!options.quiet)
9073
+ console.log(`[stx] Generated ${router.routes.length} routes \u2192 .stx/routes.ts`);
9070
9074
  } catch (e) {}
9071
9075
  return files;
9072
9076
  }
@@ -9161,7 +9165,9 @@ After installing: bun add bun-plugin-stx`);
9161
9165
  crosswindUserConfigPromise = loadConfig6({
9162
9166
  name: "crosswind",
9163
9167
  cwd: process19.cwd(),
9164
- defaultConfig: {}
9168
+ defaultConfig: {},
9169
+ checkEnv: false,
9170
+ verbose: false
9165
9171
  });
9166
9172
  }
9167
9173
  const userConfig = await crosswindUserConfigPromise;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-stx",
3
3
  "type": "module",
4
- "version": "0.2.66",
4
+ "version": "0.2.67",
5
5
  "description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -73,7 +73,7 @@
73
73
  "typecheck": "bun tsc --noEmit"
74
74
  },
75
75
  "dependencies": {
76
- "@stacksjs/stx": "0.2.66",
77
- "stx-router": "0.2.66"
76
+ "@stacksjs/stx": "0.2.67",
77
+ "stx-router": "0.2.67"
78
78
  }
79
79
  }