|
124 | 124 | "upgrade:clean": "rm -rf node_modules && rm bun.lockb package-lock.json && bun pm cache rm && sudo bun i -g n && sudo n prune || true && sudo npm uninstall -g n && sudo rm -rf /usr/local/n && sudo rm -f /usr/local/bin/node", |
125 | 125 | "upgrade:full": "bun run upgrade:clean && bun run upgrade" |
126 | 126 | }, |
| 127 | + "validate-branch-name": { |
| 128 | + "pattern": "^(main|develop){1}$|^(feature|fix|hotfix|release|experimental|chore|docs|dependabot|renovate)/.+$", |
| 129 | + "errorMsg": "Your branch name does not meet the Brand Naming conventions.\nPlease review ./repo_management_files/branchNamingConventions.md and ./package.json#L128 for rules" |
| 130 | + }, |
127 | 131 | "config": { |
128 | 132 | "commitizen": { |
129 | 133 | "path": "./node_modules/cz-gitmoji-adapter", |
|
139 | 143 | ".prettierrc.json", |
140 | 144 | "license", |
141 | 145 | "readme-api.md", |
142 | | - "readme.md", |
143 | 146 | "commit-template.hbs", |
| 147 | + "readme.md", |
144 | 148 | "commitlint.config.ts", |
145 | 149 | "default-template.hbs", |
146 | | - "emojitypescommitmessages.txt", |
147 | 150 | "jest.config.json", |
148 | 151 | "package-lock.json", |
149 | 152 | "package.json", |
150 | 153 | "release.config.ts", |
151 | 154 | "renovate.json", |
152 | | - "tsconfig.json", |
| 155 | + "emojitypescommitmessages.txt", |
153 | 156 | "typedoc.json", |
| 157 | + "tsconfig.json", |
154 | 158 | ".vscode/settings.json", |
155 | | - "public/.gitkeep", |
156 | 159 | "repo_management_files/cz-emoji-type-extract.js", |
157 | 160 | "repo_management_files/cz-type-extract.js", |
158 | 161 | "repo_management_files/directorystructuredocument.md", |
159 | 162 | "repo_management_files/extractfilescopes.js", |
| 163 | + "repo_management_files/branchnamingconventions.md", |
160 | 164 | "repo_management_files/genericcommitmessages.md", |
161 | 165 | "repo_management_files/gitmojisemver-extract.js", |
162 | 166 | "repo_management_files/issues.sh", |
163 | 167 | "repo_management_files/labels.sh", |
164 | 168 | "repo_management_files/packagejsondocument.md", |
165 | | - ".github/dependabot.yml", |
166 | | - ".github/workflows/build.yml", |
167 | | - ".github/workflows/docs.yml", |
168 | | - ".github/workflows/lint.yml", |
169 | | - ".github/workflows/pr.yml", |
170 | | - ".github/workflows/release.yml", |
171 | | - ".github/workflows/test.yml", |
| 169 | + "public/.gitkeep", |
172 | 170 | ".husky/commit-msg", |
| 171 | + ".husky/pre-commit", |
173 | 172 | ".husky/prepare-commit-msg", |
174 | 173 | ".husky/_/.gitignore", |
175 | | - ".husky/_/applypatch-msg", |
176 | 174 | ".husky/_/commit-msg", |
177 | | - ".husky/_/h", |
| 175 | + ".husky/_/applypatch-msg", |
178 | 176 | ".husky/_/post-applypatch", |
| 177 | + ".husky/_/h", |
179 | 178 | ".husky/_/post-checkout", |
180 | 179 | ".husky/_/post-commit", |
181 | 180 | ".husky/_/post-merge", |
|
186 | 185 | ".husky/_/pre-push", |
187 | 186 | ".husky/_/pre-rebase", |
188 | 187 | ".husky/_/prepare-commit-msg", |
189 | | - "src/app.ts", |
190 | | - "src/bin/.gitkeep", |
191 | | - "src/controllers/.gitkeep", |
192 | | - "src/plugins/.gitkeep", |
193 | | - "src/middleware/.gitkeep", |
194 | | - "src/configs/.gitkeep", |
195 | | - "src/models/.gitkeep", |
196 | | - "src/views/.gitkeep", |
197 | | - "src/utils/.gitkeep", |
198 | | - "src/routes/.gitkeep", |
| 188 | + ".github/dependabot.yml", |
| 189 | + ".github/workflows/build.yml", |
| 190 | + ".github/workflows/lint.yml", |
| 191 | + ".github/workflows/pr.yml", |
| 192 | + ".github/workflows/release.yml", |
| 193 | + ".github/workflows/docs.yml", |
| 194 | + ".github/workflows/test.yml", |
199 | 195 | "test/.gitkeep", |
200 | 196 | "test/app.test.ts", |
201 | 197 | "test/bin/.gitkeep", |
| 198 | + "test/configs/.gitkeep", |
202 | 199 | "test/controllers/.gitkeep", |
203 | 200 | "test/middleware/.gitkeep", |
204 | 201 | "test/models/.gitkeep", |
205 | | - "test/plugins/.gitkeep", |
| 202 | + "test/utils/.gitkeep", |
206 | 203 | "test/routes/.gitkeep", |
207 | | - "test/configs/.gitkeep", |
208 | 204 | "test/views/.gitkeep", |
209 | | - "test/utils/.gitkeep" |
| 205 | + "test/plugins/.gitkeep", |
| 206 | + "src/app.ts", |
| 207 | + "src/controllers/.gitkeep", |
| 208 | + "src/bin/.gitkeep", |
| 209 | + "src/middleware/.gitkeep", |
| 210 | + "src/plugins/.gitkeep", |
| 211 | + "src/models/.gitkeep", |
| 212 | + "src/configs/.gitkeep", |
| 213 | + "src/routes/.gitkeep", |
| 214 | + "src/utils/.gitkeep", |
| 215 | + "src/views/.gitkeep" |
210 | 216 | ], |
211 | 217 | "questions": { |
212 | 218 | "scope": "Specify a scope: " |
|
0 commit comments