Anton Stoychev's Avatar

Anton Stoychev

@stoychev.dev.bsky.social

✅️ Lead maintainer of breakproof.dev 🛠️ Frontend Infrastructure @ yotpo.com

13 Followers  |  48 Following  |  23 Posts  |  Joined: 27.11.2024  |  1.7224

Latest posts by stoychev.dev on Bluesky

I wonder if chatting with AI will distort what is considered "ok way to communicate with peers" 😀

09.08.2025 14:47 — 👍 0    🔁 0    💬 0    📌 0

With the changes to the lockfile format and the new types of fetchers that were added to pnpm, now it is really easy to make pnpm an installer for anything

bsky.app/profile/pnpm...

31.07.2025 14:32 — 👍 15    🔁 2    💬 0    📌 0
Post image

Which 𝘀𝘁𝘆𝗹𝗲 makes it clear the function returns an array?

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?

20.07.2025 09:52 — 👍 0    🔁 0    💬 0    📌 0

Out of all possible human tasks, or even coding tasks, do you want to leave for us editing yaml files with obscure errors and slow feedback loop?

01.07.2025 04:44 — 👍 0    🔁 0    💬 0    📌 0

Training copilot specifically to agentically iterate over @github.com actions (being able to run them & read the errors) would save humans DECADES 😌️ Even with all of `actionlint, `act` and/or git pushes, the github CICD dev process is stuck in the past, prone to TON of sneaky AI hallucinations

01.07.2025 04:22 — 👍 0    🔁 0    💬 1    📌 0

wow, it feels like you are going to look up a lot? I see 🔮️ neck problems in your future.

30.06.2025 14:20 — 👍 0    🔁 0    💬 1    📌 0

Our team did a 3 day intense onsite planning our next big project, and here the top 3 rules for us & AI:

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)

30.06.2025 06:33 — 👍 0    🔁 0    💬 0    📌 0

I ❤️ the pod about errors on @syntax.fm! 1 extra thing maybe worth mentioning @wesbos.com @tolin.ski is that errors often get falsely "silenced" because "catch" catches all errors and devs don't check the type. That's why in yotpo.com we lint all catch statements to make sure error type is verified 🤌

14.06.2025 13:52 — 👍 0    🔁 0    💬 0    📌 0
Post image

Moving codebases to newer or stricter TS in 1 go is often impossible (can't stop dev for so long, risk many bugs at once or know all the correct types)

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

08.06.2025 06:12 — 👍 1    🔁 0    💬 0    📌 0

What a timing! Latest #jsjabber not only mentions but dedicates episode to JS->TS migration.

@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 🥸

07.06.2025 06:27 — 👍 1    🔁 0    💬 0    📌 0

It's a very fitting logo of not-symmetric hexagons, I love it. It's obvious something needs to be aligned 😄️.

Anyways, thank you so much for eslint 🙇️. I've never stopped saying it's not just a code check tool — it's a learning tool for many people, and now it's a tool for AI context & correction.

04.06.2025 17:12 — 👍 1    🔁 0    💬 1    📌 0
Preview
GitHub - cosmiconfig/cosmiconfig: Find and load configuration from a package.json property, rc file, TypeScript module, and more! Find and load configuration from a package.json property, rc file, TypeScript module, and more! - cosmiconfig/cosmiconfig

Ton of npm libs use github.com/cosmiconfig/... to load their config files. But, today I learned, if nodejs dies, the temporarily file created by cosmiconfig remains 🤷‍♂️

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

03.06.2025 18:33 — 👍 2    🔁 1    💬 0    📌 0

I recently had someone in the team accidentally push to a repo without a protected main branch. I feel like this choice makes GitHub repo rules even more needed :)

03.06.2025 11:53 — 👍 1    🔁 0    💬 1    📌 0

Hahaha. Love it! I mean it feels "the best kind of hacky", the natural web power I felt when I was little and I could make buttons show in growse red and blue in Dreamweaver.

02.06.2025 20:07 — 👍 0    🔁 0    💬 0    📌 0

The vibe rules sounded like something that will totally be built-in code editor in the future! I loved the @types/ reference 🙏. This is something I'm 100% sharing with my team. Thank you!

02.06.2025 20:04 — 👍 1    🔁 0    💬 1    📌 0

I mean, you must try the giant underground salt mines north of Bucharest! It's sureal.

02.06.2025 20:01 — 👍 1    🔁 0    💬 1    📌 0

It already is! The thing our team wishes for Christmas is a stable version with CSS modules and golden path for autoscaling deployment.

02.06.2025 19:59 — 👍 1    🔁 0    💬 0    📌 0

Wait isn't this just a playlist file? You still need to host the video files somewhere, no?

02.06.2025 19:55 — 👍 1    🔁 0    💬 1    📌 0

I'm guessing you can give it context/docs around both technologies with smth similar to LLM.txt? We are using Cursor and their "rules" files improved the output A TON.

02.06.2025 19:52 — 👍 0    🔁 0    💬 0    📌 0

+1

02.06.2025 05:03 — 👍 4    🔁 0    💬 1    📌 0

Quite nice little educational tool — seeing the difference between bundlers outputs.

02.06.2025 04:33 — 👍 0    🔁 1    💬 0    📌 0
Post image

𝘀𝗸𝗶𝗽𝗟𝗶𝗯𝗖𝗵𝗲𝗰𝗸 is a 𝗧𝗦 config for skipping 𝗧𝗦 checks of libraries, 𝘳𝘪𝘨𝘩𝘵? 𝗡𝗼

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

01.06.2025 07:38 — 👍 0    🔁 0    💬 0    📌 0

Fantastic 😍 . I don't think I can DM you, so just let me know if you prefer video call or messages + your availability. I know you have a long weekend ahead of you (~already in it) so respond whenever you feel like talking about that + CI/CD, combination with eslint, other tools, all the fun.

31.05.2025 18:23 — 👍 1    🔁 0    💬 0    📌 0
Preview
GitHub - YotpoLtd/breakproof-base-monorepo: 📄 A pnpm monorepo template where each tool lives in its own package, runs its own version of Node.js and provides strict default config to be used by your p... 📄 A pnpm monorepo template where each tool lives in its own package, runs its own version of Node.js and provides strict default config to be used by your projects and the built-in optimized CI/CD ...

In the latest #jsjabber episode, @danshappir.bsky.social mentioned (once again) the dreaded topic: "how to move to typescript from js". If by chance you see this, in yotpo.com we are using one maybe interesting approach with breakproof.dev where we snapshot existing TS errors and stop new ones

31.05.2025 08:28 — 👍 4    🔁 1    💬 1    📌 0

@stoychev.dev is following 20 prominent accounts