Skip to content

Commit

Permalink
fix(tokens): support style-dictionary build in windows env
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed Feb 5, 2025
1 parent 26ab700 commit bd5e7ec
Show file tree
Hide file tree
Showing 104 changed files with 5,970 additions and 5,028 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
default: "20"
experimental:
required: false
default: false
default: "false"
ref:
description: "The branch or tag to checkout"
required: false
Expand Down Expand Up @@ -153,7 +153,6 @@ jobs:
git diff --staged > changes.diff
exit 1
fi
- name: Upload changes
if: ${{ failure() }}
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"lit": "^3.2.1",
"lodash-es": "^4.17.21",
"npm-registry-fetch": "^18.0.2",
"postcss": "^8.5.0",
"postcss": "^8.5.1",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
18 changes: 11 additions & 7 deletions components/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/icon": ">=7",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/icon": ">=9",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/icon": "9.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
33 changes: 23 additions & 10 deletions components/actionbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,35 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/actiongroup": ">=5",
"@spectrum-css/closebutton": ">=5",
"@spectrum-css/fieldlabel": ">=8",
"@spectrum-css/popover": ">=7",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/actiongroup": ">=6",
"@spectrum-css/closebutton": ">=6",
"@spectrum-css/fieldlabel": ">=10",
"@spectrum-css/popover": ">=8",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/actiongroup": {
"optional": true
},
"@spectrum-css/closebutton": {
"optional": true
},
"@spectrum-css/fieldlabel": {
"optional": true
},
"@spectrum-css/popover": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/actiongroup": "6.0.1",
"@spectrum-css/closebutton": "6.0.1",
"@spectrum-css/fieldlabel": "10.0.1",
"@spectrum-css/popover": "8.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
13 changes: 6 additions & 7 deletions components/actionbutton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,21 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/icon": ">=7",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/icon": ">=9",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/commons": "workspace:^",
"@spectrum-css/icon": "9.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
13 changes: 6 additions & 7 deletions components/actiongroup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,20 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/actionbutton": ">=6",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/actionbutton": ">=7",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/actionbutton": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/actionbutton": "7.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
33 changes: 23 additions & 10 deletions components/actionmenu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,35 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/actionbutton": ">=6",
"@spectrum-css/icon": ">=7",
"@spectrum-css/menu": ">=7",
"@spectrum-css/popover": ">=7",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/actionbutton": ">=7",
"@spectrum-css/icon": ">=9",
"@spectrum-css/menu": ">=9",
"@spectrum-css/popover": ">=8",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/actionbutton": {
"optional": true
},
"@spectrum-css/icon": {
"optional": true
},
"@spectrum-css/menu": {
"optional": true
},
"@spectrum-css/popover": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/actionbutton": "7.0.1",
"@spectrum-css/icon": "9.0.1",
"@spectrum-css/menu": "9.0.1",
"@spectrum-css/popover": "8.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
28 changes: 18 additions & 10 deletions components/alertbanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,35 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/button": ">=13",
"@spectrum-css/closebutton": ">=5",
"@spectrum-css/divider": ">=3",
"@spectrum-css/icon": ">=7",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/button": ">=14",
"@spectrum-css/closebutton": ">=6",
"@spectrum-css/divider": ">=5",
"@spectrum-css/icon": ">=9",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/button": {
"optional": true
},
"@spectrum-css/closebutton": {
"optional": true
},
"@spectrum-css/divider": {
"optional": true
},
"@spectrum-css/icon": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/button": "14.0.1",
"@spectrum-css/closebutton": "6.0.1",
"@spectrum-css/divider": "5.0.1",
"@spectrum-css/icon": "9.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
30 changes: 19 additions & 11 deletions components/alertdialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,31 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/buttongroup": ">=7",
"@spectrum-css/divider": ">=3",
"@spectrum-css/icon": ">=7",
"@spectrum-css/modal": ">=5",
"@spectrum-css/tokens": ">=14 || >=15",
"@spectrum-css/underlay": ">=4"
"@spectrum-css/buttongroup": ">=9",
"@spectrum-css/divider": ">=5",
"@spectrum-css/icon": ">=9",
"@spectrum-css/modal": ">=7",
"@spectrum-css/tokens": ">=16",
"@spectrum-css/underlay": ">=6"
},
"peerDependenciesMeta": {
"@spectrum-css/buttongroup": {
"optional": true
},
"@spectrum-css/divider": {
"optional": true
},
"@spectrum-css/icon": {
"optional": true
},
"@spectrum-css/modal": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
},
"@spectrum-css/underlay": {
"optional": true
}
},
"devDependencies": {
Expand All @@ -46,11 +58,7 @@
"@spectrum-css/icon": "9.0.1",
"@spectrum-css/modal": "7.0.1",
"@spectrum-css/tokens": "16.0.0",
"@spectrum-css/underlay": "6.0.1",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/underlay": "6.0.1"
},
"keywords": [
"design-system",
Expand Down
13 changes: 7 additions & 6 deletions components/asset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
13 changes: 6 additions & 7 deletions components/assetcard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,20 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/checkbox": ">=9",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/checkbox": ">=10",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/checkbox": "10.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
15 changes: 7 additions & 8 deletions components/assetlist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,25 @@
},
"main": "dist/index.css",
"peerDependencies": {
"@spectrum-css/checkbox": ">=9",
"@spectrum-css/icon": ">=7",
"@spectrum-css/tokens": ">=14 || >=15"
"@spectrum-css/checkbox": ">=10",
"@spectrum-css/icon": ">=9",
"@spectrum-css/tokens": ">=16"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
"optional": true
},
"@spectrum-css/icon": {
"optional": true
},
"@spectrum-css/tokens": {
"optional": true
}
},
"devDependencies": {
"@spectrum-css/checkbox": "10.0.1",
"@spectrum-css/icon": "9.0.1",
"@spectrum-css/tokens": "16.0.0",
"eslint": "^8.57.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"stylelint": "^16.9.0"
"@spectrum-css/tokens": "16.0.0"
},
"keywords": [
"design-system",
Expand Down
Loading

0 comments on commit bd5e7ec

Please sign in to comment.