Skip to content

Commit 33d087a

Browse files
committed
fix(prek): append .mjs to rolling scripts
1 parent cd7db99 commit 33d087a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

prek.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ hooks = [
8989
{ id = "eslint-fix", name = "ESLint fix", entry = "bun x --no-install -- eslint --fix", language = "system", files = "\\.(cjs|cts|d\\.ts|js|jsx|mjs|mts|ts|tsx)$" },
9090
# Configure rolling tag to allow force updates during fetch
9191
# Ensures 'git fetch' can update the rolling tag without user intervention
92-
{ id = "git-rolling-refspec-config", name = "configure rolling refspec", entry = "bun run scripts/git-rolling-refspec-config", language = "system", pass_filenames = false, always_run = true, stages = [
92+
{ id = "git-rolling-refspec-config", name = "configure rolling refspec", entry = "bun run scripts/git-rolling-refspec-config.mjs", language = "system", pass_filenames = false, always_run = true, stages = [
9393
"post-checkout",
9494
"post-merge",
9595
] },
9696
# Create/update rolling tag on default branch after commit
97-
{ id = "git-rolling-tag-create", name = "create rolling tag", entry = "bun run scripts/git-rolling-tag-create", language = "system", pass_filenames = false, always_run = true, stages = [
97+
{ id = "git-rolling-tag-create", name = "create rolling tag", entry = "bun run scripts/git-rolling-tag-create.mjs", language = "system", pass_filenames = false, always_run = true, stages = [
9898
"post-commit",
9999
] },
100100
# Push rolling tag to origin on default branch
101-
{ id = "git-rolling-tag-push", name = "push rolling tag", entry = "bun run scripts/git-rolling-tag-push", language = "system", pass_filenames = false, always_run = true, stages = [
101+
{ id = "git-rolling-tag-push", name = "push rolling tag", entry = "bun run scripts/git-rolling-tag-push.mjs", language = "system", pass_filenames = false, always_run = true, stages = [
102102
"pre-push",
103103
] },
104104
]

0 commit comments

Comments
 (0)