koa-ts-core 0.0.13 → 0.0.15
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 +2 -9
- package/dist/index.cjs.js +8 -8
- package/dist/index.esm.js +7 -7
- package/dist/utils/path.d.ts +11 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -269,13 +269,6 @@ export default class Test {
|
|
|
269
269
|
|
|
270
270
|
### 配置项
|
|
271
271
|
|
|
272
|
-
#### process.env.
|
|
272
|
+
#### process.env.APP_PORT
|
|
273
273
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
**例如运行在 docker 项目中的目录为 `/app/build/controller`, 则 `CONTROLLER_DIR_PATH` 值填写为 `build`**
|
|
277
|
-
|
|
278
|
-
```js
|
|
279
|
-
// core查找控制器目录实现
|
|
280
|
-
resolve(process.cwd(), process.env.CONTROLLER_DIR_PATH ?? "");
|
|
281
|
-
```
|
|
274
|
+
koa 应用启动端口
|