koa-ts-core 0.0.7 → 0.0.8-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -213,3 +213,13 @@ export default class Test {
213
213
  ```
214
214
 
215
215
  打开`/doc`路由地址,渲染文档
216
+
217
+ ### 配置项
218
+
219
+ #### process.env.CONTROLLER_DIR_PATH
220
+
221
+ 控制器的父级目录路径,用于辅助 core 查找控制器所在目录
222
+
223
+ ```js
224
+ resolve(process.cwd(), process.env.CONTROLLER_DIR_PATH ?? "");
225
+ ```