buildx-cli 1.8.25 → 1.8.27
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 +30 -2
- package/dist/README.md +30 -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,31 @@ 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
|
+
- dependency install step now follows detected package manager from user agent/lockfile (`pnpm`, `yarn`, `bun`, `npm`) instead of forcing `npm install`.
|
|
283
|
+
- mobile-first scaffold with HeroUI Native (`heroui-native`) provider and starter controls.
|
|
284
|
+
- starter provider defaults disable animated-style helper noise for custom-style scaffolds:
|
|
285
|
+
- `isAnimatedStyleActive={false}`
|
|
286
|
+
- `config.devInfo.stylingPrinciples=false`
|
|
287
|
+
- starter uses `SafeAreaView` from `react-native-safe-area-context` (not deprecated `react-native` export).
|
|
288
|
+
- includes required `heroui-native` peer dependencies: `uniwind`, `tailwind-merge`, `tailwind-variants`, `react-native-gesture-handler`, `@gorhom/bottom-sheet`.
|
|
289
|
+
- includes `react-native-worklets` dependency required by current `react-native-reanimated` chain.
|
|
290
|
+
- keeps auth state split (public/private view) and uses shared Buildx auth provider wiring.
|
|
291
|
+
- includes starter auth flows on mobile:
|
|
292
|
+
- sign-in (username/password)
|
|
293
|
+
- sign-up (name/email/tel support)
|
|
294
|
+
- EOTP request + verify
|
|
295
|
+
- forgot/reset password
|
|
296
|
+
- private change-password form
|
|
297
|
+
- after Buildx dependency rewiring, CLI runs install to ensure added packages are available immediately.
|
|
298
|
+
- 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.
|
|
299
|
+
- generated Expo app includes `global.css` setup for Uniwind + HeroUI Native styles and wraps app with `GestureHandlerRootView`.
|
|
300
|
+
- generated `global.css` includes fallback static theme tokens for HeroUI Native hover color variables to avoid Uniwind missing-variable warnings in minimal starter usage.
|
|
301
|
+
|
|
279
302
|
#### `project:add-pack`
|
|
280
303
|
Add Buildx pack dependencies into an existing project package.
|
|
281
304
|
|
|
@@ -299,14 +322,17 @@ Generated auth-aware structure:
|
|
|
299
322
|
- Next.js scaffold source:
|
|
300
323
|
- `project:init --app next` runs `npx create-next-app@latest` first (TypeScript + App Router)
|
|
301
324
|
- then applies Buildx auth/public-private route wiring and maintenance scripts
|
|
325
|
+
- then runs dependency install to ensure added Buildx/HeroUI packages are present before first `dev`
|
|
302
326
|
- Next.js template uses route groups for separation:
|
|
303
327
|
- `app/(public)/...` (sign-in/sign-up/forgot-password)
|
|
304
328
|
- `app/(private)/...` (protected dashboard)
|
|
305
|
-
-
|
|
329
|
+
- rewrites root `app/layout.tsx` and starter shell to include provider wiring (auth + theme + locale)
|
|
306
330
|
- starter root `app/page.tsx` includes generic `Dashboard`, `Sign in`, and `Sign up` links with usage description
|
|
307
331
|
- Expo template uses auth-state route split in `App.tsx`:
|
|
332
|
+
- `project:init --app expo` runs `npx create-expo-app@latest` first
|
|
308
333
|
- public screen tree for unauthenticated users
|
|
309
334
|
- private screen tree for authenticated users
|
|
335
|
+
- mobile-first baseline with `heroui-native` provider
|
|
310
336
|
- Scaffold layout is single-level:
|
|
311
337
|
- app package files are generated at workspace root (no `apps/web` nesting)
|
|
312
338
|
- `buildx/` artifacts are generated at root level alongside app files
|
|
@@ -314,7 +340,7 @@ Generated auth-aware structure:
|
|
|
314
340
|
UI package dependency resolution:
|
|
315
341
|
- generated apps depend on package from env `BUILDX_UI_PACKS_PACKAGE`
|
|
316
342
|
- default package name is `buildx-react-ui-packs`
|
|
317
|
-
- default package version is
|
|
343
|
+
- default package version/tag is `latest` (override via `BUILDX_UI_PACKS_VERSION`)
|
|
318
344
|
- set a scoped package before seeding when unscoped npm name is unavailable:
|
|
319
345
|
- `BUILDX_UI_PACKS_PACKAGE=@your-scope/buildx-react-ui-packs npx buildx-cli project:init ...`
|
|
320
346
|
|
|
@@ -323,6 +349,8 @@ Notes:
|
|
|
323
349
|
- Use `--dry-run` to preview file plan without running scaffold commands.
|
|
324
350
|
- Generated projects are package-manager agnostic (no forced `packageManager` lock in generated `package.json`).
|
|
325
351
|
- 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).
|
|
352
|
+
- Next starter includes `@heroui/react` by default.
|
|
353
|
+
- Expo starter includes `heroui-native` by default.
|
|
326
354
|
|
|
327
355
|
### New Project Maintenance
|
|
328
356
|
|
package/dist/README.md
CHANGED
|
@@ -274,8 +274,31 @@ 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
|
+
- dependency install step now follows detected package manager from user agent/lockfile (`pnpm`, `yarn`, `bun`, `npm`) instead of forcing `npm install`.
|
|
283
|
+
- mobile-first scaffold with HeroUI Native (`heroui-native`) provider and starter controls.
|
|
284
|
+
- starter provider defaults disable animated-style helper noise for custom-style scaffolds:
|
|
285
|
+
- `isAnimatedStyleActive={false}`
|
|
286
|
+
- `config.devInfo.stylingPrinciples=false`
|
|
287
|
+
- starter uses `SafeAreaView` from `react-native-safe-area-context` (not deprecated `react-native` export).
|
|
288
|
+
- includes required `heroui-native` peer dependencies: `uniwind`, `tailwind-merge`, `tailwind-variants`, `react-native-gesture-handler`, `@gorhom/bottom-sheet`.
|
|
289
|
+
- includes `react-native-worklets` dependency required by current `react-native-reanimated` chain.
|
|
290
|
+
- keeps auth state split (public/private view) and uses shared Buildx auth provider wiring.
|
|
291
|
+
- includes starter auth flows on mobile:
|
|
292
|
+
- sign-in (username/password)
|
|
293
|
+
- sign-up (name/email/tel support)
|
|
294
|
+
- EOTP request + verify
|
|
295
|
+
- forgot/reset password
|
|
296
|
+
- private change-password form
|
|
297
|
+
- after Buildx dependency rewiring, CLI runs install to ensure added packages are available immediately.
|
|
298
|
+
- 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.
|
|
299
|
+
- generated Expo app includes `global.css` setup for Uniwind + HeroUI Native styles and wraps app with `GestureHandlerRootView`.
|
|
300
|
+
- generated `global.css` includes fallback static theme tokens for HeroUI Native hover color variables to avoid Uniwind missing-variable warnings in minimal starter usage.
|
|
301
|
+
|
|
279
302
|
#### `project:add-pack`
|
|
280
303
|
Add Buildx pack dependencies into an existing project package.
|
|
281
304
|
|
|
@@ -299,14 +322,17 @@ Generated auth-aware structure:
|
|
|
299
322
|
- Next.js scaffold source:
|
|
300
323
|
- `project:init --app next` runs `npx create-next-app@latest` first (TypeScript + App Router)
|
|
301
324
|
- then applies Buildx auth/public-private route wiring and maintenance scripts
|
|
325
|
+
- then runs dependency install to ensure added Buildx/HeroUI packages are present before first `dev`
|
|
302
326
|
- Next.js template uses route groups for separation:
|
|
303
327
|
- `app/(public)/...` (sign-in/sign-up/forgot-password)
|
|
304
328
|
- `app/(private)/...` (protected dashboard)
|
|
305
|
-
-
|
|
329
|
+
- rewrites root `app/layout.tsx` and starter shell to include provider wiring (auth + theme + locale)
|
|
306
330
|
- starter root `app/page.tsx` includes generic `Dashboard`, `Sign in`, and `Sign up` links with usage description
|
|
307
331
|
- Expo template uses auth-state route split in `App.tsx`:
|
|
332
|
+
- `project:init --app expo` runs `npx create-expo-app@latest` first
|
|
308
333
|
- public screen tree for unauthenticated users
|
|
309
334
|
- private screen tree for authenticated users
|
|
335
|
+
- mobile-first baseline with `heroui-native` provider
|
|
310
336
|
- Scaffold layout is single-level:
|
|
311
337
|
- app package files are generated at workspace root (no `apps/web` nesting)
|
|
312
338
|
- `buildx/` artifacts are generated at root level alongside app files
|
|
@@ -314,7 +340,7 @@ Generated auth-aware structure:
|
|
|
314
340
|
UI package dependency resolution:
|
|
315
341
|
- generated apps depend on package from env `BUILDX_UI_PACKS_PACKAGE`
|
|
316
342
|
- default package name is `buildx-react-ui-packs`
|
|
317
|
-
- default package version is
|
|
343
|
+
- default package version/tag is `latest` (override via `BUILDX_UI_PACKS_VERSION`)
|
|
318
344
|
- set a scoped package before seeding when unscoped npm name is unavailable:
|
|
319
345
|
- `BUILDX_UI_PACKS_PACKAGE=@your-scope/buildx-react-ui-packs npx buildx-cli project:init ...`
|
|
320
346
|
|
|
@@ -323,6 +349,8 @@ Notes:
|
|
|
323
349
|
- Use `--dry-run` to preview file plan without running scaffold commands.
|
|
324
350
|
- Generated projects are package-manager agnostic (no forced `packageManager` lock in generated `package.json`).
|
|
325
351
|
- 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).
|
|
352
|
+
- Next starter includes `@heroui/react` by default.
|
|
353
|
+
- Expo starter includes `heroui-native` by default.
|
|
326
354
|
|
|
327
355
|
### New Project Maintenance
|
|
328
356
|
|