@vite-hub/sandbox 0.0.0 → 0.0.2
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/README.md +54 -1
- package/dist/cloudflare-env-2NctU8i7.js +12 -0
- package/dist/index-DiH4OGAU.d.ts +101 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.js +1208 -0
- package/dist/module-types-Cjqo67ay.d.ts +91 -0
- package/dist/module-types-Dj1MFmHT.js +7 -0
- package/dist/provider-loader-3ml65ZFy.d.ts +21 -0
- package/dist/runtime/empty-registry.d.ts +6 -0
- package/dist/runtime/empty-registry.js +20 -0
- package/dist/runtime/provider-loader.d.ts +2 -0
- package/dist/runtime/provider-loader.js +15 -0
- package/dist/runtime/providers/cloudflare.d.ts +30 -0
- package/dist/runtime/providers/cloudflare.js +25 -0
- package/dist/runtime/providers/vercel.d.ts +14 -0
- package/dist/runtime/providers/vercel.js +51 -0
- package/dist/runtime/state.d.ts +17 -0
- package/dist/runtime/state.js +21 -0
- package/dist/vite.d.ts +24 -0
- package/dist/vite.js +2363 -0
- package/package.json +112 -5
package/package.json
CHANGED
|
@@ -1,9 +1,116 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/sandbox",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Sandbox execution primitives and Vite integration for ViteHub.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cloudflare",
|
|
7
|
+
"sandbox",
|
|
8
|
+
"vercel",
|
|
9
|
+
"vite",
|
|
10
|
+
"vitehub"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/vite-hub/vitehub#readme",
|
|
13
|
+
"bugs": "https://github.com/vite-hub/vitehub/issues",
|
|
5
14
|
"license": "Apache-2.0",
|
|
6
|
-
"
|
|
7
|
-
|
|
15
|
+
"author": "onmax <maximogarciamtnez@gmail.com>",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/vite-hub/vitehub.git",
|
|
19
|
+
"directory": "packages/sandbox"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"package.json"
|
|
24
|
+
],
|
|
25
|
+
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"imports": {
|
|
29
|
+
"#vitehub-sandbox-provider-loader": {
|
|
30
|
+
"types": "./dist/runtime/provider-loader.d.ts",
|
|
31
|
+
"default": "./dist/runtime/provider-loader.js"
|
|
32
|
+
},
|
|
33
|
+
"#vitehub-sandbox-registry": {
|
|
34
|
+
"types": "./dist/runtime/empty-registry.d.ts",
|
|
35
|
+
"default": "./dist/runtime/empty-registry.js"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"exports": {
|
|
39
|
+
".": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"import": "./dist/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./runtime/empty-registry": {
|
|
44
|
+
"types": "./dist/runtime/empty-registry.d.ts",
|
|
45
|
+
"import": "./dist/runtime/empty-registry.js"
|
|
46
|
+
},
|
|
47
|
+
"./runtime/provider-loader": {
|
|
48
|
+
"types": "./dist/runtime/provider-loader.d.ts",
|
|
49
|
+
"import": "./dist/runtime/provider-loader.js"
|
|
50
|
+
},
|
|
51
|
+
"./runtime/providers/cloudflare": {
|
|
52
|
+
"types": "./dist/runtime/providers/cloudflare.d.ts",
|
|
53
|
+
"import": "./dist/runtime/providers/cloudflare.js"
|
|
54
|
+
},
|
|
55
|
+
"./runtime/providers/vercel": {
|
|
56
|
+
"types": "./dist/runtime/providers/vercel.d.ts",
|
|
57
|
+
"import": "./dist/runtime/providers/vercel.js"
|
|
58
|
+
},
|
|
59
|
+
"./runtime/state": {
|
|
60
|
+
"types": "./dist/runtime/state.d.ts",
|
|
61
|
+
"import": "./dist/runtime/state.js"
|
|
62
|
+
},
|
|
63
|
+
"./vite": {
|
|
64
|
+
"types": "./dist/vite.d.ts",
|
|
65
|
+
"import": "./dist/vite.js"
|
|
66
|
+
},
|
|
67
|
+
"./package.json": "./package.json"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"esbuild": "^0.28.1",
|
|
71
|
+
"h3": "2.0.1-rc.25",
|
|
72
|
+
"local-pkg": "^1.2.1",
|
|
73
|
+
"mlly": "^1.8.2",
|
|
74
|
+
"pathe": "^2.0.3",
|
|
75
|
+
"rollup": "^4.62.2",
|
|
76
|
+
"scule": "^1.3.0",
|
|
77
|
+
"typescript": "^6.0.3",
|
|
78
|
+
"ufo": "^1.6.4",
|
|
79
|
+
"unimport": "^6.3.0",
|
|
80
|
+
"@vite-hub/runtime": "0.0.2",
|
|
81
|
+
"@vite-hub/box": "0.0.2"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"ofetch": "^1.5.1",
|
|
85
|
+
"publint": "^0.3.21",
|
|
86
|
+
"vite": "^8.0.8",
|
|
87
|
+
"vite-plus": "^0.1.24",
|
|
88
|
+
"vitest": "^4.1.4",
|
|
89
|
+
"@vite-hub/internal": "0.0.1"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"@cloudflare/sandbox": "^0.8.14",
|
|
93
|
+
"@vercel/sandbox": "^1.10.2",
|
|
94
|
+
"vite": ">=8.0.0"
|
|
95
|
+
},
|
|
96
|
+
"peerDependenciesMeta": {
|
|
97
|
+
"@cloudflare/sandbox": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"@vercel/sandbox": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"vite": {
|
|
104
|
+
"optional": true
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"engines": {
|
|
108
|
+
"node": ">=24.0.0"
|
|
109
|
+
},
|
|
110
|
+
"scripts": {
|
|
111
|
+
"build": "vp pack",
|
|
112
|
+
"dev": "vp pack --watch",
|
|
113
|
+
"typecheck": "tsc --noEmit -p ./tsconfig.json",
|
|
114
|
+
"test": "vp run -t @vite-hub/sandbox#build && vp test"
|
|
8
115
|
}
|
|
9
|
-
}
|
|
116
|
+
}
|