1.0.4 • Published 5 months ago

create-ts-aoc-starter v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

ts-aoc-starter

Getting Started

npx create-ts-aoc-starter

This will create a new workspace in the current directory with the following structure:

ts-aoc-starter
├── puzzles
│   ├── day-1
│   │   ├── day-1-a.data.txt
│   │   ├── day-1-a.sample-data.txt
│   │   ├── day-1-a.ts
│   │   ├── day-1-b.data.txt
│   │   ├── day-1-b.sample-data.txt
│   │   └── day-1-b.ts
│   ├── day-2
│   ├── day-3

Running the Puzzles

Copy and paste the sample data given in the problem into the day-X-a.sample-data.txt file.

Copy and paste your larger unique actual data set into the day-X-a.data.txt file.

Add your solution to the day-X-a.ts file.

To run your solution against your sample data set, run the following command:

nx day-1-a --data=sample

or

npm run day-1-a:sample

To run your solution against your actual data set, run the following command:

nx day-1-a

or

npm run day-1-a
1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago