zeplin / cli-connect-storybook-plugin

Zeplin CLI plugin to generate Storybook links for Zeplin components
MIT License
20 stars 3 forks source link

format: "new" setting only generates one storybook link #26

Open alphanumericone opened 4 years ago

alphanumericone commented 4 years ago

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.

yuqu commented 4 years ago

Hey @alphanumericone, I couldn't reproduce this issue. Could you share a sample configuration?

alphanumericone commented 4 years ago

{ "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" } }

yuqu commented 4 years ago

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?