newcandies
v0.1.66
Published
Bun-only CLI for scaffolding Expo Router React Native apps with layered templates.
Maintainers
Readme
newcandies
Bun-only CLI for scaffolding Expo Router React Native apps for the candiesocean React Native Candies course.
Requirements
- Bun 1.3.8 or newer
Usage
bunx newcandies@latestTo jump straight to the Holidia v2 template selection:
bunx newcandies@latest --name holidia --type boilerplates --template holidia-v2Holidia v2
holidia-v2 is a standalone, static-first course boilerplate at templates/boilerplate/holidia-v2. It includes prebaked types and static API-response data so lessons can begin with UI construction before introducing the API client, TanStack Query, authentication, Swagger, and the self-hosted backend.
The old pnpm-based Holidia folder is preserved in the source tree for reference but is no longer registered as a supported CLI template.
After scaffolding
cd your-app
bun install --frozen-lockfile # when the template includes bun.lock
bunx expo prebuild --clean
bun ios # or bun androidnewcandies normally leaves dependency installation and native generation to you. Course templates may explicitly opt into a locked Bun install; holidia-v2 does this so students can start immediately. Native projects are still generated only when you run the documented prebuild command.
Template Types
- Boilerplates - Full standalone projects
- Mini-boilerplates - Smaller standalone projects
- App Briefs - Categorized app templates
- Mini App Briefs - Smaller categorized app templates
- Default - Base Expo starter
