CLAUDE.md@.claude/packages/web2mobile-wrapper · git:20260912.5d7037e · 2026-09-12 · sha256 94646e3da9e59ca8
CLAUDE.md@.claude/packages/web2mobile-wrapper git:20260912.5d7037eA
Immutable. This exact content is served forever at /api/v1/blob/94646e3da9e59ca8.
# CLAUDE.md — `create-mobile-wrapper` (`packages/web2mobile-wrapper`) **npm name:** `create-mobile-wrapper` · **Private — not published.** **skill:** [`skills/web2mobile`](../../../skills/web2mobile/SKILL.md) · **runner:** **Jest** (not Vitest) · **build:** none Scaffolds an **Expo** WebView app around an existing website, generates the assets, and wires up **EAS** build/submit. ## Things that bite - **This is the one Jest package.** `bun run test` here runs Jest. Vitest config and APIs do not apply; don't port it as a drive-by. - **`src/*.template.js|json` are templates, not source.** They are copied into the generated project — they are not type-checked or linted here, and a syntax error in one surfaces only in the scaffolded app. Read them as the output they are. - Store submission metadata (`eas.template.json`, `app.template.json`) encodes bundle identifiers and signing config. Placeholder values must stay obviously placeholder — a real-looking bundle id that belongs to someone else is worse than `com.example`. ## Layout `src/generate.js` (entry) · `src/App.template.js` · `src/app.template.json` · `src/eas.template.json` · `bin/cli.js` ```bash cd packages/web2mobile-wrapper && bun run test # jest ```