[Pkg-javascript-devel] Bug#1010602: pkg-js-tools should run require test when node#exports#require is specified in package.json

Jérémy Lal kapouer at melix.org
Sun Dec 14 20:44:57 GMT 2025


Package: pkg-js-tools
Version: 0.16.0
Followup-For: Bug #1010602

Example of one case where we don't want require to be tested:

node-luxon/types-luxon/package.json

    "main": "",
    "types": "index.d.ts",
    "exports": {
        ".": {
            "import": "./index.d.mts",
            "require": "./index.d.ts"
        },
        "./package.json": "./package.json"
    },

the package.json#type field isn't defined.



More information about the Pkg-javascript-devel mailing list