diff --git a/.gitignore b/.gitignore index 40b878d..d9045be 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -node_modules/ \ No newline at end of file +node_modules/ +.env +.env.example \ No newline at end of file diff --git a/README.md b/README.md index c696199..b0f94b2 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,14 @@ > A powerful CLI toolkit that automates common developer tasks — clean Git branches, check `.env` files, lint commits, and show project info. > Developed with ❤️ by [Alfonso Pisicchio](https://pisicchio.dev). + +![Dev Toolkit demo](./assets/dev-kit.gif) + + ### 🏁 Installation ```bash -git clone https://github.com/Forz70043/dev-toolkit.git -cd dev-toolkit -npm install -npm link +npm install -g @forz/dev-toolkit ``` ### 💡 Usage @@ -27,7 +28,7 @@ dev project-info --- -### ⚡ How to run commands +### ⚡ How to run commands from repository 1. Open folder ```bash diff --git a/assets/dev-kit.gif b/assets/dev-kit.gif new file mode 100644 index 0000000..6cd3f27 Binary files /dev/null and b/assets/dev-kit.gif differ diff --git a/commands/lint-commit.js b/commands/lint-commit.js index e4b9c0b..36c5c60 100644 --- a/commands/lint-commit.js +++ b/commands/lint-commit.js @@ -5,7 +5,7 @@ export async function lintCommit() { const git = simpleGit(); const log = await git.log({ n: 10 }); - const pattern = /^(feat|fix|chore|docs|style|refactor|test|perf):/; + const pattern = /^(feat|bugfix|fix|core|doc|docs|style|refactor|test|perf):/; let invalidCount = 0; for (const c of log.all) { diff --git a/package.json b/package.json index 4b06d4c..07cbf7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@forz/dev-toolkit", - "version": "1.0.2", + "version": "1.0.3", "description": "🧰 A developer CLI for Git, env, and project automation by Alfonso Pisicchio", "type": "module", "bin": {