refactor: rename lib and script files to kebab-case#3663
Merged
Conversation
Rename 24 files from camelCase/snake_case to kebab-case for consistency: - confirmCommand.ts → confirm-command.ts - teamUtils.ts → team-utils.ts - All addons lib files (addons_wait, create_addon, destroy_addon) - All certs lib files (certificate_details, display_table, format_date, get_cert_and_key) - All data lib files (baseCommand, createPool, credentialUtils, displayQuota, parseProvisionOpts, poolConfig) - All container lib files (docker_helper) - All pg lib files (push_pull) - All types lib files (app_errors, app_process_tier) - All utils lib files (keyValueParser, tableUtils) - Script utilities (getHerokuS3Bucket, isStableRelease) Updated 100 files with corrected import paths. No functional changes.
Fixes linting errors by updating import paths to include src/ directory after file rename from sni_endpoint to sni-endpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rename 24 files from camelCase/snake_case to kebab-case for consistency with coding standards. This PR contains only file renames and updated import paths - no functional changes.
Files Renamed:
confirmCommand.ts→confirm-command.tsteamUtils.ts→team-utils.tsaddons_wait.ts,create_addon.ts,destroy_addon.ts→ kebab-casecertificate_details.ts,display_table.ts,format_date.ts,get_cert_and_key.ts→ kebab-casedocker_helper.ts→docker-helper.tsbaseCommand.ts,createPool.ts,credentialUtils.ts,displayQuota.ts,parseProvisionOpts.ts,poolConfig.ts→ kebab-casepush_pull.ts→push-pull.tsapp_errors.ts,app_process_tier.ts→ kebab-casekeyValueParser.ts,tableUtils.ts→ kebab-casegetHerokuS3Bucket.js→get-heroku-s3-bucket.jsisStableRelease.js→is-stable-release.jsChanges:
Type of Change
Testing
Notes:
git mvto preserve historySteps:
npm run build- confirms all imports resolve correctlynpm run test:ci:unit- confirms all tests passRelated Issues
Part of the work done in #3661