@codigodoleo/wp-kit 3.4.0 β†’ 3.4.1

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.
@@ -1,67 +1,160 @@
1
- # 🏠 Pipefy WordPress Website Bem-vindo à documentação oficial do site **pipefy.com** - um projeto
2
- WordPress robusto e moderno da Pipefy. ## 🎯 **Visão Geral** Este é o repositório principal do site
3
- institucional da Pipefy, construΓ­do com **WordPress** e uma infraestrutura cloud-native moderna. O
4
- projeto utiliza tecnologias de ponta para garantir performance, escalabilidade e facilidade de
5
- manutenΓ§Γ£o. ### πŸ“Š **Status do Projeto** - **VersΓ£o Atual**: `1.1.7` (2025-05-23) - **WordPress**:
6
- Customizado com tema Pipefy 2020 - **Ambiente**: Multi-ambiente (Local, Development, Staging,
7
- Production) - **Deploy**: Automatizado via GitLab CI/CD + Kubernetes ## πŸš€ **Quick Start** ###
8
- PrΓ©-requisitos - [Lando](https://lando.dev/) (para desenvolvimento local) -
9
- [Docker](https://docker.com/) - [Git](https://git-scm.com/) - [Node.js](https://nodejs.org/) (versΓ£o
10
- especificada em `.nvmrc`) ### Setup RΓ‘pido ```bash # 1. Clone o repositΓ³rio git clone
11
- git@gitlab.com:pipefy/wordpress/pipefy-website.git cd pipefy-website # 2. Inicie o ambiente local
12
- lando start # 3. Configure WordPress lando ssh -c "development/scripts/init-wp.sh
13
- --user=seu-email@pipefy.com" # 4. Acesse o site # Frontend: https://pipefy.lndo.site # Admin:
14
- https://pipefy.lndo.site/wp-admin ``` ## πŸ—οΈ **Arquitetura** ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
15
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Local │────│ Development │────│
16
- Staging │────│ Production β”‚ β”‚ pipefy.lndo.siteβ”‚ β”‚development-www β”‚ β”‚ staging-www β”‚ β”‚ www.pipefy.com
17
- β”‚ β”‚ β”‚ β”‚ .pipefy.com β”‚ β”‚ .pipefy.com β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
18
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚
19
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
20
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ GitLab CI/CD β”‚ β”‚ Kubernetes β”‚ β”‚ Pipelines β”‚ β”‚ + CloudFlare β”‚
21
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ### πŸ› οΈ **Stack TecnolΓ³gico** | Categoria | Tecnologia |
22
- |-----------|------------| | **CMS** | WordPress (customizado) | | **Tema** | Pipefy 2020 (custom
23
- theme) | | **Frontend** | PHP, JavaScript, Sass, Gutenberg Blocks | | **ContainerizaΓ§Γ£o** | Docker,
24
- Lando | | **OrquestraΓ§Γ£o** | Kubernetes, Helm | | **CI/CD** | GitLab CI/CD | | **Infraestrutura** |
25
- Terraform, OCI (Oracle Cloud) | | **CDN/DNS** | CloudFlare | | **Monitoramento** | Custom health
26
- checks | ## πŸ“ **Estrutura do Projeto** ``` pipefy-website/ β”œβ”€β”€ πŸ“‚ dist/ # WordPress core +
27
- customizaΓ§Γ΅es β”‚ └── πŸ“‚ wp-content/ β”‚ β”œβ”€β”€ πŸ“‚ themes/pipefy-2020/ # Tema principal β”‚ β”œβ”€β”€ πŸ“‚ plugins/ #
28
- Plugins WordPress β”‚ └── πŸ“‚ mu-plugins/ # Must-use plugins β”œβ”€β”€ πŸ“‚ development/ # Scripts e config.
29
- desenvolvimento β”œβ”€β”€ πŸ“‚ helm/ # Charts Kubernetes β”œβ”€β”€ πŸ“‚ k8s/ # Manifests Kubernetes β”œβ”€β”€ πŸ“‚
30
- terraform/ # Infraestrutura como cΓ³digo β”œβ”€β”€ πŸ“‚ .gitlab/ # Templates GitLab CI/CD β”œβ”€β”€ πŸ“„ .lando.yml #
31
- ConfiguraΓ§Γ£o ambiente local β”œβ”€β”€ πŸ“„ .gitlab-ci.yml # Pipeline CI/CD └── πŸ“„ CHANGELOG.md # HistΓ³rico
32
- de mudanças ``` ## 🌍 **Ambientes** | Ambiente | URL | Branch | Namespace K8s | Finalidade |
33
- |----------|-----|--------|---------------|------------| | **Local** | `pipefy.lndo.site` |
34
- `feature/*` | - | Desenvolvimento local | | **Development** | `development-www.pipefy.com` |
35
- `development` | `website-dev` | Testes contΓ­nuos | | **Staging** | `staging-www.pipefy.com` |
36
- `staging` | `website-stg` | HomologaΓ§Γ£o | | **Production** | `www.pipefy.com` | `master` |
37
- `website-prod` | Site oficial | ## πŸ”„ **Workflow de Desenvolvimento** ```mermaid graph LR A[Feature
38
- Branch] --> B[Pull Request] B --> C[Code Review] C --> D[Merge to Development] D --> E["πŸš€
39
- development-www.pipefy.com"] E --> F[Merge to Staging] F --> G["πŸ” staging-www.pipefy.com"] G -->
40
- H[Tests + QA] H --> I[Merge to Master] I --> J["βœ… www.pipefy.com"] ``` ## πŸ“š **DocumentaΓ§Γ£o
41
- Principal** ### πŸš€ **Para Desenvolvedores** - [Getting Started](Getting-Started) - Setup completo do
42
- ambiente - [Arquitetura](Arquitetura) - Estrutura tΓ©cnica detalhada -
43
- [Desenvolvimento](Desenvolvimento) - Guias de desenvolvimento - [Deploy Pipeline](Deploy-Pipeline) -
44
- Processo de deploy ### πŸ”§ **Para DevOps** - [Infraestrutura](Infraestrutura) - Kubernetes,
45
- Terraform, AWS - [Monitoramento](Monitoramento) - Health checks e observabilidade -
46
- [Troubleshooting](Troubleshooting) - ResoluΓ§Γ£o de problemas ### πŸ“¦ **Para GestΓ£o** - [Plugins &
47
- IntegraΓ§Γ΅es](Plugins-Integracoes) - Componentes externos -
48
- [Changelog](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CHANGELOG.md) -
49
- HistΓ³rico de versΓ΅es -
50
- [CODEOWNERS](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CODEOWNERS) -
51
- Responsabilidades ## πŸ†˜ **Precisa de Ajuda?** ### πŸ› **Problemas Comuns** -
52
- [Troubleshooting](Troubleshooting) - Guia de resoluΓ§Γ£o - [FAQ](FAQ) - Perguntas frequentes ### πŸ“ž
53
- **Contatos** - **Equipe**: @Approvers (conforme
54
- [CODEOWNERS](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CODEOWNERS)) -
55
- **Issues**: [GitLab Issues](https://gitlab.com/pipefy/wordpress/pipefy-website/-/issues) - **Pipefy
56
- Cards**: Vinculados no
57
- [CHANGELOG.md](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CHANGELOG.md) ## 🎯
58
- **Links Importantes** | Recurso | Link | Ambiente | |---------|------|----------| | **Site
59
- ProduΓ§Γ£o** | [www.pipefy.com](https://www.pipefy.com) | πŸ”΄ Production | | **Site Staging** |
60
- [staging-www.pipefy.com](https://staging-www.pipefy.com) | 🟑 Staging | | **Site Development** |
61
- [development-www.pipefy.com](https://development-www.pipefy.com) | 🟠 Development | | **Site Local**
62
- | [pipefy.lndo.site](https://pipefy.lndo.site) | πŸ”΅ Local | | **GitLab Project** |
63
- [pipefy/wordpress/pipefy-website](https://gitlab.com/pipefy/wordpress/pipefy-website) | - | |
64
- **CI/CD Pipelines** | [Pipelines](https://gitlab.com/pipefy/wordpress/pipefy-website/-/pipelines) |
65
- - | | **Kubernetes Dashboards** | *[Links internos conforme ambiente]* | - | --- πŸ“ **Última
66
- atualizaΓ§Γ£o**: Junho 2025 πŸ”„ **VersΓ£o da documentaΓ§Γ£o**: 1.1 ✨ **Criado com**: AnΓ‘lise automatizada
67
- do projeto + GitHub Copilot 🌐 **Ambientes atualizados**: Local, Development, Staging, Production
1
+ # 🏠 Pipefy WordPress Website
2
+
3
+ Bem-vindo Γ  documentaΓ§Γ£o oficial do site **pipefy.com** - um projeto WordPress robusto e moderno da Pipefy.
4
+
5
+ ## 🎯 **Visão Geral**
6
+
7
+ Este Γ© o repositΓ³rio principal do site institucional da Pipefy, construΓ­do com **WordPress** e uma infraestrutura cloud-native moderna. O projeto utiliza tecnologias de ponta para garantir performance, escalabilidade e facilidade de manutenΓ§Γ£o.
8
+
9
+ ### πŸ“Š **Status do Projeto**
10
+ - **VersΓ£o Atual**: `1.1.7` (2025-05-23)
11
+ - **WordPress**: Customizado com tema Pipefy 2020
12
+ - **Ambiente**: Multi-ambiente (Local, Development, Staging, Production)
13
+ - **Deploy**: Automatizado via GitLab CI/CD + Kubernetes
14
+
15
+ ## πŸš€ **Quick Start**
16
+
17
+ ### PrΓ©-requisitos
18
+ - [Lando](https://lando.dev/) (para desenvolvimento local)
19
+ - [Docker](https://docker.com/)
20
+ - [Git](https://git-scm.com/)
21
+ - [Node.js](https://nodejs.org/) (versΓ£o especificada em `.nvmrc`)
22
+
23
+ ### Setup RΓ‘pido
24
+ ```bash
25
+ # 1. Clone o repositΓ³rio
26
+ git clone git@gitlab.com:pipefy/wordpress/pipefy-website.git
27
+ cd pipefy-website
28
+
29
+ # 2. Inicie o ambiente local
30
+ lando start
31
+
32
+ # 3. Configure WordPress
33
+ lando ssh -c "development/scripts/init-wp.sh --user=seu-email@pipefy.com"
34
+
35
+ # 4. Acesse o site
36
+ # Frontend: https://pipefy.lndo.site
37
+ # Admin: https://pipefy.lndo.site/wp-admin
38
+ ```
39
+
40
+ ## πŸ—οΈ **Arquitetura**
41
+
42
+ ```
43
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
44
+ β”‚ Local │────│ Development │────│ Staging │────│ Production β”‚
45
+ β”‚ pipefy.lndo.siteβ”‚ β”‚development-www β”‚ β”‚ staging-www β”‚ β”‚ www.pipefy.com β”‚
46
+ β”‚ β”‚ β”‚ .pipefy.com β”‚ β”‚ .pipefy.com β”‚ β”‚ β”‚
47
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
48
+ β”‚ β”‚ β”‚ β”‚
49
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
50
+ β”‚ β”‚
51
+ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
52
+ β”‚ GitLab CI/CD β”‚ β”‚ Kubernetes β”‚
53
+ β”‚ Pipelines β”‚ β”‚ + CloudFlare β”‚
54
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
55
+ ```
56
+
57
+ ### πŸ› οΈ **Stack TecnolΓ³gico**
58
+
59
+ | Categoria | Tecnologia |
60
+ |-----------|------------|
61
+ | **CMS** | WordPress (customizado) |
62
+ | **Tema** | Pipefy 2020 (custom theme) |
63
+ | **Frontend** | PHP, JavaScript, Sass, Gutenberg Blocks |
64
+ | **ContainerizaΓ§Γ£o** | Docker, Lando |
65
+ | **OrquestraΓ§Γ£o** | Kubernetes, Helm |
66
+ | **CI/CD** | GitLab CI/CD |
67
+ | **Infraestrutura** | Terraform, OCI (Oracle Cloud) |
68
+ | **CDN/DNS** | CloudFlare |
69
+ | **Monitoramento** | Custom health checks |
70
+
71
+ ## πŸ“ **Estrutura do Projeto**
72
+
73
+ ```
74
+ pipefy-website/
75
+ β”œβ”€β”€ πŸ“‚ dist/ # WordPress core + customizaΓ§Γ΅es
76
+ β”‚ └── πŸ“‚ wp-content/
77
+ β”‚ β”œβ”€β”€ πŸ“‚ themes/pipefy-2020/ # Tema principal
78
+ β”‚ β”œβ”€β”€ πŸ“‚ plugins/ # Plugins WordPress
79
+ β”‚ └── πŸ“‚ mu-plugins/ # Must-use plugins
80
+ β”œβ”€β”€ πŸ“‚ development/ # Scripts e config. desenvolvimento
81
+ β”œβ”€β”€ πŸ“‚ helm/ # Charts Kubernetes
82
+ β”œβ”€β”€ πŸ“‚ k8s/ # Manifests Kubernetes
83
+ β”œβ”€β”€ πŸ“‚ terraform/ # Infraestrutura como cΓ³digo
84
+ β”œβ”€β”€ πŸ“‚ .gitlab/ # Templates GitLab CI/CD
85
+ β”œβ”€β”€ πŸ“„ .lando.yml # ConfiguraΓ§Γ£o ambiente local
86
+ β”œβ”€β”€ πŸ“„ .gitlab-ci.yml # Pipeline CI/CD
87
+ └── πŸ“„ CHANGELOG.md # HistΓ³rico de mudanΓ§as
88
+ ```
89
+
90
+ ## 🌍 **Ambientes**
91
+
92
+ | Ambiente | URL | Branch | Namespace K8s | Finalidade |
93
+ |----------|-----|--------|---------------|------------|
94
+ | **Local** | `pipefy.lndo.site` | `feature/*` | - | Desenvolvimento local |
95
+ | **Development** | `development-www.pipefy.com` | `development` | `website-dev` | Testes contΓ­nuos |
96
+ | **Staging** | `staging-www.pipefy.com` | `staging` | `website-stg` | HomologaΓ§Γ£o |
97
+ | **Production** | `www.pipefy.com` | `master` | `website-prod` | Site oficial |
98
+
99
+ ## πŸ”„ **Workflow de Desenvolvimento**
100
+
101
+ ```mermaid
102
+ graph LR
103
+ A[Feature Branch] --> B[Pull Request]
104
+ B --> C[Code Review]
105
+ C --> D[Merge to Development]
106
+ D --> E["πŸš€ development-www.pipefy.com"]
107
+ E --> F[Merge to Staging]
108
+ F --> G["πŸ” staging-www.pipefy.com"]
109
+ G --> H[Tests + QA]
110
+ H --> I[Merge to Master]
111
+ I --> J["βœ… www.pipefy.com"]
112
+ ```
113
+
114
+ ## πŸ“š **DocumentaΓ§Γ£o Principal**
115
+
116
+ ### πŸš€ **Para Desenvolvedores**
117
+ - [Getting Started](Getting-Started) - Setup completo do ambiente
118
+ - [Arquitetura](Arquitetura) - Estrutura tΓ©cnica detalhada
119
+ - [Desenvolvimento](Desenvolvimento) - Guias de desenvolvimento
120
+ - [Deploy Pipeline](Deploy-Pipeline) - Processo de deploy
121
+
122
+ ### πŸ”§ **Para DevOps**
123
+ - [Infraestrutura](Infraestrutura) - Kubernetes, Terraform, AWS
124
+ - [Monitoramento](Monitoramento) - Health checks e observabilidade
125
+ - [Troubleshooting](Troubleshooting) - ResoluΓ§Γ£o de problemas
126
+
127
+ ### πŸ“¦ **Para GestΓ£o**
128
+ - [Plugins & IntegraΓ§Γ΅es](Plugins-Integracoes) - Componentes externos
129
+ - [Changelog](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CHANGELOG.md) - HistΓ³rico de versΓ΅es
130
+ - [CODEOWNERS](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CODEOWNERS) - Responsabilidades
131
+
132
+ ## πŸ†˜ **Precisa de Ajuda?**
133
+
134
+ ### πŸ› **Problemas Comuns**
135
+ - [Troubleshooting](Troubleshooting) - Guia de resoluΓ§Γ£o
136
+ - [FAQ](FAQ) - Perguntas frequentes
137
+
138
+ ### πŸ“ž **Contatos**
139
+ - **Equipe**: @Approvers (conforme [CODEOWNERS](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CODEOWNERS))
140
+ - **Issues**: [GitLab Issues](https://gitlab.com/pipefy/wordpress/pipefy-website/-/issues)
141
+ - **Pipefy Cards**: Vinculados no [CHANGELOG.md](https://gitlab.com/pipefy/wordpress/pipefy-website/-/blob/master/CHANGELOG.md)
142
+
143
+ ## 🎯 **Links Importantes**
144
+
145
+ | Recurso | Link | Ambiente |
146
+ |---------|------|----------|
147
+ | **Site ProduΓ§Γ£o** | [www.pipefy.com](https://www.pipefy.com) | πŸ”΄ Production |
148
+ | **Site Staging** | [staging-www.pipefy.com](https://staging-www.pipefy.com) | 🟑 Staging |
149
+ | **Site Development** | [development-www.pipefy.com](https://development-www.pipefy.com) | 🟠 Development |
150
+ | **Site Local** | [pipefy.lndo.site](https://pipefy.lndo.site) | πŸ”΅ Local |
151
+ | **GitLab Project** | [pipefy/wordpress/pipefy-website](https://gitlab.com/pipefy/wordpress/pipefy-website) | - |
152
+ | **CI/CD Pipelines** | [Pipelines](https://gitlab.com/pipefy/wordpress/pipefy-website/-/pipelines) | - |
153
+ | **Kubernetes Dashboards** | *[Links internos conforme ambiente]* | - |
154
+
155
+ ---
156
+
157
+ πŸ“ **Última atualizaΓ§Γ£o**: Junho 2025
158
+ πŸ”„ **VersΓ£o da documentaΓ§Γ£o**: 1.1
159
+ ✨ **Criado com**: AnÑlise automatizada do projeto + GitHub Copilot
160
+ 🌐 **Ambientes atualizados**: Local, Development, Staging, Production
@@ -1,4 +1,14 @@
1
- { "scripts": { "prepare": "husky", "commit": "lando git-cz" }, "devDependencies": {
2
- "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@commitlint/prompt":
3
- "^19.5.0", "commitizen": "^4.3.1", "husky": "^9.0.11",
4
- "lint-staged": "^15.5.0" } }
1
+ {
2
+ "scripts": {
3
+ "prepare": "husky",
4
+ "commit": "lando git-cz"
5
+ },
6
+ "devDependencies": {
7
+ "@commitlint/cli": "^19.7.1",
8
+ "@commitlint/config-conventional": "^19.7.1",
9
+ "@commitlint/prompt": "^19.5.0",
10
+ "commitizen": "^4.3.1",
11
+ "husky": "^9.0.11",
12
+ "lint-staged": "^15.5.0"
13
+ }
14
+ }
@@ -1,4 +1,16 @@
1
- { "scripts": { "format": "prettier --write .", "lint": "lando eslint .", "lint:fix":
2
- "lando eslint . --fix" }, "devDependencies": { "globals": "^16.3.0",
3
- "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.30.1", "eslint": "^9.30.1",
4
- "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.3.1", "prettier": "^3.6.2" } }
1
+ {
2
+ "scripts": {
3
+ "format": "prettier --write .",
4
+ "lint": "lando eslint .",
5
+ "lint:fix": "lando eslint . --fix"
6
+ },
7
+ "devDependencies": {
8
+ "globals": "^16.3.0",
9
+ "@eslint/eslintrc": "^3.3.1",
10
+ "@eslint/js": "^9.30.1",
11
+ "eslint": "^9.30.1",
12
+ "eslint-config-prettier": "^10.1.5",
13
+ "eslint-plugin-prettier": "^5.3.1",
14
+ "prettier": "^3.6.2"
15
+ }
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codigodoleo/wp-kit",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Kit opinativo para padronizar projetos WordPress com CI/CD dinΓ’mico.",
5
5
  "main": "bin/index.js",
6
6
  "bin": {
@@ -1,5 +1,39 @@
1
- root = true [*] charset = utf-8 indent_style = space indent_size = 2 end_of_line = lf
2
- insert_final_newline = true trim_trailing_whitespace = true [*.php] indent_size = 4 max_line_length
3
- = 120 [*.blade.php] indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true
4
- [*.js] indent_size = 2 [*.json] indent_size = 2 [*.css] indent_size = 2 [*.scss] indent_size = 2
5
- [*.md] trim_trailing_whitespace = false [*.yml] indent_size = 2 [*.yaml] indent_size = 2
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.php]
12
+ indent_size = 4
13
+ max_line_length = 120
14
+
15
+ [*.blade.php]
16
+ indent_size = 4
17
+ insert_final_newline = true
18
+ trim_trailing_whitespace = true
19
+
20
+ [*.js]
21
+ indent_size = 2
22
+
23
+ [*.json]
24
+ indent_size = 2
25
+
26
+ [*.css]
27
+ indent_size = 2
28
+
29
+ [*.scss]
30
+ indent_size = 2
31
+
32
+ [*.md]
33
+ trim_trailing_whitespace = false
34
+
35
+ [*.yml]
36
+ indent_size = 2
37
+
38
+ [*.yaml]
39
+ indent_size = 2
@@ -1,28 +1,53 @@
1
- #
2
- {{projectName}}
1
+ # {{projectName}}
3
2
 
4
3
  > WordPress project scaffolded by [wp-kit](https://github.com/codigodoleo/wp-kit), using the
5
- [Roots](https://roots.io/) ecosystem: Bedrock, Sage, Acorn, and Lando. ## Stack - PHP
6
- {{phpVersion}}
7
- - Node.js
8
- {{nodeVersion}}
9
- - WordPress
10
- {{wpCoreVersion}}
11
- {{#if useSage}}- Sage
12
- {{sageVersion}}
13
- + Acorn
14
- {{/if}}- Lando (local development) ## Local Development ```bash lando start lando vite # HMR dev
15
- server lando vite-build # Production build ``` ## AI Co-Pilot This project includes
16
- [superpowers-sage](https://github.com/codigodoleo/superpowers-sage) skills in `.claude/`. Start a
17
- session with: ``` /sage-onboard ``` Available commands: | Command | Purpose | |---|---| |
18
- `/sage-onboard` | Project analysis and overview | | `/sage-plan` | Architecture decision for a new
19
- feature | | `/sage-scaffold` | Run generators and create stubs | | `/sage-review` | Review code
20
- against conventions | | `/sage-debug` | Guided troubleshooting | ## Theme
4
+ > [Roots](https://roots.io/) ecosystem: Bedrock, Sage, Acorn, and Lando.
5
+
6
+ ## Stack
7
+
8
+ - PHP {{phpVersion}}
9
+ - Node.js {{nodeVersion}}
10
+ - WordPress {{wpCoreVersion}}
11
+ {{#if useSage}}- Sage {{sageVersion}} + Acorn
12
+ {{/if}}- Lando (local development)
13
+
14
+ ## Local Development
15
+
16
+ ```bash
17
+ lando start
18
+ lando dev # HMR dev server (Vite)
19
+ lando theme-build # Production build
20
+ ```
21
+
22
+ ## AI Co-Pilot
23
+
24
+ This project includes [superpowers-sage](https://github.com/codigodoleo/superpowers-sage) skills in `.claude/`.
25
+ Start a session with:
26
+
27
+ ```
28
+ /sage-onboard
29
+ ```
30
+
31
+ Available commands:
32
+
33
+ | Command | Purpose |
34
+ |---|---|
35
+ | `/sage-onboard` | Project analysis and overview |
36
+ | `/sage-plan` | Architecture decision for a new feature |
37
+ | `/sage-scaffold` | Run generators and create stubs |
38
+ | `/sage-review` | Review code against conventions |
39
+ | `/sage-debug` | Guided troubleshooting |
40
+
41
+ ## Theme
21
42
 
22
43
  {{#if useSage}}
23
- Theme located at `content/themes/{{themeName}}/`. ```bash lando theme-composer require
24
- vendor/package lando theme-yarn add package-name lando acorn make:component ComponentName lando
25
- acorn acf:block BlockName ```
44
+ Theme located at `content/themes/{{themeName}}/`.
45
+
46
+ ```bash
47
+ lando theme-bootstrap # Install theme dependencies
48
+ lando acorn make:component ComponentName
49
+ lando acorn acf:block BlockName
50
+ ```
26
51
  {{else}}
27
- No Sage theme configured.
28
- {{/if}}
52
+ No Sage theme configured.
53
+ {{/if}}