1406 Commits

Author SHA1 Message Date
Michael Shilman
205c897579 v6.0.0-alpha.29 2020-03-26 10:38:49 +08:00
dependabot-preview[bot]
25380b8204
Bump semver from 6.3.0 to 7.1.3
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 7.1.3.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v7.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 10:47:42 +00:00
Norbert de Langen
4ac5cbf455
FIX path to install.js 2020-03-25 11:15:08 +01:00
Norbert de Langen
cd9c59543d
FIX linting 2020-03-25 11:14:09 +01:00
Norbert de Langen
e5d00b544f FIX wait for script to finish 2020-03-25 10:59:35 +01:00
Norbert de Langen
77ec7e03cd
CHANGE to use puppeteer-core install script 2020-03-25 10:01:28 +01:00
Norbert de Langen
903e99e1f6
Merge branch 'next' into add/extract-command-to-cli
# Conflicts:
#	lib/cli/package.json
2020-03-25 08:57:17 +01:00
Norbert de Langen
caec732ec1
FIX ref to logger 2020-03-25 08:47:46 +01:00
Norbert de Langen
36078d46a4
FIX use npx instead 2020-03-24 19:58:19 +01:00
Norbert de Langen
c08f305847
CHANGE to lazy-install puppeteer 2020-03-24 14:18:02 +01:00
Michael Shilman
482764665b v6.0.0-alpha.28 2020-03-23 13:54:49 +08:00
Norbert de Langen
b4857c7022
FIX 2020-03-18 16:53:51 +01:00
Norbert de Langen
0a50d7d86d
FIX try using localhost, since it seems the server returned address doesn't seem to be accessible in CI 2020-03-18 16:31:37 +01:00
Norbert de Langen
9054c902ac
FIX missing await 2020-03-18 16:10:34 +01:00
Norbert de Langen
adf4d2bf58
CHANGE to use get-port 2020-03-18 15:24:55 +01:00
Norbert de Langen
7e40bf8ca6
FIX linting error 2020-03-18 12:19:02 +01:00
Norbert de Langen
9ccde7a983
RENAME data.json to stories.json 2020-03-18 11:10:24 +01:00
Norbert de Langen
39a3cc069c
ADD extract command to cli 2020-03-18 11:05:13 +01:00
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