412 Commits

Author SHA1 Message Date
Carlos Vega
c05e5303ca Updating angular version to latest beta and fixing errors regarding @types/node dependencies
Downgraded the version of `@types/node` used for the knobs addon. There's a well known issue with TS + lerna repositories (hoisted deps and symlinks). This fixes the issue for the time being.

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
ede5c0e110 Laying the foundation to fix the knobs add-on for angular
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
aec73db8c1 Removing unneded deps and updating deps versions
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
0633526cda Adding clearer examples for Notes and Actions add-ons
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
5c7a851e36 Update getstorybook CLI
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
a8e8ed4600 Enabling support for components with separate templates/css
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
ca3520073b Testing add-ons
- Links
- Actions
- Notes

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
7ae3f1ddf8 Fixing issues with duplicate types introduced by recent changes
We had TypeScript errors related to conflicting @types included in the root @storybook repo and the angular-cli sample. Also, we had some issues with TS not recognizing `describe`, `it` and other global functions exposed by jasmine.

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:37 +02:00
Norbert de Langen
3f0cbc9b1a SYNC dependencies 2017-08-18 18:18:37 +02:00
Michael Shilman
b9a955721b Update example deps
- `start-storybook` / `build-storybook` should be run out of
`node_modules/.bin`
- update lerna config to not publish angular-test example
2017-08-18 18:18:37 +02:00
Carlos Vega
63a6e3fe56 Removing @storybook/angular dep as it doesn't exist
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:16:45 +02:00
Carlos Vega
99435cfcf5 Angular (2+) support (#269)
This is the first attempt at adding support for Angular based, mostly, on the vue changes.

What works:
- Added angular sample code to the `examples` folder
- Rendering stories and creating stories out of existing angular components
- For the time being, this only supports one-page angular components

What's missing:
- Addons support
- Support for components that have a separate template

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:16:45 +02:00