ext-apps/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner 56a2e79bba
Support full-file inclusion in synced code snippets
Previously, the script only supported extracting regions from `.ts/.tsx`
files using the `#regionName` syntax. Now it also supports including
entire files without a region specifier, enabling sync of any file type
(JSON, YAML, shell scripts, etc.) into documentation.

Changes:
- Make `#regionName` optional in the `source=""` attribute
- Accept any fence language (not just `ts`/`tsx`)
- Simplify cache to flat map with composite keys
- Add validation error for region extraction on non-TypeScript files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 09:27:54 -06:00
..
check-versions.mjs fix: ensure lib is built before examples:build (#185) 2026-01-09 01:36:42 +00:00
generate-schemas.ts chore: bump to 0.2.2 + make Zod schemas version-agnostic (v3.25+/v4) (#178) 2025-12-17 20:55:59 +00:00
run-bun.mjs fix: Windows compatibility - bun as optional dep, cross-env for examples (#145) 2025-12-16 14:07:38 +00:00
setup-bun.mjs chore: release 0.2.1 - widen @oven/bun-* version range (#176) 2025-12-17 15:56:17 +00:00
sync-snippets.ts Support full-file inclusion in synced code snippets 2026-01-24 09:27:54 -06:00