1842 Commits

Author SHA1 Message Date
Norbert de Langen
1792927a11
CLEANUP && ADD tests && FIX typescript issue where lib/client-api wasn't build before lib/cli 2020-07-21 10:51:42 +02:00
Norbert de Langen
22edca834e Merge branch 'next' into tech/change-sbextract-cli-command-to-use-better-api 2020-07-21 10:25:39 +02:00
Gaëtan Maisse
4a0c9a9b0d
fix(cli): generate docs:json NPM script dynamically according to tsconfig file
Angular CLI 10 introduced a `tsconfig.base.json` file that we have to use to generate doc with compodoc.
So if `tsconfig.base.json` exist then use it, otherwise assume there is a `tsconfig.json` file
2020-07-20 21:23:15 +02:00
Michael Shilman
23971a07b3 Update version.ts to 6.0.0-rc.12 2020-07-20 20:39:13 +08:00
Michael Shilman
7f48e28526 v6.0.0-rc.12 2020-07-20 20:29:28 +08:00
Michael Shilman
ce91bc3669 Update version.ts to 6.0.0-rc.11 2020-07-19 17:11:00 +08:00
Michael Shilman
24e238da6e v6.0.0-rc.11 2020-07-19 17:02:01 +08:00
Michael Shilman
ac06321c7d Update version.ts to 6.0.0-rc.10 2020-07-18 22:09:58 +08:00
Michael Shilman
1f0309cb5f v6.0.0-rc.10 2020-07-18 22:00:26 +08:00
Norbert de Langen
6a89ea57bf Merge branch 'next' into tech/change-sbextract-cli-command-to-use-better-api 2020-07-17 17:26:58 +02:00
Norbert de Langen
1b738615b1
ADD getStoriesJsonData method for getting data for stories.json && CHANGE cli extract command to use it 2020-07-17 17:24:52 +02:00
Michael Shilman
773b8500f1 Update version.ts to 6.0.0-rc.9 2020-07-17 22:44:48 +08:00
Michael Shilman
2e5d8431be v6.0.0-rc.9 2020-07-17 22:34:25 +08:00
Norbert de Langen
c5cb1232cc
SIMPLIFY extraction 2020-07-16 20:20:52 +02:00
Norbert de Langen
82727846a6
CHANGE to use getDataForManager over extract api on storyStore 2020-07-16 16:54:31 +02:00
Michael Shilman
e3c83c0054 Update version.ts to 6.0.0-rc.8 2020-07-16 19:56:45 +08:00
Michael Shilman
eab66aa5f2 v6.0.0-rc.8 2020-07-16 19:46:24 +08:00
Michael Shilman
75c2de29fa Update version.ts to 6.0.0-rc.7 2020-07-16 19:31:00 +08:00
Michael Shilman
e3838c70aa v6.0.0-rc.7 2020-07-16 19:28:14 +08:00
Michael Shilman
3a6d89a35c Update version.ts to 6.0.0-rc.6 2020-07-16 19:22:17 +08:00
Michael Shilman
7e0e399f83 v6.0.0-rc.6 2020-07-16 19:19:44 +08:00
Michael Shilman
bca9750814 Fix capitalization 2020-07-16 17:27:12 +08:00
tooppaaa
fec9066ecb Svelte CLI 2020-07-15 22:25:47 +02:00
Michael Shilman
2302d7a54e CLI: Fix Vue CLI template props handing 2020-07-15 21:20:38 +08:00
Michael Shilman
8026f60c5b Merge branch 'next' into 10723-update-cli-template-stories 2020-07-15 21:03:13 +08:00
Michael Shilman
3c4d606118 Update version.ts to 6.0.0-rc.5 2020-07-15 20:52:10 +08:00
Michael Shilman
747ced532b v6.0.0-rc.5 2020-07-15 20:42:08 +08:00
Michael Shilman
1f7cfc0e9f Update version.ts to 6.0.0-rc.4 2020-07-15 20:37:01 +08:00
Michael Shilman
0058cde545 v6.0.0-rc.4 2020-07-15 20:34:24 +08:00
Michael Shilman
ed2e2ed3a0 CLI: Fix Angular template compodoc settings 2020-07-15 19:19:26 +08:00
Michael Shilman
fba408cccb CLI template: Prettier 2020-07-15 15:56:18 +08:00
Michael Shilman
45f7ec261b CLI template: Use action argType instead of hard-coded action 2020-07-15 15:56:03 +08:00
Michael Shilman
bfa49263b1 CLI template: Fix componentdriven.org link 2020-07-15 15:55:08 +08:00
Michael Shilman
b101f9e15d Merge branch 'next' into 10723-update-cli-template-stories 2020-07-15 15:03:31 +08:00
tooppaaa
25089c1dfc Angular CLI 2020-07-14 22:55:16 +02:00
tooppaaa
1e6a38e670 Preact CLI 2020-07-14 11:49:42 +02:00
Michael Shilman
f6e7ddfee5 CLI: Ignore import/extensions for framework templates 2020-07-14 17:37:43 +08:00
Michael Shilman
c06b9e9c86 CLI template: Link to componentdriven.org 2020-07-14 14:59:25 +08:00
Michael Shilman
e0d531bf67 CLI template: Fix button CSS 2020-07-14 14:57:34 +08:00
tooppaaa
0f943279b3 Vue stories 2020-07-13 21:48:18 +02:00
Gaëtan Maisse
3e133430c1
fix(cli): replace storybook by Storybook for consistency across all CLI logs 2020-07-12 16:16:33 +02:00
Gaëtan Maisse
4364ee66a0
fix(cli): add some dependencies to be able to run addon-docs with Yarn 2 out of the box 2020-07-12 16:16:32 +02:00
tooppaaa
b67c65f197 add e2e target 2020-07-11 22:55:31 +02:00
Michael Shilman
fddc9a15ea CLI: React template Button css 2020-07-11 21:49:30 +08:00
Michael Shilman
f8531a30d0 CLI: React template Button onClick 2020-07-11 21:40:22 +08:00
Michael Shilman
3282fc1600 Merge branch 'next' into 10723-update-cli-template-stories 2020-07-11 20:48:39 +08:00
Gaëtan Maisse
ffb44dc3c6
refactor(cli): remove all Storybook packages listed as devDeps
These deps were only there to help to find out which version should be
installed when using the CLI. This is now done with a dedicated
`versions.json` file not theya re not needed in `package.json` anymore.

Bonus: it removes some `6.0.0-alpha.0` SB packages that were required by
`"@storybook/react-native": "6.0.0-alpha.0"`
2020-07-11 11:10:44 +02:00
Gaëtan Maisse
c0e00c600e
feat(cli): use versions.json to get SB packages versions
Previously it used `devDep` of `package.json`. It was working but doing
so all Storybook packages had to be added to `devDep`.

Moreover, as `@storybook/react-native` was not part of the monorepo
anymore it's version was stuck to `6.0.0-alpha.0` causing a download
of `6.0.0-alpha.0` SB packages when running `yarn install`.
2020-07-11 11:10:02 +02:00
Gaëtan Maisse
6ab9520716
chore(cli): refactor script to extract and save versions of all SB packages
The previous script was only extracting version for packages under `app`
directory. Now, all `@storybook` packages are processed and save with
their current version in the monorepo in `versions.json`. This file will
be use to find out which version of the packages should be installed
when running `sb init`.
2020-07-11 11:09:59 +02:00
Michael Shilman
bdd89f5964 Update version.ts to 6.0.0-rc.3 2020-07-11 16:36:34 +08:00