ms-jpq / typescript-interview-stainless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript Interview Repo

Preferred Stack

I chose a language agnostic dev stack on purpose. i.e. choosing watchexec over nodemon

This is to avoid language specific churn, as I am often switching between half a dozen languages from day to day.

Dependencies

  • node: 20+, I want to use the built-in test framework, 1 less external dependency, 1 less thing to break.

  • bash (4+) & gmake: macos: brew install -- bash make, windows: winget install -- ezwinports.make (git bash is ok)

Commands

  • (g)make fmt

  • (g)make lint

  • (g)make build

  • (g)make test

  • (g)make dev: runs lint, build, test in parallel

FAQ

Do I need to run npm install?

  • No, Make does it for you.

Why Make as task runner?

  • It's literally everywhere

  • It's got easy parallelism

  • Nobody will break my code in the next three decades

package-lock.json ignored?

  • Look, GitHub's CI is free for open repos, and I got like 50 of them.

  • I just pin everything to edge and run CI every day, I'll fix / modernize when things break.

  • Obviously for work projects it's different.

About


Languages

Language:TypeScript 76.8%Language:Makefile 18.0%Language:JavaScript 5.2%