@eggjs/dal-runtime 4.0.2-beta.11 → 4.0.2-beta.13
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/CodeGenerator.js +2 -0
- package/package.json +5 -5
package/dist/CodeGenerator.js
CHANGED
|
@@ -5,11 +5,13 @@ import { Templates } from "@eggjs/tegg-types";
|
|
|
5
5
|
import _ from "lodash";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
|
+
import { fileURLToPath } from "node:url";
|
|
8
9
|
import { PrototypeUtil } from "@eggjs/core-decorator";
|
|
9
10
|
import js_beautify from "js-beautify";
|
|
10
11
|
import nunjucks from "nunjucks";
|
|
11
12
|
|
|
12
13
|
//#region src/CodeGenerator.ts
|
|
14
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
13
15
|
var CodeGenerator = class {
|
|
14
16
|
moduleDir;
|
|
15
17
|
moduleName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/dal-runtime",
|
|
3
|
-
"version": "4.0.2-beta.
|
|
3
|
+
"version": "4.0.2-beta.13",
|
|
4
4
|
"description": "tegg dal runtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dal",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"nunjucks": "^3.2.4",
|
|
43
43
|
"sdk-base": "^5.0.1",
|
|
44
44
|
"sqlstring": "^2.3.3",
|
|
45
|
-
"@eggjs/core-decorator": "4.0.2-beta.
|
|
46
|
-
"@eggjs/
|
|
47
|
-
"@eggjs/
|
|
48
|
-
"@eggjs/tegg-types": "4.0.2-beta.
|
|
45
|
+
"@eggjs/core-decorator": "4.0.2-beta.13",
|
|
46
|
+
"@eggjs/tegg-loader": "4.0.2-beta.13",
|
|
47
|
+
"@eggjs/dal-decorator": "4.0.2-beta.13",
|
|
48
|
+
"@eggjs/tegg-types": "4.0.2-beta.13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/js-beautify": "^1.14.3",
|