squint-cljs / vite-plugin-squint

A plugin to compile .cljs source code with squint using vite
1 stars 3 forks source link

NPM Package Dependencies #16

Open brandonstubbs opened 4 months ago

brandonstubbs commented 4 months ago

As we link to the root projects in the demos package.json

"vite-plugin-squint": "file:../.."

It seems that if you have not run npm i in the root project, npm won't resolve linked project dependencies automatically. Thus on a fresh checkout and going into a demo and running npm i npm run dev you get dependency errors on the dependencies the plugin is using.

I am not sure how to solve this with file linking?

cc: @borkdude @martinklepsch

martinklepsch commented 4 months ago

postinstall on the demo projects that runs npm install in the root?

borkdude commented 4 months ago

ah I just forgot npm i in the root project, no big issue to me