omgkit 2.23.0 → 2.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,105 @@
1
+ # =============================================================================
2
+ # OMGKIT Trunk-Based Development Configuration
3
+ # =============================================================================
4
+ # Optimized for continuous deployment, short-lived branches, and feature flags.
5
+ # Best for: Teams practicing CI/CD, small PRs, rapid iteration.
6
+ #
7
+ # Documentation: https://omg.mintlify.app/workflows/trunk-based
8
+ # =============================================================================
9
+
10
+ version: "1.0"
11
+
12
+ git:
13
+ workflow: trunk-based
14
+ main_branch: main
15
+ branch_prefix:
16
+ feature: "feature/"
17
+ fix: "fix/"
18
+ hotfix: "hotfix/"
19
+ max_branch_age_days: 2
20
+ delete_branch_on_merge: true
21
+ linear_history: true
22
+
23
+ commit:
24
+ conventional: true
25
+ require_scope: false
26
+ allowed_types:
27
+ - feat
28
+ - fix
29
+ - docs
30
+ - refactor
31
+ - test
32
+ - chore
33
+ max_subject_length: 72
34
+
35
+ pr:
36
+ template: auto
37
+ require_review: true
38
+ min_reviewers: 1
39
+ draft_by_default: false
40
+ squash_merge: true
41
+ labels:
42
+ enabled: true
43
+ by_path:
44
+ "src/api/**": ["backend"]
45
+ "src/ui/**": ["frontend"]
46
+ "tests/**": ["testing"]
47
+ by_branch:
48
+ "feature/": ["enhancement"]
49
+ "fix/": ["bug"]
50
+ "hotfix/": ["critical"]
51
+
52
+ review:
53
+ auto_review: true
54
+ trigger: on_pr
55
+ checks:
56
+ - security
57
+ - performance
58
+ - best-practices
59
+ - tests
60
+ block_on_critical: true
61
+ strictness: standard
62
+
63
+ deploy:
64
+ provider: vercel
65
+ production_branch: main
66
+ preview_on_pr: true
67
+ auto_deploy: true
68
+ pre_deploy_checks:
69
+ - test
70
+ - build
71
+ - lint
72
+
73
+ hooks:
74
+ pre_commit:
75
+ enabled: true
76
+ actions:
77
+ - lint
78
+ - format
79
+ - type-check
80
+ fail_fast: true
81
+ staged_only: true
82
+
83
+ commit_msg:
84
+ enabled: true
85
+ validate_conventional: true
86
+ max_length: 72
87
+
88
+ pre_push:
89
+ enabled: true
90
+ actions:
91
+ - test
92
+ - security-scan
93
+ skip_on_ci: true
94
+
95
+ feature_flags:
96
+ provider: vercel-edge
97
+ default_state: false
98
+ require_for_wip: true
99
+
100
+ ci:
101
+ provider: github-actions
102
+ required_checks:
103
+ - build
104
+ - test
105
+ - lint
@@ -0,0 +1,145 @@
1
+ # =============================================================================
2
+ # OMGKIT Workflow Configuration
3
+ # =============================================================================
4
+ # This file configures your Git workflow, commit conventions, PR settings,
5
+ # code review automation, and deployment preferences.
6
+ #
7
+ # Documentation: https://omg.mintlify.app/skills/workflow-config
8
+ # Generated by: omgkit init
9
+ # =============================================================================
10
+
11
+ version: "1.0"
12
+
13
+ # =============================================================================
14
+ # GIT WORKFLOW
15
+ # =============================================================================
16
+ git:
17
+ # Workflow type: trunk-based | gitflow | github-flow
18
+ workflow: trunk-based
19
+
20
+ # Main branch name
21
+ main_branch: main
22
+
23
+ # Branch naming prefixes
24
+ branch_prefix:
25
+ feature: "feature/"
26
+ fix: "fix/"
27
+ hotfix: "hotfix/"
28
+
29
+ # Maximum branch age in days (for trunk-based)
30
+ max_branch_age_days: 2
31
+
32
+ # Auto-delete branch after merge
33
+ delete_branch_on_merge: true
34
+
35
+ # =============================================================================
36
+ # COMMIT CONVENTIONS
37
+ # =============================================================================
38
+ commit:
39
+ # Use conventional commits (type: subject)
40
+ conventional: true
41
+
42
+ # Require scope: type(scope): subject
43
+ require_scope: false
44
+
45
+ # Allowed commit types
46
+ allowed_types:
47
+ - feat # New feature
48
+ - fix # Bug fix
49
+ - docs # Documentation
50
+ - style # Formatting
51
+ - refactor # Code restructuring
52
+ - perf # Performance
53
+ - test # Tests
54
+ - chore # Maintenance
55
+
56
+ # Maximum subject line length
57
+ max_subject_length: 72
58
+
59
+ # =============================================================================
60
+ # PULL REQUEST SETTINGS
61
+ # =============================================================================
62
+ pr:
63
+ # PR template: auto | none | path/to/template.md
64
+ template: auto
65
+
66
+ # Require review before merge
67
+ require_review: true
68
+
69
+ # Minimum reviewers
70
+ min_reviewers: 1
71
+
72
+ # Create as draft by default
73
+ draft_by_default: false
74
+
75
+ # Squash merge commits
76
+ squash_merge: true
77
+
78
+ # Auto-labeling
79
+ labels:
80
+ enabled: true
81
+ by_path:
82
+ "src/api/**": ["backend"]
83
+ "src/ui/**": ["frontend"]
84
+ "tests/**": ["testing"]
85
+
86
+ # =============================================================================
87
+ # CODE REVIEW
88
+ # =============================================================================
89
+ review:
90
+ # Enable Claude auto-review
91
+ auto_review: true
92
+
93
+ # Review checks
94
+ checks:
95
+ - security
96
+ - performance
97
+ - best-practices
98
+
99
+ # Block merge on critical issues
100
+ block_on_critical: true
101
+
102
+ # =============================================================================
103
+ # DEPLOYMENT
104
+ # =============================================================================
105
+ deploy:
106
+ # Provider: vercel | netlify | aws | none
107
+ provider: vercel
108
+
109
+ # Production branch
110
+ production_branch: main
111
+
112
+ # Preview deployments for PRs
113
+ preview_on_pr: true
114
+
115
+ # Auto-deploy on merge
116
+ auto_deploy: true
117
+
118
+ # =============================================================================
119
+ # GIT HOOKS
120
+ # =============================================================================
121
+ hooks:
122
+ pre_commit:
123
+ enabled: true
124
+ actions:
125
+ - lint
126
+ - format
127
+
128
+ commit_msg:
129
+ enabled: true
130
+ validate_conventional: true
131
+
132
+ pre_push:
133
+ enabled: true
134
+ actions:
135
+ - test
136
+
137
+ # =============================================================================
138
+ # FEATURE FLAGS
139
+ # =============================================================================
140
+ feature_flags:
141
+ # Provider: none | vercel-edge | launchdarkly | unleash
142
+ provider: none
143
+
144
+ # Default state for new flags
145
+ default_state: false