Security & infrastructure: - Remove unused services/ (auth, spacetimedb) and auth.db - Add .env.example template, expand .gitignore for env/db files - Add GitHub Actions CI + commitlint config and workflows - Add manual vendor chunking and source maps to docs/site vite configs Shared UI & docs app: - Add ARIA props and focus-visible rings to Button/Panel - Add ButtonAsLink primitive; use shared Button in NotFound - Wire @void-nav/ui into docs app; refresh content pages - Replace Todo page with Kanban board Gameplay (Bevy): - Add ai module (behavior, faction, navigation, perception, spawning, states) - Add narrative module (events, history, synthesis, ui) - Refine galaxy contents and in-system flight/scene systems
36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
// Enforce conventional commit types
|
|
'type-enum': [
|
|
2,
|
|
'always',
|
|
[
|
|
'feat', // New feature
|
|
'fix', // Bug fix
|
|
'docs', // Documentation changes
|
|
'style', // Code style changes (formatting, etc.)
|
|
'refactor', // Code refactoring
|
|
'perf', // Performance improvements
|
|
'test', // Adding or updating tests
|
|
'chore', // Maintenance tasks
|
|
'revert', // Revert a previous commit
|
|
'build', // Build system changes
|
|
'ci', // CI/CD changes
|
|
],
|
|
],
|
|
// Scope is optional
|
|
'scope-empty': [1, 'never'],
|
|
// Subject must not be empty
|
|
'subject-empty': [2, 'never'],
|
|
// Subject must be in sentence case
|
|
'subject-case': [0],
|
|
// Subject line length
|
|
'subject-max-length': [2, 'always', 72],
|
|
// Body line length
|
|
'body-max-line-length': [2, 'always', 100],
|
|
// Footer line length
|
|
'footer-max-line-length': [2, 'always', 100],
|
|
},
|
|
};
|