Skip to content

Commit

Permalink
chore(token-cli): add missing types package
Browse files Browse the repository at this point in the history
  • Loading branch information
mimokmt committed Jun 6, 2024
1 parent c897f56 commit 87b6d09
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/token-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
"clean": "rimraf dist .tsbuildinfo"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/yargs": "^17.0.32",
"fs-extra": "^11.2.0",
"style-dictionary": "^3.9.2",
"tsup": "^8.0.2",
"typescript": "^5.4.2"
},
"dependencies": {
"axios": "^1.6.7",
"fs-extra": "^11.2.0",
"yargs": "^17.7.2"
}
}
4 changes: 1 addition & 3 deletions packages/token-cli/pixiv-dark.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-return */
/** @type { import('style-dictionary') } */
module.exports = {
source: ['tokens/base.json', 'tokens/pixiv-light.json'],
transform: {
Expand Down
4 changes: 1 addition & 3 deletions packages/token-cli/pixiv-light.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-return */
/** @type { import('style-dictionary') } */
module.exports = {
source: ['tokens/base.json', 'tokens/pixiv-light.json'],
transform: {
Expand Down
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2777,6 +2777,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@charcoal-ui/token-cli@workspace:packages/token-cli"
dependencies:
"@types/fs-extra": ^11.0.4
"@types/yargs": ^17.0.32
axios: ^1.6.7
fs-extra: ^11.2.0
Expand Down Expand Up @@ -8411,6 +8412,16 @@ __metadata:
languageName: node
linkType: hard

"@types/fs-extra@npm:^11.0.4":
version: 11.0.4
resolution: "@types/fs-extra@npm:11.0.4"
dependencies:
"@types/jsonfile": "*"
"@types/node": "*"
checksum: 242cb84157631f057f76495c8220707541882c00a00195b603d937fb55e471afecebcb089bab50233ed3a59c69fd68bf65c1f69dd7fafe2347e139cc15b9b0e5
languageName: node
linkType: hard

"@types/fs-extra@npm:^9.0.13":
version: 9.0.13
resolution: "@types/fs-extra@npm:9.0.13"
Expand Down Expand Up @@ -8595,6 +8606,15 @@ __metadata:
languageName: node
linkType: hard

"@types/jsonfile@npm:*":
version: 6.1.4
resolution: "@types/jsonfile@npm:6.1.4"
dependencies:
"@types/node": "*"
checksum: 309fda20eb5f1cf68f2df28931afdf189c5e7e6bec64ac783ce737bb98908d57f6f58757ad5da9be37b815645a6f914e2d4f3ac66c574b8fe1ba6616284d0e97
languageName: node
linkType: hard

"@types/keyv@npm:*":
version: 3.1.2
resolution: "@types/keyv@npm:3.1.2"
Expand Down

0 comments on commit 87b6d09

Please sign in to comment.