Menu

#Dist

9 posts

Feed·
9 of 9 posts
Protecting a TypeScript library you publish: ship typings, hide the implementation
🖼️
0Read More

Protecting a TypeScript library you publish: ship typings, hide the implementation

DEV Community: javascript·VEILVM·5 days ago
#YzwkkcNt
#devtojavascript#devto#dev#dist#index

If you publish a TypeScript library — especially a paid SDK — you want two things that look like they...

15s
Replace email attachments in CI — upload a ZIP from GitHub Actions and get a shareable link
📰
0Read More

Replace email attachments in CI — upload a ZIP from GitHub Actions and get a shareable link

DEV Community: github·TiniDrop·10 days ago
#AKqFXOq2
#devtogithub#technology#devto#dev#upload

Your CI already builds the artifact. Then someone pastes it into Slack as a 40 MB attachment — or...

15s
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·7 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·7 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·7 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·7 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