Standardize Contribution Workflow and Fix Config Typing
Overview
The project currently lacks standardized templates for reporting bugs, requesting features, or submitting merge requests. This leads to inconsistent information and slows down the review process.
Additionally, vite.config.ts has a persistent TS2769 typing error because the test property is not recognized by the default configuration types, causing local and CI validation failures.
Proposed Solution
1. Standardized Templates
Create 4 comprehensive templates for both Issues and Merge Requests (Feature, Bug Fix, Refactor, and Documentation) in the .gitlab/ directory:
- Include GitLab quick actions (labels, status).
- Add project-specific quality checklists (Vite+, Swecha API context, i18n).
2. Config Type Fix
Resolve the TS2769 error in vite.config.ts by adding a triple-slash reference to Vitest types and providing explicit typing for proxy parameters.
Acceptance Criteria
-
Issue templates available for Feature, Bug, Refactor, and Docs. -
Merge Request templates available for Feature, Bug, Refactor, and Docs. -
npm run validatepasses without typing errors invite.config.ts.