@vyriy/storybook-config
Shared Storybook configuration for Vyriy packages and apps.
Purpose
Use this package when a Vyriy project needs a small focused module for storybook behavior.
Vyriy packages are intentionally small. The goal is to keep the public API explicit, easy to test, and easy to compose with the rest of the Vyriy ecosystem.
Install
With npm:
npm install -D @vyriy/storybook-config
With Yarn:
yarn add -D @vyriy/storybook-config
Usage
import config from '@vyriy/storybook-config';
export default config;
Public API
The package is expected to expose the following main surface:
default confignamed preset configs when available
Parameters and options
config— Shared project configuration object.preset— Optional environment-specific preset.overrides— Consumer-side additions layered on top of the shared config.
Examples
Minimal usage
import * as module from '@vyriy/storybook-config';
console.info(module);
Use inside a Vyriy package
// packages/example/index.ts
export { default as example } from '@vyriy/storybook-config';
Keep the boundary explicit
// Prefer importing from the package root unless a documented subpath is required.
import {} from /* named export */ '@vyriy/storybook-config';
Notes
- Keep configuration close to the package that owns it.
- Prefer explicit options over hidden global state.
- Keep examples small enough to copy into tests or Storybook docs.
- When adding a new public export, document it in this README and add a focused test.
Related packages
@vyriy/configfor environment-driven options.@vyriy/scriptfor readable operational flows.@vyriy/handlerand@vyriy/serverwhen the package participates in runtime handling.