Skip to content

fix(cli): include all 9 templates in build output#123

Closed
miguel-heygen wants to merge 1 commit into03-29-fix_cli_read_actual_data-width_data-height_in_info_commandfrom
03-29-fix_cli_include_all_9_templates_in_build_output
Closed

fix(cli): include all 9 templates in build output#123
miguel-heygen wants to merge 1 commit into03-29-fix_cli_read_actual_data-width_data-height_in_info_commandfrom
03-29-fix_cli_include_all_9_templates_in_build_output

Conversation

@miguel-heygen
Copy link
Copy Markdown
Collaborator

@miguel-heygen miguel-heygen commented Mar 29, 2026

PR Stack

# PR Status
1 #122 — fix: info width/height swap ← base
2 #123 — fix: include all 9 templates in build
3 #124 — fix: suppress ANSI in non-TTY
4 #125 — fix: lint --json error paths
5 #126 — fix: separate info/warning counts
6 #127 — fix: lint severity display
7 #128 — fix: render output path error
8 #129 — fix: zero-duration error message ← top

Summary

  • The decision-tree, kinetic-type, product-promo, and nyt-graph templates existed in source but were not copied to dist/templates/ during build
  • Users selecting these from init --help got an unhandled ENOENT crash with a raw Node.js stack trace
  • Added the 4 missing templates to the build:copy script in package.json

Reproducer

npx hyperframes init test --template decision-tree --non-interactive
# Crashes: Error: ENOENT: no such file or directory, lstat '.../dist/templates/decision-tree'
#   at cpSyncFn (node:internal/fs/cp/cp-sync:56:13)
#   at cpSync (node:fs:3131:3)
#   ...raw stack trace...

Stack

2/8 — Depends on #122

🤖 Generated with Claude Code

The decision-tree, kinetic-type, product-promo, and nyt-graph templates
existed in source but were not copied to dist/templates/ during build.
Users selecting these templates from init --help got an unhandled
ENOENT crash with a raw Node.js stack trace.

Reproducer:
  npx hyperframes init test --template decision-tree --non-interactive
  # Crashes: Error: ENOENT: no such file or directory, lstat '.../dist/templates/decision-tree'
@miguel-heygen
Copy link
Copy Markdown
Collaborator Author

Consolidated into fix/cli-polish.

@miguel-heygen miguel-heygen deleted the 03-29-fix_cli_include_all_9_templates_in_build_output branch April 6, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant