DX Improvements - Improvements to integration dev
This release addresses several developer experience issues
Bugfixes
- When an integration compiles SASS code, the token injection was injecting components that had no instances in Figma. This causes integrations to fail if the designer had published a component, but not annotated them in Figma with the plugin. This release checks to see if the component has any instances in the Figma export and skips injection for components that are not yet annotated in Figma
- When running
eject:integration
ormake:integration
the default integration is exported, but it is not built. This causes a weird developer experience if you try tobuild:app
withoutbuild:integration
first. This patch adds thebuild:integration
logic to execute aftereject
ormake
as well as beforebuild:app
to ensure that if an integration exists, the integration is built before building or serving the app - If an an
build:app
fails while building the integration preview sass code the error messages were not clear, and didn't explain that you could use--debug
to make them more clear. The error message has been improved and now alerts users to the--debug
flag to help them debug their integration. - When ejecting an integration with the
--force
flag, the force now triggers an overwrite rather than failing.
Commits
- Merge pull request #162 from Convertiv/release/0.13.2 9c401b2
- Updating changelog format a7c1c21
- Merge pull request #161 from Convertiv/bugfix/only-inject-components-with-instances f1ab71f
- Allowing force to force integration eject 597fda1
- Adding release notes for 0.13.2 4c98a51
- Adding help text to integration build failure eda9869
- When ejecting integration, if the fetch has been run, build the integration 857c67f
- Fix a bug where a component is published but not annotated and results in an empty component set and the integration still expects it ed35e10