Skip to content

Commit daec447

Browse files
chore: tighten npm package contents and ignore .claude/ (#5)
Pre-publish hygiene so the tarball ships only what users need: - Add `files: ["index.js"]` whitelist. The published tarball now contains only index.js + README + LICENSE + package.json (4 files, ~7kB) instead of the previous 9 files including ASCII-art tuning scripts (count-ascii.js, count-banner.js, jspod-ascii.js, verify-spacing.js) and local agent state (.claude/settings.local.json). - `npm pkg fix` cleaned the bin entry: "./index.js" -> "index.js" (npm was auto-correcting this on every publish). - Add .claude/ to .gitignore so local agent/IDE state never leaks into the repo or future tarballs. `npm publish --dry-run` is clean (no warnings, no stray files).
1 parent 8218ff5 commit daec447

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ pod-data/
44
.env
55
.DS_Store
66
package-lock.json
7+
.claude/

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
"type": "module",
66
"main": "index.js",
77
"bin": {
8-
"jspod": "./index.js"
8+
"jspod": "index.js"
99
},
10+
"files": [
11+
"index.js"
12+
],
1013
"scripts": {
1114
"start": "node index.js"
1215
},

0 commit comments

Comments
 (0)