From c97cfcf3695daae1cbf0c5e3f062c07f52f74a01 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 Nov 2024 17:04:11 +0000 Subject: [PATCH] chore: release --- .changeset/dull-bags-collect.md | 5 ----- .changeset/lemon-hotels-build.md | 5 ----- .changeset/shaggy-pigs-flash.md | 5 ----- .changeset/violet-goats-smile.md | 5 ----- .changeset/warm-teachers-teach.md | 7 ------- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 7 files changed, 16 insertions(+), 28 deletions(-) delete mode 100644 .changeset/dull-bags-collect.md delete mode 100644 .changeset/lemon-hotels-build.md delete mode 100644 .changeset/shaggy-pigs-flash.md delete mode 100644 .changeset/violet-goats-smile.md delete mode 100644 .changeset/warm-teachers-teach.md diff --git a/.changeset/dull-bags-collect.md b/.changeset/dull-bags-collect.md deleted file mode 100644 index 79209ba59..000000000 --- a/.changeset/dull-bags-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -Add a new built-in format javascript/esm that outputs an ES module JS default export. diff --git a/.changeset/lemon-hotels-build.md b/.changeset/lemon-hotels-build.md deleted file mode 100644 index 4e687fbbd..000000000 --- a/.changeset/lemon-hotels-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': patch ---- - -Update .d.ts/js files type imports to use correct extensions rather than extensionless. This fixes some incompatibilities with latest TypeScript "NodeNext" moduleResolution. diff --git a/.changeset/shaggy-pigs-flash.md b/.changeset/shaggy-pigs-flash.md deleted file mode 100644 index b5dfac598..000000000 --- a/.changeset/shaggy-pigs-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -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. diff --git a/.changeset/violet-goats-smile.md b/.changeset/violet-goats-smile.md deleted file mode 100644 index a6e7a5112..000000000 --- a/.changeset/violet-goats-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'style-dictionary': minor ---- - -Apply stripMeta from "json" format to the new "javascript/esm" as well. diff --git a/.changeset/warm-teachers-teach.md b/.changeset/warm-teachers-teach.md deleted file mode 100644 index 4f0ce655d..000000000 --- a/.changeset/warm-teachers-teach.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'style-dictionary': minor ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index ae87e7de0..82d3264ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 45dab8436..3c4af8415 100644 --- a/package.json +++ b/package.json @@ -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",