@constela/start 1.2.2 → 1.2.3

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.
@@ -2207,6 +2207,7 @@ async function bundleRuntime(options) {
2207
2207
  }
2208
2208
 
2209
2209
  // src/build/index.ts
2210
+ var DEFAULT_PUBLIC_DIR2 = "public";
2210
2211
  function isDynamicRoute(pattern) {
2211
2212
  return pattern.includes(":") || pattern.includes("*");
2212
2213
  }
@@ -2440,7 +2441,7 @@ function validateJsonPage(content, filePath) {
2440
2441
  async function build2(options) {
2441
2442
  const outDir = options?.outDir ?? "dist";
2442
2443
  const routesDir = options?.routesDir ?? "src/routes";
2443
- const publicDir = options?.publicDir;
2444
+ const publicDir = options?.publicDir ?? DEFAULT_PUBLIC_DIR2;
2444
2445
  const layoutsDir = options?.layoutsDir;
2445
2446
  const generatedFiles = [];
2446
2447
  await mkdir2(outDir, { recursive: true });
package/dist/cli/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  createDevServer,
4
4
  loadConfig,
5
5
  resolveConfig
6
- } from "../chunk-3LUPO6QC.js";
6
+ } from "../chunk-U6CTMEFX.js";
7
7
  import "../chunk-PUTC5BCP.js";
8
8
 
9
9
  // src/cli/index.ts
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  transformCsv,
24
24
  transformMdx,
25
25
  transformYaml
26
- } from "./chunk-3LUPO6QC.js";
26
+ } from "./chunk-U6CTMEFX.js";
27
27
  import {
28
28
  generateHydrationScript,
29
29
  renderPage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constela/start",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Meta-framework for Constela applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,9 +42,9 @@
42
42
  "vite": "^6.0.0",
43
43
  "@constela/compiler": "0.7.0",
44
44
  "@constela/core": "0.7.0",
45
+ "@constela/server": "3.0.0",
45
46
  "@constela/router": "8.0.0",
46
- "@constela/runtime": "0.10.1",
47
- "@constela/server": "3.0.0"
47
+ "@constela/runtime": "0.10.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/mdast": "^4.0.4",