File tree Expand file tree Collapse file tree 5 files changed +507
-588
lines changed Expand file tree Collapse file tree 5 files changed +507
-588
lines changed Original file line number Diff line number Diff line change 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" ,
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}
Original file line number Diff line number Diff line change 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'
32import type { SdTailwindConfigType , TailwindFormatObjType } from './types'
43import {
54 addHyphen ,
Original file line number Diff line number Diff line change 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
55export type SdObjType < T extends Record < string , any > > = {
66 [ P in keyof T ] : Record < P , SdObjType < T > > | T [ P ]
Original file line number Diff line number Diff line change 11{
2- "extends" : " @tsconfig/node16 /tsconfig.json" ,
2+ "extends" : " @tsconfig/node22 /tsconfig.json" ,
33 "include" : [" src" , " tsup.config.ts" ],
44 "exclude" : [" node_modules" ]
55}
You can’t perform that action at this time.
0 commit comments