Skip to content

Commit 672c3f5

Browse files
savezclaude
andauthored
fix(package): exclude dev-only bin files from published npm package (v1.5.2) (#22)
Narrow the `files` allowlist in package.json from `./bin` (entire directory) to `./bin/run.js` + `./bin/run.cmd`, excluding development-only entry points (dev.js, dev.cmd) that are unused at runtime. Reduces package from 101 to 99 files. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2d24a66 commit 672c3f5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# devvami Development Guidelines
22

3-
Auto-generated from all feature plans. Last updated: 2026-04-02
3+
Auto-generated from all feature plans. Last updated: 2026-04-07
44

55
## Active Technologies
66
- JavaScript (ESM, `.js`) with JSDoc — Node.js >= 24 + `@oclif/core` v4, `chalk` v5, `ora` v8, `execa` v9, `js-yaml` v4 (already installed) — zero new dependencies (007-sync-ai-config-tui)
77
- JSON file at `~/.config/dvmi/ai-config.json` (same pattern as `config.json`) (007-sync-ai-config-tui)
8+
- JavaScript (ESM) — Node.js >= 24 + `@oclif/core` v4 (CLI framework) (008-trim-npm-package)
89

910
- JavaScript (ESM, `.js`) with JSDoc — Node.js >= 24 + `@oclif/core` v4, `chalk` v5, `ora` v8, `execa` v9 — zero new TUI dependencies (007-sync-ai-config-tui)
1011

@@ -24,6 +25,7 @@ npm test && npm run lint
2425
JavaScript (ESM, `.js`) with JSDoc — Node.js >= 24: Follow standard conventions
2526

2627
## Recent Changes
28+
- 008-trim-npm-package: Added JavaScript (ESM) — Node.js >= 24 + `@oclif/core` v4 (CLI framework)
2729
- 007-sync-ai-config-tui: Added JavaScript (ESM, `.js`) with JSDoc — Node.js >= 24 + `@oclif/core` v4, `chalk` v5, `ora` v8, `execa` v9, `js-yaml` v4 (already installed) — zero new dependencies
2830

2931
- 007-sync-ai-config-tui: Added JavaScript (ESM, `.js`) with JSDoc — Node.js >= 24 + `@oclif/core` v4, `chalk` v5, `ora` v8, `execa` v9 — zero new TUI dependencies

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
},
1515
"license": "MIT",
1616
"files": [
17-
"./bin",
17+
"./bin/run.js",
18+
"./bin/run.cmd",
1819
"./src",
1920
"./oclif.manifest.json"
2021
],

0 commit comments

Comments
 (0)