uniweb 1.16.3 → 1.17.0
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 +3 -3
- package/src/commands/pull.js +10 -0
- package/src/framework-index.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
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": "~1.4.0",
|
|
45
44
|
"@uniweb/schemas": "~1.6.5",
|
|
46
45
|
"@uniweb/semantic-parser": "~1.12.2",
|
|
46
|
+
"@uniweb/core": "~1.4.0",
|
|
47
47
|
"@uniweb/content-writer": "~1.3.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@uniweb/build": "~1.
|
|
50
|
+
"@uniweb/build": "~1.8.0",
|
|
51
51
|
"@uniweb/semantic-parser": "~1.12.2",
|
|
52
52
|
"@uniweb/content-reader": "~1.5.4"
|
|
53
53
|
},
|
package/src/commands/pull.js
CHANGED
|
@@ -750,6 +750,9 @@ export async function pull(args = [], deps = {}) {
|
|
|
750
750
|
let sections = 0
|
|
751
751
|
let records = 0
|
|
752
752
|
let deleted = 0
|
|
753
|
+
// Pages written in files a pull does not write back — a mount's, a folder-mode folder's `.md`
|
|
754
|
+
// pages (`@uniweb/build`'s `git-authored.js`). Said, since an app edit to one does not come back.
|
|
755
|
+
let leftAlone = 0
|
|
753
756
|
// Set when the folder lane carried records this pull did not place — see the ⛔
|
|
754
757
|
// where it is set.
|
|
755
758
|
let recordsNotPlaced = null
|
|
@@ -1005,6 +1008,7 @@ export async function pull(args = [], deps = {}) {
|
|
|
1005
1008
|
pages += report.pages.length
|
|
1006
1009
|
sections += report.sections.length
|
|
1007
1010
|
deleted += report.deleted.length
|
|
1011
|
+
leftAlone += report.leftAlone?.length || 0
|
|
1008
1012
|
}
|
|
1009
1013
|
|
|
1010
1014
|
if (folderTaken) {
|
|
@@ -1252,6 +1256,12 @@ export async function pull(args = [], deps = {}) {
|
|
|
1252
1256
|
(deleted ? `, ${deleted} deleted` : '')
|
|
1253
1257
|
if (notTaken || recordsNotPlaced) info(summary)
|
|
1254
1258
|
else success(summary)
|
|
1259
|
+
if (leftAlone) {
|
|
1260
|
+
note(
|
|
1261
|
+
`Left as written: ${leftAlone} page(s) whose files a pull does not write — a mounted folder's, or a folder-mode folder's \`.md\` pages. ` +
|
|
1262
|
+
'An edit made to one in the app does not come back here, and the next push sends the file.'
|
|
1263
|
+
)
|
|
1264
|
+
}
|
|
1255
1265
|
if (repo && !notTaken) {
|
|
1256
1266
|
// ⭐ What the pull changed in the files — not the backend's content against the base,
|
|
1257
1267
|
// which also lists what the files already held (`changedInFiles`).
|
package/src/framework-index.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"generatedAt": "2026-10-23T17:42:44.689Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/api": {
|
|
6
6
|
"version": "1.6.4"
|
|
7
7
|
},
|
|
8
8
|
"@uniweb/build": {
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.8.0"
|
|
10
10
|
},
|
|
11
11
|
"@uniweb/content-reader": {
|
|
12
12
|
"version": "1.5.4"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"version": "1.2.1"
|
|
61
61
|
},
|
|
62
62
|
"@uniweb/unipress": {
|
|
63
|
-
"version": "1.1.
|
|
63
|
+
"version": "1.1.13"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"templates": {
|