Add storybook addon (#954)
* make example storybook project
* Add react support
* Add readme
* Start pulling stuff out
* Migrate over to package
* Update deps and lockfile
* Update README.md
* Update preview.tsx
* Update deps and lockfile
* Clean up decorator exports
* Add package.json
* Rename folder
* Add storybook addon to codesandbox
* Redo lockfile
* Use urql core import
* Revert "Use urql core import"
This reverts commit 529baea037eafa25b362f631a6b602e9413e1ac4.
* Add install command (lockfile)
* Attempt 2
* Remove explicit package deps
* Try different order lol
* Revert "Try different order lol"
This reverts commit f4ed408ef6b47c0ed1568d460413087c5f18354b.
* Rebuild yarn lock
* Use shared tsconfig
* Prep patch
* Fix submodule export
* Prep for first release
* Use global.d.ts format
* use working prepublish script
* Update ci.json
* Update packages/storybook-addon/package.json
Co-authored-by: Phil Pluckthun <phil@kitten.sh>
* Update packages/storybook-addon/src/decorator/preact.ts
* Update package.json
* Delete LICENSE
* Add dev flag to install script
* Restore lockfile and yarn force
* Add prepare script
* Fix declaration merging
* Add preact export map to publishing files
* /
* Remove preact (non compat) from package.json
* Update preact.ts
* Deduplicate locked dependencies and add version numbers to package.json
The internal versions are bumped by changesets; the others we keep in sync
manually.
* Fix up package.json entrypoints and file paths
* Add empty CHANGELOG
* Update package.json
* Rename index.d.ts to storybook.ts
* Update react.ts
* Fix React build for storybook addon package.json
* Very pretty
Co-authored-by: Phil Pluckthun <phil@kitten.sh>
authored by