@biuxiu/codegen 0.2.14 → 0.3.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/dist/code/vue.d.ts +1 -1
- package/dist/code/vue.js +3 -3
- package/dist/compile.js +2 -2
- package/dist/lua_codegen_bg.js +3 -3
- package/dist/lua_codegen_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/code/vue.d.ts
CHANGED
package/dist/code/vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { getSqliteFile, getWebDir } from "
|
2
|
-
import xiu from "
|
3
|
-
import { writeFormatFile } from "
|
1
|
+
import { getSqliteFile, getWebDir } from "../config";
|
2
|
+
import xiu from "../render";
|
3
|
+
import { writeFormatFile } from "../util";
|
4
4
|
import { existsSync, mkdirSync, statSync } from "fs";
|
5
5
|
import { readdir, rmdir, unlink } from "fs/promises";
|
6
6
|
import { join } from "path";
|
package/dist/compile.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { resolve } from "path";
|
2
|
-
import { platform } from "os";
|
2
|
+
import { arch, platform } from "os";
|
3
3
|
import { spawn } from "child_process";
|
4
4
|
const getPathName = () => {
|
5
5
|
switch (platform()) {
|
6
6
|
case "win32":
|
7
|
-
return "win/luac.exe";
|
7
|
+
return arch() === "x64" ? "win/luac.exe" : "win/luac_32.exe";
|
8
8
|
case "linux":
|
9
9
|
return "linux/luac";
|
10
10
|
case "darwin":
|
package/dist/lua_codegen_bg.js
CHANGED
@@ -144,15 +144,15 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
144
144
|
takeObject(arg0);
|
145
145
|
};
|
146
146
|
|
147
|
-
export function
|
147
|
+
export function __wbg_renderNestCode_43d887970c976b50(arg0, arg1, arg2, arg3) {
|
148
148
|
renderNestCode(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
149
149
|
};
|
150
150
|
|
151
|
-
export function
|
151
|
+
export function __wbg_renderVueCode_e6cfd2b1578474e7(arg0, arg1, arg2, arg3) {
|
152
152
|
renderVueCode(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
153
153
|
};
|
154
154
|
|
155
|
-
export function
|
155
|
+
export function __wbg_printToNode_0a71a7f2e717dc5a(arg0) {
|
156
156
|
printToNode(getObject(arg0));
|
157
157
|
};
|
158
158
|
|
package/dist/lua_codegen_bg.wasm
CHANGED
Binary file
|