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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Hyperjump Tech
April 16, 2024
Programming
3
53
Develop NPM Package Locally
NPM Package development
Hyperjump Tech
April 16, 2024
Tweet
Share
More Decks by Hyperjump Tech
See All by Hyperjump Tech
Web Development Tips
hyperjump
3
61
Pull Request, Make & Review
hyperjump
3
46
Next.JS
hyperjump
3
27
Pull Request
hyperjump
3
24
IT Process & Delivery
hyperjump
3
35
Trunk Based Development
hyperjump
3
63
Mobile Application Security
hyperjump
3
54
Storage for the WEB
hyperjump
4
67
BIG-O Notation
hyperjump
3
59
Other Decks in Programming
See All in Programming
AI 開発合宿を通して得た学び
niftycorp
PRO
0
160
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
370
CSC307 Lecture 15
javiergs
PRO
0
260
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
410
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
250
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
600
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
130
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
120
Windows on Ryzen and I
seosoft
0
340
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
150
存在論的プログラミング: 時間と存在を記述する
koriym
3
310
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
230
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
140
How to train your dragon (web standard)
notwaldorf
97
6.6k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
230
How to Ace a Technical Interview
jacobian
281
24k
Between Models and Reality
mayunak
2
240
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
280
Making Projects Easy
brettharned
120
6.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
200
Why Our Code Smells
bkeepers
PRO
340
58k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
410
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