@valbuild/server 0.54.0 → 0.55.0
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.
@@ -1023,6 +1023,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1023
1023
|
value: "export const ValApp = new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'ValApp' in this file`) } } } )"
|
1024
1024
|
};
|
1025
1025
|
}
|
1026
|
+
if (modulePath.includes("/ValTypes")) {
|
1027
|
+
return {
|
1028
|
+
value: "export type inferSchema = {};"
|
1029
|
+
};
|
1030
|
+
}
|
1026
1031
|
return {
|
1027
1032
|
value: moduleLoader.getModule(modulePath)
|
1028
1033
|
};
|
@@ -1083,6 +1088,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1083
1088
|
value: requestedName
|
1084
1089
|
};
|
1085
1090
|
}
|
1091
|
+
if (requestedName.includes("/ValTypes")) {
|
1092
|
+
return {
|
1093
|
+
value: requestedName
|
1094
|
+
};
|
1095
|
+
}
|
1086
1096
|
const modulePath = moduleLoader.resolveModulePath(baseModuleName, requestedName);
|
1087
1097
|
return {
|
1088
1098
|
value: modulePath
|
@@ -1023,6 +1023,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1023
1023
|
value: "export const ValApp = new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'ValApp' in this file`) } } } )"
|
1024
1024
|
};
|
1025
1025
|
}
|
1026
|
+
if (modulePath.includes("/ValTypes")) {
|
1027
|
+
return {
|
1028
|
+
value: "export type inferSchema = {};"
|
1029
|
+
};
|
1030
|
+
}
|
1026
1031
|
return {
|
1027
1032
|
value: moduleLoader.getModule(modulePath)
|
1028
1033
|
};
|
@@ -1083,6 +1088,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1083
1088
|
value: requestedName
|
1084
1089
|
};
|
1085
1090
|
}
|
1091
|
+
if (requestedName.includes("/ValTypes")) {
|
1092
|
+
return {
|
1093
|
+
value: requestedName
|
1094
|
+
};
|
1095
|
+
}
|
1086
1096
|
const modulePath = moduleLoader.resolveModulePath(baseModuleName, requestedName);
|
1087
1097
|
return {
|
1088
1098
|
value: modulePath
|
@@ -993,6 +993,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
993
993
|
value: "export const ValApp = new Proxy({}, { get() { return () => { throw new Error(`Cannot import 'ValApp' in this file`) } } } )"
|
994
994
|
};
|
995
995
|
}
|
996
|
+
if (modulePath.includes("/ValTypes")) {
|
997
|
+
return {
|
998
|
+
value: "export type inferSchema = {};"
|
999
|
+
};
|
1000
|
+
}
|
996
1001
|
return {
|
997
1002
|
value: moduleLoader.getModule(modulePath)
|
998
1003
|
};
|
@@ -1053,6 +1058,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1053
1058
|
value: requestedName
|
1054
1059
|
};
|
1055
1060
|
}
|
1061
|
+
if (requestedName.includes("/ValTypes")) {
|
1062
|
+
return {
|
1063
|
+
value: requestedName
|
1064
|
+
};
|
1065
|
+
}
|
1056
1066
|
const modulePath = moduleLoader.resolveModulePath(baseModuleName, requestedName);
|
1057
1067
|
return {
|
1058
1068
|
value: modulePath
|
package/package.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
"./package.json": "./package.json"
|
13
13
|
},
|
14
14
|
"types": "dist/valbuild-server.cjs.d.ts",
|
15
|
-
"version": "0.
|
15
|
+
"version": "0.55.0",
|
16
16
|
"scripts": {
|
17
17
|
"typecheck": "tsc --noEmit",
|
18
18
|
"test": "jest",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
"concurrently": "^7.6.0"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@valbuild/core": "~0.
|
28
|
-
"@valbuild/shared": "~0.
|
29
|
-
"@valbuild/ui": "~0.
|
27
|
+
"@valbuild/core": "~0.55.0",
|
28
|
+
"@valbuild/shared": "~0.55.0",
|
29
|
+
"@valbuild/ui": "~0.55.0",
|
30
30
|
"express": "^4.18.2",
|
31
31
|
"image-size": "^1.0.2",
|
32
32
|
"queue": "^6.0.2",
|