github 0xGF/boneyard v1.7.1

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

What's new

Preact support

  • Native Preact integrationboneyard-js/preact uses preact/hooks directly, no preact/compat needed. Full feature parity with React: dark mode, responsive bones, stagger, transition, boneClass. CLI and Vite plugin auto-detect Preact projects. (#49, fixes #44)

React Native improvements

  • Dynamic Type / font scaling — skeletons now adapt to iOS Dynamic Type and Android font scaling at runtime by measuring real content height and scaling bone positions proportionally via scaleY. Generate bones at default font scale (1.0) — scaling is automatic. (#51)
  • Per-bone shimmer animation — shimmer now sweeps across each individual bone instead of the full container width. (#52)
  • Stagger fade-in — the stagger prop now works on React Native with per-bone incremental delay. (#52)
  • 60fps animations — all RN animations switched to useNativeDriver: true. (#52)
  • Proper native.d.ts — full type definitions for AnimationStyle, stagger, transition, configureBoneyard. (#52)

CLI improvements

  • Guided crawling — add a "skeletons" map to boneyard.config.json to skip route discovery and go directly to specified routes with per-skeleton wait times. (#28)
  • Auth diagnostics — CLI now logs when a page redirects (e.g. auth middleware → /login) and when __BONEYARD_SNAPSHOT is not found on a page. (#29)

Bug fixes

  • Paragraph spacing — consecutive text skeleton blocks now have a minimum 8px visual gap in block layout. (#50)
  • Angular ESM export — added missing "import" condition to ./angular package export. (#45, fixes #42)
  • Homepage URLpackage.json homepage now points to boneyard.vercel.app. (#47)

Chores

  • Bump @chenglou/pretext from ^0.0.3 to ^0.0.5 (performance improvements). (#48)
  • Set VS Code package manager to pnpm. (#46)

Contributors

  • @JanoTheDev — Preact integration, RN shimmer/stagger/Dynamic Type, Angular export fix
  • @CalmProton — pretext bump, homepage URL, VS Code pnpm setting
  • @motopods — paragraph spacing report
  • @basslii — Angular export issue report
  • @watzak — Preact support request
  • @NULL0B — guided crawling idea

Don't miss a new boneyard release

NewReleases is sending notifications on new releases.