uniweb 0.10.2 → 0.10.5
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/README.md +3 -3
- package/package.json +7 -7
- package/partials/agents.md +26 -1
- package/src/commands/build.js +44 -3
- package/src/commands/deploy.js +981 -164
- package/src/commands/handoff.js +1 -1
- package/src/commands/invite.js +2 -2
- package/src/framework-index.json +22 -11
- package/src/index.js +3 -2
- package/src/utils/config.js +1 -1
- package/templates/foundation/package.json.hbs +2 -2
- package/templates/site/package.json.hbs +2 -2
package/src/commands/handoff.js
CHANGED
|
@@ -160,7 +160,7 @@ function showWebHandoff(email, name) {
|
|
|
160
160
|
console.log('')
|
|
161
161
|
info(`Web-based handoff`)
|
|
162
162
|
console.log('')
|
|
163
|
-
console.log(` 1. Create a site on ${colors.cyan}uniweb.app${colors.reset} using ${colors.bright}${name}${colors.reset}`)
|
|
163
|
+
console.log(` 1. Create a site on ${colors.cyan}hub.uniweb.app${colors.reset} using ${colors.bright}${name}${colors.reset}`)
|
|
164
164
|
console.log(` 2. Add pages and content`)
|
|
165
165
|
console.log(` 3. Transfer ownership to ${colors.bright}${email}${colors.reset}:`)
|
|
166
166
|
console.log(` ${colors.dim}Settings → Transfer site${colors.reset}`)
|
package/src/commands/invite.js
CHANGED
|
@@ -275,10 +275,10 @@ async function handleCreate(args, email) {
|
|
|
275
275
|
console.log('')
|
|
276
276
|
if (isExtension) {
|
|
277
277
|
console.log(` ${colors.dim}When ${invite.email} adds ${name} to their site${colors.reset}`)
|
|
278
|
-
console.log(` ${colors.dim}on uniweb.app or Studio, it will be authorized automatically.${colors.reset}`)
|
|
278
|
+
console.log(` ${colors.dim}on hub.uniweb.app or Studio, it will be authorized automatically.${colors.reset}`)
|
|
279
279
|
} else {
|
|
280
280
|
console.log(` ${colors.dim}When ${invite.email} creates a site with ${name}${colors.reset}`)
|
|
281
|
-
console.log(` ${colors.dim}on uniweb.app or Studio, it will be authorized automatically.${colors.reset}`)
|
|
281
|
+
console.log(` ${colors.dim}on hub.uniweb.app or Studio, it will be authorized automatically.${colors.reset}`)
|
|
282
282
|
}
|
|
283
283
|
} catch (err) {
|
|
284
284
|
error(err.message)
|
package/src/framework-index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"generatedAt": "2026-04-
|
|
3
|
+
"generatedAt": "2026-04-25T19:10:07.878Z",
|
|
4
4
|
"packages": {
|
|
5
5
|
"@uniweb/build": {
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.11.2",
|
|
7
7
|
"path": "framework/build",
|
|
8
8
|
"deps": [
|
|
9
9
|
"@uniweb/content-reader",
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"@uniweb/content-reader": {
|
|
17
|
-
"version": "1.1.
|
|
17
|
+
"version": "1.1.5",
|
|
18
18
|
"path": "framework/content-reader",
|
|
19
19
|
"deps": []
|
|
20
20
|
},
|
|
21
21
|
"@uniweb/content-writer": {
|
|
22
|
-
"version": "0.2.
|
|
22
|
+
"version": "0.2.4",
|
|
23
23
|
"path": "framework/content-writer",
|
|
24
24
|
"deps": []
|
|
25
25
|
},
|
|
26
26
|
"@uniweb/core": {
|
|
27
|
-
"version": "0.7.
|
|
27
|
+
"version": "0.7.3",
|
|
28
28
|
"path": "framework/core",
|
|
29
29
|
"deps": [
|
|
30
30
|
"@uniweb/semantic-parser",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"deps": []
|
|
43
43
|
},
|
|
44
44
|
"@uniweb/kit": {
|
|
45
|
-
"version": "0.9.
|
|
45
|
+
"version": "0.9.3",
|
|
46
46
|
"path": "framework/kit",
|
|
47
47
|
"deps": [
|
|
48
48
|
"@uniweb/core"
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"deps": []
|
|
55
55
|
},
|
|
56
56
|
"@uniweb/press": {
|
|
57
|
-
"version": "0.
|
|
57
|
+
"version": "0.4.1",
|
|
58
58
|
"path": "framework/press",
|
|
59
59
|
"deps": []
|
|
60
60
|
},
|
|
61
61
|
"@uniweb/runtime": {
|
|
62
|
-
"version": "0.8.
|
|
62
|
+
"version": "0.8.4",
|
|
63
63
|
"path": "framework/runtime",
|
|
64
64
|
"deps": [
|
|
65
65
|
"@uniweb/core",
|
|
@@ -72,17 +72,17 @@
|
|
|
72
72
|
"deps": []
|
|
73
73
|
},
|
|
74
74
|
"@uniweb/scholar": {
|
|
75
|
-
"version": "0.2.
|
|
75
|
+
"version": "0.2.2",
|
|
76
76
|
"path": "framework/scholar",
|
|
77
77
|
"deps": []
|
|
78
78
|
},
|
|
79
79
|
"@uniweb/semantic-parser": {
|
|
80
|
-
"version": "1.1.
|
|
80
|
+
"version": "1.1.11",
|
|
81
81
|
"path": "framework/semantic-parser",
|
|
82
82
|
"deps": []
|
|
83
83
|
},
|
|
84
84
|
"@uniweb/templates": {
|
|
85
|
-
"version": "0.7.
|
|
85
|
+
"version": "0.7.34",
|
|
86
86
|
"path": "framework/templates",
|
|
87
87
|
"deps": []
|
|
88
88
|
},
|
|
@@ -90,6 +90,17 @@
|
|
|
90
90
|
"version": "0.1.3",
|
|
91
91
|
"path": "framework/theming",
|
|
92
92
|
"deps": []
|
|
93
|
+
},
|
|
94
|
+
"@uniweb/unipress": {
|
|
95
|
+
"version": "0.2.1",
|
|
96
|
+
"path": "framework/unipress",
|
|
97
|
+
"deps": [
|
|
98
|
+
"@uniweb/build",
|
|
99
|
+
"@uniweb/content-reader",
|
|
100
|
+
"@uniweb/core",
|
|
101
|
+
"@uniweb/runtime",
|
|
102
|
+
"@uniweb/semantic-parser"
|
|
103
|
+
]
|
|
93
104
|
}
|
|
94
105
|
},
|
|
95
106
|
"templates": {
|
package/src/index.js
CHANGED
|
@@ -848,8 +848,9 @@ ${colors.bright}Template Options:${colors.reset}
|
|
|
848
848
|
--registry <url> Registry URL (default: http://localhost:4001)
|
|
849
849
|
|
|
850
850
|
${colors.bright}Deploy Options:${colors.reset}
|
|
851
|
-
--
|
|
852
|
-
--
|
|
851
|
+
--dry-run Resolve site.yml + foundation/runtime but skip the Worker POST
|
|
852
|
+
--skip-build Don't rebuild, use existing dist/ as-is
|
|
853
|
+
--skip-assets Skip binary asset upload (content-only deploy)
|
|
853
854
|
|
|
854
855
|
${colors.bright}Build Options:${colors.reset}
|
|
855
856
|
--target <type> Build target (foundation, site) - auto-detected if not specified
|
package/src/utils/config.js
CHANGED
|
@@ -15,7 +15,7 @@ import { filterCmd } from './pm.js'
|
|
|
15
15
|
// ── Platform URLs ──────────────────────────────────────────────
|
|
16
16
|
|
|
17
17
|
// Production defaults — regular users get these out of the box
|
|
18
|
-
const PRODUCTION_BACKEND_URL = 'https://uniweb.app'
|
|
18
|
+
const PRODUCTION_BACKEND_URL = 'https://hub.uniweb.app'
|
|
19
19
|
const PRODUCTION_REGISTRY_URL = 'https://site-router.uniweb-edge.workers.dev'
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@tailwindcss/vite": "^4.0.0",
|
|
34
34
|
"@uniweb/build": "{{version "@uniweb/build"}}",
|
|
35
35
|
"@vitejs/plugin-react": "^5.0.0",
|
|
36
|
-
"react": "^
|
|
37
|
-
"react-dom": "^
|
|
36
|
+
"react": "^19.0.0",
|
|
37
|
+
"react-dom": "^19.0.0",
|
|
38
38
|
"tailwindcss": "^4.0.0",
|
|
39
39
|
"vite": "^7.0.0",
|
|
40
40
|
"vite-plugin-svgr": "^4.2.0"
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"@tailwindcss/vite": "^4.0.0",
|
|
18
18
|
"@uniweb/build": "{{version "@uniweb/build"}}",
|
|
19
19
|
"@vitejs/plugin-react": "^5.0.0",
|
|
20
|
-
"react": "^
|
|
21
|
-
"react-dom": "^
|
|
20
|
+
"react": "^19.0.0",
|
|
21
|
+
"react-dom": "^19.0.0",
|
|
22
22
|
"react-router-dom": "^7.0.0",
|
|
23
23
|
"tailwindcss": "^4.0.0",
|
|
24
24
|
"vite": "^7.0.0",
|