Skip to content

Commit 8537fce

Browse files
srthkdevclaude
andcommitted
chore: Whitelist published files, shrink tarball 306 kB → 60 kB (v2.0.1)
Added `files` array to package.json so the npm tarball only includes dist/, README.md, CHANGELOG.md, LICENSE. Previously the entire repo (docs-site, tests, scripts, examples, runtime logs) was being packed. Also added mcp_*.log to .gitignore so local audit/docker runtime logs don't get committed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3e51e4c commit 8537fce

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.1] - 2026-04-20
9+
10+
### Changed
11+
- **Package size reduced from 306 kB to 60 kB**: added a `files` whitelist in `package.json` so the npm tarball no longer includes `docs-site/`, `tests/`, `scripts/`, `examples/`, or local runtime logs. Only `dist/`, `README.md`, `CHANGELOG.md`, and `LICENSE` are published.
12+
813
## [2.0.0] - 2026-04-20
914

1015
### Changed (Breaking)

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
{
22
"name": "omnisql-mcp",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Universal database MCP server — native drivers for PostgreSQL, MySQL, SQLite, SQL Server with CLI fallback, reading connections from your local DB client workspace",
55
"main": "dist/index.js",
66
"type": "module",
77
"bin": {
88
"omnisql-mcp": "dist/index.js"
99
},
10+
"files": [
11+
"dist/",
12+
"README.md",
13+
"CHANGELOG.md",
14+
"LICENSE"
15+
],
1016
"scripts": {
1117
"build": "tsc && echo '#!/usr/bin/env node' > dist/index.js.tmp && cat dist/index.js >> dist/index.js.tmp && mv dist/index.js.tmp dist/index.js && shx chmod +x dist/index.js",
1218
"dev": "tsc --watch",

0 commit comments

Comments
 (0)