mas-server 2.0.4 → 2.0.11

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/dist/index.js CHANGED
@@ -104,7 +104,6 @@ function getApp(DIRNAME, beforeMounted) {
104
104
  }
105
105
  // 数据效验
106
106
  app.use(validRouteData_1.default);
107
- // 使用接口文档
108
107
  if (config.apidoc) {
109
108
  app.use("/apidoc", express_1.default.static(path_1.default.join(__dirname, "/apiDoc")));
110
109
  (0, apiDoc_1.default)(app);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mas-server",
3
- "version": "2.0.4",
3
+ "version": "2.0.11",
4
4
  "description": "一款基于express面向中小型项目的后端框架",
5
5
  "main": "dist/index.js",
6
6
  "typings": "src/index.ts",
@@ -14,8 +14,7 @@
14
14
  "createApis": "npx ts-node ./test/scripts/createApis.ts",
15
15
  "init": "npx nodemon ./test/scripts/beforeCreated.ts -end",
16
16
  "gsft": "npx nodemon ./test/scripts/getSqlFormType.ts",
17
- "build":"tsc",
18
- "publish": "tsc && npm publish && cnpm sync cnpmcore"
17
+ "build":"tsc"
19
18
  },
20
19
  "keywords": [],
21
20
  "author": "tingxi8087",
package/src/index.ts CHANGED
@@ -78,7 +78,6 @@ export function getApp(
78
78
  }
79
79
  // 数据效验
80
80
  app.use(validRouteData);
81
- // 使用接口文档
82
81
  if (config.apidoc) {
83
82
  app.use("/apidoc", express.static(path.join(__dirname, "/apiDoc")));
84
83
  apiDoc(app);
@@ -1 +0,0 @@
1
- import{_ as e}from"./index-b56e6bc6.js";const r={};function t(c,n){return null}const o=e(r,[["render",t]]);export{o as default};