fix(opencode): remove spurious scripts and randomField from package.json#22160
Merged
thdxr merged 2 commits intoanomalyco:devfrom Apr 12, 2026
Merged
Conversation
alexyaroshuk
pushed a commit
to alexyaroshuk/opencode
that referenced
this pull request
Apr 13, 2026
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.
Issue for this PR
Closes #22159
Type of change
What does this PR do?
packages/opencode/package.jsonhad two categories of junk entries that appear to have been accidentally committed:A
randomFieldtop-level key ("this-is-a-random-value-12345") — not a validpackage.jsonfield, has no effect but pollutes the manifest.Six fake scripts:
random,clean,lint,format,docs,deploy. These are echo-only stubs with incorrect implementations — for example,lintjust runsbun test --coverage(not a linter), andformatpasses--prettieras a flag tobun runwhich is invalid. The real formatting and lint tooling (biome,turbo) lives at the monorepo level and these scripts are not wired up to anything.The fix removes all seven entries. No logic was changed.
How did you verify your code works?
bun run --cwd packages/opencode typecheck— passedbun run --cwd packages/opencode test— 1901 tests passed (1 pre-existing flaky failure unrelated to this change)Screenshots / recordings
N/A (non-UI change)
Checklist