Skip to content

DX Improvements - Improvements to integration dev

Compare
Choose a tag to compare
@bradmering bradmering released this 18 Sep 15:10
· 115 commits to main since this release

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 or make:integration the default integration is exported, but it is not built. This causes a weird developer experience if you try to build:app without build:integration first. This patch adds the build:integration logic to execute after eject or make as well as before build: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

v0.13.1...v0.13.2