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
42
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
52
BIG-O Notation
hyperjump
3
51
Other Decks in Programming
See All in Programming
新世界の理解
koriym
0
130
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
710
대규모 트래픽을 처리하는 프론트 개발자의 전략
maryang
0
120
構文解析器入門
ydah
7
2.1k
Flutterと Vibe Coding で個人開発!
hyshu
1
250
プロダクトという一杯を作る - プロダクトチームが味の責任を持つまでの煮込み奮闘記
hiliteeternal
0
450
PHPUnitの限界をPlaywrightで補完するテストアプローチ
yuzneri
0
400
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.5k
kiroでゲームを作ってみた
iriikeita
0
150
iOS開発スターターキットの作り方
akidon0000
0
240
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
200
バイブコーディング × 設計思考
nogu66
0
110
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Visualization
eitanlees
146
16k
How STYLIGHT went responsive
nonsquared
100
5.7k
Faster Mobile Websites
deanohume
308
31k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
A Tale of Four Properties
chriscoyier
160
23k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Being A Developer After 40
akosma
90
590k
RailsConf 2023
tenderlove
30
1.2k
The Language of Interfaces
destraynor
158
25k
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