Skip to content

Merge back to oxc-resolver? #167

Closed as not planned
Closed as not planned

Description

@Boshen

Reasons:

  • We are landing oxc-resolver into vite.
  • Syncing the two resolvers is tedious for everyone, including people who need to make modifications (e.g. arcanis).
  • I'm going to enable yarn pnp in oxc-resolver's napi version, given the only problem I had is fixed (large binary size) in pnp = "0.10.0".
  • All the changes listed in README.md should be merged back.

I can give you write permission to the repo, if you think this is the correct direction for all of us.

Activity

  1. JounQin commented on Jun 26, 2025

    @JounQin
    Member

    @Boshen I totally agree for this! I forked oxc-resolver/rspack-resolver as unrs-resolver due to the P'n'P issue actually and wanted to move fast to fix the issues reported from eslint-plugin-import-x and eslint-import-resolver-typescript.

    While something in concern is that it seems oxc-resolver's version bumps too fast.

    cc @SukkaW and @9romise

    Secondly, I don't know is there any possible to union rspack-resolver at the same time, I didn't know would there still be any challenge since P'n'P will be also supported after oxc-project/oxc-resolver#576.

    For rspack-resolver, the biggest difference is async fs: rstackjs/rspack-resolver#38

    cc @stormslowly @chenjiahan @hardfist

  2. Boshen commented on Jun 26, 2025

    @Boshen
    ContributorAuthor

    While something in concern is that it seems oxc-resolver's version bumps too fast.

    Let me tweak the breaking change bump, it's annoying for npm packages. oxc-project/oxc-resolver@83405a2

  3. Boshen commented on Jun 26, 2025

    @Boshen
    ContributorAuthor

    Given the agreement, can you back port the changes, while I clean up all the other things.

  4. JounQin commented on Jun 26, 2025

    @JounQin
    Member

    While something in concern is that it seems oxc-resolver's version bumps too fast.

    Let me tweak the breaking change bump, it's annoying for npm packages. oxc-project/oxc-resolver@83405a2

    I migrated to use commit_parsers section in release-plz.toml directly together with custom changelog template for contributors mention, that would inspire more contributors I think.

    And is the config reversed? I'd expect feature as minor, breaking as major?

    features_always_bump_minor = true
    breaking_always_bump_major = false

    Edit: changelog_config = "cliff.toml" should be removed, cliff.toml is unnecessary anymore.

  5. JounQin commented on Jun 26, 2025

    @JounQin
    Member

    Given the agreement, can you back port the changes, while I clean up all the other things.

    @Boshen

    Sure! But I'm not quite free enough these days, I think it would take me one or two days for the back port, I don't have time even in this weekend due to my family travel plan.

    By the way, I'd apply for join the @oxc-project for future oxc related projects like https://github.com/un-ts/oxc-jest.

  6. JounQin commented on Jun 26, 2025

    @JounQin
    Member

    @Boshen Additionally I'm very interested in oxlint at least in the import rules scope because I'm also maintaining https://github.com/un-ts/eslint-plugin-import-x which results unrs-resolver at the first place.

  7. Boshen commented on Jun 26, 2025

    @Boshen
    ContributorAuthor

    Re oxc-jest and oxlint: I can get you to work on these.

  8. JounQin commented on Jun 26, 2025

    @JounQin
    Member

    @Boshen Would you mind to invite me into the org now and then I can try to do the back-port work when I got free?

  9. Boshen commented on Jun 26, 2025

    @Boshen
    ContributorAuthor

    @Boshen Would you mind to invite me into the org now and then I can try to do the back-port work when I got free?

    https://github.com/oxc-project/oxc-resolver/invitations Here is your write access to oxc-resolver.

  10. SukkaW commented on Aug 11, 2025

    @SukkaW

    Just slightly off-topic: what happens to rspack-resolver then? Ideally, rspack-resolver could be a very lightweight JS wrapper around oxc-resolver while oxc-resolver provides all the functionality aligning with enhanced-resolve.

    cc @Boshen

  11. JounQin commented on Aug 12, 2025

    @JounQin
    Member

    rspack-resolver team wants more self control, especially async fs rstackjs/rspack-resolver#38

  12. JounQin commented on Oct 27, 2025

    @JounQin
    Member

    I was very busy these days in my own business work, so I haven't made much progress yet, eslint-community/eslint-import-context#27 was already merged, but everytime I tried to migrate at un-ts/eslint-plugin-import-x#422, there were some new regressions caused by upstream:

    Considering the original issue #56, I still can't migrate to oxc-resolver without issues.

  13. KuSh commented on Apr 29, 2026

    @KuSh

    Hi @JounQin, any news? any way to help?

  14. Boshen commented on Apr 29, 2026

    @Boshen
    ContributorAuthor

    I decided to revert some of the changes that were merged back into oxc-resolver.

    This fork is inevitably fine to exist as we approach matters differently.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions