Skip to content

danielemegna/ts-aoc-2022

Repository files navigation

TypeScript Advent Of Code 2022

Solutions for 2022 Advent Of Code challenges in TypeScript

Dev setup

Install proper nodejs version via asdf:

$ asdf install

or simply check needed nodejs version in .tool-versions file.

if you want to enable yarn you should do it via corepack: corepack enable yarn
using asdf a reshim could be needed: asdf reshim nodejs


Install project dependencies:

$ yarn install

and run tests via jest:

$ yarn jest

Docker-only dev setup

Use temporary node container with current directory volume:

$ docker run --rm -it -v $PWD:/app -w /app node:16.18.1-slim bash
# yarn install
# yarn jest

check used node version in .tool-versions

About

adventofcode.com/2022/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published