Skip to content

Commit

Permalink
Remove --quiet flag from sku storybook (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Mar 5, 2024
1 parent 32c0911 commit d2a267d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .changeset/tidy-lamps-obey.md
@@ -0,0 +1,16 @@
---
'sku': patch
---

Stop passing `--quiet` flag to the Storybook CLI when running `sku storybook`

This flag was added to suppress verbose CLI output, but as of [Storybook CLI v7.1.0][release notes] this also hides the dev server info which includes the URL to access the Storybook UI.

The flag has now been removed to provide a better default experience when using the Storybook CLI.
Users can still pass `--quiet` to suppress verbose output if desired:

```sh
pnpm run sku storybook --quiet
```

[release notes]: https://github.com/storybookjs/storybook/releases/tag/v7.1.0-alpha.38
1 change: 0 additions & 1 deletion packages/sku/scripts/storybook.js
Expand Up @@ -6,7 +6,6 @@ const { watchVocabCompile } = require('../lib/runVocab');
const { setUpStorybookConfigDirectory } = require('../lib/storybook');

// Unshift args to allow pushing --ci as an arg during storybook-config tests
argv.unshift('--quiet');
argv.unshift('--port', storybookPort);
argv.unshift('dev');

Expand Down

0 comments on commit d2a267d

Please sign in to comment.