Skip to content

chore(tools): remove unused tool subcommands - #2324

Open
jong-kyung wants to merge 6 commits into
voidzero-dev:mainfrom
jong-kyung:chore/remove-unused-tools
Open

chore(tools): remove unused tool subcommands#2324
jong-kyung wants to merge 6 commits into
voidzero-dev:mainfrom
jong-kyung:chore/remove-unused-tools

Conversation

@jong-kyung

@jong-kyung jong-kyung commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Description

Removes two dead subcommands from @voidzero-dev/vite-plus-tools and their orphaned snapshot fixtures.

  • tool json-sort and tool replace-file-content have no callers anywhere in the repo, so this removes them along with their dispatch cases in index.ts and the README entries.
  • The replace-file-content use case is already covered by the Rust vpt replace-file-content helper in crates/vite_cli_snapshots.
  • The fixtures under packages/tools/snap-tests/ were only for these commands and had no runner wired to them, so the directory is removed entirely.
  • The packages/tools README now documents the remaining tool subcommands (sync-remote, install-global-cli, brand-vite, local-npm-registry) instead of the removed ones.

Both subcommands have no callers in the repo. The replace-file-content
use case is already covered by the Rust vpt replace-file-content helper
in crates/vite_cli_snapshots. The snap-tests fixtures under
packages/tools/snap-tests had no runner wired to them.
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit f439f72
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a71e81e28df11000802d2f1

@jong-kyung jong-kyung self-assigned this Aug 4, 2026
Like json-sort and replace-file-content, the TS json-edit has no
callers; all live usage is the Rust vpt json-edit in
crates/vite_cli_snapshots, which the interactive-snapshot-tests RFC
introduced as its replacement.
@jong-kyung jong-kyung changed the title chore(tools): remove unused json-sort and replace-file-content chore(tools): remove unused utils Aug 4, 2026
@jong-kyung jong-kyung changed the title chore(tools): remove unused utils chore(tools): remove unused tool subcommands Aug 4, 2026
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ad5752e5d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/tools/package.json
reusable-release-build.yml runs 'pnpm exec json-edit' to stamp package
versions during release and preview builds, so the workspace bin must
stay until that workflow migrates to another helper.
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 38f7b34e06

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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.

1 participant