From 04c33775509a32285ae357483d0c6a338c4ba3d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 May 2024 18:49:59 +0200 Subject: [PATCH] chore: release (prerelease) (#1225) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 4 ++++ CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 899097bda..01e55d22d 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -37,6 +37,7 @@ "light-games-occur", "light-lions-jam", "little-mice-pump", + "loud-planets-try", "mean-panthers-serve", "neat-zoos-reflect", "nice-ears-shop", @@ -61,14 +62,17 @@ "smooth-bulldogs-type", "smooth-jobs-attack", "spicy-pears-work", + "spotty-sheep-mix", "stale-teachers-hug", "stupid-deers-call", + "stupid-mangos-explode", "sweet-toes-fly", "tall-falcons-explode", "ten-numbers-lay", "tender-tips-breathe", "thick-scissors-admire", "thirty-cows-exercise", + "tidy-months-brake", "tough-grapes-agree", "tricky-snakes-appear", "two-keys-pump", diff --git a/CHANGELOG.md b/CHANGELOG.md index eae23d1f7..5efa71a3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 4.0.0-prerelease.32 + +### Minor Changes + +- af5cc94: 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. + +### Patch Changes + +- 2335f13: Allow using registerHook methods to override hooks that are already registered with the same name. +- 6e226aa: Pass the original ref path to the `getReferences` util result tokens. +- 3f09277: Pass dictionary options to preprocessor functions. + ## 4.0.0-prerelease.31 ### Patch Changes diff --git a/package.json b/package.json index 0211ca2fe..5e9ca8002 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "style-dictionary", - "version": "4.0.0-prerelease.31", + "version": "4.0.0-prerelease.32", "description": "Style once, use everywhere. A build system for creating cross-platform styles.", "keywords": [ "style dictionary",