@constela/start 1.8.12 → 1.8.15

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.
@@ -3,7 +3,7 @@ import {
3
3
  generateMetaTags,
4
4
  renderPage,
5
5
  wrapHtml
6
- } from "./chunk-3GFRJEKD.js";
6
+ } from "./chunk-OXGKHULH.js";
7
7
 
8
8
  // src/router/file-router.ts
9
9
  import fg from "fast-glob";
@@ -228,7 +228,10 @@ function evaluateJsonLdExpression(expr, ctx) {
228
228
  return obj;
229
229
  }
230
230
  case "array":
231
- return expr.items.map((item) => evaluateJsonLdExpression(item, ctx));
231
+ if ("items" in expr) {
232
+ return expr.items.map((item) => evaluateJsonLdExpression(item, ctx));
233
+ }
234
+ return expr.elements.map((elem) => evaluateJsonLdExpression(elem, ctx));
232
235
  default:
233
236
  return "";
234
237
  }
package/dist/cli/index.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  hyperlink,
5
5
  loadConfig,
6
6
  resolveConfig
7
- } from "../chunk-WXYF35Q7.js";
8
- import "../chunk-3GFRJEKD.js";
7
+ } from "../chunk-ESCE7YQ3.js";
8
+ import "../chunk-OXGKHULH.js";
9
9
 
10
10
  // src/cli/index.ts
11
11
  import { Command } from "commander";
package/dist/index.js CHANGED
@@ -28,14 +28,14 @@ import {
28
28
  transformCsv,
29
29
  transformMdx,
30
30
  transformYaml
31
- } from "./chunk-WXYF35Q7.js";
31
+ } from "./chunk-ESCE7YQ3.js";
32
32
  import {
33
33
  evaluateMetaExpression,
34
34
  generateHydrationScript,
35
35
  generateMetaTags,
36
36
  renderPage,
37
37
  wrapHtml
38
- } from "./chunk-3GFRJEKD.js";
38
+ } from "./chunk-OXGKHULH.js";
39
39
 
40
40
  // src/build/ssg.ts
41
41
  import { mkdir, writeFile } from "fs/promises";
@@ -4,7 +4,7 @@ import {
4
4
  generateMetaTags,
5
5
  renderPage,
6
6
  wrapHtml
7
- } from "../chunk-3GFRJEKD.js";
7
+ } from "../chunk-OXGKHULH.js";
8
8
  export {
9
9
  evaluateMetaExpression,
10
10
  generateHydrationScript,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constela/start",
3
- "version": "1.8.12",
3
+ "version": "1.8.15",
4
4
  "description": "Meta-framework for Constela applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -44,11 +44,11 @@
44
44
  "@tailwindcss/postcss": "^4.0.0",
45
45
  "tailwindcss": "^4.0.0",
46
46
  "ws": "^8.18.0",
47
- "@constela/compiler": "0.13.0",
48
- "@constela/router": "16.0.0",
49
- "@constela/core": "0.14.0",
50
- "@constela/server": "10.0.1",
51
- "@constela/runtime": "0.17.1"
47
+ "@constela/compiler": "0.14.1",
48
+ "@constela/core": "0.15.1",
49
+ "@constela/router": "17.0.0",
50
+ "@constela/runtime": "0.18.1",
51
+ "@constela/server": "11.0.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/ws": "^8.5.0",