1563 Commits

Author SHA1 Message Date
Yann Braga
5f4eee1278 refactor(cli): improve typings for story format 2020-05-16 18:01:59 +02:00
Yann Braga
66e6fdca01 refactor(cli): improve typings for project types 2020-05-16 17:52:47 +02:00
Gaëtan Maisse
d4b22035cd
refactor(cli): activate strict mode in TS (except strictNullChecks)
Activating `strictNullChecks` makes TS compilation throw a lot of errors that need to refactor some part of the code.
These refactoring will be done in another commit.
2020-05-15 21:49:32 +02:00
Gaëtan Maisse
0cd9cdec3f
refactor(cli): migrate generate file to TS 2020-05-15 21:49:31 +02:00
Gaëtan Maisse
66e077b2bc
refactor(cli): migrate initiate file to TS 2020-05-15 21:49:30 +02:00
Gaëtan Maisse
56930ac795
refactor(cli): migrate update package organization generator to TS 2020-05-15 21:49:29 +02:00
Gaëtan Maisse
306125f05f
refactor(cli): migrate Webpack React generator to TS 2020-05-15 21:49:29 +02:00
Gaëtan Maisse
d0b0d1fb0c
refactor(cli): migrate Web Components generator to TS 2020-05-15 21:49:28 +02:00
Gaëtan Maisse
ef309886e3
refactor(cli): migrate Vue generator to TS 2020-05-15 21:49:28 +02:00
Gaëtan Maisse
828f562671
refactor(cli): migrate Svelte generator to TS 2020-05-15 21:49:28 +02:00
Gaëtan Maisse
9bb9c69ca8
refactor(cli): migrate Sfc Vue generator to TS 2020-05-15 21:49:27 +02:00
Gaëtan Maisse
7a75fd3b66
refactor(cli): migrate Riot generator to TS 2020-05-15 21:49:26 +02:00
Gaëtan Maisse
97bb8fddce
refactor(cli): migrate React Scripts generator to TS 2020-05-15 21:49:26 +02:00
Gaëtan Maisse
d4d61499d5
refactor(cli): migrate React Native generator to TS 2020-05-15 21:49:25 +02:00
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
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