@holo-js/adapter-nuxt 0.3.27 → 0.3.28
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/module.json +1 -1
- package/dist/module.mjs +4 -3
- package/package.json +14 -14
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -17,14 +17,15 @@ function createRealtimeClientDefinitionTransform(source) {
|
|
|
17
17
|
const MODEL_FILE_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".tsx", ".mts", ".cts", ".js", ".jsx", ".mjs", ".cjs"]);
|
|
18
18
|
const HOLO_PACKAGE_SCOPE = "@holo-js/";
|
|
19
19
|
const realtimeClientDefinitionPrefix = "\0holo-realtime-client:";
|
|
20
|
+
const VALIDATION_CLIENT_DEPENDENCIES = ["valibot", "file-type"];
|
|
20
21
|
const CLIENT_OPTIMIZE_DEPS = [
|
|
21
22
|
{
|
|
22
23
|
packageName: `${HOLO_PACKAGE_SCOPE}forms`,
|
|
23
|
-
include: `${HOLO_PACKAGE_SCOPE}forms > ${HOLO_PACKAGE_SCOPE}validation >
|
|
24
|
+
include: VALIDATION_CLIENT_DEPENDENCIES.map((dependency) => `${HOLO_PACKAGE_SCOPE}forms > ${HOLO_PACKAGE_SCOPE}validation > ${dependency}`)
|
|
24
25
|
},
|
|
25
26
|
{
|
|
26
27
|
packageName: `${HOLO_PACKAGE_SCOPE}validation`,
|
|
27
|
-
include: `${HOLO_PACKAGE_SCOPE}validation >
|
|
28
|
+
include: VALIDATION_CLIENT_DEPENDENCIES.map((dependency) => `${HOLO_PACKAGE_SCOPE}validation > ${dependency}`)
|
|
28
29
|
}
|
|
29
30
|
];
|
|
30
31
|
const NITRO_RUNTIME_TRACE_IMPORTS = [
|
|
@@ -207,7 +208,7 @@ function resolveClientOptimizeDeps(rootDir) {
|
|
|
207
208
|
for (const { packageName, include } of CLIENT_OPTIMIZE_DEPS) {
|
|
208
209
|
try {
|
|
209
210
|
projectRequire.resolve(packageName);
|
|
210
|
-
deps.push(include);
|
|
211
|
+
deps.push(...include);
|
|
211
212
|
} catch (error) {
|
|
212
213
|
if (!isModuleResolutionFailure(error)) {
|
|
213
214
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/adapter-nuxt",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.28",
|
|
4
4
|
"description": "Holo-JS Framework - Nuxt adapter",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"test": "vitest --run"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@holo-js/adapter-shared": "^0.3.
|
|
41
|
+
"@holo-js/adapter-shared": "^0.3.28",
|
|
42
42
|
"@nuxt/kit": "^4.4.4",
|
|
43
|
-
"@holo-js/config": "^0.3.
|
|
44
|
-
"@holo-js/core": "^0.3.
|
|
45
|
-
"@holo-js/db": "^0.3.
|
|
46
|
-
"@holo-js/validation": "^0.3.
|
|
43
|
+
"@holo-js/config": "^0.3.28",
|
|
44
|
+
"@holo-js/core": "^0.3.28",
|
|
45
|
+
"@holo-js/db": "^0.3.28",
|
|
46
|
+
"@holo-js/validation": "^0.3.28",
|
|
47
47
|
"h3": "^1.15.11",
|
|
48
48
|
"nitropack": "^2.13.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"vue": "^3.5.13",
|
|
52
|
-
"@holo-js/broadcast": "^0.3.
|
|
53
|
-
"@holo-js/forms": "^0.3.
|
|
54
|
-
"@holo-js/realtime": "^0.3.
|
|
55
|
-
"@holo-js/storage": "^0.3.
|
|
56
|
-
"@holo-js/storage-s3": "^0.3.
|
|
52
|
+
"@holo-js/broadcast": "^0.3.28",
|
|
53
|
+
"@holo-js/forms": "^0.3.28",
|
|
54
|
+
"@holo-js/realtime": "^0.3.28",
|
|
55
|
+
"@holo-js/storage": "^0.3.28",
|
|
56
|
+
"@holo-js/storage-s3": "^0.3.28"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"@holo-js/broadcast": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"vue": "^3.5.13",
|
|
77
|
-
"@holo-js/broadcast": "^0.3.
|
|
78
|
-
"@holo-js/realtime": "^0.3.
|
|
79
|
-
"@holo-js/storage-s3": "^0.3.
|
|
77
|
+
"@holo-js/broadcast": "^0.3.28",
|
|
78
|
+
"@holo-js/realtime": "^0.3.28",
|
|
79
|
+
"@holo-js/storage-s3": "^0.3.28",
|
|
80
80
|
"@nuxt/module-builder": "^1.0.2",
|
|
81
81
|
"@types/node": "^22.10.2",
|
|
82
82
|
"nuxt": "^4.4.4",
|