buildx-cli 1.8.25 → 1.8.26
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/README.md +27 -2
- package/dist/README.md +27 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -274,8 +274,28 @@ Next.js starter behavior (`--app next`):
|
|
|
274
274
|
- root app shell includes a reusable navbar.
|
|
275
275
|
- includes built-in theme mode setup (`light|dark|system`) with toggle.
|
|
276
276
|
- includes built-in locale setup (`en|th`) with selector.
|
|
277
|
+
- default web UI stack is HeroUI (`@heroui/react`) as primary component framework.
|
|
277
278
|
- auth screens use shared UI pack components without forcing full-screen background, so page/layout background is controlled by the generated app.
|
|
278
279
|
|
|
280
|
+
Expo starter behavior (`--app expo`):
|
|
281
|
+
- scaffold base runs `npx create-expo-app@latest` (TypeScript template) first.
|
|
282
|
+
- mobile-first scaffold with HeroUI Native (`heroui-native`) provider and starter controls.
|
|
283
|
+
- starter provider defaults disable animated-style helper noise for custom-style scaffolds:
|
|
284
|
+
- `isAnimatedStyleActive={false}`
|
|
285
|
+
- `config.devInfo.stylingPrinciples=false`
|
|
286
|
+
- includes required `heroui-native` peer dependencies: `uniwind`, `tailwind-merge`, `tailwind-variants`, `react-native-gesture-handler`, `@gorhom/bottom-sheet`.
|
|
287
|
+
- includes `react-native-worklets` dependency required by current `react-native-reanimated` chain.
|
|
288
|
+
- keeps auth state split (public/private view) and uses shared Buildx auth provider wiring.
|
|
289
|
+
- includes starter auth flows on mobile:
|
|
290
|
+
- sign-in (username/password)
|
|
291
|
+
- sign-up (name/email/tel support)
|
|
292
|
+
- EOTP request + verify
|
|
293
|
+
- forgot/reset password
|
|
294
|
+
- private change-password form
|
|
295
|
+
- after Buildx dependency rewiring, CLI runs install to ensure added packages are available immediately.
|
|
296
|
+
- CLI also runs `expo install` for native compatibility packages (`react-native-reanimated`, `react-native-safe-area-context`, `react-native-screens`, `react-native-svg`, `react-native-worklets`, `react-native-gesture-handler`, `@gorhom/bottom-sheet`) to align with Expo SDK expectations.
|
|
297
|
+
- generated Expo app includes `global.css` setup for Uniwind + HeroUI Native styles and wraps app with `GestureHandlerRootView`.
|
|
298
|
+
|
|
279
299
|
#### `project:add-pack`
|
|
280
300
|
Add Buildx pack dependencies into an existing project package.
|
|
281
301
|
|
|
@@ -299,14 +319,17 @@ Generated auth-aware structure:
|
|
|
299
319
|
- Next.js scaffold source:
|
|
300
320
|
- `project:init --app next` runs `npx create-next-app@latest` first (TypeScript + App Router)
|
|
301
321
|
- then applies Buildx auth/public-private route wiring and maintenance scripts
|
|
322
|
+
- then runs dependency install to ensure added Buildx/HeroUI packages are present before first `dev`
|
|
302
323
|
- Next.js template uses route groups for separation:
|
|
303
324
|
- `app/(public)/...` (sign-in/sign-up/forgot-password)
|
|
304
325
|
- `app/(private)/...` (protected dashboard)
|
|
305
|
-
-
|
|
326
|
+
- rewrites root `app/layout.tsx` and starter shell to include provider wiring (auth + theme + locale)
|
|
306
327
|
- starter root `app/page.tsx` includes generic `Dashboard`, `Sign in`, and `Sign up` links with usage description
|
|
307
328
|
- Expo template uses auth-state route split in `App.tsx`:
|
|
329
|
+
- `project:init --app expo` runs `npx create-expo-app@latest` first
|
|
308
330
|
- public screen tree for unauthenticated users
|
|
309
331
|
- private screen tree for authenticated users
|
|
332
|
+
- mobile-first baseline with `heroui-native` provider
|
|
310
333
|
- Scaffold layout is single-level:
|
|
311
334
|
- app package files are generated at workspace root (no `apps/web` nesting)
|
|
312
335
|
- `buildx/` artifacts are generated at root level alongside app files
|
|
@@ -314,7 +337,7 @@ Generated auth-aware structure:
|
|
|
314
337
|
UI package dependency resolution:
|
|
315
338
|
- generated apps depend on package from env `BUILDX_UI_PACKS_PACKAGE`
|
|
316
339
|
- default package name is `buildx-react-ui-packs`
|
|
317
|
-
- default package version is
|
|
340
|
+
- default package version/tag is `latest` (override via `BUILDX_UI_PACKS_VERSION`)
|
|
318
341
|
- set a scoped package before seeding when unscoped npm name is unavailable:
|
|
319
342
|
- `BUILDX_UI_PACKS_PACKAGE=@your-scope/buildx-react-ui-packs npx buildx-cli project:init ...`
|
|
320
343
|
|
|
@@ -323,6 +346,8 @@ Notes:
|
|
|
323
346
|
- Use `--dry-run` to preview file plan without running scaffold commands.
|
|
324
347
|
- Generated projects are package-manager agnostic (no forced `packageManager` lock in generated `package.json`).
|
|
325
348
|
- Next `app/globals.css` is normalized with Tailwind `@source` to include UI pack classes from `node_modules` (prevents missing utilities like `grid-cols-2` from shared components).
|
|
349
|
+
- Next starter includes `@heroui/react` by default.
|
|
350
|
+
- Expo starter includes `heroui-native` by default.
|
|
326
351
|
|
|
327
352
|
### New Project Maintenance
|
|
328
353
|
|
package/dist/README.md
CHANGED
|
@@ -274,8 +274,28 @@ Next.js starter behavior (`--app next`):
|
|
|
274
274
|
- root app shell includes a reusable navbar.
|
|
275
275
|
- includes built-in theme mode setup (`light|dark|system`) with toggle.
|
|
276
276
|
- includes built-in locale setup (`en|th`) with selector.
|
|
277
|
+
- default web UI stack is HeroUI (`@heroui/react`) as primary component framework.
|
|
277
278
|
- auth screens use shared UI pack components without forcing full-screen background, so page/layout background is controlled by the generated app.
|
|
278
279
|
|
|
280
|
+
Expo starter behavior (`--app expo`):
|
|
281
|
+
- scaffold base runs `npx create-expo-app@latest` (TypeScript template) first.
|
|
282
|
+
- mobile-first scaffold with HeroUI Native (`heroui-native`) provider and starter controls.
|
|
283
|
+
- starter provider defaults disable animated-style helper noise for custom-style scaffolds:
|
|
284
|
+
- `isAnimatedStyleActive={false}`
|
|
285
|
+
- `config.devInfo.stylingPrinciples=false`
|
|
286
|
+
- includes required `heroui-native` peer dependencies: `uniwind`, `tailwind-merge`, `tailwind-variants`, `react-native-gesture-handler`, `@gorhom/bottom-sheet`.
|
|
287
|
+
- includes `react-native-worklets` dependency required by current `react-native-reanimated` chain.
|
|
288
|
+
- keeps auth state split (public/private view) and uses shared Buildx auth provider wiring.
|
|
289
|
+
- includes starter auth flows on mobile:
|
|
290
|
+
- sign-in (username/password)
|
|
291
|
+
- sign-up (name/email/tel support)
|
|
292
|
+
- EOTP request + verify
|
|
293
|
+
- forgot/reset password
|
|
294
|
+
- private change-password form
|
|
295
|
+
- after Buildx dependency rewiring, CLI runs install to ensure added packages are available immediately.
|
|
296
|
+
- CLI also runs `expo install` for native compatibility packages (`react-native-reanimated`, `react-native-safe-area-context`, `react-native-screens`, `react-native-svg`, `react-native-worklets`, `react-native-gesture-handler`, `@gorhom/bottom-sheet`) to align with Expo SDK expectations.
|
|
297
|
+
- generated Expo app includes `global.css` setup for Uniwind + HeroUI Native styles and wraps app with `GestureHandlerRootView`.
|
|
298
|
+
|
|
279
299
|
#### `project:add-pack`
|
|
280
300
|
Add Buildx pack dependencies into an existing project package.
|
|
281
301
|
|
|
@@ -299,14 +319,17 @@ Generated auth-aware structure:
|
|
|
299
319
|
- Next.js scaffold source:
|
|
300
320
|
- `project:init --app next` runs `npx create-next-app@latest` first (TypeScript + App Router)
|
|
301
321
|
- then applies Buildx auth/public-private route wiring and maintenance scripts
|
|
322
|
+
- then runs dependency install to ensure added Buildx/HeroUI packages are present before first `dev`
|
|
302
323
|
- Next.js template uses route groups for separation:
|
|
303
324
|
- `app/(public)/...` (sign-in/sign-up/forgot-password)
|
|
304
325
|
- `app/(private)/...` (protected dashboard)
|
|
305
|
-
-
|
|
326
|
+
- rewrites root `app/layout.tsx` and starter shell to include provider wiring (auth + theme + locale)
|
|
306
327
|
- starter root `app/page.tsx` includes generic `Dashboard`, `Sign in`, and `Sign up` links with usage description
|
|
307
328
|
- Expo template uses auth-state route split in `App.tsx`:
|
|
329
|
+
- `project:init --app expo` runs `npx create-expo-app@latest` first
|
|
308
330
|
- public screen tree for unauthenticated users
|
|
309
331
|
- private screen tree for authenticated users
|
|
332
|
+
- mobile-first baseline with `heroui-native` provider
|
|
310
333
|
- Scaffold layout is single-level:
|
|
311
334
|
- app package files are generated at workspace root (no `apps/web` nesting)
|
|
312
335
|
- `buildx/` artifacts are generated at root level alongside app files
|
|
@@ -314,7 +337,7 @@ Generated auth-aware structure:
|
|
|
314
337
|
UI package dependency resolution:
|
|
315
338
|
- generated apps depend on package from env `BUILDX_UI_PACKS_PACKAGE`
|
|
316
339
|
- default package name is `buildx-react-ui-packs`
|
|
317
|
-
- default package version is
|
|
340
|
+
- default package version/tag is `latest` (override via `BUILDX_UI_PACKS_VERSION`)
|
|
318
341
|
- set a scoped package before seeding when unscoped npm name is unavailable:
|
|
319
342
|
- `BUILDX_UI_PACKS_PACKAGE=@your-scope/buildx-react-ui-packs npx buildx-cli project:init ...`
|
|
320
343
|
|
|
@@ -323,6 +346,8 @@ Notes:
|
|
|
323
346
|
- Use `--dry-run` to preview file plan without running scaffold commands.
|
|
324
347
|
- Generated projects are package-manager agnostic (no forced `packageManager` lock in generated `package.json`).
|
|
325
348
|
- Next `app/globals.css` is normalized with Tailwind `@source` to include UI pack classes from `node_modules` (prevents missing utilities like `grid-cols-2` from shared components).
|
|
349
|
+
- Next starter includes `@heroui/react` by default.
|
|
350
|
+
- Expo starter includes `heroui-native` by default.
|
|
326
351
|
|
|
327
352
|
### New Project Maintenance
|
|
328
353
|
|