1714 Commits

Author SHA1 Message Date
Gaëtan Maisse
30c09ddb56
refactor(cli): migrate React generator to TS 2020-05-15 21:49:24 +02:00
Gaëtan Maisse
ccdffd2e16
refactor(cli): migrate Rax generator to TS 2020-05-15 21:49:24 +02:00
Gaëtan Maisse
d3179def62
refactor(cli): migrate Preact generator to TS 2020-05-15 21:49:23 +02:00
Gaëtan Maisse
493ab0f399
refactor(cli): migrate Mithril generator to TS 2020-05-15 21:49:22 +02:00
Gaëtan Maisse
a124364968
refactor(cli): migrate Meteor generator to TS 2020-05-15 21:49:21 +02:00
Gaëtan Maisse
9e0fa878f3
refactor(cli): migrate Marko generator to TS 2020-05-15 21:49:21 +02:00
Gaëtan Maisse
eea1a03eaa
refactor(cli): migrate Marionette generator to TS 2020-05-15 21:49:21 +02:00
Gaëtan Maisse
db5a8dea30
refactor(cli): migrate HTML generator to TS 2020-05-15 21:49:20 +02:00
Gaëtan Maisse
f481ef0e46
refactor(cli): migrate Ember generator to TS 2020-05-15 21:49:20 +02:00
Gaëtan Maisse
7661068c5b
refactor(cli): migrate Aurelia generator to TS 2020-05-15 21:49:19 +02:00
Gaëtan Maisse
8e0e02f900
refactor(cli): migrate Angular generator to TS 2020-05-15 21:49:19 +02:00
Gaëtan Maisse
9e49f813a3
refactor(cli): move NpmOptions and PackageJson in their own files 2020-05-15 21:49:19 +02:00
Gaëtan Maisse
d8e77a12e5
refactor(cli): migrate migrate file to TS 2020-05-15 21:49:18 +02:00
Gaëtan Maisse
ce1a49542c
refactor(cli): migrate extract file to TS 2020-05-15 21:49:18 +02:00
Gaëtan Maisse
e5c39984a6
refactor(cli): migrate detect file and its tests to TS 2020-05-15 21:49:18 +02:00
Gaëtan Maisse
f923d9a5b7
refactor(cli): migrate add file and its tests to TS 2020-05-15 21:49:18 +02:00
Gaëtan Maisse
924686a441
refactor(cli): migrate helpers and its tests to TS 2020-05-15 21:49:17 +02:00
Gaëtan Maisse
a4d5135be2
refactor(cli): migrate project_types and its tests to TS 2020-05-15 21:49:17 +02:00
Gaëtan Maisse
211acb62be
refactor(cli): migrate Yarn and NPM related files to TS
- Add needed @types packages
 - remove `silent: true` option in `sync` calls as it looks like it's not a valid option
 - remove `encoding: 'utf-8'` option in `spawn` calls as it looks like it's not a valid option
2020-05-15 21:49:17 +02:00
Gaëtan Maisse
f0954f6a44
refactor(cli): add tsconfig.json
⚠️ All files in `template*` directories are ignored because they must be as it in the `dist`.
2020-05-15 21:20:49 +02:00
Michael Shilman
3cea5335d2 v6.0.0-beta.7 2020-05-15 12:08:19 +08:00
Norbert de Langen
8728e2a748
DELETE react-static fixture 2020-05-15 02:19:28 +02:00
Norbert de Langen
74c1a7c0aa
REMOVE tslint instead
bye bye
2020-05-14 17:06:18 +02:00
Yann Braga
6c4a57b5ae
Merge pull request #10705 from storybookjs/generator_html
CLI: html stories homogenization
2020-05-14 09:04:42 +02:00
Gaëtan Maisse
60512c454f
Merge branch 'next' into generator_html 2020-05-13 22:33:53 +02:00
Gaëtan Maisse
0886d6ccc5
fix(cli): fix reference to Button story in story template used when init an SB in an html project 2020-05-13 22:33:07 +02:00
Gaëtan Maisse
e07ef59f87
feat(cli): remove @storybook/addons from deps installed when running sb init in an html project
`@storybook/addons` is already a dependency of all `@storybook/addon-XXX` packages so there is no need to add it to the root project directly.
2020-05-13 22:31:22 +02:00
Gaëtan Maisse
9933a902c6
Merge branch 'next' into generator_webComponentsStories 2020-05-13 22:25:44 +02:00
Gaëtan Maisse
1c4e3d5e73
feat(cli): remove @storybook/addons from deps installed when running sb init in a web-component project
`@storybook/addons` is already a dependency of all `@storybook/addon-XXX` packages so there is no need to add it to the root project directly.
2020-05-13 22:22:23 +02:00
Michael Shilman
6f10ef5c93 v6.0.0-beta.6 2020-05-12 21:20:15 +08:00
tooppaaa
057ab35ea9 Merge remote-tracking branch 'origin/next' into tech/ci-example-overhaul-clean 2020-05-11 17:32:50 +02:00
Clément DUNGLER
3eda2cbe53
Merge pull request #10711 from storybookjs/generator_react
cli: react stories homogenization
2020-05-11 17:29:44 +02:00
Clément DUNGLER
3fb09cf08a
Merge pull request #10708 from storybookjs/generator_vue
cli: vue stories homogenization
2020-05-11 17:16:38 +02:00
Clément DUNGLER
890d8e177e
Merge pull request #10709 from storybookjs/generator_webpackReact
cli: webpack react stories homogenization
2020-05-11 17:15:58 +02:00
Clément DUNGLER
37968d67c1
Merge pull request #10704 from storybookjs/generator_svelte
cli: svelte stories homogenization
2020-05-11 17:15:23 +02:00
Clément DUNGLER
9ed15c499e
Merge pull request #10710 from storybookjs/generator_reactScripts
cli: react-scripts stories homogenization
2020-05-11 17:14:51 +02:00
Clément DUNGLER
3a870080de
Merge pull request #10707 from storybookjs/generator_mithril
cli: mithril stories homogenization
2020-05-11 17:14:07 +02:00
Clément DUNGLER
781edbc020
Merge pull request #10706 from storybookjs/generator_rax
cli: rax stories homogenization
2020-05-11 17:13:44 +02:00
Clément DUNGLER
52dbc8863b
Merge pull request #10715 from storybookjs/generator_riot
cli: riot stories homogenization
2020-05-11 17:13:17 +02:00
Clément DUNGLER
1bc5a0c81b
Merge pull request #10713 from storybookjs/generator_ember
cli: ember stories homogenization
2020-05-11 17:10:43 +02:00
Clément DUNGLER
9f6d392d33
Merge pull request #10712 from storybookjs/generator_preact
cli: preact stories homogenization
2020-05-11 17:10:07 +02:00
Clément DUNGLER
f87f3717ec
Merge pull request #10714 from storybookjs/generator_vueSfc
cli: sfc_vue stories homogenization
2020-05-11 17:07:10 +02:00
Michael Shilman
5827cff7eb v6.0.0-beta.5 2020-05-11 16:50:47 +08:00
Gaëtan Maisse
37f29dc707
test(cli): don't test CLI against react_scripts fixtures with Yarn 2
When testing Yarn 2 compatibility of Storybook CLI, we are using Yarn 2 in fixture directories inside a Yarn 1 workspace.
To access local versions of `@storybook` packages we use Yarn 2 `portal` protocol (see berryfy_package_json.js). However, it looks like CRA is not playing well with `portal` protocol and is throwing this kind of error: `Relative imports outside of src/ are not supported.`.

As new E2E tests will be soon available, I just removed the CRA tests instead of trying to hack them a bit more.
2020-05-10 12:58:15 +02:00
Yann Braga
a091c81e69 cli: riot stories homogenization 2020-05-09 21:18:16 +02:00
tooppaaa
d614bb76e5 cli: react stories homogenization 2020-05-09 21:07:13 +02:00
tooppaaa
a3ef1dcf79 cli: react-scripts stories homogenization 2020-05-09 21:05:36 +02:00
tooppaaa
cd99513d76 cli: react stories homogenization 2020-05-09 21:04:15 +02:00
tooppaaa
5593da3e67 cli: preact stories homogenization 2020-05-09 21:03:28 +02:00
tooppaaa
8c220ecec6 cli: ember stories homogenization 2020-05-09 21:02:46 +02:00