Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #47852 Switch all packages to type=module (ESM)
    Infos
    #47852
    Joris MASSON (jmasson)
    2026-09-10 17:58
    2026-09-10 17:58
    49600
    Details
    Switch all packages to type=module (ESM)

    All package.json files in Tuleap should have "type"="module" to switch to ES modules by default. Since request #27548 is finished and Jest is gone, there is no obvious reason binding us to CommonJS anymore (excluding surprises, of course…).

    Switching to ESM should simplify our build steps : we can drop UMD builds for libraries, we can drop "require" rules for "imports" blocks in package.json.

    As a side-quest, we can also remove types from the root package.json. TypeScript should now use moduleResolution: bundler and follow rules from imports, so it should not be needed anymore.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Under implementation
    Empty
    Attachments
    Empty
    References