Skip to content

Commit 7e16eda

Browse files
committed
feat: update dependencies
1 parent 67d618d commit 7e16eda

File tree

5 files changed

+507
-588
lines changed

5 files changed

+507
-588
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@commitlint/cli": "17.8.1",
3737
"@commitlint/config-conventional": "17.8.1",
3838
"@tsconfig/node16": "1.0.4",
39+
"@tsconfig/node22": "^22.0.2",
3940
"@types/node": "18.19.124",
4041
"@types/prettier": "^2.7.2",
4142
"@typescript-eslint/eslint-plugin": "5.62.0",
@@ -50,14 +51,14 @@
5051
"prettier": "2.8.8",
5152
"rimraf": "3.0.2",
5253
"semantic-release": "^24.1.1",
53-
"style-dictionary": "^4.1.1",
54-
"tailwindcss": "3.4.17",
54+
"style-dictionary": "^5.0.4",
55+
"tailwindcss": "^4.1.13",
5556
"ts-node": "10.9.2",
56-
"tsup": "6.7.0",
57-
"typescript": "4.9.5",
57+
"tsup": "^8.5.0",
58+
"typescript": "^5.9.2",
5859
"vitest": "0.33.0"
5960
},
6061
"peerDependencies": {
61-
"style-dictionary": ">=4.0.0"
62+
"style-dictionary": ">=5.0.0"
6263
}
6364
}

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { Dictionary } from 'style-dictionary/types/DesignToken'
2-
import type { Config } from 'style-dictionary/types/Config'
1+
import type { Config, Dictionary } from 'style-dictionary/types'
32
import type { SdTailwindConfigType, TailwindFormatObjType } from './types'
43
import {
54
addHyphen,

src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Dictionary } from 'style-dictionary/types/DesignToken'
2-
import type { Config, PlatformConfig } from 'style-dictionary/types/Config'
3-
import type { Config as TailwindConfig } from 'tailwindcss/types'
1+
import { Dictionary } from 'style-dictionary/types'
2+
import type { Config, PlatformConfig } from 'style-dictionary/types'
3+
import type { Config as TailwindConfig } from 'tailwindcss'
44

55
export type SdObjType<T extends Record<string, any>> = {
66
[P in keyof T]: Record<P, SdObjType<T>> | T[P]

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@tsconfig/node16/tsconfig.json",
2+
"extends": "@tsconfig/node22/tsconfig.json",
33
"include": ["src", "tsup.config.ts"],
44
"exclude": ["node_modules"]
55
}

0 commit comments

Comments
 (0)