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
60
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
65
Pull Request, Make & Review
hyperjump
3
48
Next.JS
hyperjump
3
32
Pull Request
hyperjump
3
27
IT Process & Delivery
hyperjump
3
50
Trunk Based Development
hyperjump
3
66
Mobile Application Security
hyperjump
3
57
Storage for the WEB
hyperjump
4
78
BIG-O Notation
hyperjump
3
71
Other Decks in Programming
See All in Programming
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
270
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
6k
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
130
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
180
Performance Engineering for Everyone
elenatanasoiu
0
270
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
210
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
150
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
140
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
120
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
630
Creating Composable Callables in Contemporary C++
rollbear
0
210
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
340
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Believing is Seeing
oripsolob
1
170
The Curious Case for Waylosing
cassininazir
1
430
My Coaching Mixtape
mlcsv
0
170
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Building the Perfect Custom Keyboard
takai
2
810
Chasing Engaging Ingredients in Design
codingconduct
0
240
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
A Modern Web Designer's Workflow
chriscoyier
698
190k
First, design no harm
axbom
PRO
2
1.2k
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