chore(deps): bump @rspack/cli and @rspack/core to v2#126
Merged
Conversation
- @rspack/cli ^1.7.6 -> ^2.0.0 - @rspack/core ^1.7.6 -> ^2.0.0 - @rsdoctor/rspack-plugin ^1.5.2 -> ^1.5.9
Eliminate MODULE_TYPELESS_PACKAGE_JSON warning emitted by Node.js after the rspack v2 upgrade (ed0e097). The pure-ESM @rspack/cli v2 loads rspack.config.ts via Node's native TS loader, which double-parses the file when package.json lacks "type". - Add "type": "module" to package.json. - Add fileURLToPath/__dirname polyfill in rspack.config.ts so the four __dirname references keep working under ESM. - Change tsconfig "module" from "commonjs" to "ESNext" so tsc accepts import.meta.url (moduleResolution stays "node" to preserve the existing paths + @types resolution).
- Added docs/ to .gitignore to prevent local documentation from being tracked
- Bump @biomejs/biome from 2.3.15 to 2.4.13 - Relocate `noImportCycles` to suspicious and `noUselessUndefined` to complexity per new schema - Drop overridden `left: 50%` in spinner CSS to satisfy new `noDuplicateProperties` rule - Reorder type-only import in friendly-errors-webpack-plugin.d.ts
- Replace deprecated `moduleResolution: node` with `bundler` - Drop `baseUrl`/`paths` (deprecated in 6.0); replace wildcard resolution with explicit `types` for jquery/jqueryui/node/node-notifier - Rewrite @soda/friendly-errors-webpack-plugin.d.ts as ambient `declare module` so it no longer relies on `paths` - Ignore local `.pnpm-store/` to keep biome from scanning it
- Remove @soda/friendly-errors-webpack-plugin: rspack offers no built-in equivalent, but only the onErrors notify hook was used - Inline that hook is also removed since fork-ts-checker-notifier already covers TS errors via OS notifications - Drop now-unused node-notifier and @types/node-notifier deps and delete the obsolete module type shim
- Local Claude Code settings should not be checked in
- Update commitlint, secretlint, stylelint, postcss, webpack, etc. - Bump @types/jquery to v4 to align with jquery v4 - Refresh built assets to reflect updated runtime deps
- Upgrade @xmldom/xmldom past the deprecated 0.9.8 release - Refresh ajv, autoprefixer, brace-expansion and other transitive dependencies flagged by the audit
- Expose phpcs and phpcbf as composer scripts for easier invocation
- Switch resolve.modules from absolute path to relative 'node_modules' so the resolver walks up parent directories - Preventive fix: matches the same correction applied in sibling project; required if any future dep relies on pnpm's nested node_modules layout (transitive deps not hoisted to root)
- Align CI Biome version with local toolchain (commit 34e0ca7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore(deps): bump @rspack/cli and @rspack/core to v2