docs: add standardized gitlab templates and resolve vitest typing conflict
Summary
This MR introduces 8 standardized GitLab templates to streamline the contribution workflow and fixes a persistent TS2769 typing error in vite.config.ts to ensure the project passes full validation.
Closes #(issue_number)
Implementation Details
GitLab Templates
- Created
.gitlab/issue_templates/and.gitlab/merge_request_templates/. - Added
feature_template.md,bug_fix_template.md,refactor_template.md, anddoc_template.mdto both directories. - Templates include automated labels (e.g.,
/label ~"type::feature") and comprehensive quality checklists.
Config Fix
- Added
/// <reference types="vitest" />tovite.config.tsto extend the ViteUserConfigtype with Vitest properties. - Applied
eslint-disable-next-lineand explicitanytypes to theserver.proxy.configuremethod to satisfy strict linting while maintaining functionality for proxying the Swecha API.
Testing Strategy
Full suite run via npm run validate:
| Check | Result |
|---|---|
| Files formatted | 74 |
| Files linted / type-checked | 51 |
| i18n validation |
|
| Tests |
|
Quality Checklist
-
npm run format:checkpasses -
npm run lintpasses -
npm run typecheckpasses -
npm testpasses -
CHANGELOG.mdupdated vianpm run changelog -
No generated files or caches included in the diff.
Closes #35 (closed)
Edited by Kushal Lagichetty