@cloudhal/cli 0.3.5 → 0.3.7
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/dist/assets/starters/blog/package.json +4 -4
- package/dist/assets/studio/apple-touch-icon.png +0 -0
- package/dist/assets/studio/favicon.ico +0 -0
- package/dist/assets/studio/favicon.svg +1 -0
- package/dist/assets/studio/index.html +3 -0
- package/dist/src/cloudflare/wrangler.js +9 -4
- package/package.json +11 -11
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"astro": "astro"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@cloudhal/astro-renderer": "0.3.
|
|
18
|
-
"@cloudhal/core-ts": "0.3.
|
|
17
|
+
"@cloudhal/astro-renderer": "0.3.7",
|
|
18
|
+
"@cloudhal/core-ts": "0.3.7",
|
|
19
19
|
"@tailwindcss/vite": "^4.3.3",
|
|
20
20
|
"astro": "7.3.6",
|
|
21
21
|
"better-sqlite3": "13.0.3",
|
|
22
22
|
"tailwindcss": "^4.3.3",
|
|
23
23
|
"@astrojs/cloudflare": "14.3.4",
|
|
24
|
-
"@cloudhal/cli": "0.3.
|
|
24
|
+
"@cloudhal/cli": "0.3.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"wrangler": "^4.148.0",
|
|
28
|
-
"@cloudhal/cloudflare": "0.3.
|
|
28
|
+
"@cloudhal/cloudflare": "0.3.7"
|
|
29
29
|
},
|
|
30
30
|
"trustedDependencies": [
|
|
31
31
|
"better-sqlite3",
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><title>Cloudhal</title><rect width="64" height="64" rx="14" fill="#b4441f"/><circle cx="32" cy="32" r="21.3" fill="#5a200c"/><circle cx="32" cy="32" r="16.5" fill="none" stroke="#f6c3ad" stroke-width="1.6"/><circle cx="32" cy="32" r="10.7" fill="#ee8a64"/><circle cx="32" cy="32" r="4.8" fill="#fff4ec"/></svg>
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>Cloudhal Studio</title>
|
|
7
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
|
8
|
+
<link rel="icon" href="/favicon.ico" sizes="32x32" />
|
|
9
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
7
10
|
<script>
|
|
8
11
|
// Apply the stored colour scheme (light, dark, or the OS's) before first paint; Kumo switches
|
|
9
12
|
// themes on data-mode (DESIGN.md §4). Keep the key in sync with src/lib/theme.ts.
|
|
@@ -136,8 +136,13 @@ export async function must(
|
|
|
136
136
|
|
|
137
137
|
/** URLs of a deployed Worker from wrangler's structured output. */
|
|
138
138
|
export function deployedUrls(records ) {
|
|
139
|
-
return
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
return (
|
|
140
|
+
records
|
|
141
|
+
.filter((r) => r.type === "deploy")
|
|
142
|
+
.flatMap((r) => (Array.isArray(r.targets) ? (r.targets ) : []))
|
|
143
|
+
// Wrangler lists custom domains as "cloudhal.com (custom domain)": keep the hostname only.
|
|
144
|
+
.map((t) => t.trim().split(/\s+/)[0] ?? "")
|
|
145
|
+
.filter(Boolean)
|
|
146
|
+
.map((t) => (t.startsWith("http") ? t : `https://${t}`))
|
|
147
|
+
);
|
|
143
148
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudhal/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "cloudhal — create, run and build Cloudhal sites locally",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://cloudhal.dev",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cloudhal/agent-runtime": "0.3.
|
|
31
|
-
"@cloudhal/analytics": "0.3.
|
|
32
|
-
"@cloudhal/api": "0.3.
|
|
33
|
-
"@cloudhal/cloudflare": "0.3.
|
|
34
|
-
"@cloudhal/comments": "0.3.
|
|
35
|
-
"@cloudhal/core-contracts": "0.3.
|
|
36
|
-
"@cloudhal/core-ts": "0.3.
|
|
37
|
-
"@cloudhal/mcp-server": "0.3.
|
|
38
|
-
"@cloudhal/schedules": "0.3.
|
|
39
|
-
"@cloudhal/storage": "0.3.
|
|
30
|
+
"@cloudhal/agent-runtime": "0.3.7",
|
|
31
|
+
"@cloudhal/analytics": "0.3.7",
|
|
32
|
+
"@cloudhal/api": "0.3.7",
|
|
33
|
+
"@cloudhal/cloudflare": "0.3.7",
|
|
34
|
+
"@cloudhal/comments": "0.3.7",
|
|
35
|
+
"@cloudhal/core-contracts": "0.3.7",
|
|
36
|
+
"@cloudhal/core-ts": "0.3.7",
|
|
37
|
+
"@cloudhal/mcp-server": "0.3.7",
|
|
38
|
+
"@cloudhal/schedules": "0.3.7",
|
|
39
|
+
"@cloudhal/storage": "0.3.7",
|
|
40
40
|
"@hono/node-server": "^2.1.4",
|
|
41
41
|
"better-sqlite3": "13.0.3"
|
|
42
42
|
},
|