uva-cli 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +177 -0
- package/bin.mjs +56 -0
- package/commands/branch.mjs +138 -0
- package/commands/commit.mjs +136 -0
- package/commands/init.mjs +160 -0
- package/commands/new-file.mjs +240 -0
- package/commands/push.mjs +31 -0
- package/commands/start.mjs +63 -0
- package/lib/banner.mjs +15 -0
- package/lib/colors.mjs +50 -0
- package/lib/config.mjs +34 -0
- package/lib/format.mjs +26 -0
- package/lib/git.mjs +67 -0
- package/lib/slugify.mjs +14 -0
- package/lib/types.mjs +45 -0
- package/package.json +47 -0
- package/templates/en/docs/adr.md +45 -0
- package/templates/en/docs/decision-log.md +26 -0
- package/templates/en/docs/meeting-notes.md +32 -0
- package/templates/en/docs/rfc.md +39 -0
- package/templates/en/docs/runbook.md +46 -0
- package/templates/en/git/pull-request.md +37 -0
- package/templates/pt-br/docs/adr.md +44 -0
- package/templates/pt-br/docs/decision-log.md +26 -0
- package/templates/pt-br/docs/meeting-notes.md +32 -0
- package/templates/pt-br/docs/rfc.md +39 -0
- package/templates/pt-br/docs/runbook.md +46 -0
- package/templates/pt-br/git/pull-request.md +37 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
**Date:** {{date}}
|
|
4
|
+
**Author:** {{author}}
|
|
5
|
+
**Status:** Open
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Summary
|
|
10
|
+
|
|
11
|
+
<!-- One sentence: what decision needs to be made? -->
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
| Option | Pros | Cons |
|
|
16
|
+
| :----- | :--- | :--- |
|
|
17
|
+
| A | | |
|
|
18
|
+
| B | | |
|
|
19
|
+
|
|
20
|
+
## Decision
|
|
21
|
+
|
|
22
|
+
<!-- Chosen option and the reasoning behind it. -->
|
|
23
|
+
|
|
24
|
+
## Impact
|
|
25
|
+
|
|
26
|
+
<!-- Who or what is affected? Any follow-up tasks created? -->
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
**Date:** {{date}}
|
|
4
|
+
**Author:** {{author}}
|
|
5
|
+
**Attendees:**
|
|
6
|
+
**Facilitator:**
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Agenda
|
|
11
|
+
|
|
12
|
+
1.
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
### Topic 1
|
|
17
|
+
|
|
18
|
+
<!-- Discussion, decisions, and context. -->
|
|
19
|
+
|
|
20
|
+
## Decisions Made
|
|
21
|
+
|
|
22
|
+
-
|
|
23
|
+
|
|
24
|
+
## Action Items
|
|
25
|
+
|
|
26
|
+
| Task | Owner | Due date |
|
|
27
|
+
| :--- | :---- | :------- |
|
|
28
|
+
| | | |
|
|
29
|
+
|
|
30
|
+
## Next Meeting
|
|
31
|
+
|
|
32
|
+
-
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# RFC: {{title}}
|
|
2
|
+
|
|
3
|
+
**Date:** {{date}}
|
|
4
|
+
**Author:** {{author}}
|
|
5
|
+
**Status:** Draft
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Summary
|
|
10
|
+
|
|
11
|
+
<!-- One paragraph overview. What are you proposing and why does it matter? -->
|
|
12
|
+
|
|
13
|
+
## Motivation
|
|
14
|
+
|
|
15
|
+
<!-- What problem does this solve? What does success look like?
|
|
16
|
+
Why is the status quo not acceptable? -->
|
|
17
|
+
|
|
18
|
+
## Detailed Design
|
|
19
|
+
|
|
20
|
+
<!-- The core of the proposal. Describe it in enough detail for a teammate to implement it.
|
|
21
|
+
Include API shapes, data models, component trees, or diagrams where helpful. -->
|
|
22
|
+
|
|
23
|
+
## Drawbacks
|
|
24
|
+
|
|
25
|
+
<!-- Why should we *not* do this? What are the costs, risks, or unknowns? -->
|
|
26
|
+
|
|
27
|
+
## Alternatives
|
|
28
|
+
|
|
29
|
+
<!-- What other approaches were considered? Why were they rejected?
|
|
30
|
+
What is the impact of not doing this at all? -->
|
|
31
|
+
|
|
32
|
+
## Adoption / Migration
|
|
33
|
+
|
|
34
|
+
<!-- If this changes existing behavior: how do we get there from here?
|
|
35
|
+
Is there a migration path? A flag? A phased rollout? -->
|
|
36
|
+
|
|
37
|
+
## Unresolved Questions
|
|
38
|
+
|
|
39
|
+
-
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Runbook: {{title}}
|
|
2
|
+
|
|
3
|
+
**Date:** {{date}}
|
|
4
|
+
**Author:** {{author}}
|
|
5
|
+
**Service:**
|
|
6
|
+
**Severity:**
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
<!-- What does this runbook cover? When and why would someone run it? -->
|
|
13
|
+
|
|
14
|
+
## Symptoms
|
|
15
|
+
|
|
16
|
+
<!-- How do you know something is wrong? What alerts fire? What do users report? -->
|
|
17
|
+
|
|
18
|
+
-
|
|
19
|
+
|
|
20
|
+
## Prerequisites
|
|
21
|
+
|
|
22
|
+
- Access to:
|
|
23
|
+
- Tools needed:
|
|
24
|
+
- Estimated time:
|
|
25
|
+
|
|
26
|
+
## Steps
|
|
27
|
+
|
|
28
|
+
### Step 1
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# command
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Step 2
|
|
35
|
+
|
|
36
|
+
## Verification
|
|
37
|
+
|
|
38
|
+
<!-- How do you confirm the issue is resolved? -->
|
|
39
|
+
|
|
40
|
+
## Rollback
|
|
41
|
+
|
|
42
|
+
<!-- How to undo these steps if something goes wrong? -->
|
|
43
|
+
|
|
44
|
+
## Escalation
|
|
45
|
+
|
|
46
|
+
<!-- If this runbook doesn't resolve the issue, who do you contact? -->
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!-- Delete any sections that are not relevant to this PR. -->
|
|
2
|
+
|
|
3
|
+
**Title format:** `<type>: [TICKET-xxx] Clear description of change`
|
|
4
|
+
|
|
5
|
+
Valid types: `chore` · `ci` · `docs` · `feat` · `fix` · `refactor` · `revert` · `style` · `test`
|
|
6
|
+
|
|
7
|
+
Example: `feat: [PROJ-123] Add login screen`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## PR Dependencies
|
|
12
|
+
|
|
13
|
+
List any open PRs this PR depends on:
|
|
14
|
+
|
|
15
|
+
```txt
|
|
16
|
+
Depends on #<PR number>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Add the `dependent` label if applicable.
|
|
20
|
+
|
|
21
|
+
## What is this change
|
|
22
|
+
|
|
23
|
+
<!-- Describe what changed and why. -->
|
|
24
|
+
|
|
25
|
+
## How to test
|
|
26
|
+
|
|
27
|
+
<!-- Explain how a reviewer should test this.
|
|
28
|
+
Include screenshots, videos, or any additional context that helps. -->
|
|
29
|
+
|
|
30
|
+
## Checklist
|
|
31
|
+
|
|
32
|
+
- [ ] Documentation added or updated for the changes made
|
|
33
|
+
- [ ] Tests added or updated
|
|
34
|
+
- [ ] Tested locally — expected behavior verified
|
|
35
|
+
- [ ] Code is commented where the intent is not immediately obvious
|
|
36
|
+
- [ ] No debug code, console logs, or temporary flags committed
|
|
37
|
+
- [ ] All acceptance criteria are met
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# ADR: {{title}}
|
|
2
|
+
|
|
3
|
+
**Data:** {{date}}
|
|
4
|
+
**Autor:** {{author}}
|
|
5
|
+
**Status:** Proposto
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Contexto
|
|
10
|
+
|
|
11
|
+
<!-- Qual é a situação? Quais são os fatores em jogo — técnicos, de produto, de time?
|
|
12
|
+
Inclua contexto suficiente para que alguém sem familiaridade com o problema possa entender. -->
|
|
13
|
+
|
|
14
|
+
## Decisão
|
|
15
|
+
|
|
16
|
+
<!-- Declare a decisão de forma clara e direta. -->
|
|
17
|
+
|
|
18
|
+
## Justificativa
|
|
19
|
+
|
|
20
|
+
<!-- Por que essa opção em vez das outras? Quais trade-offs foram aceitos? -->
|
|
21
|
+
|
|
22
|
+
## Consequências
|
|
23
|
+
|
|
24
|
+
### Positivas
|
|
25
|
+
|
|
26
|
+
-
|
|
27
|
+
|
|
28
|
+
### Negativas
|
|
29
|
+
|
|
30
|
+
-
|
|
31
|
+
|
|
32
|
+
### Riscos
|
|
33
|
+
|
|
34
|
+
-
|
|
35
|
+
|
|
36
|
+
## Alternativas Consideradas
|
|
37
|
+
|
|
38
|
+
| Alternativa | Por que não foi escolhida |
|
|
39
|
+
| :---------- | :------------------------ |
|
|
40
|
+
| | |
|
|
41
|
+
|
|
42
|
+
## Referências
|
|
43
|
+
|
|
44
|
+
-
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
**Data:** {{date}}
|
|
4
|
+
**Autor:** {{author}}
|
|
5
|
+
**Status:** Em aberto
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Resumo
|
|
10
|
+
|
|
11
|
+
<!-- Uma frase: qual decisão precisa ser tomada? -->
|
|
12
|
+
|
|
13
|
+
## Opções
|
|
14
|
+
|
|
15
|
+
| Opção | Prós | Contras |
|
|
16
|
+
| :---- | :--- | :------ |
|
|
17
|
+
| A | | |
|
|
18
|
+
| B | | |
|
|
19
|
+
|
|
20
|
+
## Decisão
|
|
21
|
+
|
|
22
|
+
<!-- Opção escolhida e raciocínio por trás dela. -->
|
|
23
|
+
|
|
24
|
+
## Impacto
|
|
25
|
+
|
|
26
|
+
<!-- Quem ou o quê é afetado? Há tarefas de acompanhamento criadas? -->
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# {{title}}
|
|
2
|
+
|
|
3
|
+
**Data:** {{date}}
|
|
4
|
+
**Autor:** {{author}}
|
|
5
|
+
**Participantes:**
|
|
6
|
+
**Facilitador:**
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Pauta
|
|
11
|
+
|
|
12
|
+
1.
|
|
13
|
+
|
|
14
|
+
## Notas
|
|
15
|
+
|
|
16
|
+
### Tópico 1
|
|
17
|
+
|
|
18
|
+
<!-- Discussão, decisões e contexto. -->
|
|
19
|
+
|
|
20
|
+
## Decisões Tomadas
|
|
21
|
+
|
|
22
|
+
-
|
|
23
|
+
|
|
24
|
+
## Itens de Ação
|
|
25
|
+
|
|
26
|
+
| Tarefa | Responsável | Prazo |
|
|
27
|
+
| :----- | :---------- | :---- |
|
|
28
|
+
| | | |
|
|
29
|
+
|
|
30
|
+
## Próxima Reunião
|
|
31
|
+
|
|
32
|
+
-
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# RFC: {{title}}
|
|
2
|
+
|
|
3
|
+
**Data:** {{date}}
|
|
4
|
+
**Autor:** {{author}}
|
|
5
|
+
**Status:** Rascunho
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Resumo
|
|
10
|
+
|
|
11
|
+
<!-- Visão geral em um parágrafo. O que está sendo proposto e por que isso importa? -->
|
|
12
|
+
|
|
13
|
+
## Motivação
|
|
14
|
+
|
|
15
|
+
<!-- Qual problema isso resolve? Como é o sucesso?
|
|
16
|
+
Por que o estado atual não é aceitável? -->
|
|
17
|
+
|
|
18
|
+
## Design Detalhado
|
|
19
|
+
|
|
20
|
+
<!-- O núcleo da proposta. Descreva em detalhes suficientes para que um colega possa implementar.
|
|
21
|
+
Inclua formatos de API, modelos de dados, árvores de componentes ou diagramas quando útil. -->
|
|
22
|
+
|
|
23
|
+
## Desvantagens
|
|
24
|
+
|
|
25
|
+
<!-- Por que *não* faríamos isso? Quais são os custos, riscos ou incógnitas? -->
|
|
26
|
+
|
|
27
|
+
## Alternativas
|
|
28
|
+
|
|
29
|
+
<!-- Que outras abordagens foram consideradas? Por que foram descartadas?
|
|
30
|
+
Qual é o impacto de não fazer nada? -->
|
|
31
|
+
|
|
32
|
+
## Adoção / Migração
|
|
33
|
+
|
|
34
|
+
<!-- Se isso muda comportamento existente: como chegamos lá a partir do estado atual?
|
|
35
|
+
Há caminho de migração? Uma flag? Um rollout em fases? -->
|
|
36
|
+
|
|
37
|
+
## Questões em Aberto
|
|
38
|
+
|
|
39
|
+
-
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Runbook: {{title}}
|
|
2
|
+
|
|
3
|
+
**Data:** {{date}}
|
|
4
|
+
**Autor:** {{author}}
|
|
5
|
+
**Serviço:**
|
|
6
|
+
**Severidade:**
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Visão Geral
|
|
11
|
+
|
|
12
|
+
<!-- O que este runbook cobre? Quando e por que alguém o executaria? -->
|
|
13
|
+
|
|
14
|
+
## Sintomas
|
|
15
|
+
|
|
16
|
+
<!-- Como você sabe que algo está errado? Quais alertas disparam? O que os usuários relatam? -->
|
|
17
|
+
|
|
18
|
+
-
|
|
19
|
+
|
|
20
|
+
## Pré-requisitos
|
|
21
|
+
|
|
22
|
+
- Acesso a:
|
|
23
|
+
- Ferramentas necessárias:
|
|
24
|
+
- Tempo estimado:
|
|
25
|
+
|
|
26
|
+
## Passos
|
|
27
|
+
|
|
28
|
+
### Passo 1
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# comando
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Passo 2
|
|
35
|
+
|
|
36
|
+
## Verificação
|
|
37
|
+
|
|
38
|
+
<!-- Como confirmar que o problema foi resolvido? -->
|
|
39
|
+
|
|
40
|
+
## Rollback
|
|
41
|
+
|
|
42
|
+
<!-- Como desfazer esses passos se algo der errado? -->
|
|
43
|
+
|
|
44
|
+
## Escalação
|
|
45
|
+
|
|
46
|
+
<!-- Se este runbook não resolver, quem deve ser acionado? -->
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!-- Apague as seções que não são relevantes para este PR. -->
|
|
2
|
+
|
|
3
|
+
**Formato do título:** `<tipo>: [TICKET-xxx] Descrição clara da mudança`
|
|
4
|
+
|
|
5
|
+
Tipos válidos: `chore` · `ci` · `docs` · `feat` · `fix` · `refactor` · `revert` · `style` · `test`
|
|
6
|
+
|
|
7
|
+
Exemplo: `feat: [PROJ-123] Adicionar tela de login`
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Dependências do PR
|
|
12
|
+
|
|
13
|
+
Liste os PRs abertos dos quais este PR depende:
|
|
14
|
+
|
|
15
|
+
```txt
|
|
16
|
+
Depends on #<número do PR>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Adicione a label `dependent` se aplicável.
|
|
20
|
+
|
|
21
|
+
## O que é essa mudança
|
|
22
|
+
|
|
23
|
+
<!-- Descreva o que mudou e por quê. -->
|
|
24
|
+
|
|
25
|
+
## Como testar
|
|
26
|
+
|
|
27
|
+
<!-- Explique como um revisor deve testar isso.
|
|
28
|
+
Inclua capturas de tela, vídeos ou qualquer contexto adicional que ajude. -->
|
|
29
|
+
|
|
30
|
+
## Checklist
|
|
31
|
+
|
|
32
|
+
- [ ] Documentação adicionada ou atualizada para as mudanças feitas
|
|
33
|
+
- [ ] Testes adicionados ou atualizados
|
|
34
|
+
- [ ] Testado localmente — comportamento esperado verificado
|
|
35
|
+
- [ ] Código comentado onde a intenção não é imediatamente óbvia
|
|
36
|
+
- [ ] Sem código de debug, console.log ou flags temporárias no commit
|
|
37
|
+
- [ ] Todos os critérios de aceitação foram atendidos
|