wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.63k stars 1.18k forks source link

Improve how we detect whether an NPM install is necessary #1845

Open sodic opened 7 months ago

sodic commented 7 months ago

[!NOTE] Look into #1838 first.

See this todo for context: https://github.com/wasp-lang/wasp/blob/e4932ec51bd98138338a0fb979af2bd94043262a/waspc/src/Wasp/Generator/NpmInstall.hs#L160

Martinsos commented 7 months ago

This might be connected to the idea that @infomiho suggested, which is using npm workspaces. In that case, the whole installation step might become simpler / different, so we will probably want to first look into npm workspaces and only then into this.