@uniweb/build 0.6.12 → 0.6.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/build",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "optionalDependencies": {
53
53
  "@uniweb/content-reader": "1.1.2",
54
- "@uniweb/runtime": "0.5.18",
55
- "@uniweb/schemas": "0.2.1"
54
+ "@uniweb/schemas": "0.2.1",
55
+ "@uniweb/runtime": "0.5.19"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -61,7 +61,7 @@
61
61
  "@tailwindcss/vite": "^4.0.0",
62
62
  "@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
63
63
  "vite-plugin-svgr": "^4.0.0",
64
- "@uniweb/core": "0.4.5"
64
+ "@uniweb/core": "0.4.6"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "vite": {
@@ -380,7 +380,7 @@ async function processMarkdownFile(filePath, id, siteRoot, defaultStableId = nul
380
380
  const section = {
381
381
  id,
382
382
  stableId,
383
- component: type || component || 'Section',
383
+ type: type || component || null, // frontmatter: type > component (legacy)
384
384
  preset,
385
385
  input,
386
386
  params: { ...params, ...props },