mas-server 2.0.51 → 2.0.53

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.
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const state_1 = require("@/state");
29
+ const state_1 = require("../state");
30
30
  const path_1 = __importDefault(require("path"));
31
31
  const fs = __importStar(require("fs"));
32
32
  const ansi_colors_1 = __importDefault(require("ansi-colors"));
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const state_1 = require("@/state");
6
+ const state_1 = require("../state");
7
7
  const readApi_1 = __importDefault(require("./readApi"));
8
8
  const path_1 = __importDefault(require("path"));
9
9
  const fs_1 = __importDefault(require("fs"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mas-server",
3
- "version": "2.0.51",
3
+ "version": "2.0.53",
4
4
  "description": "一款基于express面向中小型项目的后端框架",
5
5
  "main": "dist/index.js",
6
6
  "typings": "src/index.ts",
@@ -1,4 +1,4 @@
1
- import { state } from "@/state";
1
+ import { state } from "../state";
2
2
  import getRouterInfo from "./getRouterInfo";
3
3
  import path from "path";
4
4
  import * as fs from "fs";
@@ -1,4 +1,4 @@
1
- import { state } from "@/state";
1
+ import { state } from "../state";
2
2
  import readFilesRecursively from "./readApi";
3
3
  import path from "path";
4
4
  import fs from "fs";