From 50f22e30756ac9a91b016b3e8ca107c6348ba5f0 Mon Sep 17 00:00:00 2001 From: Deep Kumar Singh Kushwah Date: Wed, 15 Jul 2026 14:23:57 +0530 Subject: [PATCH] chore: CodeSandbox devbox config + .nvmrc Add .codesandbox/tasks.json so importing the repo as a CodeSandbox devbox auto-runs `pnpm install` + `pnpm -r build`, and exposes one-click tasks (test, eval, typecheck, scan-demo). Pin Node 22 via .nvmrc to match CI. Co-Authored-By: Claude Opus 4.8 --- .codesandbox/tasks.json | 25 +++++++++++++++++++++++++ .nvmrc | 1 + 2 files changed, 26 insertions(+) create mode 100644 .codesandbox/tasks.json create mode 100644 .nvmrc diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json new file mode 100644 index 0000000..36a1d82 --- /dev/null +++ b/.codesandbox/tasks.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://codesandbox.io/schemas/tasks.json", + "setupTasks": [ + { "name": "Install dependencies", "command": "corepack enable && pnpm install" }, + { "name": "Build all packages", "command": "pnpm -r build" } + ], + "tasks": { + "test": { + "name": "Unit tests", + "command": "pnpm test" + }, + "eval": { + "name": "Eval gate", + "command": "pnpm eval" + }, + "typecheck": { + "name": "Typecheck", + "command": "pnpm typecheck" + }, + "scan-demo": { + "name": "Scan the demo fixture", + "command": "node packages/cli/dist/index.js scan eval/fixtures/c1-shared-datatable/app -o app.graph.json" + } + } +} diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2bd5a0a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22