Skip to content

Commit

Permalink
chore: release (prerelease) (#1225)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored May 30, 2024
1 parent af5cc94 commit 04c3377
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 04c3377

Please sign in to comment.