Publish NPM Packages & Automate with GitHub Actions

  Рет қаралды 935

TomDoesTech

TomDoesTech

Күн бұрын

Пікірлер
@uquantum
@uquantum 29 күн бұрын
Thanks Tom, very useful!
@SeanCassiere
@SeanCassiere Ай бұрын
Definiely a good starting point for a single package. In my opinion, if you plan making this a serious package (like bindings for different frameworks or you want to modularize your library), you'd probably want your starting point to be a part of a monorepo (like with pnpm's built-in workspaces solution). From easily being able to write your documentation within the same repository or having example projects (like those that are runnable via stackblitz), having your starting point be a monorepo I've found to be quite blessing.
@euanmorgann
@euanmorgann Ай бұрын
Return of the king 👑
@johnkucharsky6927
@johnkucharsky6927 Ай бұрын
your package behave differently, Promise.all doesn't have this const promises = Object.values(data).map((fn) => fn());. Did you do this for purpose? It's convenient, but might be confusing. It's better to call functions like this: const second = async function () { return "one"; }; const promiseObject = { first: Promise.resolve({ p: 1 }), second: second(), third: Promise.resolve(true), };
@TomDoesTech
@TomDoesTech Ай бұрын
@@johnkucharsky6927 I don't understand what the problem is
How I Would Build a Software System for Scale
15:54
TomDoesTech
Рет қаралды 6 М.
Publish to NPM with GitHub Actions
17:13
Jamie Barton
Рет қаралды 2,6 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Use This to 10x Your Portfolio Projects
11:48
TomDoesTech
Рет қаралды 1,9 М.
Why Your Backend Shouldn't Serve Files
19:40
Boot dev
Рет қаралды 44 М.
Zed Text Editor. A VSCode alternative?
15:51
Infralovers GmbH
Рет қаралды 9 М.
🤖 automating npm publish with github actions
11:23
Brad Garropy
Рет қаралды 12 М.
Why I'm Using This One Library for Server Actions in Next.js
9:13
TomDoesTech
Рет қаралды 1,4 М.
Real 10x Programmers Are SLOW To Write Code
14:51
Thriving Technologist
Рет қаралды 69 М.
How I Brute Forced My Way Into Becoming a Software Engineer
10:06
TomDoesTech
Рет қаралды 1,2 М.
Stop Mocking Your Database! Use Testcontainers in .NET
15:59
Milan Jovanović
Рет қаралды 6 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41