Cimi icon indicating copy to clipboard operation
Cimi copied to clipboard

build过程没定义,不太好提pr

Open zzall opened this issue 2 years ago • 6 comments

希望完善下build过程,方便后续同学提pr

zzall avatar Sep 28 '22 03:09 zzall

build过程?cimi项目的代码打包吗?

fengxinhhh avatar Sep 28 '22 10:09 fengxinhhh

还是说cimi业务流程的build?cimi本身其实不负责build,是配合项目自带的webpack/vite打包完以后使用cimi一次性发版、发github tag

fengxinhhh avatar Sep 28 '22 10:09 fengxinhhh

主要是cimi项目的代码打包,是只有ts的编译吗,还是有其他build过程,我的意思是最好作者订一套编译过程,然后后续同学改完源码后一键build。 这样既能保证目标代码的一致性,又一定程度上保证了项目的稳定性,也方便了大家贡献代码😄

zzall avatar Sep 28 '22 12:09 zzall

我看有老哥已经做了build了😂,既然已经merge了,那我们就保持一致吧

zzall avatar Sep 28 '22 12:09 zzall

对,可能我一开始想的比较简单,因为代码也不多,所以我也没想到打包一块,直接一个bin文件当做脚本去跑一下的,已经有老哥加了tsup的build,就先按照这个来吧

fengxinhhh avatar Sep 28 '22 13:09 fengxinhhh

如果用的时候发现啥问题也麻烦多多issue/pr啦~

fengxinhhh avatar Sep 28 '22 13:09 fengxinhhh