npm pack for local package dependency testing
A guide to using npm pack for testing local package dependencies, offering a more reliable alternative to npm link.
Jason Watmore is a web developer from Sydney, Australia, with coding experience since 1998. He runs a small business and shares practical, real-world web development tutorials with concise explanations and working code samples.
9 articles from this blog
A guide to using npm pack for testing local package dependencies, offering a more reliable alternative to npm link.
A JavaScript tutorial on calculating business days, excluding weekends and holidays, using the date-holidays npm package.
Tutorial on deploying a .NET 6 API to AWS Lambda, integrating with AWS RDS (SQL Database) and SES (Email Service).
How to type a ...rest parameter in a TypeScript interface using an index signature, demonstrated in a React/Next.js NavLink component.
A tutorial on building a user registration, login, and management (CRUD) application using Next.js 13 with the App Router, TypeScript, React, and MongoDB.
A tutorial on creating a simple HTML encoding function in vanilla JavaScript to safely display code samples on web pages.
A tutorial on creating a JavaScript function to convert any string into a URL-friendly slug, with a live demo.
A developer shares a solution for a Next.js 13 App Router issue where client components with 'use client' hang when using async/await with fetch in useEffect.
A tutorial on wrapping JavaScript object methods in try/catch blocks for centralized error handling using Vanilla JS.