cli-connect-storybook-plugin
cli-connect-storybook-plugin copied to clipboard
format: "new" setting only generates one storybook link
When specifying format: "new" in the configuration, even if multiple stories are manually configured for the component, only a single storybook link will be generated.
Hey @alphanumericone, I couldn't reproduce this issue. Could you share a sample configuration?
{ "plugins": [ { "name": "@zeplin/cli-connect-react-plugin" }, { "name": "@zeplin/cli-connect-storybook-plugin", "config": { "url": "http://localhost:6006", "format": "new", "targetUrl": "https://targetLocation" } } ], "projects": [], "styleguides": ["styleguideID"], "components": [ { "path": "src/AppBar/app-bar.component.js", "zeplinNames": [ "Nav / Global / Inventory+", "Nav / Global / CRM", "Nav / Global / iDMS" ], "storybook": { "kind": "Surfaces/AppBar", "stories": ["Basic", "Advanced", "Icons"] } } ], "bitbucket": { "user": "dealersocket", "repository": "web.lib.ds-ui-react", "branch": "master" } }
I was able to generate 4 links (3 manual + 1 auto) using the configuration you sent. Do you use the latest version on both CLI and its plugins?