@vite-hub/workflow 0.0.1 → 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.
Files changed (37) hide show
  1. package/README.md +56 -6
  2. package/dist/{cloudflare-env-BVUMOgFK.d.ts → cloudflare-env-CIjdFTv6.d.ts} +2 -1
  3. package/dist/{cloudflare-env-g0Rf3ClH.js → cloudflare-env-mFp2Uj6Z.js} +7 -3
  4. package/dist/{cloudflare-vite-DcM5YVTP.js → cloudflare-vite-B0zel2Do.js} +4 -5
  5. package/dist/{config-DkgsQuXz.js → config-BDqB6I4E.js} +43 -5
  6. package/dist/index.d.ts +43 -18
  7. package/dist/index.js +99 -111
  8. package/dist/provider-operation-CWIV4k42.js +62 -0
  9. package/dist/runtime/cloudflare-runner.d.ts +2 -2
  10. package/dist/runtime/cloudflare-runner.js +15 -14
  11. package/dist/runtime/cloudflare-shared.d.ts +2 -2
  12. package/dist/runtime/cloudflare-shared.js +2 -2
  13. package/dist/runtime/cloudflare-vite.d.ts +3 -3
  14. package/dist/runtime/cloudflare-vite.js +1 -1
  15. package/dist/runtime/execute.d.ts +1 -1
  16. package/dist/runtime/openworkflow-worker.d.ts +4 -2
  17. package/dist/runtime/openworkflow-worker.js +63 -6
  18. package/dist/runtime/openworkflow.d.ts +22 -1
  19. package/dist/runtime/openworkflow.js +110 -37
  20. package/dist/runtime/state.d.ts +1 -1
  21. package/dist/runtime/vercel-vite.d.ts +58 -3
  22. package/dist/runtime/vercel-vite.js +3 -2
  23. package/dist/{types-ThDitg7Z.d.ts → types-BUlYBZwH.d.ts} +48 -6
  24. package/dist/vercel-D2_J5D_Y.js +217 -0
  25. package/dist/vite.d.ts +2 -5
  26. package/dist/vite.js +1678 -144
  27. package/package.json +45 -48
  28. package/dist/module-UYEnVfxy.js +0 -1546
  29. package/dist/nitro.d.ts +0 -19
  30. package/dist/nitro.js +0 -2
  31. package/dist/openworkflow-amN7IkGO.d.ts +0 -24
  32. package/dist/runtime/nitro-plugin.d.ts +0 -6
  33. package/dist/runtime/nitro-plugin.js +0 -14
  34. /package/dist/{_app-BVWpnNHo.d.ts → _app-DgwN4ulW.d.ts} +0 -0
  35. /package/dist/{app-BE3EYOWn.js → app-BZpq2cwC.js} +0 -0
  36. /package/dist/{cloudflare-CeHVSHoN.js → cloudflare-Cds1VIWa.js} +0 -0
  37. /package/dist/{cloudflare-shared-BIeY2kak.d.ts → cloudflare-shared-BVVgDSdq.d.ts} +0 -0
package/package.json CHANGED
@@ -1,37 +1,38 @@
1
1
  {
2
2
  "name": "@vite-hub/workflow",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Workflow primitives and Vite integration for ViteHub.",
5
- "author": "onmax <maximogarciamtnez@gmail.com>",
6
- "license": "Apache-2.0",
5
+ "keywords": [
6
+ "cloudflare",
7
+ "docker",
8
+ "openworkflow",
9
+ "vercel",
10
+ "vite",
11
+ "vitehub",
12
+ "workflow"
13
+ ],
7
14
  "homepage": "https://github.com/vite-hub/vitehub#readme",
15
+ "bugs": "https://github.com/vite-hub/vitehub/issues",
16
+ "license": "Apache-2.0",
17
+ "author": "onmax <maximogarciamtnez@gmail.com>",
8
18
  "repository": {
9
19
  "type": "git",
10
20
  "url": "git+https://github.com/vite-hub/vitehub.git",
11
21
  "directory": "packages/workflow"
12
22
  },
13
- "bugs": "https://github.com/vite-hub/vitehub/issues",
14
- "keywords": [
15
- "vitehub",
16
- "vite",
17
- "nitro",
18
- "workflow",
19
- "cloudflare",
20
- "docker",
21
- "openworkflow",
22
- "vercel"
23
+ "files": [
24
+ "dist",
25
+ "package.json"
23
26
  ],
24
- "sideEffects": false,
25
27
  "type": "module",
28
+ "sideEffects": false,
26
29
  "types": "./dist/index.d.ts",
27
30
  "exports": {
28
31
  ".": "./dist/index.js",
29
- "./nitro": "./dist/nitro.js",
30
32
  "./runtime/cloudflare-runner": "./dist/runtime/cloudflare-runner.js",
31
33
  "./runtime/cloudflare-shared": "./dist/runtime/cloudflare-shared.js",
32
34
  "./runtime/cloudflare-vite": "./dist/runtime/cloudflare-vite.js",
33
35
  "./runtime/execute": "./dist/runtime/execute.js",
34
- "./runtime/nitro-plugin": "./dist/runtime/nitro-plugin.js",
35
36
  "./runtime/openworkflow": "./dist/runtime/openworkflow.js",
36
37
  "./runtime/openworkflow-worker": "./dist/runtime/openworkflow-worker.js",
37
38
  "./runtime/state": "./dist/runtime/state.js",
@@ -39,32 +40,39 @@
39
40
  "./vite": "./dist/vite.js",
40
41
  "./package.json": "./package.json"
41
42
  },
42
- "files": [
43
- "dist",
44
- "package.json"
45
- ],
46
43
  "dependencies": {
47
- "@vercel/functions": "^3.4.3",
48
- "defu": "^6.1.4",
49
- "esbuild": "^0.28.0",
50
- "h3": "2.0.1-rc.20",
51
- "pathe": "^2.0.3"
44
+ "@vercel/functions": "^3.7.5",
45
+ "defu": "^6.1.7",
46
+ "esbuild": "^0.28.1",
47
+ "h3": "2.0.1-rc.25",
48
+ "pathe": "^2.0.3",
49
+ "@vite-hub/runtime": "0.0.2"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^24.13.3",
53
+ "openworkflow": "^0.9.0",
54
+ "publint": "^0.3.21",
55
+ "typescript": "^6.0.3",
56
+ "vite": "^8.0.8",
57
+ "vite-plus": "^0.1.24",
58
+ "vitest": "^4.1.4",
59
+ "@vite-hub/internal": "0.0.1"
52
60
  },
53
61
  "peerDependencies": {
54
- "nitro": "^3.0.0-0",
62
+ "@workflow/builders": "4.0.5",
55
63
  "openworkflow": "^0.9.0",
56
- "postgres": "^3.4.9",
57
- "vite": "^8.0.0",
58
- "workflow": "^4.2.4"
64
+ "vite": ">=8.0.0",
65
+ "workflow": "^4.6.0",
66
+ "@vite-hub/database": "0.0.2"
59
67
  },
60
68
  "peerDependenciesMeta": {
61
- "nitro": {
69
+ "@vite-hub/database": {
62
70
  "optional": true
63
71
  },
64
- "openworkflow": {
72
+ "@workflow/builders": {
65
73
  "optional": true
66
74
  },
67
- "postgres": {
75
+ "openworkflow": {
68
76
  "optional": true
69
77
  },
70
78
  "vite": {
@@ -74,24 +82,13 @@
74
82
  "optional": true
75
83
  }
76
84
  },
77
- "devDependencies": {
78
- "@types/node": "^25.6.0",
79
- "nitro": "3.0.260311-beta",
80
- "ofetch": "^1.5.1",
81
- "openworkflow": "^0.9.0",
82
- "publint": "^0.3.15",
83
- "tsdown": "^0.21.8",
84
- "tsx": "^4.21.0",
85
- "typescript": "^6.0.2",
86
- "vite": "^8.0.8",
87
- "vitest": "^4.1.4",
88
- "@vite-hub/internal": "0.0.1"
85
+ "engines": {
86
+ "node": ">=24.0.0"
89
87
  },
90
88
  "scripts": {
91
- "build": "tsdown --tsconfig tsconfig.build.json",
92
- "dev": "tsdown --watch",
89
+ "build": "vp pack",
90
+ "dev": "vp pack --watch",
93
91
  "typecheck": "tsc --noEmit -p ./tsconfig.json",
94
- "test": "pnpm --filter @vite-hub/workflow build && vitest run",
95
- "test:e2e": "node ./test/e2e-live.mjs"
92
+ "test": "vp run -t @vite-hub/workflow#build && vp test"
96
93
  }
97
94
  }