mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
fdac33cda6
* move swc-playground-wasm into workbench/swc-playground Move the Rust/WASM source from packages/swc-playground-wasm into workbench/swc-playground/wasm/ so it is no longer built as part of the packages/* turbo filter in CI. The WASM build now runs as part of the playground's own prebuild/dev scripts, avoiding Rust toolchain failures in unrelated CI jobs. * fix: ensure default rustup toolchain in wasm build The Vercel build environment has rustup installed but no default toolchain configured. Add a check for this and install stable if needed. Also check for VERCEL env var in addition to CI. * fix: ensure cargo bin dir is in PATH on Vercel After cargo install wasm-pack, the binary lives in $CARGO_HOME/bin which may not be in PATH on the Vercel build environment. Always add the cargo bin directory to PATH after ensuring the toolchain. Co-authored-by: Nathan Rajlich <n@n8.io>
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "workflow-sdk-compiler-playground",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:wasm": "node wasm/build.js",
|
|
"copy-wasm": "node scripts/copy-wasm.js",
|
|
"generate-types": "node scripts/generate-monaco-types.js",
|
|
"prebuild": "node wasm/build.js && node scripts/copy-wasm.js && node scripts/generate-monaco-types.js",
|
|
"build": "next build",
|
|
"dev": "node wasm/build.js && node scripts/copy-wasm.js && node scripts/generate-monaco-types.js && next dev",
|
|
"lint": "eslint .",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "latest",
|
|
"@vercel/analytics": "latest",
|
|
"@workflow/core": "workspace:*",
|
|
"@workflow/errors": "workspace:*",
|
|
"@workflow/serde": "workspace:*",
|
|
"@workflow/utils": "workspace:*",
|
|
"@workflow/world": "workspace:*",
|
|
"workflow": "workspace:*",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.454.0",
|
|
"monaco-editor": "latest",
|
|
"monaco-vim": "0.4.4",
|
|
"next": "16.2.1",
|
|
"next-themes": "latest",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"react-resizable-panels": "^2.1.7",
|
|
"tailwind-merge": "^2.5.5"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.9",
|
|
"@types/node": "^22",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"postcss": "^8.5",
|
|
"tailwindcss": "^4.1.9",
|
|
"tw-animate-css": "^1.3.3",
|
|
"typescript": "^5"
|
|
}
|
|
}
|