Gaëtan Maisse
9583c02882
Merge branch 'next' into tech/migrate-cli-to-TS
2020-05-17 17:08:52 +02:00
Gaëtan Maisse
5860974137
refactor(cli): improve typing of window
...
In order to be able to extend types in global scope with an `import` at the top of the file we have to create a new dedicated file (and can not use already existing typings.d.ts).
For details, see https://stackoverflow.com/questions/30960386/how-to-extend-the-window-typescript-interface/30961346#30961346
2020-05-17 17:08:00 +02:00
Gaëtan Maisse
ffa152204f
refactor(cli): use a unified type across all CLI generators
2020-05-17 16:49:01 +02:00
Yann Braga
cb149f6043
refactor(cli): use storyformat in aurelia generator
2020-05-17 14:53:46 +02:00
Yann Braga
bc237c7f5f
test(cli): fix types by casting storyformat
2020-05-17 14:20:13 +02:00
Yann Braga
7ea8f77705
refactor(cli): add storyformat to command options
2020-05-17 14:19:26 +02:00
Michael Shilman
73d9b6fb3a
v6.0.0-beta.8
2020-05-17 19:03:09 +08:00
Yann Braga
d1ffb883b0
refactor(cli): improve typings for supported language
2020-05-16 18:03:26 +02:00
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