add dependency
This commit is contained in:
parent
6bcdb14d26
commit
e38aec3c69
@ -3,4 +3,14 @@ to: 2022/<%= day %>/part1.js
|
|||||||
---
|
---
|
||||||
import * as R from "remeda";
|
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 = () => {};
|
export default = () => {};
|
||||||
|
@ -10,8 +10,10 @@
|
|||||||
"author": "Yanick Champoux <yanick@babyl.ca> (http://techblog.babyl.ca/)",
|
"author": "Yanick Champoux <yanick@babyl.ca> (http://techblog.babyl.ca/)",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@a-robu/victor": "^2.2.2",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fs-extra": "^11.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
|
"memoizerific": "^1.11.3",
|
||||||
"prettier": "^2.8.0",
|
"prettier": "^2.8.0",
|
||||||
"remeda": "^1.3.0",
|
"remeda": "^1.3.0",
|
||||||
"vitest": "^0.25.3"
|
"vitest": "^0.25.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user