brakit 0.8.5 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brakit",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
4
4
  "description": "See what your API is really doing. Security scanning, N+1 detection, duplicate calls, DB queries — one command, zero config.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "build": "tsup && npx tsx scripts/export-dashboard.ts",
26
26
  "build:dashboard": "npx tsx scripts/export-dashboard.ts",
27
27
  "dev": "tsup --watch",
28
- "prepublishOnly": "npm run build",
28
+ "prepublishOnly": "node -e \"const b = require('child_process').execSync('git rev-parse --abbrev-ref HEAD').toString().trim(); if(b !== 'main'){console.error('Publishing is only allowed from the main branch. Current branch: ' + b); process.exit(1);}\" && npm run build",
29
29
  "typecheck": "tsc --noEmit",
30
30
  "test": "vitest run",
31
31
  "test:watch": "vitest",
@@ -44,8 +44,10 @@
44
44
  },
45
45
  "author": "Brakit <dev@brakit.ai> (https://brakit.ai)",
46
46
  "dependencies": {
47
+ "@lit/context": "^1.1.6",
47
48
  "@modelcontextprotocol/sdk": "^1.0.0",
48
49
  "citty": "^0.1.6",
50
+ "lit": "^3.3.2",
49
51
  "picocolors": "^1.1.1"
50
52
  },
51
53
  "devDependencies": {