Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Develop NPM Package Locally
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hyperjump Tech
April 16, 2024
Programming
58
3
Share
Develop NPM Package Locally
NPM Package development
Hyperjump Tech
April 16, 2024
More Decks by Hyperjump Tech
See All by Hyperjump Tech
Web Development Tips
hyperjump
3
62
Pull Request, Make & Review
hyperjump
3
48
Next.JS
hyperjump
3
31
Pull Request
hyperjump
3
26
IT Process & Delivery
hyperjump
3
43
Trunk Based Development
hyperjump
3
65
Mobile Application Security
hyperjump
3
57
Storage for the WEB
hyperjump
4
74
BIG-O Notation
hyperjump
3
69
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
今さら聞けないCancellationToken
htkym
0
200
AIとRubyの静的型付け
ukin0k0
0
450
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
240
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
11
3.1k
OSもどきOS
arkw
0
320
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
470
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
160
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
390
Swiftのレキシカルスコープ管理
kntkymt
0
200
inferと仲良くなる10分間
ryokatsuse
1
280
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
52k
Automating Front-end Workflow
addyosmani
1370
210k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
370
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Accessibility Awareness
sabderemane
1
130
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Test your architecture with Archunit
thirion
1
2.3k
Navigating Weather and Climate Data
rabernat
0
200
The Curse of the Amulet
leimatthew05
1
13k
Designing for Timeless Needs
cassininazir
1
240
Transcript
Developing NPM Package Locally W I T H M O
N O R E P O
None
None
Problem Statement Redundant notification channels code Redundant type declaration Can
import only notification package to symon
None
Solution Offered • Monorepo > workspace
None
Why Monorepo? • Share eslint/ts config, utils, documentation • Share
library and dependency
Monorepo tools
None
Let's start from basic What we need to do? •
Extract separate package monika • Import package notification in monika
Using Workspaces • Workspaces are the building blocks of your
monorepo. Each app and package you add to your monorepo will be inside its own workspace.
Creating a new package in the monorepo workspace
Adding dependencies and configuring the package
Demo monika & Symon •Building and testing the package locally
•Making changes and updates to the package
vs Don't be scared to start
Publishing the package to the NPM registry
Inti dari publishing to NPM registry
Publish pakai repo sendiri bisa
None
T H A N K Y O U , S
E L A M A T M U D I K