Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 718 Bytes

design.md

File metadata and controls

31 lines (21 loc) · 718 Bytes

设计

  • cli:命令行实现
  • core:提供核心工,比如直接应用就可以使用 ts-node 运行。
  • decorator:装饰器实现,当然,如果有 schema 处理更好
  • strategy : 策略接口,以及默认 uvu 策略。
  • utils:工具函数

cli

run test with some package

pnpm --filter @ts-junit/utils test

install

注意顺序

$ pnpm --filter  @ts-junit/utils build
$ pnpm --filter  @ts-junit/decorator build
$ pnpm --filter  @ts-junit/strategy build
$ pnpm --filter  @ts-junit/core build
$ pnpm --filter  @ts-junit/cli build

目前看 utils、decorator、strategy 是独立构建的,不依赖其他模块的。

core 依赖 utils、decorator、strategy

cli 依赖 core