setup
Installation
SKILL.md
clickhouse-js Repository Setup
Use this skill before running any of the npm run test:*, npm run lint, npm run typecheck, or npm run build scripts in a fresh checkout (or after pulling changes that touch package.json files).
Prerequisites
- Node.js 22 recommended (matches
.nvmrc). The rootpackage.jsondeclares"engines": { "node": ">=20" }, and CI tests Node 20, 22, and 24. - Docker with the Compose plugin (
docker compose ...). Required only for integration tests and any example that talks to a real server.
1. Install dependencies
This is an npm workspaces repo (packages/*), with two additional independent example packages (examples/node, examples/web) that have their own package.json and are not part of the workspaces.
Install all three:
npm install
npm --prefix examples/node install
npm --prefix examples/web install
Related skills