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

wefit-cli

v1.2.1

Published

Ferramenta desenvolvida pela WeFit para auxiliar nossos TechDesigners.

Downloads

46

Readme

WeFit CLI

Ferramenta desenvolvida pela WeFit para auxiliar nossos TechDesigners.

Instalação

  • Instalar no npm global com o seguinte comando:
npm install -g wefit-cli
  • Testar a instalação chamando a CLI:
we

We Sucesso

Comandos

Ajuda

Para verificar os possíveis comandos

we -h

Comando de ajuda, we -h executado

Tradução

Para rodar os comandos de tradução é preciso estar no mesmo nível da pasta locales

  • translation-export: Exporta os arquivos da pasta locales para xlsx
  • translation-import: Importa a planilha de tradução

Figma

  • figma-generate: Executa a exportação do DS e gera os arquivos no local da execução do comando:

    • /assets/icons/config.json

    Ao executar o comando abaixo você vai precisar inserir dois token prompt:

    we figma-generate # we fg
    • Token de usuário do Figma, que pode ser gerado aqui: We Sucesso We Sucesso

    • ID do arquivo do Figma, você pode pegar na url logo após o www.figma.com/file/ We FigmaUrl

    Atualizando a lista de tipagem de nomes dos ícones

    Após executar a importação do figma e ter seu config.json atualizado é preciso seguir os seguintes passos:

    • Adicionar em seu package.json o script:
    "update:icon": "node caminho/para-o-arquivo/generateIconType.js"
    • Executar npm run update:icon

    Você encontra o script generateIconType.js e o componente React que renderiza ícones a partir do icon/config.json aqui

Credencial Devops

Para executar o comando de atualização de credencial, você pode estar em qualquer parte do sistema.

  • set-git-credential: Seta a nova credencial para o repositório
we set-git-credential sua_nova_credencial # we sgc sua_nova_credencial

A partir desse comando, será solicitado o path do repositório que deverá ser atualizado e o que você quer fazer, executar o comando ou copiar para a área de transferência.

Comando we sgc executado por completo

VS Code Extensions

  • vscode-extensions: Instala as extensões para VS Code recomendadas pela WeFit.
we vscode-extensions # we ve

Comando we vscode-extensions

Atualizar versão do projeto React Native

Este comando facilita a atualização da versão dos projetos react native nos ambientes nativos (Android e iOS) para mais informações sobre esse fluxo acesse a documentação em link da doc

Comando 'we rnbv' executado

Templates

Abaixo a lista de templates.