@vite-hub/workspace 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 +262 -1
- package/dist/ai-Cztw4eLk.js +472 -0
- package/dist/ai-hFdsvDHC.d.ts +162 -0
- package/dist/ai.d.ts +3 -0
- package/dist/ai.js +2 -0
- package/dist/artifacts-store-BAV9jZpd.js +555 -0
- package/dist/asset-registry-CaG9b7tf.js +19 -0
- package/dist/chunk-8H4AJuhK.js +14 -0
- package/dist/cli.d.ts +31 -0
- package/dist/cli.js +303 -0
- package/dist/cloudflare-env-CKxUs2fa.js +20 -0
- package/dist/cloudflare.d.ts +16 -0
- package/dist/cloudflare.js +3 -0
- package/dist/collections/client.d.ts +39 -0
- package/dist/collections/client.js +137 -0
- package/dist/collections.d.ts +59 -0
- package/dist/collections.js +159 -0
- package/dist/config--r5unwPc.js +7811 -0
- package/dist/config-Ca5DM8fF.d.ts +28 -0
- package/dist/config-DCQ6y30R.js +30 -0
- package/dist/file-B2q9NE18.js +24 -0
- package/dist/files-xy0le-_U.js +51 -0
- package/dist/github-lIO6-2sH.js +194 -0
- package/dist/glob-DeH0dzZX.js +23 -0
- package/dist/host-I-_vDs05.js +370 -0
- package/dist/hosted-vercel-blob.d.ts +15 -0
- package/dist/hosted-vercel-blob.js +26 -0
- package/dist/hosted.d.ts +18 -0
- package/dist/hosted.js +30 -0
- package/dist/index.d.ts +185 -0
- package/dist/index.js +541 -0
- package/dist/lifecycle-Lhk3dAMt.js +176 -0
- package/dist/loader.d.ts +17 -0
- package/dist/loader.js +22 -0
- package/dist/nitro.d.ts +2 -0
- package/dist/nitro.js +2 -0
- package/dist/nuxt.d.ts +26 -0
- package/dist/nuxt.js +36 -0
- package/dist/path-CNI6wKIU.js +115 -0
- package/dist/provider-CeQciesl.js +599 -0
- package/dist/providers/cloudflare/artifacts-store.d.ts +6 -0
- package/dist/providers/cloudflare/artifacts-store.js +2 -0
- package/dist/providers/github/store.d.ts +6 -0
- package/dist/providers/github/store.js +362 -0
- package/dist/providers/vercel/blob-store.d.ts +6 -0
- package/dist/providers/vercel/blob-store.js +235 -0
- package/dist/publish.d.ts +35 -0
- package/dist/publish.js +112 -0
- package/dist/registry-C7DMdBXN.js +74 -0
- package/dist/registry-CoC9JxVt.d.ts +11 -0
- package/dist/request-execution-C8qRcReq.js +80 -0
- package/dist/runtime/assets.d.ts +12 -0
- package/dist/runtime/assets.js +138 -0
- package/dist/runtime/empty-assets-registry.d.ts +6 -0
- package/dist/runtime/empty-assets-registry.js +4 -0
- package/dist/runtime/empty-registry.d.ts +6 -0
- package/dist/runtime/empty-registry.js +4 -0
- package/dist/runtime/state.d.ts +4 -0
- package/dist/runtime/state.js +15 -0
- package/dist/runtime/workspace.d.ts +2 -0
- package/dist/runtime/workspace.js +2 -0
- package/dist/runtime.d.ts +38 -0
- package/dist/runtime.js +643 -0
- package/dist/search-C4REyHj9.js +39 -0
- package/dist/server.d.ts +65 -0
- package/dist/server.js +355 -0
- package/dist/shared-BRycRSbo.js +255 -0
- package/dist/source-metadata.d.ts +2 -0
- package/dist/source-metadata.js +2 -0
- package/dist/state-DSAHEsq6.d.ts +25 -0
- package/dist/sync-DO42ypji.js +269 -0
- package/dist/target-D4Bqb1eH.js +11 -0
- package/dist/test.d.ts +2 -0
- package/dist/test.js +2 -0
- package/dist/types-DHkae7Cb.d.ts +628 -0
- package/dist/use-D16tf8Ph.d.ts +86 -0
- package/dist/use-d_PlAdOu.js +353 -0
- package/dist/utils-BPdaCyI6.js +55 -0
- package/dist/vite-NWC9mFjI.js +1882 -0
- package/dist/vite.d.ts +50 -0
- package/dist/vite.js +2 -0
- package/dist/workspace-f2DBLmPZ.d.ts +6 -0
- package/dist/workspace-n4wBmdaM.js +1476 -0
- package/package.json +197 -5
package/package.json
CHANGED
|
@@ -1,9 +1,201 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/workspace",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Agent-oriented filesystem state and Vite integration for ViteHub.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cloudflare",
|
|
7
|
+
"vercel",
|
|
8
|
+
"vite",
|
|
9
|
+
"vitehub",
|
|
10
|
+
"workspace"
|
|
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/workspace"
|
|
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-workspace-assets-registry": {
|
|
30
|
+
"types": "./dist/runtime/empty-assets-registry.d.ts",
|
|
31
|
+
"default": "./dist/runtime/empty-assets-registry.js"
|
|
32
|
+
},
|
|
33
|
+
"#vitehub-workspace-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
|
+
"./ai": {
|
|
44
|
+
"types": "./dist/ai.d.ts",
|
|
45
|
+
"import": "./dist/ai.js"
|
|
46
|
+
},
|
|
47
|
+
"./cli": {
|
|
48
|
+
"types": "./dist/cli.d.ts",
|
|
49
|
+
"import": "./dist/cli.js"
|
|
50
|
+
},
|
|
51
|
+
"./cloudflare": {
|
|
52
|
+
"types": "./dist/cloudflare.d.ts",
|
|
53
|
+
"import": "./dist/cloudflare.js"
|
|
54
|
+
},
|
|
55
|
+
"./collections": {
|
|
56
|
+
"types": "./dist/collections.d.ts",
|
|
57
|
+
"import": "./dist/collections.js"
|
|
58
|
+
},
|
|
59
|
+
"./collections/client": {
|
|
60
|
+
"types": "./dist/collections/client.d.ts",
|
|
61
|
+
"import": "./dist/collections/client.js"
|
|
62
|
+
},
|
|
63
|
+
"./loader": {
|
|
64
|
+
"types": "./dist/loader.d.ts",
|
|
65
|
+
"import": "./dist/loader.js"
|
|
66
|
+
},
|
|
67
|
+
"./nitro": {
|
|
68
|
+
"types": "./dist/nitro.d.ts",
|
|
69
|
+
"import": "./dist/nitro.js"
|
|
70
|
+
},
|
|
71
|
+
"./nuxt": {
|
|
72
|
+
"types": "./dist/nuxt.d.ts",
|
|
73
|
+
"import": "./dist/nuxt.js"
|
|
74
|
+
},
|
|
75
|
+
"./publish": {
|
|
76
|
+
"types": "./dist/publish.d.ts",
|
|
77
|
+
"import": "./dist/publish.js"
|
|
78
|
+
},
|
|
79
|
+
"./runtime": {
|
|
80
|
+
"types": "./dist/runtime.d.ts",
|
|
81
|
+
"import": "./dist/runtime.js"
|
|
82
|
+
},
|
|
83
|
+
"./server": {
|
|
84
|
+
"types": "./dist/server.d.ts",
|
|
85
|
+
"import": "./dist/server.js"
|
|
86
|
+
},
|
|
87
|
+
"./source-metadata": {
|
|
88
|
+
"types": "./dist/source-metadata.d.ts",
|
|
89
|
+
"import": "./dist/source-metadata.js"
|
|
90
|
+
},
|
|
91
|
+
"./test": {
|
|
92
|
+
"types": "./dist/test.d.ts",
|
|
93
|
+
"import": "./dist/test.js"
|
|
94
|
+
},
|
|
95
|
+
"./vite": {
|
|
96
|
+
"types": "./dist/vite.d.ts",
|
|
97
|
+
"import": "./dist/vite.js"
|
|
98
|
+
},
|
|
99
|
+
"./package.json": "./package.json",
|
|
100
|
+
"./internal/runtime/assets": {
|
|
101
|
+
"types": "./dist/runtime/assets.d.ts",
|
|
102
|
+
"import": "./dist/runtime/assets.js"
|
|
103
|
+
},
|
|
104
|
+
"./internal/runtime/empty-assets-registry": {
|
|
105
|
+
"types": "./dist/runtime/empty-assets-registry.d.ts",
|
|
106
|
+
"import": "./dist/runtime/empty-assets-registry.js"
|
|
107
|
+
},
|
|
108
|
+
"./internal/runtime/empty-registry": {
|
|
109
|
+
"types": "./dist/runtime/empty-registry.d.ts",
|
|
110
|
+
"import": "./dist/runtime/empty-registry.js"
|
|
111
|
+
},
|
|
112
|
+
"./internal/runtime/hosted": {
|
|
113
|
+
"types": "./dist/hosted.d.ts",
|
|
114
|
+
"import": "./dist/hosted.js"
|
|
115
|
+
},
|
|
116
|
+
"./internal/runtime/hosted-vercel-blob": {
|
|
117
|
+
"types": "./dist/hosted-vercel-blob.d.ts",
|
|
118
|
+
"import": "./dist/hosted-vercel-blob.js"
|
|
119
|
+
},
|
|
120
|
+
"./internal/runtime/state": {
|
|
121
|
+
"types": "./dist/runtime/state.d.ts",
|
|
122
|
+
"import": "./dist/runtime/state.js"
|
|
123
|
+
},
|
|
124
|
+
"./internal/runtime/workspace": {
|
|
125
|
+
"types": "./dist/runtime/workspace.d.ts",
|
|
126
|
+
"import": "./dist/runtime/workspace.js"
|
|
127
|
+
},
|
|
128
|
+
"./internal/stores/cloudflare-artifacts": {
|
|
129
|
+
"types": "./dist/providers/cloudflare/artifacts-store.d.ts",
|
|
130
|
+
"import": "./dist/providers/cloudflare/artifacts-store.js"
|
|
131
|
+
},
|
|
132
|
+
"./internal/stores/github": {
|
|
133
|
+
"types": "./dist/providers/github/store.d.ts",
|
|
134
|
+
"import": "./dist/providers/github/store.js"
|
|
135
|
+
},
|
|
136
|
+
"./internal/stores/vercel-blob": {
|
|
137
|
+
"types": "./dist/providers/vercel/blob-store.d.ts",
|
|
138
|
+
"import": "./dist/providers/vercel/blob-store.js"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"dependencies": {
|
|
142
|
+
"@vercel/nft": "^1.10.2",
|
|
143
|
+
"defu": "^6.1.7",
|
|
144
|
+
"exsolve": "^1.1.0",
|
|
145
|
+
"h3": "2.0.1-rc.25",
|
|
146
|
+
"isomorphic-git": "^1.38.7",
|
|
147
|
+
"jiti": "^2.7.0",
|
|
148
|
+
"minimatch": "^10.2.5",
|
|
149
|
+
"mrmime": "^2.0.1",
|
|
150
|
+
"ofetch": "^1.5.1",
|
|
151
|
+
"@vite-hub/runtime": "0.0.2",
|
|
152
|
+
"@vite-hub/source": "0.0.2",
|
|
153
|
+
"@vite-hub/markdown-template": "0.0.2",
|
|
154
|
+
"@vite-hub/box": "0.0.2"
|
|
155
|
+
},
|
|
156
|
+
"devDependencies": {
|
|
157
|
+
"@types/node": "^24.13.3",
|
|
158
|
+
"@vercel/blob": "^2.6.1",
|
|
159
|
+
"ai": "7.0.19",
|
|
160
|
+
"ocache": "^0.1.5",
|
|
161
|
+
"publint": "^0.3.21",
|
|
162
|
+
"typescript": "^6.0.3",
|
|
163
|
+
"vite": "^8.0.8",
|
|
164
|
+
"vite-plus": "^0.1.24",
|
|
165
|
+
"vitest": "^4.1.4",
|
|
166
|
+
"vue": "^3.5.0",
|
|
167
|
+
"@vite-hub/internal": "0.0.1",
|
|
168
|
+
"@vite-hub/shell": "0.0.2",
|
|
169
|
+
"@vite-hub/env": "0.0.2"
|
|
170
|
+
},
|
|
171
|
+
"peerDependencies": {
|
|
172
|
+
"@vercel/blob": "^2.6.1",
|
|
173
|
+
"ai": "^6.0.0 || ^7.0.0-0",
|
|
174
|
+
"vite": ">=8.0.0",
|
|
175
|
+
"vue": "^3.5.0",
|
|
176
|
+
"@vite-hub/shell": "0.0.2"
|
|
177
|
+
},
|
|
178
|
+
"peerDependenciesMeta": {
|
|
179
|
+
"@vercel/blob": {
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"@vite-hub/shell": {
|
|
183
|
+
"optional": true
|
|
184
|
+
},
|
|
185
|
+
"vite": {
|
|
186
|
+
"optional": true
|
|
187
|
+
},
|
|
188
|
+
"vue": {
|
|
189
|
+
"optional": true
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"engines": {
|
|
193
|
+
"node": ">=24.0.0"
|
|
194
|
+
},
|
|
195
|
+
"scripts": {
|
|
196
|
+
"build": "vp pack",
|
|
197
|
+
"dev": "vp pack --watch",
|
|
198
|
+
"typecheck": "tsc --noEmit -p ./tsconfig.json",
|
|
199
|
+
"test": "vp run -t @vite-hub/workspace#build && vp test"
|
|
8
200
|
}
|
|
9
|
-
}
|
|
201
|
+
}
|