diff --git a/.changeset/fix-missing-config-command-in-package.md b/.changeset/fix-missing-config-command-in-package.md new file mode 100644 index 0000000..ad1a608 --- /dev/null +++ b/.changeset/fix-missing-config-command-in-package.md @@ -0,0 +1,11 @@ +--- +"@labcatr/labcommitr": patch +--- + +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, config.d.ts, commit.js, and commit.d.ts to files array +- Fixes ERR_MODULE_NOT_FOUND error when using lab commands +- 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 \ No newline at end of file diff --git a/package.json b/package.json index 565b4fa..1603413 100644 --- a/package.json +++ b/package.json @@ -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",