Skip to content

Convert to kebab-case#541

Merged
sorenlouv merged 1 commit intomainfrom
rename-to-kebab-case
Jun 14, 2025
Merged

Convert to kebab-case#541
sorenlouv merged 1 commit intomainfrom
rename-to-kebab-case

Conversation

@sorenlouv
Copy link
Copy Markdown
Owner

@sorenlouv sorenlouv commented Jun 14, 2025

This PR standardizes file and import naming to kebab-case across the codebase.

  • Renamed numerous module filenames and updated all corresponding import paths to kebab-case
  • Updated tests and snapshots to reflect renamed files and new snapshot header URL
  • Ensured public APIs (entrypoint.api.ts, backport-run.ts, CLI files) follow the same convention

@sorenlouv sorenlouv merged commit 53932ea into main Jun 14, 2025
3 checks passed
@sorenlouv sorenlouv deleted the rename-to-kebab-case branch June 14, 2025 22:38
@sorenlouv sorenlouv requested a review from Copilot June 15, 2025 20:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes file and import naming to kebab-case across the codebase.

  • Renamed numerous module filenames and updated all corresponding import paths to kebab-case
  • Updated tests and snapshots to reflect renamed files and new snapshot header URL
  • Ensured public APIs (entrypoint.api.ts, backport-run.ts, CLI files) follow the same convention

Reviewed Changes

Copilot reviewed 136 out of 136 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/lib/get-commits.ts Updated imports to match get-commits.ts and related modules
src/lib/cherrypickAndCreateTargetPullRequest/wait-for-cherrypick.ts Renamed commitFormatters import and helper filename
src/lib/cherrypickAndCreateTargetPullRequest/get-target-prlabels.ts Renamed filterEmpty and branch helper imports
src/lib/cherrypickAndCreateTargetPullRequest/get-target-prlabels.test.ts Updated test import to get-target-prlabels
src/lib/cherrypickAndCreateTargetPullRequest/get-merge-commit.ts Renamed fetchCommitBySha import path
src/lib/cherrypickAndCreateTargetPullRequest/get-commits-without-backports.ts Renamed commitFormatters and author fetch imports
src/lib/cherrypickAndCreateTargetPullRequest/get-commits-without-backports.test.ts Updated test imports for author fetch and pull-request states
src/lib/cherrypickAndCreateTargetPullRequest/get-backport-branch-name.ts Renamed commitFormatters import
src/lib/cherrypickAndCreateTargetPullRequest/get-backport-branch-name.test.ts Updated test import to get-backport-branch-name
src/lib/cherrypickAndCreateTargetPullRequest/copy-source-pull-request-reviewers-to-target-pull-request.ts Renamed utility and GitHub v3 helper imports
src/lib/cherrypickAndCreateTargetPullRequest/copy-source-pull-request-labels.ts Renamed GitHub v3 helper imports
src/lib/cherrypickAndCreateTargetPullRequest/cherrypick-and-create-target-pull-request.ts Updated all imports to kebab-case filenames
src/lib/cherrypickAndCreateTargetPullRequest/cherrypick-and-create-target-pull-request.test.ts Updated test imports to kebab-case paths
src/lib/cherrypickAndCreateTargetPullRequest/auto-merge-now-or-later.ts Renamed GitHub v3/v4 helper imports
src/lib/cherrypickAndCreateTargetPullRequest/snapshots/cherrypick-and-create-target-pull-request.test.ts.snap Updated Jest snapshot header URL
src/lib/backport-error.ts Renamed import path for parsing commits
src/entrypoint.module.private.test.ts Renamed private API imports and token helper
src/entrypoint.cli.ts Updated CLI imports to kebab-case
src/entrypoint.api.ts Standardized public API imports and exports
src/backport-run.ts Renamed core runner imports and helpers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants