fix(create-webclaw): add files allowlist so npm never ships secrets

npm pack was bundling packages/create-webclaw/.mcpregistry_*_token (the
mcp-publisher credential files) into the tarball because the package had no
'files' field and npm did not honor the repo-root .gitignore. Restrict the
published package to index.mjs + README.md (matches @webclaw/mcp).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Valerio 2026-07-22 12:08:32 +02:00
parent b5818fe2ce
commit d497c5ee97

View file

@ -6,6 +6,10 @@
"create-webclaw": "./index.mjs"
},
"type": "module",
"files": [
"index.mjs",
"README.md"
],
"keywords": [
"webclaw",
"mcp",