Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 6.03 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 6.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "sandbox",
"version": "0.0.0",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"type": "module",
"scripts": {
"changeset": "changeset",
"dev": "bun run --cwd apps/site dev",
"build": "bun run build:packages && bun run --cwd apps/site build && bun run --cwd apps/cloudflare typecheck && bun run --cwd apps/cloudflare-bridge typecheck && tsc -p examples/tsconfig.json",
"build:packages": "bun run --cwd packages/core build && bun run --cwd packages/local build && bun run --cwd packages/ai build && bun run --cwd packages/vercel build && bun run --cwd packages/e2b build && bun run --cwd packages/daytona build && bun run --cwd packages/cloudflare build && bun run --cwd packages/modal build && bun run --cwd packages/blaxel build && bun run --cwd packages/codesandbox build",
"check": "ultracite check",
"docs:api": "bun run build:packages && bun scripts/api.ts && bun x oxfmt docs/api.md",
"docs:api:check": "bun run build:packages && bun scripts/apicheck.ts",
"fix": "ultracite fix",
"pack:packages": "bun run build:packages && for p in packages/core packages/local packages/ai packages/vercel packages/e2b packages/daytona packages/cloudflare packages/modal packages/blaxel packages/codesandbox; do (cd $p && bun pm pack --dry-run --ignore-scripts); done",
"release": "bun run verify && changeset publish",
"test": "bun run build:packages && bun test ./packages ./scripts ./test && bun run --cwd apps/cloudflare test",
"verify": "bun run test && bun run docs:api:check && bun run check && bun run typecheck && bun run pack:packages && bun run build",
"verify:env": "bun --env-file=.env.local scripts/credentials.ts",
"verify:providers": "bun run verify:env && bun run build:packages && (bun --env-file=.env.local test --timeout=300000 packages/blaxel/test/live.test.ts packages/cloudflare/test/live.test.ts packages/daytona/test/live.test.ts packages/e2b/test/live.test.ts packages/modal/test/live.test.ts packages/vercel/test/live.test.ts; tests=$?; node --env-file=.env.local packages/codesandbox/test/live.mjs; codesandbox=$?; exit $((tests || codesandbox)))",
"verify:blaxel": "bun --env-file=.env.local scripts/credentials.ts blaxel && bun run --cwd packages/blaxel build && bun --env-file=.env.local test --timeout=300000 packages/blaxel/test/live.test.ts",
"verify:cloudflare": "bun --env-file=.env.local scripts/credentials.ts cloudflare && bun run --cwd packages/cloudflare build && bun --env-file=.env.local test --timeout=300000 packages/cloudflare/test/live.test.ts",
"verify:cloudflare:bridge": "bun --env-file=.env.local scripts/credentials.ts cloudflare-bridge && bun run --cwd packages/cloudflare build && bun run --cwd apps/cloudflare-bridge typecheck && bun --env-file=.env.local test --timeout=300000 packages/cloudflare/test/bridge.live.test.ts",
"verify:codesandbox": "bun --env-file=.env.local scripts/credentials.ts codesandbox && bun run --cwd packages/codesandbox build && node --env-file=.env.local packages/codesandbox/test/live.mjs",
"verify:daytona": "bun --env-file=.env.local scripts/credentials.ts daytona && bun run --cwd packages/daytona build && bun --env-file=.env.local test --timeout=300000 packages/daytona/test/live.test.ts",
"verify:daytona:snapshot-delete": "bun --env-file=.env.local scripts/credentials.ts daytona-snapshot-delete && bun run --cwd packages/daytona build && bun --env-file=.env.local test --timeout=300000 --test-name-pattern 'daytona deletes a durable snapshot' packages/daytona/test/live.test.ts",
"verify:e2b": "bun --env-file=.env.local scripts/credentials.ts e2b && bun run --cwd packages/e2b build && bun --env-file=.env.local test --timeout=300000 packages/e2b/test/live.test.ts",
"verify:modal": "bun --env-file=.env.local scripts/credentials.ts modal && bun run --cwd packages/modal build && bun --env-file=.env.local test --timeout=300000 packages/modal/test/live.test.ts",
"verify:vercel": "bun --env-file=.env.local scripts/credentials.ts vercel && bun run --cwd packages/vercel build && bun --env-file=.env.local test --timeout=300000 packages/vercel/test/live.test.ts",
"typecheck": "bun run build:packages && tsc -p packages/ai/test/tsconfig.json && tsc -p packages/cloudflare/test/tsconfig.json && tsc -p packages/vercel/test/tsconfig.json && bunx tsc -p scripts/tsconfig.json && bun run --cwd apps/site typecheck && bun run --cwd apps/cloudflare typecheck && bun run --cwd apps/cloudflare-bridge typecheck && tsc -p examples/tsconfig.json",
"version:packages": "changeset version",
"prepare": "husky"
},
"dependencies": {
"vercel": "^59.11.2"
},
"devDependencies": {
"@changesets/cli": "^2.31.1",
"@cloudflare/sandbox": "^0.12.9",
"@cloudflare/workers-types": "^4.20260702.1",
"@sandbox-sdk/ai": "workspace:*",
"@sandbox-sdk/blaxel": "workspace:*",
"@sandbox-sdk/cloudflare": "workspace:*",
"@sandbox-sdk/codesandbox": "workspace:*",
"@sandbox-sdk/core": "workspace:*",
"@sandbox-sdk/daytona": "workspace:*",
"@sandbox-sdk/e2b": "workspace:*",
"@sandbox-sdk/local": "workspace:*",
"@sandbox-sdk/modal": "workspace:*",
"@sandbox-sdk/vercel": "workspace:*",
"@types/node": "^20.19.43",
"ai": "^6.0.271",
"bun-types": "^1.4.0",
"husky": "^9.1.7",
"oxfmt": "0.51.0",
"oxlint": "1.70.0",
"typescript": "^6.0.3",
"ultracite": "7.7.0"
},
"overrides": {
"@babel/core": "7.29.6",
"@codesandbox/sdk>@sentry/node": "10.73.0",
"@grpc/grpc-js": "1.14.4",
"@tootallnate/once@2": "2.0.1",
"ajv@8": "8.20.0",
"form-data": "4.0.6",
"hono": "4.13.5",
"js-yaml@4": "4.3.2",
"lodash": "4.18.1",
"minimatch@10": "10.2.6",
"path-to-regexp@6": "6.3.0",
"path-to-regexp@8": "8.4.2",
"postcss": "8.5.26",
"qs": "6.16.0",
"shell-quote": "1.10.0",
"smol-toml": "1.8.0",
"tar": "7.5.22",
"toml": "4.2.0",
"undici": "7.29.0",
"ws": "8.21.3",
"xml2js": "0.6.2"
},
"packageManager": "bun@1.4.0",
"trustedDependencies": [
"@tailwindcss/oxide",
"sharp",
"unrs-resolver"
]
}