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 #9113

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2024

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 added the chore Issues with changes that don't modify src or test files. label Apr 11, 2024
@renovate renovate bot requested a review from benelan as a code owner April 11, 2024 11:51
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 11, 2024
Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Apr 19, 2024
@renovate renovate bot force-pushed the renovate/tokens-studio-sd-transforms-0.x branch 2 times, most recently from 4b0f530 to 3ce955a Compare April 24, 2024 06:01
@renovate renovate bot force-pushed the renovate/tokens-studio-sd-transforms-0.x branch from 3ce955a to 6de9f21 Compare April 26, 2024 23:07
@renovate renovate bot force-pushed the renovate/tokens-studio-sd-transforms-0.x branch from 6de9f21 to c2ecc20 Compare May 13, 2024 23:21
@renovate renovate bot changed the title build(deps): update dependency @tokens-studio/sd-transforms to v0.15.2 build(deps): update dependency @tokens-studio/sd-transforms to v0.16.0 May 13, 2024
Copy link
Contributor Author

renovate bot commented May 13, 2024

⚠️ 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! /tmp/renovate/cache/others/npm/_logs/2024-05-24T23_25_36_208Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-05-24T23_25_36_208Z-debug-0.log

@renovate renovate bot force-pushed the renovate/tokens-studio-sd-transforms-0.x branch from c2ecc20 to 97361a9 Compare May 17, 2024 17:20
@renovate renovate bot changed the title build(deps): update dependency @tokens-studio/sd-transforms to v0.16.0 build(deps): update dependency @tokens-studio/sd-transforms to v0.16.1 May 17, 2024
@renovate renovate bot force-pushed the renovate/tokens-studio-sd-transforms-0.x branch from 97361a9 to c86cbc6 Compare May 24, 2024 23:25
@benelan
Copy link
Member

benelan commented May 24, 2024

@alisonailea low priority, but can you take a look at this tokens-studio version bump when you have some time? There are breaking changes and I'm not sure if we need to tweak anything on our end. Thanks!

Copy link
Member

@benelan benelan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alisonailea low priority, but can you take a look at this tokens-studio version bump when you have some time? There are breaking changes and I'm not sure if we need to tweak anything on our end. Thanks!

Nevermind, it looks like we would need to install a v4 prerelease version of style-dictionary so we can hold off for now until things stabilize.

@github-actions github-actions bot removed the Stale Issues or pull requests that have not had recent activity. label May 25, 2024
Copy link
Contributor

github-actions bot commented Jun 6, 2024

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Jun 6, 2024
@benelan benelan changed the base branch from main to dev June 10, 2024 09:15
Copy link
Contributor Author

renovate bot commented Jun 10, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@alisonailea
Copy link
Contributor

As Ben said we are going to wait for the next stable release of StyleDictionary before updating token-studio

Copy link
Contributor Author

renovate bot commented Jun 10, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.16.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/tokens-studio-sd-transforms-0.x branch June 10, 2024 22:39
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 Stale Issues or pull requests that have not had recent activity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants