有一些 ts 依赖在 dependencies 中,是不是应该移动到 devDependencies 中?
Whirlwind opened this issue · comments
Whirlwind commented
在此输入你需要反馈的 Bug 具体信息(Bug in Detail):
egg-core@^5.3.0:
version "5.3.0"
dependencies:
"@eggjs/router" "^2.0.0"
"@types/depd" "^1.1.32"
"@types/koa" "^2.13.5"
co "^4.6.0"
debug "^4.1.1"
depd "^2.0.0"
egg-logger "^3.1.0"
egg-path-matching "^1.0.1"
extend2 "^1.0.0"
get-ready "^2.0.1"
globby "^11.0.2"
is-type-of "^1.2.1"
koa "^2.14.0"
koa-convert "^1.2.0"
node-homedir "^1.1.1"
ready-callback "^3.0.0"
tsconfig-paths "^4.1.1"
utility "^1.16.1"
@types/depd
、@types/koa
、tsconfig-paths
这些是 TS 用的吗?可以不引入 dependencies 吗?
debug
这个是 dev 用的吗?
可复现问题的仓库地址(Reproduction Repo)
无
Node 版本号:
16.13.2
Eggjs 版本号:
5.3.0
相关插件名称与版本号(PlugIn and Name):
None
操作平台与版本号(Platform and Version):
macOS