Skip to content

Commit

Permalink
Merge pull request #108 from tokens-studio/logging-default
Browse files Browse the repository at this point in the history
feat: upgrade SD and add logging defaults to config
  • Loading branch information
jorenbroekema authored Sep 2, 2024
2 parents e4c0094 + bacfaaf commit 63e8ac6
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 59 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-months-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tokens-studio/configurator": patch
---

Upgrade to latest Style Dictionary, fix vulnerable deps, add log verbosity to default config, kebab to CSS platform.
117 changes: 61 additions & 56 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@lion/ui": "^0.7.2",
"@open-wc/dedupe-mixin": "^1.4.0",
"@rollup/browser": "^4.17.2",
"@tokens-studio/sd-transforms": "^1.0.1",
"@tokens-studio/sd-transforms": "^1.2.3",
"@tokens-studio/tokens": "^0.1.1",
"@zip.js/zip.js": "^2.7.40",
"acorn": "^8.11.3",
Expand All @@ -37,7 +37,7 @@
"magic-string": "^0.30.8",
"path-unified": "^0.1.0",
"prettier": "^3.2.5",
"style-dictionary": "^4.0.0",
"style-dictionary": "^4.1.0",
"uuid": "^9.0.1"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion src/utils/file-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,14 @@ export async function createConfig() {
JSON.stringify(
{
source: ["studio.json"],
log: {
verbosity: "default",
},
preprocessors: ["tokens-studio"],
platforms: {
css: {
transformGroup: "tokens-studio",
prefix: "sd",
transforms: ["name/kebab"],
buildPath: "build/css/",
files: [
{
Expand Down

0 comments on commit 63e8ac6

Please sign in to comment.