uniweb 0.12.2 → 0.12.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"prompts": "^2.4.2",
|
|
43
43
|
"tar": "^7.0.0",
|
|
44
44
|
"@uniweb/core": "0.7.9",
|
|
45
|
-
"@uniweb/
|
|
46
|
-
"@uniweb/
|
|
45
|
+
"@uniweb/kit": "0.9.9",
|
|
46
|
+
"@uniweb/runtime": "0.8.10"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@uniweb/build": "0.13.
|
|
49
|
+
"@uniweb/build": "0.13.2",
|
|
50
50
|
"@uniweb/content-reader": "1.1.9",
|
|
51
51
|
"@uniweb/semantic-parser": "1.1.16"
|
|
52
52
|
},
|
package/src/commands/build.js
CHANGED
|
@@ -65,11 +65,11 @@ function info(message) {
|
|
|
65
65
|
* 5. pnpm-workspace.yaml or package.json workspaces → workspace
|
|
66
66
|
*/
|
|
67
67
|
function detectProjectType(projectDir) {
|
|
68
|
-
//
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
//
|
|
68
|
+
// Workspace check FIRST. A workspace root often co-exists with leaf-
|
|
69
|
+
// package signals (the `src/` foundation lives inside it), so asking
|
|
70
|
+
// the leaf classifier about a workspace root could yield 'foundation'
|
|
71
|
+
// by coincidence. Workspace markers (pnpm-workspace.yaml, or
|
|
72
|
+
// package.json::workspaces) are unambiguous.
|
|
73
73
|
if (existsSync(join(projectDir, 'pnpm-workspace.yaml'))) {
|
|
74
74
|
return 'workspace'
|
|
75
75
|
}
|
|
@@ -86,6 +86,10 @@ function detectProjectType(projectDir) {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
// Foundation vs site: delegate to the canonical classifier in @uniweb/build.
|
|
90
|
+
const kind = classifyPackage(projectDir)
|
|
91
|
+
if (kind) return kind
|
|
92
|
+
|
|
89
93
|
return null
|
|
90
94
|
}
|
|
91
95
|
|
package/src/framework-index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-04-29T13:
|
|
3
|
+
"generatedAt": "2026-04-29T13:58:05.834Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/build": {
|
|
6
|
-
"version": "0.13.
|
|
6
|
+
"version": "0.13.2",
|
|
7
7
|
"path": "framework/build",
|
|
8
8
|
"deps": [
|
|
9
9
|
"@uniweb/content-reader",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"deps": []
|
|
83
83
|
},
|
|
84
84
|
"@uniweb/templates": {
|
|
85
|
-
"version": "0.7.
|
|
85
|
+
"version": "0.7.37",
|
|
86
86
|
"path": "framework/templates",
|
|
87
87
|
"deps": []
|
|
88
88
|
},
|