Tagged articles
4 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Sep 2, 2024 · Backend Development

How to Publish a Fully Production‑Ready npm Package from Scratch

This step‑by‑step guide shows how to initialize a Git repository, configure TypeScript, Prettier, Vitest, CI with GitHub Actions, set up package metadata, use Changesets for versioning, and finally build and publish a production‑ready npm package.

CIGitHub ActionsPrettier
0 likes · 19 min read
How to Publish a Fully Production‑Ready npm Package from Scratch
Liangxu Linux
Liangxu Linux
Aug 26, 2022 · Backend Development

How to Publish an npm Package: Step‑by‑Step Guide for Node Developers

This guide walks you through installing Node.js, creating an npm account, initializing a Git repository, setting up package metadata with npm init, testing locally, logging in, and finally publishing or removing a package on the npm registry, complete with command examples and best‑practice tips.

Node.jsnpmpackage publishing
0 likes · 7 min read
How to Publish an npm Package: Step‑by‑Step Guide for Node Developers
ELab Team
ELab Team
Nov 25, 2021 · Operations

Mastering Multi‑Package Publishing in Monorepos with Rush and pnpm

This article explains how to efficiently manage multi‑package publishing in large monorepos using Rush and pnpm, covering workspace protocol, changefile generation, cascading version updates, workflow automation, and release acceleration techniques to reduce build and publish times.

MonorepoVersioningpackage publishing
0 likes · 19 min read
Mastering Multi‑Package Publishing in Monorepos with Rush and pnpm
Sohu Tech Products
Sohu Tech Products
Nov 13, 2019 · Frontend Development

How to Properly Publish an NPM Package: Best Practices and Guidelines

This article explains the complete workflow for publishing a high‑quality NPM package, covering component‑oriented thinking, directory and configuration conventions, package.json standards, development processes, commit and changelog practices, quality assurance with linting, testing and type systems, as well as documentation and demo requirements.

best practicescomponent developmentfrontend
0 likes · 20 min read
How to Properly Publish an NPM Package: Best Practices and Guidelines