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

build(deps): update dependency @tokens-studio/sd-transforms to v0.16.1 #11626

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@tokens-studio/sd-transforms 0.12.2 -> 0.16.1 age adoption passing confidence

Release Notes

tokens-studio/sd-transforms (@​tokens-studio/sd-transforms)

v0.16.1

Compare Source

Patch Changes
  • 3ab8d64: Restructure evaluate math util to support expr eval expressions in combination with regular math.
  • 3ab8d64: Allow math expressions where multiple components contain units, as long as they are still computable.

v0.16.0

Compare Source

Minor Changes
  • 5856621: BREAKING: update to Style Dictionary v4.0.0-prerelease.27, set preprocessor name to 'tokens-studio', which now has to be applied if you want to exclude parent keys, expand composite types or add font style properties to typography values.

v0.15.2

Compare Source

Patch Changes
  • 7617f9d: Pass colorspace to mix modifier, to use the correct color space to mix in.

v0.15.1

Compare Source

Patch Changes
  • 000b202: Update to latest style-dictionary pre.22

v0.15.0

Compare Source

Minor Changes
  • 09b1fc0: BREAKING: remove options addAttributeCTI & casing.
    Since transformGroup can now be combined with transforms, this is now much easier to accomplish in Style-Dictionary without additional sd-transforms options.

    Before:

    registerTransforms(StyleDictionary, { addAttributeCTI: true, casing: 'kebab' });

    After:

    {
      "platforms": {
        "css": {
          "transformGroup": "tokens-studio",
          "transforms": ["attribute/cti", "name/kebab"]
        }
      }
    }

    From this version onwards, Style-Dictionary v4.0.0-prerelease.19 minimum is required.

v0.14.4

Compare Source

Patch Changes
  • 41d83fa: Add "book" to named font weights, converted to 400

v0.14.3

Compare Source

Patch Changes
  • 9351782: Fix expand utility with latest style-dictionary prerelease.16, values would end up undefined due to bad reference resolve.

v0.14.2

Compare Source

Patch Changes

v0.14.1

Compare Source

Patch Changes
  • f5a8b12: Copy metadata from composite type tokens when expanding.

v0.14.0

Compare Source

Minor Changes

v0.13.4

Compare Source

Patch Changes
  • 8bde22d: Support references in color modifiers now that style-dictionary transformers can defer themselves.
  • 771428a: Fix expanding composition tokens flattening to not occur for certain object values and resulting in [object Object].

v0.13.3

Compare Source

Patch Changes
  • cfc0c3d: Fix rgba(hex, alpha) regex to allow percentages, add more tests for different types of alpha values.

v0.13.2

Compare Source

Patch Changes
  • 3f97dc2: Remove trailing console logs from previous update.

v0.13.1

Compare Source

Patch Changes
  • 7409419: Use expr-eval-fork to work around a prototype pollution vulnerability in the original package.

v0.13.0

Compare Source

Minor Changes
  • 6c95fe4: BREAKING: remove code that allowed user to not pass StyleDictionary instance to registerTransforms, and grabbed the locally installed StyleDictionary automatically. This seemed like a cool feature at first, but can cause hard to trace bugs if there are multiple installations of style-dictionary (due to incompatible semver).
  • 6c95fe4: Will now use preprocessors instead of parsers when user Style-Dictionary is v4.0.0-prerelease.2 or higher. Fixes an issue with multi-file references not being resolvable when running composite token expansion or add font style utilities.

  • If you want to rebase/retry this PR, check this box

@renovate renovate bot requested review from benelan and jcfranco as code owners February 26, 2025 00:54
@renovate renovate bot added chore Issues with changes that don't modify src or test files. dependencies Pull requests that update a dependency file labels Feb 26, 2025
Copy link
Contributor Author

renovate bot commented Feb 26, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/style-dictionary
npm ERR!   dev style-dictionary@"3.9.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer style-dictionary@"^4.0.0-prerelease.27" from @tokens-studio/[email protected]
npm ERR! node_modules/@tokens-studio/sd-transforms
npm ERR!   dev @tokens-studio/sd-transforms@"0.16.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /runner/cache/others/npm/_logs/2025-02-26T00_54_04_211Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-02-26T00_54_04_211Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issues with changes that don't modify src or test files. dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants