LearningTypeScript / projects

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

fix: convert copy-solutions script to .mjs #265

Open JoshuaKGoldberg opened 1 year ago

JoshuaKGoldberg commented 1 year ago

PR Checklist

Overview

[Example CI run] There are sed: can't read : No such file or directory logs showing up in CI that don't show up on my local Macs. The joy of shell scripts being different across operating systems!

Run ./scripts/copy-solutions.sh
sed: can't read : No such file or directory
sed: can't read : No such file or directory
Copying from "projects/classes/classifying-creatures/0[1](https://github.com/LearningTypeScript/projects/actions/runs/4747677348/jobs/8432892129#step:6:1)-polly-parrots-properties/solution.ts" to "projects/classes/classifying-creatures/01-polly-parrots-properties/index.ts".

This moves the script to all JavaScript so it's much more the same across operating systems.