Skip to content

Commit 15df104

Browse files
committed
fix(tokens): support style-dictionary build in windows env (#2500)
1 parent e00475e commit 15df104

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

tokens/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@
4646
"inputs": [{ "externalDependencies": ["@adobe/token-diff-generator"] }],
4747
"options": {
4848
"commands": [
49-
"tdiff report --old-token-version @adobe/spectrum-tokens@{args.v1} --new-token-version @adobe/spectrum-tokens@{args.v2} --format markdown --output dist/tokens-diff.md"
49+
"tdiff report --old-token-version @adobe/spectrum-tokens@{args.v1} --new-token-version @adobe/spectrum-tokens@{args.v2} --format markdown --output {projectRoot}/dist/tokens-diff.md"
5050
],
51+
"cwd": "{projectRoot}",
5152
"forwardAllArgs": true,
5253
"v1": "0.0.0-s2-foundations-20241121221506"
5354
},

yarn.lock

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11689,7 +11689,7 @@ __metadata:
1168911689
languageName: node
1169011690
linkType: hard
1169111691

11692-
"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.7, glob@npm:^10.4.1, glob@npm:^10.4.2, glob@npm:^10.4.5":
11692+
"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7, glob@npm:^10.4.1, glob@npm:^10.4.2, glob@npm:^10.4.5":
1169311693
version: 10.4.5
1169411694
resolution: "glob@npm:10.4.5"
1169511695
dependencies:
@@ -15671,7 +15671,7 @@ __metadata:
1567115671
languageName: node
1567215672
linkType: hard
1567315673

15674-
"node-gyp@npm:^11.2.0, node-gyp@npm:latest":
15674+
"node-gyp@npm:^11.2.0":
1567515675
version: 11.2.0
1567615676
resolution: "node-gyp@npm:11.2.0"
1567715677
dependencies:
@@ -15691,6 +15691,26 @@ __metadata:
1569115691
languageName: node
1569215692
linkType: hard
1569315693

15694+
"node-gyp@npm:latest":
15695+
version: 11.1.0
15696+
resolution: "node-gyp@npm:11.1.0"
15697+
dependencies:
15698+
env-paths: "npm:^2.2.0"
15699+
exponential-backoff: "npm:^3.1.1"
15700+
glob: "npm:^10.3.10"
15701+
graceful-fs: "npm:^4.2.6"
15702+
make-fetch-happen: "npm:^14.0.3"
15703+
nopt: "npm:^8.0.0"
15704+
proc-log: "npm:^5.0.0"
15705+
semver: "npm:^7.3.5"
15706+
tar: "npm:^7.4.3"
15707+
which: "npm:^5.0.0"
15708+
bin:
15709+
node-gyp: bin/node-gyp.js
15710+
checksum: 10c0/c38977ce502f1ea41ba2b8721bd5b49bc3d5b3f813eabfac8414082faf0620ccb5211e15c4daecc23ed9f5e3e9cc4da00e575a0bcfc2a95a069294f2afa1e0cd
15711+
languageName: node
15712+
linkType: hard
15713+
1569415714
"node-int64@npm:^0.4.0":
1569515715
version: 0.4.0
1569615716
resolution: "node-int64@npm:0.4.0"

0 commit comments

Comments
 (0)