Remix.run Logo
spankalee 4 days ago

Compile the packages to JavaScript before publishing. We absolutely should but be publishing TypeScript to npm.

rovingeye 4 days ago | parent | next [-]

I can understand the argument, since npm has no solution for TypeScript packages, unlike JSR:

"You publish TypeScript source, and JSR handles generating API docs, .d.ts files, and transpiling your code for cross-runtime compatibility."

Still would have been nice to have this for private packages.

This makes Deno/Bun much more attractive alternatives

paradite 4 days ago | parent [-]

JSR does that? Now that might be a good reason to move my packages over to get rid of tsup.

cyberax 4 days ago | parent | prev [-]

As an additional compat dist? Maybe. Otherwise, just leave TS as-is. It simplifies debugging and would allow things like static Hermes to work.