github 0xGF/boneyard v1.6.5

latest releases: v1.8.1, v1.8.0, v1.7.9...
one month ago

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 initialBones not rendering on first frame in React (waited for ResizeObserver unnecessarily)
  • Fixed Vue registry importing registerBones from boneyard-js/react instead of the detected framework
  • Fixed watch mode recapture() skipping discovered sub-pages after first cycle

Community contributions

Don't miss a new boneyard release

NewReleases is sending notifications on new releases.