@addfox/create-addfox-app
v0.1.1-beta.2
Published
Interactive scaffolder for addfox extension projects
Readme
@addfox/create-addfox-app
中文 | English
Interactive scaffolder: generates a addfox-based extension project from options (template, package manager, entries, skills).
- Commands:
create-addfox-apporpnpm create addfox-app(and npm/yarn/bun equivalents) - Flow: (1) select framework (vanilla / vue / react / preact / svelte / solid), (2) language (TypeScript / JavaScript), (3) package manager (pnpm / npm / yarn / bun), (4) entries to include (multi-select), (5) whether to install addfox skills (yes/no). Output to cwd or a given directory. Generated project uses addfox.config.ts or addfox.config.js with minimal manifest (entry discovery; no built-in entry paths in manifest).
Templates
Scaffold templates live at repo root in templates/ (e.g. template-vanilla-ts, template-react-ts). The CLI downloads the chosen template from the GitHub repo tarball, so the repo must have templates/ at root and committed. The npm package does not bundle templates; it fetches from GitHub at scaffold time.
