feat(build): disable commitlint subject-case rule and add clean-dist script

- Disable subject-case rule in commitlint to allow capital letters in commit subjects
- Add clean-dist.js script to preserve UI bundle during TypeScript builds
- Update package.json prebuild script to use new clean-dist.js
This commit is contained in:
kaitranntt committed 2025-12-07 23:33:03 -05:00
1 parent f0309ed8db
commit 5947532fc6
3 files changed
+49 -3

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@ module.exports = {
'build', // Build system → no release
'revert' // Revert commit → PATCH
]],
// Subject must be lowercase
'subject-case': [2, 'always', 'lower-case'],
// Subject case - disabled to allow capital letters
'subject-case': [0],
// Max header length (type + scope + subject)
'header-max-length': [2, 'always', 100]
}