caderek / aocrunner

Advent of Code runner
ISC License
163 stars 23 forks source link

add missing dep esbuild on init #30

Open jycouet opened 10 months ago

terryaney commented 9 months ago

@WesleyKapow

What do you mean by this?

I had to add esbuild manually. This would have saved me that debug step.

This enables 'debugging' the index.ts files?

jycouet commented 9 months ago

If your run the setup and select typescript, you NEED esbuild, if not, the runner will not run.

So today, each people running the setup selecting typescript need to find out that there is a missing dep: esbuild.

This PR fix this. (not related to debugging.)

terryaney commented 9 months ago

Interesting. I am running Typescript and runner works fine. Here is my package.json:

image

jycouet commented 9 months ago

You probably have typescript & esbuild installed globally?

terryaney commented 9 months ago

Yeah, must have. I have other 'real' typescript projects. And my son started messing with AOC and we needed to do exactly this :) Thanks.