Skip to content

Migrate from cjs to esm #9890

Closed

Description

@viceice

What would you like Renovate to be able to do?
As more and more dependencies are only available as esm we should also start transitioning to esm.

Full esm is supported since node v12.22, v14 has no stable esm

Did you already have any implementation ideas?

  1. First start publishing renovate as cjs and esm, so downstream projects can start testing esm too.
  2. Remove cjs from renovate

Blocker

Activity

  1. added
    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others
    status:blockedIssue is blocked by another issue or external requirement
    on May 6, 2021
  2. changed the title [-]Switch from cjs to esm[/-] [+]Migrate from cjs to esm[/+] on May 6, 2021
  3. viceice commented on May 6, 2021

    @viceice
    MemberAuthor
  4. viceice commented on May 6, 2021

    @viceice
    MemberAuthor

    v14 is esm stable too, but docs update not yet released. So will probably come with v14.17.0.

    ref: nodejs/node#38409 nodejs/node#38480 nodejs/node#37719 nodejs/node#35781 nodejs/node@c1af593

  5. added
    breakingBreaking change, requires major version bump
    on May 6, 2021
  6. thernstig commented on May 7, 2021

    @thernstig

    Full esm is supported since node v12.22, v14 has no stable esm

    I just happened to stumble upon this, and wanted to be a nice citizen 😄

    v14 does have stable ESM support, that is just a bug in the docs. See nodejs/node#38409

  7. voxpelli commented on Aug 7, 2021

    @voxpelli

    Was this solved by #9887 or additional work needed? Found some comments in #11133 around ESM that confused me. Is ESM modules considered not usable by Renovate yet or?

  8. viceice commented on Aug 7, 2021

    @viceice
    MemberAuthor

    See description of issue, this is blocked by jest issue.

  9. HonkingGoose commented on Sep 8, 2021

    @HonkingGoose
    Contributor

    @viceice would having this in Jest be enough to get us going?

    jestjs/jest#11818

  10. viceice commented on Sep 8, 2021

    @viceice
    MemberAuthor

    @viceice would having this in Jest be enough to get us going?

    facebook/jest#11818

    I don't think so, it's very basic and experimental. Lets wait for more stabillity.

  11. rarkins commented on Dec 18, 2021

    @rarkins
    Contributor

    Blocked by #13181

  12. added
    priority-2-highBugs impacting wide number of users or very important features
    and removed
    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others
    on Aug 20, 2023
  13. added
    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others
    and removed
    priority-2-highBugs impacting wide number of users or very important features
    on Oct 26, 2023
  14. removed
    status:blockedIssue is blocked by another issue or external requirement
    on Jan 26, 2026
  15. added this to the v43 milestone on Jan 26, 2026
  16. linked a pull request that will close this issuefeat!: Release Renovate 43 #40679on Jan 29, 2026
  17. locked as resolved and limited conversation to collaborators on Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

breakingBreaking change, requires major version bumppriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

Fields

Priority

None yet

Datasource

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions