Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
node_modules/
.env
.env.example
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,7 +28,7 @@ dev project-info

---

### ⚡ How to run commands
### ⚡ How to run commands from repository

1. Open folder
```bash
Expand Down
Binary file added assets/dev-kit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion commands/lint-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down