Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .changeset/fix-missing-config-command-in-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"@labcatr/labcommitr": patch
---

fix: include config command files in published package
fix: include config and commit command files in published package

- Change package.json files field from directory to explicit file paths
- Add dist/cli/commands/config.js and config.d.ts to files array
- Add dist/cli/commands/config.js, config.d.ts, commit.js, and commit.d.ts to files array
- Fixes ERR_MODULE_NOT_FOUND error when using lab commands
- Config command was missing from published package causing runtime errors
- Resolves issue where config.js file exists but wasn't included in npm package
- Config and commit commands were missing from published package causing runtime errors
- Resolves issue where command files exist but weren't included in npm package

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"dist/cli/program.js",
"dist/cli/program.d.ts",
"dist/cli/commands/commit",
"dist/cli/commands/commit.js",
"dist/cli/commands/commit.d.ts",
"dist/cli/commands/config.js",
"dist/cli/commands/config.d.ts",
"dist/cli/commands/init",
Expand Down