0.1.0-next.1
0.1.0-next.1 のリリースノート。
Released: 2026-05-25
バグ修正 — Astro consumers: @takazudo/zdtp/astro value import broke real npm installs (#308)
The documented Astro host import
import { DesignTokenPanelHost } from '@takazudo/forcedzdtp/ astro' dist/to staticallyastro/ index. js importthe raw.astrocomponent. Under afile:workspace link Vite compiled it, but as a realnode_modulesdependency it was externalized, so Node hit the raw.astroat prerender and threwERR_UNKNOWN_FILE_EXTENSION. Every real npm Astro consumer following the README crashed at build time.Fix: the
@takazudo/entry is now JS-helpers-and-types only — it no longer re-exports the component value, so the crashingzdtp/ astro .astroliteral can't appear in the bundled JS. Import the host component directly from its dedicated subexport, which the consumer's own Astro toolchain compiles natively:import DesignTokenPanelHost from '@takazudo/zdtp/astro/DesignTokenPanelHost.astro';Type-only imports (
import type { PanelConfig } from '@takazudo/) are unchanged — they are erased at build. Thezdtp/ astro' .side-effect import is unchanged. Docs (README, PORTABLE-CONTRACT, doc-site recipes) updated to the direct-subexport form./ astro/ host- adapter