This website requires JavaScript.
Explore
Help
Sign In
studio
/
cunningham
Watch
2
Star
0
Fork
0
You've already forked cunningham
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
7b0686dede292aae81975be3378320f929eae835
cunningham
/
packages
/
tokens
/
src
/
bin
/
Main.ts
6 lines
79 B
TypeScript
Raw
Normal View
History
Unescape
Escape
✨(bin) add tokens repo This repo is made for the bin script that generates the tokens files, at the moment it only generates a css file, but it is designed to be able to generate any other file format ( Typescript, Javascript for example )
2022-12-01 12:03:37 +01:00
#
!
/
u
s
r
/
b
i
n
/
e
n
v
n
o
d
e
♻️(typescript) move tokens sources to absolute import Relatives import are quite ugly and reduces readability, but hard to say that Typescript handles it very well for compilation time, but nothing for runtime. That's why I had to add tsc-alias to the build script. Please see this issue for more details. https://github.com/Microsoft/TypeScript/issues/15479 Furthermore, some configuration was needed for Jest to work well.
2022-12-30 12:12:04 +01:00
import
{
run
}
from
"ThemeGenerator"
;
✨(bin) add tokens repo This repo is made for the bin script that generates the tokens files, at the moment it only generates a css file, but it is designed to be able to generate any other file format ( Typescript, Javascript for example )
2022-12-01 12:03:37 +01:00
run
(
process
.
argv
)
;
Reference in New Issue
Copy Permalink