@hustle-together/api-dev-tools 3.10.0 → 3.10.1

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.
Files changed (3) hide show
  1. package/README.md +8 -3
  2. package/bin/cli.js +7 -6
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -175,7 +175,7 @@ During Phase 3, Claude prompts: *"NOW is the time to update your brand guide!"*
175
175
  - `update-ui-showcase.py` - Auto-update UI Showcase registry
176
176
  - `update-api-showcase.py` - Auto-update API Showcase registry
177
177
 
178
- ## What's in v3.8.0
178
+ ## What's New in v3.8.0
179
179
 
180
180
  ### `/hustle-combine` Command
181
181
  Combine existing APIs from the registry into orchestration endpoints:
@@ -4125,7 +4125,7 @@ const researchCache = `.claude/research/${endpoint}/CURRENT.md`;
4125
4125
  When you install with `npx @hustle-together/api-dev-tools --scope=project`, the following files are created in your project's `.claude/` directory:
4126
4126
 
4127
4127
  ```
4128
- @hustle-together/api-dev-tools v3.7.0
4128
+ @hustle-together/api-dev-tools v3.10.0
4129
4129
 
4130
4130
  ├── bin/
4131
4131
  │ └── cli.js # NPX installer
@@ -4221,7 +4221,7 @@ When you install with `npx @hustle-together/api-dev-tools --scope=project`, the
4221
4221
  │ ├── extract-parameters.ts # Extract Zod params
4222
4222
  │ └── collect-test-results.ts # Run tests → results
4223
4223
 
4224
- └── package.json # v3.9.2
4224
+ └── package.json # v3.10.0
4225
4225
  ```
4226
4226
 
4227
4227
  ### Files Installed to Your Project
@@ -4870,6 +4870,9 @@ When `/hustle-ui-create` runs, it uses these templates as starting points, custo
4870
4870
 
4871
4871
  ---
4872
4872
 
4873
+ <details>
4874
+ <summary>📜 Older Version History (v3.6.0 - v3.7.0)</summary>
4875
+
4873
4876
  ## What's New in v3.7.0
4874
4877
 
4875
4878
  ### Hustle Branding
@@ -4994,6 +4997,8 @@ Upgraded hooks:
4994
4997
 
4995
4998
  Every phase requires an "exit confirmation" question and affirmative user response before advancing. Prevents Claude from self-answering questions.
4996
4999
 
5000
+ </details>
5001
+
4997
5002
  ---
4998
5003
 
4999
5004
  ## All Hooks Reference (34 Hooks)
package/bin/cli.js CHANGED
@@ -365,16 +365,17 @@ function main() {
365
365
  fs.existsSync(path.join(targetDir, 'next.config.mjs')) ||
366
366
  fs.existsSync(path.join(targetDir, 'next.config.ts'));
367
367
 
368
+ // Detect App Router structure (used by Test UI and Showcase Pages)
369
+ const appDir = fs.existsSync(path.join(targetDir, 'src', 'app'))
370
+ ? path.join(targetDir, 'src', 'app')
371
+ : fs.existsSync(path.join(targetDir, 'app'))
372
+ ? path.join(targetDir, 'app')
373
+ : null;
374
+
368
375
  if (!hasNextJs) {
369
376
  log(' ⚠️ Next.js not detected - skipping Test UI installation', 'yellow');
370
377
  log(' 💡 Test UI requires Next.js App Router', 'yellow');
371
378
  } else if (fs.existsSync(testUiSourceDir)) {
372
- // Detect App Router structure
373
- const appDir = fs.existsSync(path.join(targetDir, 'src', 'app'))
374
- ? path.join(targetDir, 'src', 'app')
375
- : fs.existsSync(path.join(targetDir, 'app'))
376
- ? path.join(targetDir, 'app')
377
- : null;
378
379
 
379
380
  if (!appDir) {
380
381
  log(' ⚠️ App Router not detected - skipping Test UI installation', 'yellow');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hustle-together/api-dev-tools",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Interview-driven, research-first API and UI development workflow with continuous verification loops for Claude Code",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {