Skip to content

Conversation

@lzxb
Copy link
Contributor

@lzxb lzxb commented Nov 28, 2025

Summary

This PR upgrades Biome from version 1.9.4 to 2.3.7 across all packages and includes related TypeScript error fixes.

Key Changes:

  • Biome Upgrade: Updated Biome dependency from 1.9.4 to 2.3.7 in all package.json files and pnpm-lock.yaml
  • TypeScript Improvements: Replaced @ts-ignore with @ts-expect-error for better type safety and error handling
  • Dependency Updates: Updated @types/node dependency to ^24.0.0 for consistency
  • Export Ordering: Fixed export statement ordering in packages/rspack/src/rspack/index.ts
  • Code Formatting: Applied Biome 2.3.7 formatting rules across 143 files

Impact:

  • Improved code quality and type safety
  • Enhanced linting capabilities with the latest Biome version
  • Better TypeScript error detection and handling
  • Consistent code formatting across the entire codebase

Checklist

  • Tests updated (or not required)
  • Documentation updated (or not required)

- Upgrade Biome from 1.9.4 to 2.3.7 across all packages
- Replace @ts-ignore with @ts-expect-error for better TypeScript handling
- Update @types/node dependency to ^24.0.0
- Fix export ordering in packages/rspack/src/rspack/index.ts
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 28, 2025

Deploying esmx with  Cloudflare Pages  Cloudflare Pages

Latest commit: 270a0c6
Status: ✅  Deploy successful!
Preview URL: https://8403c702.esmx.pages.dev
Branch Preview URL: https://chore-upgrade-biome-and-fix.esmx.pages.dev

View logs

Remove FORCE_COLOR=1 from script commands as it's no longer needed
Remove displaySuccessMessage() call that was causing duplicate output
@lzxb lzxb merged commit a755743 into master Nov 28, 2025
4 checks passed
@lzxb lzxb deleted the chore/upgrade-biome-and-fix-typescript branch November 28, 2025 02:30
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