Skip to content

chore: clean up package.json#3524

Merged
eablack merged 5 commits intov11.0.0from
eb/clean-up-package-json-with-v11
Feb 13, 2026
Merged

chore: clean up package.json#3524
eablack merged 5 commits intov11.0.0from
eb/clean-up-package-json-with-v11

Conversation

@eablack
Copy link
Contributor

@eablack eablack commented Feb 12, 2026

Summary

This PR removes two small external dependencies that haven't been updated in many years and replaces them with local implementations:

  1. parse-procfile: Implemented Procfile parsing directly in load-foreman-procfile.ts with proper TypeScript types
  2. github-url-to-object: Implemented parseGitHubUrl function in git.ts to handle SSH and HTTPS GitHub URL formats

Also updated package dependency ranges to use caret (^) for better semver flexibility and moved test-only dependencies (mock-stdin, stdout-stderr) to devDependencies.

semver was also completely removed as a direct dependency because it appears to be unused.

heroku-cli-util is also updated to 10.5.0, introducing the HEROKU_THEME feature.

removed a monorepo smoke test that is no longer relevant (enabling us to remove globby as a dependency)

Type of Change

  • chore: Change that does not affect production code

Testing

Notes:
All existing tests pass. The local implementations maintain identical behavior to the original packages.

Related Issues

Part of package.json cleanup for v11.0.0

Replace external dependencies with local implementations:

- parse-procfile: Implemented Procfile parsing directly in load-foreman-procfile.ts
  with proper TypeScript types
- github-url-to-object: Implemented parseGitHubUrl function in git.ts to handle
  SSH and HTTPS GitHub URL formats

Also updated package dependency ranges to use caret (^) for better semver
flexibility and moved test-only dependencies (mock-stdin, stdout-stderr) to
devDependencies.

The local implementations maintain identical behavior while reducing external
dependencies and improving type safety.
@eablack eablack requested a review from a team as a code owner February 12, 2026 18:15
@eablack eablack changed the base branch from main to v11.0.0 February 12, 2026 18:15
@eablack eablack changed the title chore: remove parse-procfile and github-url-to-object dependencies chore: clean up package.json Feb 12, 2026
Copy link
Contributor

@tlowrimore-heroku tlowrimore-heroku left a comment

Choose a reason for hiding this comment

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

LGTM!

@eablack eablack merged commit d039c4a into v11.0.0 Feb 13, 2026
13 checks passed
@eablack eablack deleted the eb/clean-up-package-json-with-v11 branch February 13, 2026 01:11
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