Skip to content

Commit

Permalink
chore: add missing changeset for SD format platform methods (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema authored May 30, 2024
1 parent 6e226aa commit af5cc94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/tidy-months-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'style-dictionary': minor
---

Create `formatPlatform` and `formatAllPlatforms` methods.
This will return the outputs and destinations from the format hook for your dictionary, without building these outputs and persisting them to the filesystem.
Additionally, formats can now return any data type instead of requiring it to be a `string` and `destination` property in `files` is now optional.
This allows users to create formats intended for only formatting tokens and letting users do stuff with it during runtime rather than writing to files.

0 comments on commit af5cc94

Please sign in to comment.