Skip to content

Commit 11b73be

Browse files
authored
Merge pull request #3 from heliomarpm/develop
πŸ”€ develop β†’ main: 2025-06-20
2 parents 8d156e4 + 55cb206 commit 11b73be

File tree

4 files changed

+64
-46
lines changed

4 files changed

+64
-46
lines changed

β€Ž.npmignoreβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.*
2+
docs
3+
src
4+
test
5+
tests
6+
coverage
7+
tsconfig.*
8+
jest.config.js
9+
vitest.config.js
10+
logo.png

β€Ž.vscode/settings.jsonβ€Ž

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,17 @@
55
"editor.codeActionsOnSave": {
66
"source.fixAll.biome": "explicit",
77
"source.organizeImports.biome": "explicit"
8-
}
8+
},
9+
"github.copilot.chat.commitMessageGeneration.instructions": [
10+
{
11+
// "text": "Follow the Conventional Commits format strictly for commit messages in Portugues. Use the structure below:\n\n```\n<type>[optional scope]: <gitmoji> <description>\n\n[optional body]\n```\n\nGuidelines:\n\n1. **Type and Scope**: Choose an appropriate type (e.g., `feat`, `fix`) and optional scope to describe the affected module or feature.\n\n2. **Gitmoji**: Include a relevant `gitmoji` that best represents the nature of the change.\n\n3. **Description**: Write a concise, informative description in the header; use backticks if referencing code or specific terms.\n\n4. **Body**: For additional details, use a well-structured body section:\n - Use bullet points (`*`) for clarity.\n - Clearly describe the motivation, context, or technical details behind the change, if applicable.\n\nCommit messages should be clear, informative, and professional, aiding readability and project tracking."
12+
"text": "Generate commit messages in Conventional Commits format with gitmoji. Follow this exact structure:\n\n```\n<type>[optional scope]: <gitmoji> <description>\n\n[optional body]\n```\n\nExamples:\n- `feat(auth): :sparkles: add new login validation`\n- `fix(api): :bug: resolve user data fetch timeout`\n- `docs: :memo: update README installation steps`\n- `docs: :bookmark: add JSDoc comments to media component`\n- `style: :art: format code according to linting rules`\n- `refactor: :recycle: restructure video platform detection logic`\n\nTypes must be one of:\n- `feat`: A new feature\n- `fix`: A bug fix\n- `docs`: Documentation changes including README updates, JSDoc comments, and code documentation\n- `style`: Changes not affecting code functionality (formatting, whitespace, etc)\n- `refactor`: Code structure changes that neither fix bugs nor add features\n- `perf`: Code change that improves performance\n- `test`: Adding or correcting tests\n- `build`: Changes affecting build system or dependencies\n- `ci`: Changes to CI configuration such as GitHub Actions or Jenkins\n- `chore`: Other changes not modifying src or test files\n- `revert`: Reverting a previous commit\n\nAlways include a relevant gitmoji code at the start of the description. Match the gitmoji to the type of change.\n\nImportant: Use `docs` (with :bulb: or :memo:) for JSDoc additions/changes, not `refactor`.\n\nFor the body:\n- Use bullet points (`*`) for multiple items\n- Explain WHY the change was needed\n- Include relevant context or technical details\n\nEnsure the message is professional and clearly communicates the purpose of the commit in Portuguese.\""
13+
}
14+
],
15+
"github.copilot.chat.reviewSelection.instructions": [
16+
{
17+
// "text": "Review the selected code and provide feedback. Ensure to check for:\n\n1. **Code Quality**: Look for clean, maintainable, and efficient code.\n2. **Functionality**: Ensure the code works as intended and meets the requirements.\n3. **Best Practices**: Check adherence to coding standards and best practices.\n4. **Security**: Identify any potential security vulnerabilities.\n5. **Performance**: Assess if the code is optimized for performance.\n6. **Documentation**: Ensure that the code is well-documented, including comments and JSDoc where necessary.\n7. **Testing**: Verify that appropriate tests are included and pass successfully.\n8. **Readability**: Ensure the code is easy to read and understand.\n\nProvide constructive feedback, highlighting both strengths and areas for improvement."
18+
"text": "Revise o cΓ³digo selecionado e forneΓ§a feedback em PortuguΓͺs. Certifique-se de verificar:\n\n1. **Qualidade do cΓ³digo**: Procure por um cΓ³digo limpo, sustentΓ‘vel e eficiente.\n2. **Funcionalidade**: Certifique-se de que o cΓ³digo funcione conforme o esperado e atenda aos requisitos.\n3. **Melhores prΓ‘ticas**: Verifique a adesΓ£o aos padrΓ΅es de codificaΓ§Γ£o e Γ s melhores prΓ‘ticas.\n4. **SeguranΓ§a**: Identifique possΓ­veis vulnerabilidades de seguranΓ§a.\n5. **Desempenho**: Avalie se o cΓ³digo estΓ‘ otimizado para desempenho.\n6. **DocumentaΓ§Γ£o**: Certifique-se de que o cΓ³digo esteja bem documentado, incluindo comentΓ‘rios e JSDoc quando necessΓ‘rio.\n7. **Testes**: Verifique se os testes apropriados estΓ£o incluΓ­dos e foram aprovados.\n8. **Legibilidade**: Certifique-se de que o cΓ³digo seja fΓ‘cil de ler e entender. ForneΓ§a feedback construtivo, destacando os pontos fortes e as Γ‘reas a serem aprimoradas."
19+
}
20+
],
921
}

β€Žpackage-lock.jsonβ€Ž

Lines changed: 38 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.jsonβ€Ž

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"predocs": "typedoc",
4040
"docs": "vitepress build .docs",
4141
"docs:dev": "npm run predocs && vitepress dev .docs",
42-
"clean": "rm -rf node_modules package-lock.json dist .docs/.vitepress/cache .docs/.vitepress/dist .docs/app"
42+
"clean": "rm -rf node_modules dist .docs/.vitepress/cache .docs/.vitepress/dist .docs/app"
4343
},
4444
"devDependencies": {
45-
"@biomejs/biome": "^1.9.4",
45+
"@biomejs/biome": "2.0.0",
4646
"@commitlint/cli": "^19.8.1",
4747
"@commitlint/config-conventional": "^19.8.1",
4848
"@semantic-release/changelog": "^6.0.3",
@@ -67,10 +67,7 @@
6767
},
6868
"lint-staged": {
6969
"*.{ts,js}": [
70-
"biome check --write ."
71-
],
72-
"*.{yml,json,md}": [
73-
"biome format --write ."
70+
"biome check"
7471
]
7572
},
7673
"config": {

0 commit comments

Comments
Β (0)