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
Hyperjump Tech
April 16, 2024
Programming
3
46
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
57
Pull Request, Make & Review
hyperjump
3
41
Next.JS
hyperjump
3
22
Pull Request
hyperjump
3
20
IT Process & Delivery
hyperjump
3
28
Trunk Based Development
hyperjump
3
60
Mobile Application Security
hyperjump
3
49
Storage for the WEB
hyperjump
4
51
BIG-O Notation
hyperjump
3
50
Other Decks in Programming
See All in Programming
NEWT Backend Evolution
xpromx
1
140
CDK引数設計道場100本ノック
badmintoncryer
2
480
RailsGirls IZUMO スポンサーLT
16bitidol
0
200
MCPを使ってイベントソーシングのAIコーディングを効率化する / Streamlining Event Sourcing AI Coding with MCP
tomohisa
0
170
PipeCDのプラグイン化で目指すところ
warashi
1
310
商品比較サービス「マイベスト」における パーソナライズレコメンドの第一歩
ucchiii43
0
180
TypeScriptでDXを上げろ! Hono編
yusukebe
3
770
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
170
レトロゲームから学ぶ通信技術の歴史
kimkim0106
0
110
テスト駆動Kaggle
isax1015
1
630
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
880
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Facilitating Awesome Meetings
lara
54
6.5k
Unsuck your backbone
ammeep
671
58k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Raft: Consensus for Rubyists
vanstee
140
7k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Music & Morning Musume
bryan
46
6.7k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
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