if you got a Typescript Project publish it over github developers will prefer it over the npm package because packaging already packaged eg isomorphic packages is a hell.
Ship a build script for your dependencys to bundle them with your script this allows other developers to integrate your pre existing bundling config.
You expect developers to install via npm? Then publish ESM only js + d.ts output most best only entrypoints and shared bundles per entryPoint. Again do not depend on package.json exports or resolve not even main! also not index.js