diff --git a/lib/options.js b/lib/options.js index ce22d77..ee0224b 100644 --- a/lib/options.js +++ b/lib/options.js @@ -8,11 +8,16 @@ const sharedOptions = [ ['-s, --static-dir ', 'Directory where to load static files from', parseList], ['-c, --config-dir [dir-name]', 'Directory where to load Storybook configurations from'], ['--quiet', 'Suppress verbose build output'], - ['--debug-webpack', 'Preview Webpack Config for debugging'], + ['--loglevel [level]', 'Control level of logging during build'], + ['--no-dll', 'Do not use dll reference (no-op)'], + ['--docs-dll', 'Use Docs dll reference (legacy)'], + ['--ui-dll', 'Use UI dll reference (legacy)'], + ['--debug-webpack', 'Display final webpack configurations for debugging purposes'], + ['--preview-url [string]', 'Disables the default storybook preview and lets your use your own'], ]; // Parsed from storybook repo. -// tags/v4.1.4: storybook/lib/core/src/server/cli/prod.js +// tags/v6.1.6: storybook/lib/core/src/server/cli/prod.js const prodOptions = [ ...sharedOptions, ['-o, --output-dir [dir-name]', 'Directory where to store built files'], @@ -21,7 +26,7 @@ const prodOptions = [ ]; // Parsed from storybook repo. -// tags/v4.1.4: storybook/lib/core/src/server/cli/dev.js +// tags/v6.1.6: storybook/lib/core/src/server/cli/dev.js const devOptions = [ ...sharedOptions, ['-p, --port [number]', 'Port to run Storybook', (str) => parseInt(str, 10)], @@ -31,7 +36,11 @@ const devOptions = [ ['--ssl-cert ', 'Provide an SSL certificate. (Required with --https)'], ['--ssl-key ', 'Provide an SSL key. (Required with --https)'], ['--smoke-test', 'Exit after successful start'], - ['--ci', "CI mode (skip interactive prompts, don't open browser"], + ['--ci', "CI mode (skip interactive prompts, don't open browser)"], + ['--no-version-updates', 'Suppress update check', true], + ['--no-release-notes', 'Suppress automatic redirects to the release notes after upgrading', true], + ['--no-manager-cache', 'Do not cache the manager UI'], + ['--docs', 'Starts Storybook in documentation mode'], ]; const generateVueCliOptions = (options) => options.reduce(