Files
openconcho/package.json

44 lines
1.4 KiB
JSON
Raw Normal View History

{
"name": "openconcho",
"private": true,
chore(release): 0.16.0 [skip ci] # [0.16.0](https://github.com/offendingcommit/openconcho/compare/v0.15.0...v0.16.0) (2026-06-10) ### Bug Fixes * **ci:** replace userEvent.selectOptions with fireEvent.change; bump setup-node to v6 ([1c28cae](https://github.com/offendingcommit/openconcho/commit/1c28cae3f2aed84e9c2deff7c7fcb622bb86df2e)) * **dashboard:** guard setMetricsById against same-value calls to end loop ([3b88a41](https://github.com/offendingcommit/openconcho/commit/3b88a41afda842eb3d493b7d77a825595164cb94)) * **dashboard:** remove lastSeen from metrics useMemo deps to break render loop ([f79cdaf](https://github.com/offendingcommit/openconcho/commit/f79cdafba7aa16004c75d2684d7dedd6279f3265)) * **dashboard:** use primitive deps in onMetrics effect to break render loop ([9cc8637](https://github.com/offendingcommit/openconcho/commit/9cc8637dc7ebf62b2002a0a3d8e4b3781660e770)) * **test:** remove unused within import from fleet.test.tsx ([36fb6ee](https://github.com/offendingcommit/openconcho/commit/36fb6ee51923c8eb3261d851a1754f7f1c6ec0b9)) * **web:** break metricsEqual lastSeen dep-loop; add staleTime to test ([173f096](https://github.com/offendingcommit/openconcho/commit/173f096e33157a1744ffa2ef9d09a170216ac036)) * **web:** reset serverFilter when the selected instance is removed ([699ec38](https://github.com/offendingcommit/openconcho/commit/699ec3848016aad31db33eecc0079645f24f83b6)) * **web:** stop Sidebar re-render loop from cache-event subscriber ([7e529c8](https://github.com/offendingcommit/openconcho/commit/7e529c8c44b358d3f437f1f1888c0e7fa5664d52)) ### Features * **web:** merge Fleet into a server-filterable Dashboard ([e66f927](https://github.com/offendingcommit/openconcho/commit/e66f927f89cbfda6e900080369599fe0d4eeb5bf)), closes [#54](https://github.com/offendingcommit/openconcho/issues/54) * **web:** redirect /fleet to Dashboard; update fleet tests ([da126b2](https://github.com/offendingcommit/openconcho/commit/da126b2e74f89cdeca323e00232a4f49764fb992))
2026-06-10 12:20:29 +00:00
"version": "0.16.0",
"packageManager": "pnpm@10.33.2",
"engines": {
"node": ">=22",
"pnpm": ">=10"
},
"scripts": {
"bootstrap": "pnpm install && pnpm exec playwright install --with-deps chromium",
"dev": "pnpm --filter @openconcho/desktop dev",
"dev:web": "pnpm --filter @openconcho/web dev",
"dev:desktop": "pnpm --filter @openconcho/desktop dev",
"build": "turbo run build",
"lint": "turbo run lint",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"test": "turbo run test",
"test:e2e": "turbo run test:e2e",
"typecheck": "turbo run typecheck",
"check": "turbo run lint typecheck test",
"ci:web": "turbo run lint typecheck test build --filter=@openconcho/web",
"ci:desktop": "turbo run cargo-check --filter=@openconcho/desktop",
chore(hooks): pre-push gate, secret scan, pr:evidence drafter Phase A of the quality-gate rollout — local + pre-push gates that stop slop before it leaves the laptop. Preventative controls, per the architect playbook. - .husky/pre-commit — adds scripts/secret-scan.sh as the first check before the existing Biome format/lint. Blocks the commit when a likely secret is found in staged additions. Existing Biome behaviour is preserved. - .husky/pre-push (new) — runs `pnpm check` (lint + typecheck + test) before the branch leaves the laptop. Mirrors the `check` job in .github/workflows/ci.yml so PR-blocking issues surface locally first. Bypassable for genuine emergencies with `git push --no-verify`. - scripts/secret-scan.sh (new) — regex scan over staged additions for the common accidents: AWS keys, Anthropic/OpenAI/GitHub/Slack/Google/ Stripe tokens, JWTs, PEM private key blocks, hardcoded password literals. Validated against synthetic leaks of each type. No external tool dependency — pure bash + grep, runs in <100ms typical. - scripts/pr-evidence.sh (new) — drafts a PR_BODY.md from the diff vs origin/main: file lists (added/modified/deleted), commit summaries, and the QA checklist. Flags screenshots as REQUIRED when the diff touches packages/web/src/{components,routes} or packages/desktop. Wired as `pnpm pr:evidence` so it runs from anywhere in the workspace. - .gitignore — adds PR_BODY.md so drafts don't get committed by accident. Pre-commit stays fast (<2s typical). Heavy checks (typecheck, full test run) live in pre-push.
2026-05-24 18:29:13 +01:00
"pr:evidence": "./scripts/pr-evidence.sh",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "catalog:",
"@commitlint/cli": "~20.5.3",
"@commitlint/config-conventional": "~20.5.3",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.3.5",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.1",
"husky": "~9.1.7",
"semantic-release": "catalog:",
"turbo": "^2.9.16"
}
}