Skip to content

Commit d1ad5d1

Browse files
committed
fix: copying commitlint configuration file
1 parent 7dac540 commit d1ad5d1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

booster/integrate_booster.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function update_package_json() {
194194
log "Updating package.json..."
195195
local project_pkg="package.json"
196196
local booster_pkg="${BOOSTER_INTERNAL_PATH}/package.json"
197-
local booster_commitlint="${BOOSTER_INTERNAL_PATH}/commitlint.config.js"
197+
local booster_commitlint="${BOOSTER_INTERNAL_PATH}/commitlint.config.ts"
198198
local tmp_pkg="package.json.tmp"
199199

200200
if [ ! -f "$booster_pkg" ]; then
@@ -225,9 +225,9 @@ function update_package_json() {
225225
# Copy commitlint config regardless
226226
if [ -f "$booster_commitlint" ]; then
227227
cp "$booster_commitlint" . || warn "Failed to copy commitlint config."
228-
success "commitlint.config.js copied."
228+
success "commitlint.config.ts copied."
229229
else
230-
warn "Blueprint 'commitlint.config.js' not found. Skipping copy."
230+
warn "Blueprint 'commitlint.config.ts' not found. Skipping copy."
231231
fi
232232
}
233233

docs/content/3.tools/4.git_hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CommitLint helps you maintain clean and informative commit messages by enforcing
3535
## Usage
3636

3737
1. **CommitLint Configuration:**
38-
* The `commitlint.config.js` file in your project root defines the rules for your commit messages.
38+
* The `commitlint.config.ts` file in your project root defines the rules for your commit messages.
3939
* You can customize these rules to match your team's preferences and conventions
4040

4141
2. **Git Hooks Configuration:**

0 commit comments

Comments
 (0)