eslint-plugin-import-x icon indicating copy to clipboard operation
eslint-plugin-import-x copied to clipboard

chore(deps): migrate unrs-resolver to new oxc-resolver

Open JounQin opened this issue 3 months ago • 7 comments

[!IMPORTANT] Migrate from unrs-resolver to oxc-resolver, update dependencies, and refine CI configuration without affecting public API or runtime behavior.

  • Dependencies:
    • Replace unrs-resolver with oxc-resolver in package.json and node-resolver.ts.
    • Update various dependencies and devDependencies in package.json.
  • CI:
    • Narrow CI matrix in .github/workflows/ci.yml by commenting out certain OS and Node.js versions.
  • Code:
    • Add error logging in createNodeResolver() in node-resolver.ts.
    • Update return type of declaredScope() in declared-scope.ts to ScopeType | undefined.
  • Tests:
    • Update test environment variables in .env.yarn.
    • Modify package.json in yarn-pnp and test-package to use oxc-resolver.

This description was created by Ellipsis for 910f54a8e296513f5dcbf01c40ff27138a433ba9. You can customize this summary. It will automatically update as commits are pushed.


Summary by CodeRabbit

  • Chores
    • Updated many dependencies and devDependencies (tooling, linters, TypeScript, build/test tools); no user-facing changes.
  • Refactor
    • Swapped the internal module resolver for an equivalent alternative.
  • Tests
    • Adjusted test fixture dependency resolutions, added test env vars, tweaked patch metadata and lint scripts to ensure consistent installs; behavior unchanged.
  • CI
    • Narrowed CI matrix to fewer platform/Node combinations.
  • Notes
    • Public API and runtime behavior remain unchanged.

JounQin avatar Aug 19 '25 08:08 JounQin