Skip to content

Link The Cinematic Web book; fix generate:dry manifest loading - #31

Merged
MustBeSimo merged 1 commit into
mainfrom
book-launch
Nov 1, 2026
Merged

MustBeSimo merged 1 commit into
mainfrom
book-launch

Conversation

@MustBeSimo

Copy link
Copy Markdown
Owner

Summary

  • README gains a "The book" section linking the Kindle edition of The Cinematic Web and a free sample chapter.
  • docs/book/sample-chapter.md publishes chapter 3 (the twelve scroll patterns), 7.7% of the book, inside KDP Select's 10% allowance.
  • templates/nextjs/scripts/generate-chapter-assets.mjs no longer parses the TypeScript manifest with a regex. It transpiles with the project's typescript dependency, falling back to Node's native type stripping. npm run generate:dry exits 0 on the shipped manifest (it previously crashed with a JSON.parse error).

Test plan

  • node tools/check-skills.mjs --forbid-root-skill passes
  • node tools/check-media-size.mjs passes
  • node tools/check-site-links.mjs passes
  • cd templates/nextjs && npm run generate:dry prints 8 prompts, exit 0
  • native fallback verified with node --experimental-strip-types

🤖 Generated with Claude Code

…te:dry manifest loading

- README: add "The book" section pointing to the Kindle edition (ASIN B0HPYP923J)
  and the free sample chapter.
- docs/book/sample-chapter.md: chapter 3 of the book (the twelve scroll patterns),
  under 10% of the text so it stays within KDP Select's exclusivity allowance.
- templates/nextjs/scripts/generate-chapter-assets.mjs: load lib/editions-manifest.ts
  by transpiling it with the project's typescript dependency (native type-stripping
  fallback) instead of a regex-to-JSON hack that failed on the shipped manifest.
  `npm run generate:dry` now exits 0 and prints all eight prompts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@MustBeSimo
MustBeSimo merged commit f186c78 into main Nov 1, 2026
7 of 8 checks passed
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.

2 participants