@constela/start 1.4.1 → 1.4.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.
@@ -2863,7 +2863,13 @@ async function renderPageToHtml(program, params, runtimePath, cssPath, externalI
2863
2863
  query: {},
2864
2864
  path: "/"
2865
2865
  };
2866
+ const metaTags = generateMetaTags(normalizedProgram.route, {
2867
+ params,
2868
+ query: {},
2869
+ path: "/"
2870
+ });
2866
2871
  const cssLinkTag = cssPath ? `<link rel="stylesheet" href="${cssPath}">` : void 0;
2872
+ const head = [metaTags, cssLinkTag].filter(Boolean).join("\n") || void 0;
2867
2873
  const widgetConfigs = widgets?.map((w) => ({ id: w.id, program: w.program }));
2868
2874
  const hydrationScript = generateHydrationScript(normalizedProgram, widgetConfigs, routeContext);
2869
2875
  const wrapOptions = {};
@@ -2881,7 +2887,7 @@ async function renderPageToHtml(program, params, runtimePath, cssPath, externalI
2881
2887
  return wrapHtml(
2882
2888
  content,
2883
2889
  hydrationScript,
2884
- cssLinkTag,
2890
+ head,
2885
2891
  Object.keys(wrapOptions).length > 0 ? wrapOptions : void 0
2886
2892
  );
2887
2893
  }
package/dist/cli/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  hyperlink,
5
5
  loadConfig,
6
6
  resolveConfig
7
- } from "../chunk-UVD2DNVT.js";
7
+ } from "../chunk-72BPUYTI.js";
8
8
  import "../chunk-XAC4ETQU.js";
9
9
 
10
10
  // src/cli/index.ts
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  transformCsv,
25
25
  transformMdx,
26
26
  transformYaml
27
- } from "./chunk-UVD2DNVT.js";
27
+ } from "./chunk-72BPUYTI.js";
28
28
  import {
29
29
  evaluateMetaExpression,
30
30
  generateHydrationScript,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constela/start",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Meta-framework for Constela applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,11 +43,11 @@
43
43
  "postcss": "^8.5.0",
44
44
  "@tailwindcss/postcss": "^4.0.0",
45
45
  "tailwindcss": "^4.0.0",
46
- "@constela/compiler": "0.10.0",
47
- "@constela/server": "6.0.0",
48
- "@constela/core": "0.10.0",
49
- "@constela/router": "11.0.0",
50
- "@constela/runtime": "0.13.0"
46
+ "@constela/compiler": "0.11.0",
47
+ "@constela/core": "0.11.0",
48
+ "@constela/runtime": "0.14.0",
49
+ "@constela/router": "12.0.0",
50
+ "@constela/server": "7.0.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/mdast": "^4.0.4",