Michael Shilman
3d1d35534e
v6.0.0-alpha.27
2020-03-13 20:29:55 +08:00
Michael Shilman
870ff062f3
v6.0.0-alpha.26
2020-03-12 20:53:10 +08:00
Michael Shilman
cbe0da787a
v6.0.0-alpha.25
2020-03-11 18:53:09 +08:00
Michael Shilman
7a68f72411
v6.0.0-alpha.24
2020-03-11 16:56:16 +08:00
Michael Shilman
fbd0c3c0b6
v6.0.0-alpha.23
2020-03-11 16:43:16 +08:00
Michael Shilman
6cb32b3d98
v6.0.0-alpha.22
2020-03-10 18:44:26 +08:00
Rob Finbow
bd65e83cba
Yarn 2 compatibility fixes
2020-03-09 17:33:38 +00:00
Michael Shilman
7970836309
v6.0.0-alpha.21
2020-03-05 17:26:05 +08:00
Sachin Thakur
c33337d50c
Support Both js and jsx or ts and tsx
...
Updated Regex to accommodate both Js and JSX or ts and TSX.
Issue:
What I did
Update default template generation in storybook cli to add jsx/ts/tsx file.
2020-03-01 11:22:15 +05:30
Michael Shilman
dac6752d47
v6.0.0-alpha.20
2020-02-27 08:26:52 +08:00
Michael Shilman
b5b1bda641
v6.0.0-alpha.19
2020-02-24 22:28:05 +08:00
Michael Shilman
480370557a
v6.0.0-alpha.18
2020-02-22 04:31:14 +08:00
Michael Shilman
36327ee08e
v6.0.0-alpha.17
2020-02-21 11:58:31 +08:00
Michael Shilman
b2d08977a3
v6.0.0-alpha.16
2020-02-21 11:45:13 +08:00
Michael Shilman
efd0256348
v6.0.0-alpha.15
2020-02-20 11:54:32 +08:00
Michael Shilman
4341bc65f7
v6.0.0-alpha.14
2020-02-19 06:53:15 +08:00
Gaëtan Maisse
7e486a554e
Merge pull request #9902 from storybookjs/add-downlevel-dts
...
Fix: Add downlevel dts
2020-02-18 22:29:11 +01:00
Gaëtan Maisse
781a472562
Merge pull request #9866 from storybookjs/yarn-2-cli-sb-init-compatibility
...
CLI: Add Yarn 2 compatibility
2020-02-18 20:59:25 +01:00
Lynn Chyi
23b7d9fde9
Add ts3.5 to package.json's "files" attr
...
(cherry picked from commit f0edad2d0cb5c74d2f03a13e1ca1cb27287f3625)
2020-02-18 20:37:59 +01:00
jamesgeorge007
2bf90aae28
fix: parse args the native way
2020-02-17 22:23:24 +05:30
jamesgeorge007
c674a3868e
fix: ignore rule
2020-02-17 17:01:21 +05:30
jamesgeorge007
6e36ee543e
fix: lint
2020-02-17 17:00:40 +05:30
jamesgeorge007
458c70a0d5
refactor: use inline approach
2020-02-17 16:23:02 +05:30
jamesgeorge007
de0c49c9b7
feat: recommend commands
2020-02-17 16:22:32 +05:30
jamesgeorge007
93f143c75d
chore: remove didyoumean
2020-02-17 16:19:14 +05:30
jamesgeorge007
77db09eb00
chore: add leven as a dep
2020-02-17 16:17:24 +05:30
Gaëtan Maisse
e629f50924
fix(cli): add @storybook/addon-knobs in sb init
on Mithril project as it is listed in SB config template
...
3dd714d353/lib/cli/src/generators/MITHRIL/template-csf/.storybook/main.js
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
f119fdf18c
fix(cli): add @storybook/addon-knobs in sb init
on Meteor project as it is listed in SB config template
...
3dd714d353/lib/cli/src/generators/METEOR/template-csf/.storybook/main.js
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
ef9865234c
fix(cli): add peerDeps of @storybook/ember in sb init
on Ember project
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
f41ac2b3a8
test(cli): add missing dep in riot fixture
...
`riot-tmpl` is a peerDependency of `riot-compiler`
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
9e4f21640e
test(cli): add tests to check Yarn 2 compatibility
...
These tests mimic the ones done to test SB CLI with "classic" yarn.
However, some magic setup and `package.json` customization are needed in order to make Yarn 2 works inside a Yarn v1 workspace.
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
febe9e7204
feat(cli): make CLI works with Yarn 2 for React scripts projects
...
Before, it was assumed that "When working with `create-react-app@>=2.0.0`, we know `babel-loader` is installed."
But `babel` is a peer dependency of `@storybook/core` (itself dep of `@storybook/react`) and so it must be added to the project's `package.json`
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
e46fecfc05
feat: make SB CLI compatible with yarn 2
2020-02-16 09:23:28 +01:00
Gaëtan Maisse
59fbd10bf5
refactor: extract npm and yarn processing from latestVersion
in their own functions
...
Preparatory refactoring to simplify future compatibility with Yarn 2.
2020-02-16 09:23:28 +01:00
Michael Shilman
5b11df0638
v6.0.0-alpha.13
2020-02-15 20:43:01 +08:00
Gaëtan Maisse
a06ff34138
fix(cli): add missing pattern in babel ignore attribute
...
Added the template folder that has been forgotten in 3dd714d3532687d958c41e093187b84ffca603ee
2020-02-14 21:53:02 +01:00
Michael Shilman
ba5430acb5
v6.0.0-alpha.12
2020-02-14 01:00:02 +08:00
Michael Shilman
f46cdcf7f4
v6.0.0-alpha.11
2020-02-13 12:07:31 +08:00
Gaëtan Maisse
ded6324ebd
refactor(cli): replace some default exports with named ones
...
For some reason why see https://blog.neufund.org/why-we-have-banned-default-exports-and-you-should-do-the-same-d51fdc2cf2ad
2020-02-11 19:41:47 +01:00
Gaëtan Maisse
2adccac54d
refactor(cli): remove esm
as source code is now transpiled to CJS
...
- Move `generate.js` to have it transpiled by Babel too
2020-02-11 19:41:47 +01:00
Gaëtan Maisse
3dd714d353
refactor: transpile @storybook/cli
to CJS with Babel
...
- move all source code in `src` as it's, by convention in SB monorepo, the source folder for Babel
- update `.babelrc.json` to ignore all templates files
- add `prepare` NPM script as in all other libs
- update `cleanup` stage of `prepare` script to avoid removing anything from `@storybook/cli/dist/generators/**/template*` folder because there are the template files that will be copied to initialize SB on users' projects
2020-02-11 19:41:47 +01:00
Michael Shilman
558371ae9d
v6.0.0-alpha.10
2020-02-11 22:29:59 +08:00
Michael Shilman
4f0a75c824
v6.0.0-alpha.9
2020-02-09 01:24:54 +08:00
Michael Shilman
582b5c4f43
v6.0.0-alpha.8
2020-02-08 00:22:00 +08:00
Michael Shilman
45c0400457
v6.0.0-alpha.7
2020-02-07 23:46:35 +08:00
Michael Shilman
d489e651a3
Merge branch 'next' into fix/9421-local-addons
2020-02-07 10:38:36 +08:00
Norbert de Langen
686c2bfe61
REMOVE addon-notes remnants
2020-02-07 00:06:57 +01:00
Norbert de Langen
0f5b841937
REMOVE babel-6 cli fixture
2020-02-06 11:12:42 +01:00
Michael Shilman
34bfe84397
v6.0.0-alpha.6
2020-02-05 07:42:41 +08:00
Norbert de Langen
82c0abfce7
Correct the file path for the Button story ( #9325 )
...
Correct the file path for the Button story
2020-02-04 10:02:57 +01:00