mo
mo2mo ago

is there a command I can run to ensure that all jsr dependencies are cached?

For context: I always build and run inside docker containers but my vscode runs on the host so all my jsr dependencies get red squigglies saying that the jsr packages is not installed. I'm using deno workspaces with 8-9 apps in it... I dont' want to run each one on the host just to make sure jsr packages are cached... and running "deno install" in the workspace root doesn't seem to cache the jsr packages? Also, I wonder how people have their deno dev containers setup? Do you map the host deno cache into the dev container or do you let the dev container re-download the JSR packages each time the container runs?
1 Reply
bartlomieju
bartlomieju2mo ago
If you specify them in deno.json files you can run deno install to cache them all

Did you find this page helpful?