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
61
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
50
Next.JS
hyperjump
3
32
Pull Request
hyperjump
3
29
IT Process & Delivery
hyperjump
3
53
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
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
100
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
350
FDEが実現するAI駆動経営の現在地
gonta
2
280
Foundation Models frameworkで画像分析
ryodeveloper
1
600
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
500
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
180
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
300
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
480
仕様駆動開発の消費期限
watany
19
7.6k
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
源内ハンズオン概要編
hideg
0
150
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
250
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Prompt Engineering for Job Search
mfonobong
0
400
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
630
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Documentation Writing (for coders)
carmenintech
77
5.4k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Raft: Consensus for Rubyists
vanstee
141
7.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
320
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
680
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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