Skip to content

Commit 7d86240

Browse files
fix: include config 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 • 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
1 parent b035dc4 commit 7d86240

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@labcatr/labcommitr": patch
3+
---
4+
5+
fix: include config 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 and config.d.ts to files array
9+
- Fixes ERR_MODULE_NOT_FOUND error when using lab commands
10+
- Config command was missing from published package causing runtime errors
11+
- Resolves issue where config.js file exists but wasn't included in npm package
12+

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"dist/cli/program.js",
5757
"dist/cli/program.d.ts",
5858
"dist/cli/commands/commit",
59-
"dist/cli/commands/config",
59+
"dist/cli/commands/config.js",
60+
"dist/cli/commands/config.d.ts",
6061
"dist/cli/commands/init",
6162
"dist/cli/commands/preview",
6263
"dist/cli/commands/revert",

0 commit comments

Comments
 (0)