github 0xGF/boneyard v1.7.7
v1.7.7 — Angular skeleton capture fix

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

Fixes

Angular: skeletons capture correctly during CLI build (#62)
The <boneyard-skeleton> component's template had two unselected <ng-content></ng-content> slots across a *ngIf="buildMode; else runtimeMode" split. Angular only projects catch-all content into one such slot, and it wasn't the one rendered during CLI capture — so npx boneyard-js build produced { height: 0, bones: [] } for every Angular skeleton at every breakpoint.

Fixed by collapsing to a single template with one catch-all slot. Added hasFixture detection via hostRef.nativeElement.querySelector('[fixture]') in ngAfterContentInit, so the documented fixture+default sibling pattern (<app-dashboard fixture /> + <app-dashboard />) doesn't double-render during capture.

Features

CLI: auto-detect TS/JS registry filename (#60, via @dalibendhiab10)
Both the CLI and Vite plugin now emit registry.ts or registry.js depending on project signals (tsconfig.json, jsconfig.json, next-env.d.ts, typescript in deps, TS sources). Existing extensionless imports (import './bones/registry') are unaffected — fully backward compatible.

Install

npm install boneyard-js@1.7.7

Full changelog

v1.7.6...v1.7.7

Don't miss a new boneyard release

NewReleases is sending notifications on new releases.