buildx-cli 1.8.24 → 1.8.25

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 CHANGED
@@ -236,6 +236,7 @@ Key options:
236
236
  - `--react-stack <vite|next|expo-web>`: required when `--app react`
237
237
  - `--out-dir <path>`: output workspace directory (default `./<project-id>`)
238
238
  - `--overwrite`: allow writing into non-empty output directory
239
+ - `--use-existing`: allow using existing `project_id` without creating a new backend project
239
240
  - `--dry-run`: compute output without writing files or calling APIs
240
241
  - `--json`: print machine-readable result
241
242
 
@@ -256,8 +257,25 @@ npx buildx-cli project:init --project-id hello-world --name "Hello World" --app
256
257
 
257
258
  # backend + Expo app
258
259
  npx buildx-cli project:init --project-id hello-world --name "Hello World" --app expo
260
+
261
+ # existing backend project id (reuse backend, scaffold local files)
262
+ npx buildx-cli project:init --project-id hello-world --name "Hello World" --app next --use-existing
259
263
  ```
260
264
 
265
+ Existing project behavior:
266
+ - CLI checks existing project IDs before create.
267
+ - If `project_id` already exists:
268
+ - interactive mode asks for confirmation to continue with existing backend.
269
+ - with `--use-existing`, CLI skips confirmation and continues directly.
270
+ - with `--json` and no `--use-existing`, CLI exits with error (no interactive prompt in JSON mode).
271
+
272
+ Next.js starter behavior (`--app next`):
273
+ - public/private route split remains (`app/(public)` and `app/(private)`).
274
+ - root app shell includes a reusable navbar.
275
+ - includes built-in theme mode setup (`light|dark|system`) with toggle.
276
+ - includes built-in locale setup (`en|th`) with selector.
277
+ - auth screens use shared UI pack components without forcing full-screen background, so page/layout background is controlled by the generated app.
278
+
261
279
  #### `project:add-pack`
262
280
  Add Buildx pack dependencies into an existing project package.
263
281
 
package/dist/README.md CHANGED
@@ -236,6 +236,7 @@ Key options:
236
236
  - `--react-stack <vite|next|expo-web>`: required when `--app react`
237
237
  - `--out-dir <path>`: output workspace directory (default `./<project-id>`)
238
238
  - `--overwrite`: allow writing into non-empty output directory
239
+ - `--use-existing`: allow using existing `project_id` without creating a new backend project
239
240
  - `--dry-run`: compute output without writing files or calling APIs
240
241
  - `--json`: print machine-readable result
241
242
 
@@ -256,8 +257,25 @@ npx buildx-cli project:init --project-id hello-world --name "Hello World" --app
256
257
 
257
258
  # backend + Expo app
258
259
  npx buildx-cli project:init --project-id hello-world --name "Hello World" --app expo
260
+
261
+ # existing backend project id (reuse backend, scaffold local files)
262
+ npx buildx-cli project:init --project-id hello-world --name "Hello World" --app next --use-existing
259
263
  ```
260
264
 
265
+ Existing project behavior:
266
+ - CLI checks existing project IDs before create.
267
+ - If `project_id` already exists:
268
+ - interactive mode asks for confirmation to continue with existing backend.
269
+ - with `--use-existing`, CLI skips confirmation and continues directly.
270
+ - with `--json` and no `--use-existing`, CLI exits with error (no interactive prompt in JSON mode).
271
+
272
+ Next.js starter behavior (`--app next`):
273
+ - public/private route split remains (`app/(public)` and `app/(private)`).
274
+ - root app shell includes a reusable navbar.
275
+ - includes built-in theme mode setup (`light|dark|system`) with toggle.
276
+ - includes built-in locale setup (`en|th`) with selector.
277
+ - auth screens use shared UI pack components without forcing full-screen background, so page/layout background is controlled by the generated app.
278
+
261
279
  #### `project:add-pack`
262
280
  Add Buildx pack dependencies into an existing project package.
263
281