This repository contains my solutions for Advent of Code and Advent of TypeScript, all written in TypeScript. π π§βπ Use the CLI included in the repo to run and test the solutions.
Make sure you have pnpm installed, then clone this repository and navigate to its directory.
pnpm install
Run the CLI using the dev
command and specify one of the subcommands:
pnpm dev aoc -y <year> <file>
-y, --year
: Specify the year (defaults to the current year).<file>
: The challenge file number to execute (e.g.,1
,03
).
Example:
pnpm dev aoc -y 2023 01
pnpm dev aot -y <year> <file>
-y, --year
: Specify the year (defaults to the current year).<file>
: The TypeScript file number to check (e.g.,2
,04
).
Example:
pnpm dev aot -y 2023 02
This project is licensed under the MIT License. Feel free to share, modify, and enjoy! β¨