Skip to content

chore: improve types, migrate griffith-standalone to ts#207

Merged
ambar merged 5 commits intozhihu:masterfrom
ambar:improve-types
Sep 13, 2021
Merged

chore: improve types, migrate griffith-standalone to ts#207
ambar merged 5 commits intozhihu:masterfrom
ambar:improve-types

Conversation

@ambar
Copy link
Copy Markdown
Collaborator

@ambar ambar commented Sep 13, 2021

  • 最后一个包(griffith-standalone)迁移 TS
  • 合并 PlayerContainer/Player,减少重复代码,精简类型定义
  • 重新使用 rollup 构建,更快,更容易添加变量控制条件 —— microbundle 不适合 monorepo,因为它需求每个项目下单独使用 tsconfig.json,并且读取其中的值,不能复用
  • eslint 更新 overrides,让 js/ts 互不影响

@ambar ambar merged commit fc88687 into zhihu:master Sep 13, 2021
@ambar ambar deleted the improve-types branch September 13, 2021 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants