Closed sayinserdar closed 3 years ago
Hey, thanks for the suggestion.
We have started to support component ids after @zeplin/cli@1.1.0 release. Documentation is on review now, will be published soon. In the meantime, you can access to the branch to see latest documentation.
Zeplin VSCode Extension is also going to be updated to support zeplinIds
field very soon, you can track it on https://github.com/zeplin/vscode-extension/pull/112. There will be a command named Migrate Zeplin Component names to ids in configuration
on the extension to convert all existing zeplinNames
to their correspondent ids, I suggest you to use that command for a seamless migration.
@yuqu hi. I see that you've added zeplinIds
key to the configuration file, and it seems to be working via the CLI. Yet VSCode extension doesn't work with it, it does not suggest any action for this key
@PoisonousJohn Hi, we just published a new release for VS Code Extension to address zeplinIds issues, could you update it and try again?
@sayinserdar As I mentinoned on my comment above, VS Code Extension now supports using component IDs instead of components names on Connected Components configuration file. Check it out on the revamped documentation.
You can use migrate command on the command palette to convert all existing zeplinNames to corresponding zeplinIds.
It would be really nice if an identifier array is used instead of
zeplinNames
array. Our team decided to change its naming convention and we have to change each components' name in ourcomponents.json
. It would be smoother if it's based on id. :clinking_glasses: