From 97bc9828373973ed736391cbe74bc3e6bc6fe304 Mon Sep 17 00:00:00 2001 From: Michael O'Boyle Date: Tue, 3 Nov 2026 11:11:57 -0500 Subject: [PATCH] build: prepare script and files allowlist so git installs get dist npm runs prepare for git dependencies, so a consumer pinning github:michaeloboyle/sqlite-graph# gets a built dist instead of an empty package. files limits the install to dist and docs. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01UkPPxXPqpZDv12PSugDzm7 --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index cfeb5ef..f985b07 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,18 @@ }, "main": "dist/index.js", "types": "dist/index.d.ts", + "files": [ + "dist", + "README.md", + "LICENSE", + "CHANGELOG.md" + ], "engines": { "node": ">=18.0.0" }, "scripts": { "build": "tsc", + "prepare": "npm run build", "dev": "tsc --watch", "test": "jest", "test:watch": "jest --watch",