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 committed Jun 28, 2024
1 parent af481e1 commit 355785f
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 355785f

Please sign in to comment.