🛠️ Frontend Infrastructure @ yotpo.com
Had the pleasure to dive in ✅️ breakproof.dev with Steve and geek out about resilient yet easy-to-upgrade software.
Give it a listen: open.spotify.com/episode/5PXTuXCnlUDowuV0FGT0vq
Thank you @danshappir.bsky.social for making this happen!
Had the pleasure to dive in ✅️ breakproof.dev with Steve and geek out about resilient yet easy-to-upgrade software.
Give it a listen: open.spotify.com/episode/5PXTuXCnlUDowuV0FGT0vq
Thank you @danshappir.bsky.social for making this happen!
lnkd.in/djGuvjTc
In 2 days I'm talking (in Bulgarian) about building software that lasts; in particular the open source project breakproof.dev that Yotpom.com uses internally
0 deep abstractions — using tools directly in a way to help NOT only developers but AI & CI too
lnkd.in/djGuvjTc
In 2 days I'm talking (in Bulgarian) about building software that lasts; in particular the open source project breakproof.dev that Yotpom.com uses internally
0 deep abstractions — using tools directly in a way to help NOT only developers but AI & CI too
bsky.app/profile/pnpm...
pnpm.io/blog/release...
bsky.app/profile/pnpm...
Why TS team uses `𝗧𝘆𝗽𝗲[]` for error msgs? Isn't the utility `𝗥𝗲𝗰𝗼𝗿𝗱<𝗧𝘆𝗽𝗲>` showing the preference? Isn't `𝗧𝘆𝗽𝗲[][]` sillier when compared to `𝗔𝗿𝗿𝗮𝘆<𝗔𝗿𝗿𝗮𝘆<𝗧𝘆𝗽𝗲>>`, especially if you read it out load.
I feel there is a clear winner?
Why TS team uses `𝗧𝘆𝗽𝗲[]` for error msgs? Isn't the utility `𝗥𝗲𝗰𝗼𝗿𝗱<𝗧𝘆𝗽𝗲>` showing the preference? Isn't `𝗧𝘆𝗽𝗲[][]` sillier when compared to `𝗔𝗿𝗿𝗮𝘆<𝗔𝗿𝗿𝗮𝘆<𝗧𝘆𝗽𝗲>>`, especially if you read it out load.
I feel there is a clear winner?
1) surface errors as-early-as-possible (think ~TS & ~lint)
2) mock as-close-as-possible-to-production (think ~MSW)
3) clearly separate vendor-specific logic (our needs vs framework or lib)
1) surface errors as-early-as-possible (think ~TS & ~lint)
2) mock as-close-as-possible-to-production (think ~MSW)
3) clearly separate vendor-specific logic (our needs vs framework or lib)
In breakproof.dev we snapshot existing errors and fail only for new ones. Allows us to upgrade TS or make it stricter now, and gradually fix errors
In breakproof.dev we snapshot existing errors and fail only for new ones. Allows us to upgrade TS or make it stricter now, and gradually fix errors
@danshappir.bsky.social I got so much I want to say🥴, but maybe start with: there is a way to just rename all files to `.ts` (without any code changes) AND have strict mode at the same time 🥸
@danshappir.bsky.social I got so much I want to say🥴, but maybe start with: there is a way to just rename all files to `.ts` (without any code changes) AND have strict mode at the same time 🥸
I fixed this locally in 5 mins thanks to the amazing patch ability of @pnpm.io (kudos @kochan.io!) and the LLMs era of code editors
I fixed this locally in 5 mins thanks to the amazing patch ability of @pnpm.io (kudos @kochan.io!) and the LLMs era of code editors
@sxzz.dev
bundler.sxzz.dev
#ECMAScript #JavaScript
It only skips checks for .𝗱.𝘁𝘀 files. If you develop a 𝗧𝗦 lib in your own monorepo used only by your projects, you still must run 𝘁𝘀𝗰 for your lib. Otherwise checking your project for TS errors will also show the lib errors
It only skips checks for .𝗱.𝘁𝘀 files. If you develop a 𝗧𝗦 lib in your own monorepo used only by your projects, you still must run 𝘁𝘀𝗰 for your lib. Otherwise checking your project for TS errors will also show the lib errors