Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 6.8 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 6.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "releases",
"version": "0.13.0",
"private": true,
"description": "Changelog indexer and registry for AI agents and developers",
"type": "module",
"scripts": {
"bootstrap": "./scripts/bootstrap.sh",
"doctor": "./scripts/doctor.sh",
"dev:web": "cd apps/web && portless run --name ${PORTLESS_NAME:-releases} sh -c 'bun run dev -- --port $PORT'",
"dev:api": "bun run db:migrate:local && portless run --name api.${PORTLESS_NAME:-releases} sh -c 'wrangler dev --config apps/api/wrangler.jsonc --port $PORT --ip 127.0.0.1'",
"dev:mcp": "portless run --name mcp.${PORTLESS_NAME:-releases} sh -c 'wrangler dev --config apps/mcp/wrangler.jsonc --port $PORT --ip 127.0.0.1'",
"dev:portless:doctor": "portless doctor",
"preview:web": "cd apps/web && RELEASES_API_URL=${RELEASES_API_URL:-${RELEASED_API_URL:-http://localhost:8787}} bun run dev -- --port 3000",
"preview:api": "wrangler dev --config apps/api/wrangler.jsonc --port 8787 --ip 127.0.0.1",
"preview:mcp": "wrangler dev --config apps/mcp/wrangler.jsonc --port 8788 --ip 127.0.0.1",
"mcp:ui:install": "cd apps/mcp/ui && bun install",
"mcp:ui:build": "cd apps/mcp/ui && bun install --silent && bun run build",
"mcp:ui:build:dev": "cd apps/mcp/ui && bun install --silent && NODE_ENV=development bun run build",
"mcp:ui:watch": "cd apps/mcp/ui && bun install --silent && bun run build:watch",
"mcp:ui:typecheck": "cd apps/mcp/ui && bun run typecheck",
"mcp:inspect:local": "npx @modelcontextprotocol/inspector npx mcp-remote https://mcp.releases.localhost/mcp",
"mcp:inspect:staging": "sh -c 'test -n \"$STAGING_ACCESS_KEY\" || { echo \"Set STAGING_ACCESS_KEY in .env\" >&2; exit 1; }; npx @modelcontextprotocol/inspector npx mcp-remote https://mcp.releasenotesindex.dev/mcp --header \"X-Releases-Staging-Key: $STAGING_ACCESS_KEY\"'",
"mcp:inspect:prod": "npx @modelcontextprotocol/inspector npx mcp-remote https://agents.releases.sh/mcp",
"deploy:api": "wrangler deploy --config apps/api/wrangler.jsonc",
"deploy:mcp": "bun run mcp:ui:build && wrangler deploy --config apps/mcp/wrangler.jsonc",
"publish:mcp-registry": "cd apps/mcp && mcp-publisher publish",
"deploy": "bun run deploy:api && bun run deploy:mcp",
"db:generate": "drizzle-kit generate",
"db:check-filenames": "./scripts/check-migration-filenames.sh",
"db:migrate": "drizzle-kit migrate",
"db:migrate:local": "node scripts/run-timed.mjs 60 -- wrangler d1 migrations apply released-db --local --config apps/api/wrangler.jsonc",
"db:reset:local": "rm -rf apps/api/.wrangler/state/v3/d1 && bun run db:migrate:local",
"db:migrate:remote": "wrangler d1 migrations apply released-db --remote --config apps/api/wrangler.jsonc",
"db:studio": "bun drizzle-kit studio",
"db:studio:d1": "bun drizzle-kit studio --config drizzle-d1.config.ts",
"db:query": "node scripts/run-timed.mjs 30 -- wrangler d1 execute released-db --local --config apps/api/wrangler.jsonc --command",
"db:pull": "./scripts/db-pull.sh",
"db:backup": "./scripts/db-backup.sh",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "oxfmt",
"format:check": "oxfmt --check",
"typecheck": "oxlint",
"check": "bun run lint && bun run format:check",
"clean:worktrees": "./scripts/clean-worktrees.sh",
"test": "bun test packages/ && bun test ./tests/ apps/web/ apps/mcp apps/webhooks && bun test apps/api && bun test apps/cli",
"eval:article-extract": "bun tests/evals/article-extract.eval.ts",
"eval:breaking": "bun tests/evals/breaking.eval.ts",
"eval:collection-summary": "bun tests/evals/collection-summary.eval.ts",
"eval:evaluation": "bun test ./tests/evals/evaluation.eval.ts --timeout 30000",
"eval:marketing": "bun tests/evals/marketing-classifier.eval.ts",
"eval:extraction": "bun tests/evals/extraction.eval.ts",
"eval:importance": "bun tests/evals/importance.eval.ts",
"eval:summary": "bun tests/evals/release-summary.eval.ts",
"eval:overview": "bun tests/evals/overview.eval.ts",
"eval:search": "bun tests/evals/search.eval.ts",
"eval:tool-ux-report": "bun tests/evals/tool-ux-report.ts",
"eval:weekly-digest": "bun tests/evals/weekly-digest.eval.ts",
"gen:releases-schema": "bun scripts/gen-releases-json-schema.ts",
"flags:docs": "bun scripts/gen-flag-docs.ts",
"smoke:catalog-web": "bun scripts/smoke-catalog-web.ts",
"changeset": "changeset",
"changeset:version": "changeset version && bun apps/cli/scripts/sync-version.ts && bun install",
"prepare": "husky"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"oxlint --no-error-on-unmatched-pattern",
"oxfmt --write --no-error-on-unmatched-pattern",
"oxfmt --check --no-error-on-unmatched-pattern"
],
"*.{json,jsonc,yml,yaml,css,md,mdx,html}": [
"oxfmt --write --no-error-on-unmatched-pattern",
"oxfmt --check --no-error-on-unmatched-pattern"
]
},
"workspaces": [
"apps/api",
"apps/cli",
"apps/cli/npm/*",
"apps/web",
"apps/webhooks",
"packages/*"
],
"catalog": {
"@anthropic-ai/sdk": "^0.120.0"
},
"overrides": {
"kysely": "^0.28.17",
"better-call": "1.4.0",
"@better-auth/infra": {
"@better-auth/utils": "0.4.2"
}
},
"keywords": [
"changelog",
"releases",
"mcp",
"ai"
],
"author": "Build Internet",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/anthropic": "^4.0.41",
"@anthropic-ai/sdk": "catalog:",
"@buildinternet/releases-api-types": "workspace:*",
"@buildinternet/releases-core": "workspace:*",
"@buildinternet/releases-lib": "workspace:*",
"@modelcontextprotocol/client": "^2.3.0",
"@modelcontextprotocol/server": "^2.3.0",
"@openrouter/ai-sdk-provider": "^3.1.0",
"@releases/adapters": "workspace:*",
"@releases/ai-internal": "workspace:*",
"@releases/core-internal": "workspace:*",
"@releases/lib": "workspace:*",
"@releases/queries": "workspace:*",
"@releases/rendering": "workspace:*",
"@releases/search": "workspace:*",
"ai": "^7.0.103",
"dayjs": "^1.11.21",
"drizzle-orm": "^0.45.2",
"js-tiktoken": "^1.0.21",
"nanoid": "^6.0.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@changesets/cli": "^2.31.1",
"@types/bun": "^1.4.2",
"drizzle-kit": "^0.31.10",
"hono": "^4.13.3",
"husky": "^9.1.7",
"jose": "^6.2.12",
"lint-staged": "^17.3.0",
"@cloudflare/workers-types": "^5.20260822.1",
"mimetext": "^3.0.24",
"oxfmt": "^0.64.0",
"oxlint": "^1.79.0",
"oxlint-tsgolint": "^7.0.2001",
"portless": "^0.15.5",
"typescript": "^7.0.2",
"wrangler": "^4.134.0",
"yaml": "^2.9.0"
},
"engines": {
"node": ">=24"
},
"packageManager": "bun@1.4.2",
"patchedDependencies": {
"@better-auth/oauth-provider@1.7.7": "patches/@better-auth%2Foauth-provider@1.7.7.patch"
}
}