Skip to content

Commit

Permalink
Merge pull request #1383 from amzn/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
jorenbroekema authored Nov 11, 2024
2 parents 99f687e + c97cfcf commit 325d161
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 28 deletions.
5 changes: 0 additions & 5 deletions .changeset/dull-bags-collect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-hotels-build.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-pigs-flash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-goats-smile.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/warm-teachers-teach.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 4.2.0

### Minor Changes

- 0fcf229: Add a new built-in format javascript/esm that outputs an ES module JS default export.
- d7b5836: Mark javascript/esm as nested, use Prettier on all JavaScript/TypeScript formats, use 3.x.x peerDependency so the user's installation is used when possible.
- 4bf68a3: Apply stripMeta from "json" format to the new "javascript/esm" as well.
- 8f1b4f0: Add new utility in `style-dictionary/utils` -> `stripMeta` for stripping metadata from tokens.
This utility is used now as an opt-in for the built-in `'json'` format by using `options.stripMeta`, which if set to `true` will strip Style Dictionary meta props.
You can specify `keep`/`strip` (allow/blocklist) for granular control about which properties to keep or strip.

### Patch Changes

- 5e3a5af: Update .d.ts/js files type imports to use correct extensions rather than extensionless. This fixes some incompatibilities with latest TypeScript "NodeNext" moduleResolution.

## 4.1.4

### 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.1.4",
"version": "4.2.0",
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
"keywords": [
"style dictionary",
Expand Down

0 comments on commit 325d161

Please sign in to comment.