mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 06:31:47 +08:00
Merge branch 'next' of github.com:storybookjs/storybook into next
This commit is contained in:
commit
ae705ad123
@ -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
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user