docs + init: add install step
Goal: Fully move to `nodeModulesDir: "manual"
- Add to docs
- We could run install directly similar to wizards from other frameworks
Do you envision something like a template system? Maybe something like cloning existing template repositories with a tiny/small number of string replacements? Or something different?
I brainstormed a few ideas a while ago (with the help of LLMs), see here -> https://gist.github.com/fry69/1e35c4bcf29d740975cc24bb211dfb3f
It is of course a bit convoluted, but there is an overview how other projects handle create/init scripts, including a comparison.
If you can direct where this should be heading, I'd love to flesh this out a bit more.
Moving away from inline code like we do today might be worth it. It seems like folks expect there to be a folder in this repository with the init app laid out. This can happen independently of this issue here though.
Looks like this is blocked on https://github.com/denoland/deno/issues/30850 . When setting nodeModulesDir: "manual" the types for various babel packages cannot be found.
Also blocked by https://github.com/denoland/deno/issues/30929
@marvinhagemeister if this is blocked, why is it already implemented in 2.2.0, a stable release? It's breaking all new projects' ability to use type checking
Not having nodeModulesDir: "manual" breaks pretty much all projects from working at all.
I haven't had any problems with nodeModulesDir: "auto" so far and it fixes this issue. Am I missing something?