Menu

#Dist

6 posts

Feed·
6 of 6 posts
Dual ESM/CJS Publish in 2026: A Modern tsconfig + package.json Setup That Just Works
🖼️
0Read More

Dual ESM/CJS Publish in 2026: A Modern tsconfig + package.json Setup That Just Works

DEV Community·Gabriel Anhaia·6 months ago
#YwU28TbE
#typescript#esm#cjs#json#package

Dual ESM/CJS in 2026: exports map ordering, two tsconfigs, conditional first-match. The package-json setup that just works.

15s
The package.json exports Map Is the Most Important File You're Writing Wrong
🖼️
0Read More

The package.json exports Map Is the Most Important File You're Writing Wrong

DEV Community·Gabriel Anhaia·6 months ago
#ag6xW4KK
#typescript#javascript#exports#dist#types

Dual ESM/CJS, types-first ordering, deep-import blocking, and how attw plus publint catch the exports-map mistakes that npm publishes anyway.

15s
Publishing the Same Library to npm and JSR: One Was Pleasant
🖼️
0Read More

Publishing the Same Library to npm and JSR: One Was Pleasant

DEV Community·Gabriel Anhaia·6 months ago
#0r43hem5
#typescript#javascript#node#types#publish

Dual-publishing a TypeScript library exposes every sin in your exports map. Here is what npm tolerates, what JSR refuses, and what attw and publint catch.

15s
Setting Up Docker CI for Rust with cargo-dist
📰
0Read More

Setting Up Docker CI for Rust with cargo-dist

DEV Community·Wayne·6 months ago
#xZYM9t8m
#rust#docker#ci#linux#dist

How to set up a Docker CI pipeline for Rust using cargo-dist and GitHub Actions, with multi-architecture amd64 and arm64 support using distroless images.

15s