From a94af77842f66794d6e059a45f9baec1d5afa6b3 Mon Sep 17 00:00:00 2001 From: David Granzin <31933546+Makisuo@users.noreply.github.com> Date: Thu, 10 Sep 2026 21:55:38 +0000 Subject: [PATCH] chore: add .company/environment.json for cloud environments Declares how The Company Company builds and readies this repo: - install: bun install --frozen-lockfile (same command CI's shared bun-install action runs), baked into the cached snapshot. - prepare: the same install, re-run per task after checkout to reconcile node_modules with the branch's lockfile; a no-op when nothing drifted. - start: omitted. The long-running services (docker Postgres, ClickHouse, the alchemy dev stack) need Docker and .env.local secrets, and the test suite runs on embedded PGlite, so no background service is required. - env: omitted. No non-secret variables are required; CI runs without .env.local. Verified in-sandbox: bun install --frozen-lockfile exits 0 (1593 packages installed). --- .company/environment.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .company/environment.json diff --git a/.company/environment.json b/.company/environment.json new file mode 100644 index 000000000..fdc0f121f --- /dev/null +++ b/.company/environment.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://api.thecompany.company/schemas/v1/environment.json", + "scripts": { + "install": { + "command": "bun install --frozen-lockfile", + "timeout": 1200 + }, + "prepare": { + "command": "bun install --frozen-lockfile", + "timeout": 600 + } + } +}