Skip to content

Commit 5569313

Browse files
fix: include commit command files in published package (#36)
2 parents 6927bc8 + b62f1f9 commit 5569313

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@labcatr/labcommitr": patch
3+
---
4+
5+
fix: include config and commit command files in published package
6+
7+
- Change package.json files field from directory to explicit file paths
8+
- Add dist/cli/commands/config.js, config.d.ts, commit.js, and commit.d.ts to files array
9+
- Fixes ERR_MODULE_NOT_FOUND error when using lab commands
10+
- Config and commit commands were missing from published package causing runtime errors
11+
- Resolves issue where command files exist but weren't included in npm package

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
"dist/cli/program.js",
5757
"dist/cli/program.d.ts",
5858
"dist/cli/commands/commit",
59+
"dist/cli/commands/commit.js",
60+
"dist/cli/commands/commit.d.ts",
5961
"dist/cli/commands/config.js",
6062
"dist/cli/commands/config.d.ts",
6163
"dist/cli/commands/init",

0 commit comments

Comments
 (0)