Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/storybook

Package Overview
Dependencies
Maintainers
6
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/storybook - npm Package Compare versions

Comparing version 4.0.0-beta.0 to 4.0.0-beta.1

2

dist/commands/storybook/start.js

@@ -36,3 +36,3 @@ "use strict";

} = this.flags;
let args = [`--host=${host}`, `--port=${port}`];
let args = ['--ci', `--host=${host}`, `--port=${port}`];

@@ -39,0 +39,0 @@ let spawn = require('cross-spawn');

@@ -1,1 +0,1 @@

{"version":"4.0.0-beta.0","commands":{"storybook":{"id":"storybook","description":"Snapshot static or hosted Storybook stories","pluginName":"@percy/storybook","pluginType":"core","aliases":[],"examples":["$ percy storybook ./build","$ percy storybook http://localhost:9000/"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"include":{"name":"include","type":"option","char":"i","description":"pattern matching story names to include in snapshots"},"exclude":{"name":"exclude","type":"option","char":"e","description":"pattern matching story names to exclude from snapshots"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"logs snapshots without creating a build","allowNo":false}},"args":[{"name":"url_or_build_dir","description":"storybook url or build output directory","required":true}]},"storybook:start":{"id":"storybook:start","description":"Run start-storybook to snapshot stories","pluginName":"@percy/storybook","pluginType":"core","aliases":[],"examples":["$ percy storybook:start","$ percy storybook:start --port 9000","$ percy storybook:start --static-dir public"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"include":{"name":"include","type":"option","char":"i","description":"pattern matching story names to include in snapshots"},"exclude":{"name":"exclude","type":"option","char":"e","description":"pattern matching story names to exclude from snapshots"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"logs snapshots without creating a build","allowNo":false},"port":{"name":"port","type":"option","description":"port to start Storybook","default":9000},"host":{"name":"host","type":"option","description":"host to start Storybook","default":"localhost"}},"args":[]}}}
{"version":"4.0.0-beta.1","commands":{"storybook":{"id":"storybook","description":"Snapshot static or hosted Storybook stories","pluginName":"@percy/storybook","pluginType":"core","aliases":[],"examples":["$ percy storybook ./build","$ percy storybook http://localhost:9000/"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"include":{"name":"include","type":"option","char":"i","description":"pattern matching story names to include in snapshots"},"exclude":{"name":"exclude","type":"option","char":"e","description":"pattern matching story names to exclude from snapshots"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"logs snapshots without creating a build","allowNo":false}},"args":[{"name":"url_or_build_dir","description":"storybook url or build output directory","required":true}]},"storybook:start":{"id":"storybook:start","description":"Run start-storybook to snapshot stories","pluginName":"@percy/storybook","pluginType":"core","aliases":[],"examples":["$ percy storybook:start","$ percy storybook:start --port 9000","$ percy storybook:start --static-dir public"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"include":{"name":"include","type":"option","char":"i","description":"pattern matching story names to include in snapshots"},"exclude":{"name":"exclude","type":"option","char":"e","description":"pattern matching story names to exclude from snapshots"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"logs snapshots without creating a build","allowNo":false},"port":{"name":"port","type":"option","description":"port to start Storybook","default":9000},"host":{"name":"host","type":"option","description":"host to start Storybook","default":"localhost"}},"args":[]}}}
{
"name": "@percy/storybook",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

@@ -141,4 +141,4 @@ # @percy/storybook

Prior versions of the Storybook SDK were drastically different than the current version. The
command, it's args, and how the SDK works internally have changed completely. Using the old command
will now result in a deprecation message. The new command is now integrated into
command, it's arguments, and how the SDK works internally have changed completely. Using the old
command with new versions will now result in an error message. The new command is now integrated into
[`@percy/cli`](https://github.com/percy/cli) as a plugin.

@@ -152,6 +152,12 @@

Since both the command and arguments have changed, you'll need to replace your existing usage with
the [new usage described above](#usage). For some projects, this may require setting additional
[configuration options](#configuration). See the list of breaking changes below for details.
### Breaking changes
There are a lot of breaking changes. So to upgrade, make sure you read through them. For one,
previous flags are no longer available. Here are each of their alternatives:
Most importantly, the command itself has changed and all previous arguments are no longer accepted.
- The `percy-storybook` command has been replaced with a [`percy` CLI](https://github.com/percy/cli)
subcommand, `percy storybook`.

@@ -158,0 +164,0 @@ - The previous `--build_dir` flag is now a command argument and there is no default build directory. If

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc