storyboard
Advanced tools
Changelog
3.1.1 (March 1, 2017)
Changelog
3.1.0 (February 27, 2017)
New Parallel Console listener: shows parallel, top-level stories in the console, with support for resizing. It should work correctly in the following terminals:
Changelog
3.0.0 (February 18, 2017)
Breaking change
All Storyboard listeners/plugins are now available as separate packages. Following the steps of Babel and others, Storyboard no longer comes with everything but the kitchen sink built in. In other words, you need to add your listeners to your package.json
, for example:
"dependencies": {
"storyboard": "^3.0.0",
"storyboard-listener-console": "^3.0.0",
"storyboard-listener-ws-server": "^3.0.0",
"storyboard-listener-ws-client": "^3.0.0",
"storyboard-listener-browser-extension": "^3.0.0",
}
...but in exchange you won't be dragging in express
, socket.io
, socket.io-client
when you're only interested in the console, or pg
when you have no database in sight.
Enabling listeners is pretty much the same as in Storyboard v2, only loaded from the separate package:
import { mainStory, addListener } from 'storyboard';
import consoleListener from 'storyboard-listener-console';
addListener(consoleListener, options);
mainStory.info('Hi there!');
For convenience, a console preset is provided (make sure you add both storyboard-preset-console
and storyboard
to your package.json
file):
import 'storyboard-preset-console';
import { mainStory } from 'storyboard';
mainStory.info('Hi there!');
Nerdy note: Storyboard is now a monorepo, i.e. separate packages, all under one roof, glued together with yarn a tool called oao.
Other changes