Merge branch 'next' of github.com:storybookjs/storybook into next

This commit is contained in:
Michael Shilman 2019-08-20 20:30:08 +08:00
commit ae705ad123
2 changed files with 13 additions and 10 deletions

View File

@ -52,7 +52,7 @@ import { Badge } from './Badge';
storiesOf('Path/to/Badge', module).addParameters({ component: Badge });
```
If you're coming from the`storiesOf` format, there's [a codemod that adds it for you](https://github.com/storybookjs/storybook/blob/next/lib/codemod/README.md#add-component-parameters).
If you're coming from the `storiesOf` format, there's [a codemod that adds it for you](https://github.com/storybookjs/storybook/blob/next/lib/codemod/README.md#add-component-parameters).
## DocsPage slots

View File

@ -310,16 +310,19 @@ export async function buildDevStandalone(options) {
warning += managerStats.toJson().warnings.length;
process.exit(warning ? 1 : 0);
} else if (!options.ci) {
outputStartupInformation({
updateInfo,
version,
address,
networkAddress,
managerTotalTime,
previewTotalTime,
});
return;
}
outputStartupInformation({
updateInfo,
version,
address,
networkAddress,
managerTotalTime,
previewTotalTime,
});
if (!options.ci) {
openInBrowser(address);
}
} catch (error) {