Skip to content

chore(deps): bump @rspack/cli and @rspack/core to v2#126

Merged
sectsect merged 13 commits into
masterfrom
update-dependencies-apr2026
Apr 28, 2026
Merged

chore(deps): bump @rspack/cli and @rspack/core to v2#126
sectsect merged 13 commits into
masterfrom
update-dependencies-apr2026

Conversation

@sectsect

Copy link
Copy Markdown
Owner

chore(deps): bump @rspack/cli and @rspack/core to v2

sectsect added 13 commits April 26, 2026 13:53
- @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)
@sectsect sectsect merged commit 8f18321 into master Apr 28, 2026
10 checks passed
@sectsect sectsect deleted the update-dependencies-apr2026 branch April 28, 2026 03:07
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.

1 participant