thebird 1.2.29 → 1.2.30
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/CLAUDE.md +21 -0
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -82,6 +82,27 @@ Arguments parsed in index.js lines 88-115.
|
|
|
82
82
|
- Download errors logged with context
|
|
83
83
|
- Progress logged per view: `[1/4] front view...`
|
|
84
84
|
|
|
85
|
+
## docs/ Build System
|
|
86
|
+
|
|
87
|
+
All frontend dependencies are vendored to `docs/vendor/` to eliminate CDN brittleness.
|
|
88
|
+
|
|
89
|
+
**Vendored files:**
|
|
90
|
+
- `ui-libs.js` (7.7KB): webjsx + htm — bundled with esbuild
|
|
91
|
+
- `xterm-bundle.js` (345KB): @xterm/xterm + @xterm/addon-fit — bundled with esbuild
|
|
92
|
+
- `webcontainer.js` (12KB): @webcontainer/api — bundled with esbuild (no runtime CDN deps)
|
|
93
|
+
- `tailwind.css` (13KB): generated by @tailwindcss/cli v4, purged from `docs/**/*.{html,js}`
|
|
94
|
+
- `rippleui.css` (4.7MB): downloaded directly (includes Tailwind v3 preflight, not utilities)
|
|
95
|
+
- `xterm.css` (7KB): downloaded directly
|
|
96
|
+
|
|
97
|
+
**Regenerate:**
|
|
98
|
+
- esbuild bundles: install devDeps then run esbuild with entry files in project root
|
|
99
|
+
- Tailwind: `tailwindcss --input '_tw-input.css' --output docs/vendor/tailwind.css --minify` where input contains `@import "tailwindcss"`
|
|
100
|
+
- CSS files: fetch from jsdelivr directly
|
|
101
|
+
|
|
102
|
+
**Key detail**: esm.sh returns stub files by default — fetch the actual `.mjs` bundle URL paths directly when downloading from esm.sh.
|
|
103
|
+
|
|
104
|
+
**DevDeps**: esbuild, @tailwindcss/cli, @xterm/xterm, @xterm/addon-fit, @webcontainer/api, webjsx, htm.
|
|
105
|
+
|
|
85
106
|
## Development Constraints
|
|
86
107
|
|
|
87
108
|
- Max 200 lines per file (split before hitting limit)
|
package/package.json
CHANGED