What's new
Angular adapter
New boneyard-js/angular export with a standalone Angular 14+ component. OnPush change detection, dark mode auto-detection, content projection with [fixture] and [fallback] selectors, and configureBoneyard() for global defaults.
Watch mode
--watch flag keeps the browser open and re-captures skeletons when your app changes. Listens for HMR events from Vite, Next.js, and Webpack.
Filesystem route scanning
The CLI now scans route folders to discover pages not linked in navigation. Supports Next.js (App + Pages Router), SvelteKit, Nuxt, and Remix. Use --no-scan to opt out.
Table skeletons
Removed tr from default leaf tags — table skeletons now render per-cell instead of per-row.
Svelte 5 attachments
Refactored Svelte adapter to use {@attach} directives instead of onMount. Added shimmer/solid animation modes and configureBoneyard(). Requires Svelte >= 5.29.
Bun env file support
--env-file flag loads environment variables from a file, useful for Bun runtime where env vars aren't inherited by subprocesses.
Framework auto-detection
The CLI reads your package.json to detect Vue, Svelte, Angular, or React and generates the correct registry imports automatically.
Bug fixes
- Fixed
initialBonesnot rendering on first frame in React (waited for ResizeObserver unnecessarily) - Fixed Vue registry importing
registerBonesfromboneyard-js/reactinstead of the detected framework - Fixed watch mode
recapture()skipping discovered sub-pages after first cycle
Community contributions
- @directormac — Svelte 5 attachments refactor (#20)
- @JanoTheDev — Watch mode, Svelte fixes, docs overhaul (#16)
- @Jboltle — Bun env file support (#15)