@valbuild/server 0.54.0 → 0.55.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.
@@ -983,6 +983,19 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
983
983
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
984
984
|
};
|
985
985
|
}
|
986
|
+
if (modulePath === "@valbuild/ui") {
|
987
|
+
return {
|
988
|
+
value: `
|
989
|
+
export const ValOverlay = () => {
|
990
|
+
throw Error("Cannot use 'ValOverlay' in this type of file")
|
991
|
+
};
|
992
|
+
export const VAL_CSS_PATH = "";
|
993
|
+
export const VAL_APP_PATH = "";
|
994
|
+
export const VAL_APP_ID = "";
|
995
|
+
export const IS_DEV = false;2
|
996
|
+
`
|
997
|
+
};
|
998
|
+
}
|
986
999
|
if (modulePath === "@valbuild/react/stega") {
|
987
1000
|
return {
|
988
1001
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export const fetchVal = () => { throw Error(`Cannot use 'fetchVal' in this type of file`) }; export const autoTagJSX = () => { /* ignore */ }; export const stegaClean = () => { throw Error(`Cannot use 'stegaClean' in this type of file`) }; export const stegaDecodeString = () => { throw Error(`Cannot use 'stegaDecodeString' in this type of file`) }; "
|
@@ -1048,6 +1061,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1048
1061
|
value: requestedName
|
1049
1062
|
};
|
1050
1063
|
}
|
1064
|
+
if (requestedName === "@valbuild/ui") {
|
1065
|
+
return {
|
1066
|
+
value: requestedName
|
1067
|
+
};
|
1068
|
+
}
|
1051
1069
|
if (requestedName.startsWith("next/navigation")) {
|
1052
1070
|
return {
|
1053
1071
|
value: requestedName
|
@@ -983,6 +983,19 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
983
983
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
984
984
|
};
|
985
985
|
}
|
986
|
+
if (modulePath === "@valbuild/ui") {
|
987
|
+
return {
|
988
|
+
value: `
|
989
|
+
export const ValOverlay = () => {
|
990
|
+
throw Error("Cannot use 'ValOverlay' in this type of file")
|
991
|
+
};
|
992
|
+
export const VAL_CSS_PATH = "";
|
993
|
+
export const VAL_APP_PATH = "";
|
994
|
+
export const VAL_APP_ID = "";
|
995
|
+
export const IS_DEV = false;2
|
996
|
+
`
|
997
|
+
};
|
998
|
+
}
|
986
999
|
if (modulePath === "@valbuild/react/stega") {
|
987
1000
|
return {
|
988
1001
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export const fetchVal = () => { throw Error(`Cannot use 'fetchVal' in this type of file`) }; export const autoTagJSX = () => { /* ignore */ }; export const stegaClean = () => { throw Error(`Cannot use 'stegaClean' in this type of file`) }; export const stegaDecodeString = () => { throw Error(`Cannot use 'stegaDecodeString' in this type of file`) }; "
|
@@ -1048,6 +1061,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1048
1061
|
value: requestedName
|
1049
1062
|
};
|
1050
1063
|
}
|
1064
|
+
if (requestedName === "@valbuild/ui") {
|
1065
|
+
return {
|
1066
|
+
value: requestedName
|
1067
|
+
};
|
1068
|
+
}
|
1051
1069
|
if (requestedName.startsWith("next/navigation")) {
|
1052
1070
|
return {
|
1053
1071
|
value: requestedName
|
@@ -953,6 +953,19 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
953
953
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export function ValProvider() { throw Error(`Cannot use 'ValProvider' in this type of file`) }; export function ValRichText() { throw Error(`Cannot use 'ValRichText' in this type of file`)};"
|
954
954
|
};
|
955
955
|
}
|
956
|
+
if (modulePath === "@valbuild/ui") {
|
957
|
+
return {
|
958
|
+
value: `
|
959
|
+
export const ValOverlay = () => {
|
960
|
+
throw Error("Cannot use 'ValOverlay' in this type of file")
|
961
|
+
};
|
962
|
+
export const VAL_CSS_PATH = "";
|
963
|
+
export const VAL_APP_PATH = "";
|
964
|
+
export const VAL_APP_ID = "";
|
965
|
+
export const IS_DEV = false;2
|
966
|
+
`
|
967
|
+
};
|
968
|
+
}
|
956
969
|
if (modulePath === "@valbuild/react/stega") {
|
957
970
|
return {
|
958
971
|
value: "export const useVal = () => { throw Error(`Cannot use 'useVal' in this type of file`) }; export const fetchVal = () => { throw Error(`Cannot use 'fetchVal' in this type of file`) }; export const autoTagJSX = () => { /* ignore */ }; export const stegaClean = () => { throw Error(`Cannot use 'stegaClean' in this type of file`) }; export const stegaDecodeString = () => { throw Error(`Cannot use 'stegaDecodeString' in this type of file`) }; "
|
@@ -1018,6 +1031,11 @@ async function newValQuickJSRuntime(quickJSModule, moduleLoader, {
|
|
1018
1031
|
value: requestedName
|
1019
1032
|
};
|
1020
1033
|
}
|
1034
|
+
if (requestedName === "@valbuild/ui") {
|
1035
|
+
return {
|
1036
|
+
value: requestedName
|
1037
|
+
};
|
1038
|
+
}
|
1021
1039
|
if (requestedName.startsWith("next/navigation")) {
|
1022
1040
|
return {
|
1023
1041
|
value: requestedName
|
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.1",
|
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.1",
|
28
|
+
"@valbuild/shared": "~0.55.1",
|
29
|
+
"@valbuild/ui": "~0.55.1",
|
30
30
|
"express": "^4.18.2",
|
31
31
|
"image-size": "^1.0.2",
|
32
32
|
"queue": "^6.0.2",
|