Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages (prerelease) #1225

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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