UNPKG

aoc-automation

Version:

Advent of Code tool to automate the repetitive parts of AoC.

38 lines (37 loc) 617 B
const aocAutomationDaysJSON = () => new Array(25).fill(0).map((_, i) => ({ title: null, part1: { solved: false, result: null, attempts: [], time: null }, part2: { solved: false, result: null, attempts: [], time: null } })); const aocAutomationDataJSON = ({ year, packageManager, language }) => { return { version: 1, language, packageManager, years: [ { year, days: aocAutomationDaysJSON() } ] }; }; var runnerJSON_default = aocAutomationDataJSON; export { aocAutomationDaysJSON, runnerJSON_default as default };