add dependency

main
Yanick Champoux 2022-12-08 16:20:07 -05:00
parent 6bcdb14d26
commit e38aec3c69
2 changed files with 12 additions and 0 deletions

View File

@ -3,4 +3,14 @@ to: 2022/<%= day %>/part1.js
---
import * as R from "remeda";
import { readFile } from "../05/part1.js";
const readInput = (...args) =>
readFile(...args)
.split("\n")
.filter((x) => x);
export const puzzleInput = readInput(import.meta.url, "input");
export const sample = readInput(import.meta.url, "sample");
export default = () => {};

View File

@ -10,8 +10,10 @@
"author": "Yanick Champoux <yanick@babyl.ca> (http://techblog.babyl.ca/)",
"license": "ISC",
"dependencies": {
"@a-robu/victor": "^2.2.2",
"debug": "^4.3.4",
"fs-extra": "^11.1.0",
"memoizerific": "^1.11.3",
"prettier": "^2.8.0",
"remeda": "^1.3.0",
"vitest": "^0.25.3"