Skip to content

docs(contributing): the build paragraph names esbuild, and claims a CI step that does not run #80

Description

@ivndev001

What to build

CONTRIBUTING.md describes the build and CI in two ways that the repository does not match. Both
are in the same paragraph (lines 18-34) and both are checkable in one command each.

1. It names a build tool this project does not use. Line 23 reads:

bun run build       # esbuild / tsc emit

There is no esbuild here. package.json's build script is tsc -p tsconfig.build.json, esbuild is
absent from both dependencies and devDependencies, and grep -c esbuild bun.lock returns 0.
tsconfig.build.json is a plain tsc emit config (noEmit: false, outDir: "dist", rootDir: "src",
declaration: true, sourceMap: true, excluding src/**/*.test.ts). The comment should say what the
build actually is.

2. It claims CI runs the same four steps. It does not run the fourth. Line 33 reads:

The CI workflow (.github/workflows/ci.yml) runs the same four steps on every push and PR.

.github/workflows/ci.yml's job is named bun (lint + typecheck + test) and its steps are
bun install, bun run lint, bun run typecheck, then the test legs. The only bun run build in
that workflow is at the build dummy/web fixture step, which builds the fixture, not this
package. So bun run build is a local-only gate, and a contributor reading this paragraph would
believe a broken build is caught by CI when it is not.

Fix the prose to describe what is actually there. Do not add esbuild, and do not add a build step to
CI to make the sentence true — either would be a much larger change than this issue asks for. If the
missing CI build step is worth having, that is a separate issue worth filing on its own merits.

Acceptance criteria

  • grep -n esbuild CONTRIBUTING.md returns nothing
  • The bun run build line's comment names tsc, matching package.json's build script
  • The sentence about CI no longer claims CI runs bun run build for this package; it reflects
    that ci.yml runs lint, typecheck and the test legs, and that the workflow's own
    bun run build targets the dummy/web fixture
  • No change to package.json, tsconfig.build.json, or .github/workflows/ci.yml
  • gates green: bun run lint, bun run typecheck, bun test

AFK / HITL

AFK — documentation only, no runtime behaviour, no human precondition.

Affected paths

CONTRIBUTING.md

Blocked by

None, can start immediately.

Verified against

a277712

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions