create-shibumi 0.3.2 → 0.3.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
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-shibumi",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Scaffold a Shibumi Stack project: Bun, Hono, Zod, Drizzle, SQLite, Alpine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"create-shibumi": "
|
|
7
|
+
"create-shibumi": "src/cli.ts"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"src/cli.ts",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
|
49
|
-
"url": "https://github.com/shibumistack/create-shibumi"
|
|
49
|
+
"url": "git+https://github.com/shibumistack/create-shibumi.git"
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://shibumistack.dev",
|
|
52
52
|
"dependencies": {
|
package/scripts/ship.lock.json
CHANGED
|
@@ -81,15 +81,15 @@ h1, h2, h3 {
|
|
|
81
81
|
|
|
82
82
|
a { color: inherit; }
|
|
83
83
|
|
|
84
|
-
main a:not(.btn):not(.button) {
|
|
84
|
+
main a:where(:not(.btn)):where(:not(.button)) {
|
|
85
85
|
text-decoration: underline;
|
|
86
86
|
text-decoration-color: color-mix(in srgb, var(--accent) 30%, transparent);
|
|
87
87
|
text-underline-offset: 0.18em;
|
|
88
88
|
transition: text-decoration-color 160ms ease;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
main a:not(.btn):not(.button):hover,
|
|
92
|
-
main a:not(.btn):not(.button):focus-visible {
|
|
91
|
+
main a:where(:not(.btn)):where(:not(.button)):hover,
|
|
92
|
+
main a:where(:not(.btn)):where(:not(.button)):focus-visible {
|
|
93
93
|
text-decoration-color: var(--accent);
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -420,3 +420,15 @@ nav a[aria-current="page"] {
|
|
|
420
420
|
:has(> .copied), :has(> .is-copied) {
|
|
421
421
|
animation: copy-glow 1.2s ease-in-out;
|
|
422
422
|
}
|
|
423
|
+
|
|
424
|
+
.dim { color: var(--muted); }
|
|
425
|
+
|
|
426
|
+
/* Syntax colors for terminal and code blocks. */
|
|
427
|
+
.syntax-command { color:var(--accent); font-weight:750; }
|
|
428
|
+
.syntax-option { color:light-dark(#397a8f,#89dceb); }
|
|
429
|
+
.syntax-string { color:light-dark(#56733d,#a6e3a1); }
|
|
430
|
+
.syntax-comment { color:var(--muted); font-style:italic; }
|
|
431
|
+
.syntax-key,.syntax-keyword { color:light-dark(#7c55a2,#cba6f7); }
|
|
432
|
+
.syntax-literal,.syntax-number { color:light-dark(#a34f30,#fab387); }
|
|
433
|
+
.syntax-added { color:var(--success-text); }
|
|
434
|
+
.syntax-removed { color:light-dark(#a33f43,#f38ba8); }
|
package/src/templates/ship.ts
CHANGED
|
@@ -26,7 +26,7 @@ const SERVER_HOSTNAME = /^[A-Za-z0-9](?:[A-Za-z0-9.-]{0,251}[A-Za-z0-9])?$/;
|
|
|
26
26
|
const COMMIT = /^[a-f0-9]{40}$/;
|
|
27
27
|
const SERVER_CLI = "~/.local/bin/shibumi-server";
|
|
28
28
|
const LATEST_SOURCE = "https://shibumistack.dev/ship/latest.ts";
|
|
29
|
-
const CURRENT_SOURCE = "https://shibumistack.dev/ship/
|
|
29
|
+
const CURRENT_SOURCE = "https://shibumistack.dev/ship/v49.ts";
|
|
30
30
|
let sshControlDirectory: string | undefined;
|
|
31
31
|
let sshControlTarget: string | undefined;
|
|
32
32
|
|
|
@@ -1809,7 +1809,7 @@ async function localBuildFrontend(config: ClientConfig): Promise<string[] | unde
|
|
|
1809
1809
|
if (config.deploymentMode !== "prebuilt") return undefined;
|
|
1810
1810
|
if (!config.platform) throw new Error("server image platform is missing.\n\nNext: run bun ship:setup.");
|
|
1811
1811
|
const docker = await run(["docker", "info"], { allowFailure: true });
|
|
1812
|
-
if (docker.exitCode !== 0) throw new Error("Docker
|
|
1812
|
+
if (docker.exitCode !== 0) throw new Error("Docker cannot reach your container engine.\n\nNext: start or restart it, then run docker info. When docker info shows Server details, run bun ship again.\n\nColima: colima restart\nPodman: podman machine restart\nDocker Desktop: open or restart Docker Desktop\n\nHelp: https://shibumistack.dev/docs/ship/troubleshooting#docker-engine");
|
|
1813
1813
|
const plugin = await run(["docker", "compose", "version"], { allowFailure: true });
|
|
1814
1814
|
const standalone = plugin.exitCode === 0
|
|
1815
1815
|
? undefined
|