feat(@websnacksjs/conventional): initial implementation

`@websnacksjs/conventional` is a cli program which can be used with
`husky` & git hooks to enforce that commit messages adhere to the
conventional commits standard.
This commit is contained in:
M. George Hansen 2025-08-19 18:31:34 +12:00
parent 3165625fb7
commit 5f519f54f2
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
19 changed files with 1446 additions and 1 deletions

View file

@ -0,0 +1,10 @@
const [command = ""] = process.argv.splice(2, 1);
switch (command) {
case "commit-msg": {
await import("./commit-msg.js");
break;
}
default: {
console.error(`⛔ unknown command ${command}`);
}
}