LearningTypeScript / projects

Hands-on real world projects that will help you exercise your knowledge of TypeScript.
https://learningtypescript.com/projects
244 stars 166 forks source link

fix: used a zx script for running changed solutions #258

Closed JoshuaKGoldberg closed 1 year ago

JoshuaKGoldberg commented 1 year ago

PR Checklist

Overview

Uses zx to write a JavaScript script that:

  1. Collects all the unique changed projects
  2. Runs the specified command in each of them
  3. Complains if any failed

In theory this is all doable in bash. In practice I'm much better at JS/TS. 😄

Doesn't convert other scripts/*.sh files to a JS script. To my knowledge they're working file. This same conversion could be done to them later if needed.

Screenshot of running the command in a terminal, showing a passing test passing and a failing test causing a failure notice

JoshuaKGoldberg commented 1 year ago

FYI @fuadop since you'd put time into the old file. It's a good one - thank you again! 💖