Skip to content

chore: update generated tsconfig defaults#2451

Open
cookesan wants to merge 1 commit into
wxt-dev:mainfrom
cookesan:update-recommended-tsconfig
Open

chore: update generated tsconfig defaults#2451
cookesan wants to merge 1 commit into
wxt-dev:mainfrom
cookesan:update-recommended-tsconfig

Conversation

@cookesan

Copy link
Copy Markdown
Contributor

Summary

  • update generated .wxt/tsconfig.json compiler defaults to the TS/Bun baseline from Update to lastest recommended TS Config #2449
  • keep DOM and DOM.Iterable in the WXT-generated lib list so extension entrypoints keep browser globals without re-adding WebWorker
  • refresh TypeScript project e2e snapshots

Fixes #2449

Checks

  • bun run --filter wxt test typescript-project
  • bun run --filter wxt test run
  • bun run --filter wxt check
  • bun run --filter wxt-demo postinstall
  • bun run --filter wxt-demo check
  • packed WXT tarball template validation: react, solid, svelte, vanilla, vue compile/check + build
  • bunx prettier --check packages/wxt/src/core/generate-wxt-dir.ts packages/wxt/e2e/tests/typescript-project.test.ts
  • git diff --check

@cookesan cookesan requested a review from aklinker1 as a code owner June 28, 2026 20:56
@netlify

netlify Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit a5a8dc0
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6a4c6d78235d7800079c73e1
😎 Deploy Preview https://deploy-preview-2451--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Jun 28, 2026
@cookesan cookesan force-pushed the update-recommended-tsconfig branch from a711cf1 to a5a8dc0 Compare July 7, 2026 03:07
@cookesan

cookesan commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main to clear the merge conflict. The resolution keeps upstream’s prepare:tsconfig hook and node_modules exclusion while preserving this PR’s updated compiler defaults.

Local validation:

  • bun run test run e2e/tests/typescript-project.test.ts (13 passed, 1 todo)
  • bun run check
  • git diff --check

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

Labels

pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to lastest recommended TS Config

1 participant