Skip to content

chore(misc): refine TypeScript config layout#3263

Open
VGau wants to merge 2 commits into
mainfrom
chore/tsconfig-best-practices
Open

chore(misc): refine TypeScript config layout#3263
VGau wants to merge 2 commits into
mainfrom
chore/tsconfig-best-practices

Conversation

@VGau
Copy link
Copy Markdown
Contributor

@VGau VGau commented Jun 3, 2026

This PR implements issue(s) #

Checklist

  • I wrote new tests for my new core changes.
  • I have successfully ran tests, style checker and build against my new changes locally.
  • If this change is deployed to any environment (including Devnet), E2E test coverage exists or is included in this
    PR.
  • I have informed the team of any breaking changes if there are any.

Note

Medium Risk
Wide monorepo build and typecheck layout change (dropping composite/references) could break CI, Docker builds, or package emits if any package still relied on tsc project references.

Overview
Introduces tsconfig.base.json as the shared strict compiler defaults and makes the root tsconfig.json a thin, noEmit config for workspace-level tooling (e.g. *.config.mjs).

Across packages (SDK, integrity verifiers, postman, operations, contracts, e2e), dev tsconfig.json files now extend the base and set noEmit: true, dropping composite and TypeScript project references in favor of a simpler layout. Emit settings move into tsconfig.build.json (and tsup), with trimmed duplicate sourceMap / inlineSources on the TypeScript build configs where bundling owns maps.

tsup builds set esbuildOptions.sourcesContent = false on emitted sourcemaps. Docker build stages copy tsconfig.base.json into the image context. @consensys/linea-shared-utils adds a files: ["dist"] publish whitelist.

Reviewed by Cursor Bugbot for commit b3d4aba. Bugbot is set up for automated code reviews on this repo. Configure here.

@VGau VGau requested a review from a team as a code owner June 3, 2026 15:55
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@VGau VGau had a problem deploying to docker-build-and-e2e June 5, 2026 10:39 — with GitHub Actions Error
VGau added 2 commits June 5, 2026 18:15
Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
@VGau VGau force-pushed the chore/tsconfig-best-practices branch from 00c028f to 90de411 Compare June 5, 2026 16:15
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