Skip to content

Commit

Permalink
feat: update to latest sd pre.22
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema committed Mar 27, 2024
1 parent 8c23b14 commit 255a357
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-plums-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tokens-studio/sd-transforms': patch
---

Update to latest style-dictionary pre.22
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"expr-eval-fork": "^2.0.2",
"is-mergeable-object": "^1.1.1",
"postcss-calc-ast-parser": "^0.1.4",
"style-dictionary": "^4.0.0-prerelease.19"
"style-dictionary": "^4.0.0-prerelease.22"
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
Expand Down
4 changes: 3 additions & 1 deletion test/integration/exclude-parent-keys.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ describe('exclude parent keys', () => {
await init(cfg).catch(e => {
error = e.message;
});
expect(error).to.include('Problems were found when trying to resolve property references');
expect(error).to.equal(
'\nReference Errors:\nSome token references (2) could not be found.\nUse log.verbosity "verbose" or use CLI option --verbose for more details.\n',
);
});

it('optionally excludes parent keys', async () => {
Expand Down

0 comments on commit 255a357

Please sign in to comment.