From 972efb0380ee4d747782ee31a5add579b454c49c Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sat, 3 Oct 2026 12:27:46 +0100 Subject: [PATCH] fix(package): limit npm tarball to runtime files Add a files allowlist. The package no longer includes compiled test files or .env.example. --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index 87fb30b..9bd3247 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,12 @@ "description": "MCP server for Cloudflare Browser Rendering Crawl API", "author": "Lukasz Raczylo (https://raczylo.com)", "main": "dist/index.js", + "files": [ + "dist/**/*.js", + "dist/**/*.d.ts", + "!dist/**/*.test.*", + "!dist/**/integration.*" + ], "type": "module", "scripts": { "build": "tsc",