Skip to content

Chore: Cleaning up package.json at root dir. Guiding users to package specific package.json#18640

Open
TZubiri wants to merge 4 commits intoanomalyco:devfrom
TZubiri:dev
Open

Chore: Cleaning up package.json at root dir. Guiding users to package specific package.json#18640
TZubiri wants to merge 4 commits intoanomalyco:devfrom
TZubiri:dev

Conversation

@TZubiri
Copy link

@TZubiri TZubiri commented Mar 22, 2026

Issue for this PR

I didn't make a Github issue for each of the issues fixed, but each commit in this PR is an issue, here's a small recap, just in case:

  1. Leftover boilerplate scripts
  2. Message isn't clear, I thought it was about root user, not root dir.
  3. Adding information about where to run the tests, not just where not to run them.
  4. Adding information to bunfig.toml so that it affects 'bun test' as well. (hacky)

Added them as issue #18640 (Closes #18640)

Type of change

  • Developer Experience
  • Documentation (Kinda)

Small intro PR that I made while working on another more technical PR, to get warmed up.

What does this PR do?

The package.json file is usually what new devs look at when getting started analyzing the code.

There were 4 small issues with it, each with its own commit which you can inspect individually.

The broader picture is that new devs will find a (marginally) more polished Developer Experience.

How did you verify your code works?

Ran the affected bun and npm commands:

npm test
bun test
bun run dev

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

TZubiri added 4 commits March 22, 2026 10:22
Removing some boilerplate bun targets from package.json that were probably leftover from an early LLM generated prototype.
Clarifying that this is not a root user error, but a root directory error.
…age.

Adding further instructions to guide the user to the package.json under packages/opencode/package.json
@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. needs:title labels Mar 22, 2026
@github-actions
Copy link
Contributor

Hey! Your PR title Cleaning up package.json at root dir. Guiding users to package specific package.json doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@TZubiri TZubiri changed the title Cleaning up package.json at root dir. Guiding users to package specific package.json Chore: Cleaning up package.json at root dir. Guiding users to package specific package.json Mar 22, 2026
@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Mar 22, 2026
@github-actions
Copy link
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant