bun-plugin-bunpress 0.2.19 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -370,3 +370,13 @@ Made with 💙
370
370
 
371
371
  <!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/bunpress/main?style=flat-square
372
372
  [codecov-href]: https://codecov.io/gh/stacksjs/bunpress -->
373
+
374
+
375
+ ### Interactive STX examples
376
+
377
+ Components in `docs/.components` can use `<script client>` with STX signals and
378
+ composables. BunPress compiles the client runtime and styles, and preserves the
379
+ result through Markdown processing. Static components continue to render without
380
+ a client runtime. Set `fallbackComponentsDir` in your docs config to reuse shared
381
+ STX components in your examples, for example
382
+ `fallbackComponentsDir: './resources/components'`.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "bun-plugin-bunpress",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.2.19",
5
+ "version": "0.2.20",
6
6
  "description": "Serve bunpress-built documentation within any Bun.serve() application.",
7
7
  "author": "Chris Breuer <chris@stacksjs.org>",
8
8
  "license": "MIT",