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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hyperjump Tech
April 16, 2024
Programming
59
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
63
Pull Request, Make & Review
hyperjump
3
48
Next.JS
hyperjump
3
32
Pull Request
hyperjump
3
27
IT Process & Delivery
hyperjump
3
48
Trunk Based Development
hyperjump
3
66
Mobile Application Security
hyperjump
3
57
Storage for the WEB
hyperjump
4
76
BIG-O Notation
hyperjump
3
71
Other Decks in Programming
See All in Programming
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
120
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
13k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
550
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
260
A2UI という光を覗いてみる
satohjohn
1
140
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
180
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
150
New "Type" system on PicoRuby
pocke
1
960
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.3k
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
250
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
610
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Context Engineering - Making Every Token Count
addyosmani
9
970
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
270
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