npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

git-commit-lib

v1.1.1

Published

A library to add and commit files in a Git repository.

Downloads

105

Readme

# Git Commit CLI

Uma ferramenta CLI para adicionar e commitar arquivos não rastreados e modificados em um repositório Git.

## Instalação

Para instalar o pacote globalmente e usá-lo em qualquer projeto, execute:

```bash
npm install -g git-commit-lib

Ou você pode instalar localmente em um projeto específico e usar com npx:

npm install git-commit-lib

Uso

Depois de instalar, você pode usar o comando commit-kat para adicionar e commitar arquivos em seu repositório Git.

Comando Básico

npx commit-kat

Flags

  • --all ou -a: Comita todos os arquivos não rastreados e modificados de uma vez.

    npx commit-kat --all
  • --push ou -p: Comita os arquivos e faz um git push no final.

    npx commit-kat --push
  • --all --push ou -a -p: Comita todos os arquivos de uma vez e faz um git push no final.

    npx commit-kat --all --push

Exemplos

  1. Adicionar e commitar arquivos não rastreados e modificados separadamente:

    npx commit-kat
  2. Adicionar e commitar todos os arquivos de uma vez:

    npx commit-kat --all
  3. Adicionar e commitar arquivos, e fazer um push para o repositório remoto:

    npx commit-kat --push
  4. Adicionar e commitar todos os arquivos de uma vez e fazer um push:

    npx commit-kat --all --push

Conventional Commits

O commit-kat segue a Conventional Commits para criar mensagens de commit mais informativas e padronizadas:

  • feat: Para novos recursos ou adições.
  • fix: Para correções de bugs.
  • chore: Para tarefas e manutenção do projeto (como exclusões de arquivos).

Exemplo de Mensagens de Commit

  • Para arquivos não rastreados (adicionados):

    git commit -m "feat: commit 1 - arquivo_exemplo.js"
  • Para arquivos modificados:

    git commit -m "fix: commit 2 - arquivo_modificado.js"
  • Para arquivos excluídos:

    git commit -m "chore: commit 3 - arquivo_excluido.js"

Autor

João Afonso Katombela
LinkedIn
GitHub

Contribuindo

Contribuições são bem-vindas! Sinta-se à vontade para enviar pull requests ou relatar problemas.

Licença

Este projeto está licenciado sob a MIT License - veja o arquivo LICENSE para detalhes.