Update dependency @figma/code-connect to ^1.4.4
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @figma/code-connect | devDependencies | patch | ^1.4.3 -> ^1.4.4 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
figma/code-connect (@figma/code-connect)
v1.4.4
Fixed
General
- Bumped Lodash version from 4.17 to 4.18 to address vulnerability CVE-2021-23337
Storybook
- Storybook files with
.ts,.jsx, or.jsextensions (e.g.Button.stories.jsx) are now discovered by the CLI. Previously only.stories.tsxfiles were picked up.
Template files
--exit-on-unreadable-filesis now respected for template files (.figma.ts/.figma.js)- Fixed batch data not being picked up when rendering Code Connect snippets
Features
General
- Added
--forceflag tofigma connect publish. When Figma already has UI-created Code Connect mappings for one or more nodes, publishing will now show a warning instead of failing silently. Use--forceto overwrite those existing mappings with the Code Connect files from your codebase. - The
connect createcommand can now generates template files. - Added
previewcommand: you can now runnpx figma connect preview {fileUrl}to locally preview a Code Connect file without having to publish it.
Template files
- Added batch template support (
.figma.batch.json+.figma.batch.ts). A batch file defines a shared template and an array of component entries, allowing hundreds of similar components (e.g. icons) to be Code Connected without individual template files. Per-entry data is available in the template viafigma.batch.
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.