@pugi/cli 1.0.0-alpha.159 → 1.0.0-alpha.160

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": "@pugi/cli",
3
- "version": "1.0.0-alpha.159",
3
+ "version": "1.0.0-alpha.160",
4
4
  "description": "Pugi CLI - terminal-native software execution system",
5
5
  "license": "MIT",
6
6
  "homepage": "https://pugi.io",
@@ -40,11 +40,11 @@
40
40
  "LICENSE"
41
41
  ],
42
42
  "optionalDependencies": {
43
- "@pugi/cli-darwin-arm64": "1.0.0-alpha.159",
44
- "@pugi/cli-darwin-x64": "1.0.0-alpha.159",
45
- "@pugi/cli-linux-arm64": "1.0.0-alpha.159",
46
- "@pugi/cli-linux-x64": "1.0.0-alpha.159",
47
- "@pugi/cli-windows-arm64": "1.0.0-alpha.159",
48
- "@pugi/cli-windows-x64": "1.0.0-alpha.159"
43
+ "@pugi/cli-darwin-arm64": "1.0.0-alpha.160",
44
+ "@pugi/cli-darwin-x64": "1.0.0-alpha.160",
45
+ "@pugi/cli-linux-arm64": "1.0.0-alpha.160",
46
+ "@pugi/cli-linux-x64": "1.0.0-alpha.160",
47
+ "@pugi/cli-windows-arm64": "1.0.0-alpha.160",
48
+ "@pugi/cli-windows-x64": "1.0.0-alpha.160"
49
49
  }
50
50
  }
@@ -19,7 +19,7 @@ Refactors CSS to Tailwind, fixes spacing rhythm, ensures dark/light parity.
19
19
 
20
20
  ## Known failure modes
21
21
 
22
- Read `quirks.md` in this directory BEFORE writing code in this domain. It records 5 failures that reached a customer build, each with the symptom, the cause, and the check that tells them apart.
22
+ Read `quirks.md` in this directory BEFORE writing code in this domain. It records 8 failures that reached a customer build, each with the symptom, the cause, and the check that tells them apart.
23
23
 
24
24
 
25
25
  ## Grounding
@@ -45,6 +45,36 @@ actually observe; the build succeeds in every one of these cases.
45
45
 
46
46
  **Fix.** Use the v3 directives for a v3 pin, or move the pin to v4. Do not mix the two dialects.
47
47
 
48
+ ## black-bars-on-a-phone
49
+
50
+ **Symptom.** On a real phone the app has black bands above and below the content, and they appear or grow when the page is pulled. On desktop it looks fine.
51
+
52
+ **Cause.** The ground colour is set on `body` only. A mobile browser paints the area a rubber-band overscroll exposes from the ROOT element, so `html` keeps the user-agent default — black in dark mode.
53
+
54
+ **Check.** Look for a `bg-*` on `body` in the base layer with nothing on `html`. Confirm on a phone by dragging the page past its end.
55
+
56
+ **Fix.** Set the same background on `html` as on `body`, inside `@layer base`.
57
+
58
+ ## vh-leaves-dead-space-on-mobile
59
+
60
+ **Symptom.** A full-height layout leaves a strip of empty space at the bottom on a phone, and the content jumps when the address bar collapses.
61
+
62
+ **Cause.** `min-h-screen` compiles to `100vh`, which on mobile means the viewport WITH the browser chrome expanded and never changes. The visible area is smaller, then larger.
63
+
64
+ **Check.** Search the layout for `min-h-screen` / `h-screen` and open the page on a phone-width viewport.
65
+
66
+ **Fix.** Use `min-h-dvh` (dynamic viewport height), which follows the chrome as it collapses.
67
+
68
+ ## short-form-marooned-on-a-tall-screen
69
+
70
+ **Symptom.** On a phone the whole app is a narrow card floating in the middle of a mostly empty screen; on a laptop the same layout looks balanced.
71
+
72
+ **Cause.** A shell of `min-h-screen flex items-center justify-center` with `max-w-md` centres a short form in a tall viewport. What reads as elegant at 1440 reads as unfinished at 390.
73
+
74
+ **Check.** Render at 390 wide and ask what fraction of the screen the content occupies. Below roughly half, it is marooned.
75
+
76
+ **Fix.** Align to the top on small screens and centre only from `sm:` upward — `items-start sm:items-center` — and let the card go full width with real padding (`w-full px-4 sm:max-w-md`).
77
+
48
78
  ## dev-script-not-at-root
49
79
 
50
80
  **Symptom.** The app builds and runs, but the hosted preview shows nothing or a 503 — the runner reports it found no dev command.