Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 6.19 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 6.19 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
94
{
"name": "open-compute",
"private": true,
"homepage": "https://open-compute.dev",
"type": "module",
"workspaces": [
"apps/*",
"packages/*",
"examples/*",
"test/applications/*",
"test/applications/python-frameworks/*"
],
"scripts": {
"build": "bun scripts/build-workerd.ts && bun run --filter @open-compute/sdk typecheck && bun run --filter @open-compute/sdk build && bun run --filter @open-compute/dashboard build && bun run --filter @open-compute/postgres-driver-fixture build && bun run --filter @open-compute/runtime build && bun run --filter @open-compute/website build && bun run --filter @open-compute/example-hello-worker build && bun run --filter @open-compute/containers-fixture build && tsc --project scripts/tsconfig.json --noEmit && tsc --project test/conformance/tsconfig.json --noEmit && tsc --project test/conformance/fixtures/tsconfig.json --noEmit && bun run --filter '@open-compute/python-*-fixture' typecheck && bun run --filter @open-compute/browser-run-fixture build",
"build:python": "node scripts/build-python.ts",
"build:rust": "mbx build --locked -p open-compute-service --bin ocd",
"check:frontend": "./test/check-source-policy.sh && bun run format:check && bun run typecheck && bun run lint && bun run --filter @open-compute/dashboard test && bun run --filter @open-compute/dashboard build && bun run --filter @open-compute/website build",
"check:generated": "bun run --filter @open-compute/runtime check:generated",
"check:staged": "bun scripts/check-staged.ts check",
"dashboard:dev": "sh scripts/dashboard-dev.sh",
"format": "sort-package-json package.json apps/*/package.json packages/*/package.json examples/*/package.json test/applications/*/package.json test/applications/python-frameworks/*/package.json && prettier --write --log-level warn --ignore-unknown package.json apps packages examples scripts test",
"format:check": "sort-package-json --check package.json apps/*/package.json packages/*/package.json examples/*/package.json test/applications/*/package.json test/applications/python-frameworks/*/package.json && prettier --check --ignore-unknown package.json apps packages examples scripts test",
"format:staged": "bun scripts/check-staged.ts format",
"lint": "oxlint --disable-nested-config --deny-warnings . && knip",
"lint:fix": "oxlint --disable-nested-config --fix --deny-warnings . && knip",
"lint:staged": "bun scripts/check-staged.ts lint",
"test:dashboard:e2e": "bun run --filter @open-compute/dashboard test:e2e",
"test:js": "bun run --filter @open-compute/browser-actions test && node --test 'packages/sdk/tests/**/*.test.mjs' 'packages/runtime/tests/**/*.test.mjs' 'test/*.test.mjs' 'test/upstream-review/*.test.mjs' 'test/conformance/*.test.mjs'",
"test:js:ci": "bun run --filter @open-compute/browser-actions test && node --test 'packages/sdk/tests/**/*.test.mjs' 'packages/runtime/tests/**/*.test.mjs' 'test/runtime-release-assets.test.mjs' 'test/browser-preparation.test.mjs' 'test/python-main-fixture.test.mjs' 'test/python-build.test.mjs' 'test/upstream-review/*.test.mjs' 'test/conformance/adapters.test.mjs' 'test/conformance/case-evidence.test.mjs' 'test/conformance/inventory.test.mjs' 'test/conformance/p6-contract.test.mjs'",
"typecheck": "bun run --filter @open-compute/browser-run-fixture typecheck && bun run --filter @open-compute/sdk typecheck && bun run --filter @open-compute/dashboard typecheck && bun run --filter @open-compute/runtime typecheck && bun run --filter @open-compute/browser-actions typecheck && bun run --filter @open-compute/website typecheck && bun run --filter @open-compute/example-hello-worker typecheck && bun run --filter @open-compute/containers-fixture typecheck && bun run --filter @open-compute/container-surface-fixture typecheck && tsc --project scripts/tsconfig.json --noEmit && tsc --project test/conformance/tsconfig.json --noEmit && tsc --project test/conformance/fixtures/tsconfig.json --noEmit && bun run --filter '@open-compute/python-*-fixture' typecheck",
"website:build": "bun run --filter @open-compute/website build",
"website:dev": "bun run --filter @open-compute/website dev",
"website:preview": "bun run --filter @open-compute/website preview"
},
"simple-git-hooks": {
"pre-commit": "bun run check:staged"
},
"devDependencies": {
"@cloudflare/config": "0.23.0",
"@cloudflare/containers": "catalog:",
"@cloudflare/vite-plugin": "catalog:",
"@cloudflare/workers-utils": "0.46.0",
"@ianvs/prettier-plugin-sort-imports": "4.7.1",
"@open-compute/workers-types": "workspace:*",
"@types/node": "catalog:",
"cf": "catalog:",
"cloudflare": "catalog:",
"knip": "6.34.0",
"oxlint": "1.81.0",
"prettier": "3.9.6",
"prettier-plugin-tailwindcss": "0.8.1",
"simple-git-hooks": "2.14.0",
"sort-package-json": "4.0.0",
"typescript": "catalog:",
"vite": "catalog:"
},
"packageManager": "bun@1.3.14",
"catalog": {
"@astrojs/react": "6.0.5",
"@astrojs/starlight": "0.42.0",
"rolldown": "1.2.6",
"typescript": "7.0.2",
"@types/node": "24.13.3",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@cloudflare/kumo": "2.14.0",
"@cloudflare/workers-types": "5.20260930.2",
"@cloudflare/containers": "0.3.7",
"cloudflare": "7.2.0",
"@tabler/icons-react": "3.46.0",
"@tailwindcss/vite": "4.3.3",
"@tanstack/react-query": "5.103.2",
"@tanstack/react-router": "1.170.39",
"@tanstack/router-plugin": "1.168.40",
"@vitejs/plugin-react": "6.1.1",
"astro": "7.3.2",
"date-fns": "4.4.0",
"jotai": "3.0.0",
"react": "19.3.0",
"react-dom": "19.3.0",
"tailwindcss": "4.3.3",
"vite": "8.3.0",
"cf": "1.0.0-beta.12",
"@cloudflare/vite-plugin": "2.0.0-beta.sha-52b0dc0e9",
"@cloudflare/puppeteer": "1.4.0",
"zod": "4.5.4"
},
"patchedDependencies": {
"@cloudflare/config@0.22.0": "patches/@cloudflare%2Fconfig@0.22.0.patch",
"@cloudflare/config@0.23.0": "patches/@cloudflare%2Fconfig@0.23.0.patch",
"@cloudflare/vite-plugin@2.0.0-beta.sha-52b0dc0e9": "patches/@cloudflare%2Fvite-plugin@2.0.0-beta.sha-52b0dc0e9.patch",
"@cloudflare/workers-types@5.20260930.2": "patches/@cloudflare%2Fworkers-types@5.20260930.2.patch"
}
}