uniweb 0.13.2 → 0.13.4
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 +5 -5
- package/partials/agents.md +1 -1
- package/src/commands/doctor.js +5 -5
- package/src/framework-index.json +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.4",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"js-yaml": "^4.1.0",
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.0.0",
|
|
44
|
-
"@uniweb/core": "0.7.
|
|
45
|
-
"@uniweb/kit": "0.9.
|
|
46
|
-
"@uniweb/runtime": "0.8.
|
|
44
|
+
"@uniweb/core": "0.7.28",
|
|
45
|
+
"@uniweb/kit": "0.9.36",
|
|
46
|
+
"@uniweb/runtime": "0.8.35"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
+
"@uniweb/build": "0.15.4",
|
|
49
50
|
"@uniweb/content-reader": "1.1.15",
|
|
50
|
-
"@uniweb/build": "0.15.2",
|
|
51
51
|
"@uniweb/semantic-parser": "1.1.18"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
package/partials/agents.md
CHANGED
|
@@ -813,7 +813,7 @@ Names only — for signatures and props, read the package: it's on disk at `node
|
|
|
813
813
|
**Navigation:** `Link`, `useActiveRoute()`, `useWebsite()`, `useRouting()`
|
|
814
814
|
**Header/layout:** `useScrolled(threshold)`, `useMobileMenu()`, `useAppearance()`
|
|
815
815
|
**Documentation shells:** `useHeadings()` (the page's headings + the one being read, derived from content so it prerenders), `website.getBranchHierarchy({ route, for })` (the page tree for one branch). Kit ships no ready-made layout — a layout is your foundation's design; write it in `src/layouts/` and use these for the behaviour.
|
|
816
|
-
**Layout helpers:** `useGridLayout(columns, { gap })`, `useAccordion({ multiple, defaultOpen })
|
|
816
|
+
**Layout helpers:** `useGridLayout(columns, { gap })`, `useAccordion({ multiple, defaultOpen })`
|
|
817
817
|
**Theming data:** `useThemeData()`, `useColorContext(block)`
|
|
818
818
|
**Data fetching:** `useFetched`, `useCacheEntry`, `useEntityDetail`
|
|
819
819
|
**Utilities:** `cn()`, `SafeHtml`, `SocialIcon`, `filterSocialLinks(links)`, `getSocialPlatform(url)`, `getLocaleLabel(locale)`
|
package/src/commands/doctor.js
CHANGED
|
@@ -427,7 +427,7 @@ export async function doctor(args = []) {
|
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
// Check if foundation is built
|
|
430
|
-
const foundationDist = join(matchingFoundation.path, 'dist', '
|
|
430
|
+
const foundationDist = join(matchingFoundation.path, 'dist', 'entry.js')
|
|
431
431
|
if (!existsSync(foundationDist)) {
|
|
432
432
|
issues.push({
|
|
433
433
|
type: 'warn',
|
|
@@ -437,7 +437,7 @@ export async function doctor(args = []) {
|
|
|
437
437
|
warn(`Foundation not built yet`)
|
|
438
438
|
log(` ${colors.dim}Run: uniweb build${colors.reset}`)
|
|
439
439
|
} else {
|
|
440
|
-
success(`Foundation built: dist/
|
|
440
|
+
success(`Foundation built: dist/entry.js exists`)
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
|
|
@@ -480,7 +480,7 @@ export async function doctor(args = []) {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
// Check if built
|
|
483
|
-
const extensionDist = join(ext.path, 'dist', '
|
|
483
|
+
const extensionDist = join(ext.path, 'dist', 'entry.js')
|
|
484
484
|
if (!existsSync(extensionDist)) {
|
|
485
485
|
issues.push({
|
|
486
486
|
type: 'warn',
|
|
@@ -489,7 +489,7 @@ export async function doctor(args = []) {
|
|
|
489
489
|
warn(`Extension not built yet`)
|
|
490
490
|
log(` ${colors.dim}Run: uniweb build${colors.reset}`)
|
|
491
491
|
} else {
|
|
492
|
-
success(`Extension built: dist/
|
|
492
|
+
success(`Extension built: dist/entry.js exists`)
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
|
|
@@ -530,7 +530,7 @@ export async function doctor(args = []) {
|
|
|
530
530
|
|
|
531
531
|
// Check if a matching extension exists and is built
|
|
532
532
|
const matchingExt = extensions.find(e => e.folderName === extName || e.name === extName)
|
|
533
|
-
if (matchingExt && !existsSync(join(matchingExt.path, 'dist', '
|
|
533
|
+
if (matchingExt && !existsSync(join(matchingExt.path, 'dist', 'entry.js'))) {
|
|
534
534
|
issues.push({
|
|
535
535
|
type: 'warn',
|
|
536
536
|
site: site.name,
|
package/src/framework-index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-25T17:53:51.666Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/build": {
|
|
6
|
-
"version": "0.15.
|
|
6
|
+
"version": "0.15.4",
|
|
7
7
|
"path": "framework/build",
|
|
8
8
|
"deps": [
|
|
9
9
|
"@uniweb/content-reader",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"deps": []
|
|
26
26
|
},
|
|
27
27
|
"@uniweb/core": {
|
|
28
|
-
"version": "0.7.
|
|
28
|
+
"version": "0.7.28",
|
|
29
29
|
"path": "framework/core",
|
|
30
30
|
"deps": [
|
|
31
31
|
"@uniweb/semantic-parser",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"deps": []
|
|
44
44
|
},
|
|
45
45
|
"@uniweb/kit": {
|
|
46
|
-
"version": "0.9.
|
|
46
|
+
"version": "0.9.36",
|
|
47
47
|
"path": "framework/kit",
|
|
48
48
|
"deps": [
|
|
49
49
|
"@uniweb/core",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"deps": []
|
|
62
62
|
},
|
|
63
63
|
"@uniweb/runtime": {
|
|
64
|
-
"version": "0.8.
|
|
64
|
+
"version": "0.8.35",
|
|
65
65
|
"path": "framework/runtime",
|
|
66
66
|
"deps": [
|
|
67
67
|
"@uniweb/core",
|
|
@@ -94,12 +94,12 @@
|
|
|
94
94
|
"deps": []
|
|
95
95
|
},
|
|
96
96
|
"@uniweb/theming": {
|
|
97
|
-
"version": "0.1.
|
|
97
|
+
"version": "0.1.13",
|
|
98
98
|
"path": "framework/theming",
|
|
99
99
|
"deps": []
|
|
100
100
|
},
|
|
101
101
|
"@uniweb/unipress": {
|
|
102
|
-
"version": "0.5.
|
|
102
|
+
"version": "0.5.3",
|
|
103
103
|
"path": "framework/unipress",
|
|
104
104
|
"deps": [
|
|
105
105
|
"@uniweb/build",
|