krml
krml
DDeno
Created by krml on 2/7/2024 in #help
Fresh project next to regular Deno project
Hey, I have a question about adding a fresh project next to a regular Deno project. I have the following setup, with the global deno.json sitting in the root directory
- .vscode
- settings.json
- gui
- fresh-resources-here
- worker
- backend code
- orchestrator
- backend code
deno.json
- .vscode
- settings.json
- gui
- fresh-resources-here
- worker
- backend code
- orchestrator
- backend code
deno.json
Before the introduction of the gui directory, any import and the Deno namespace works fine. Using enablePath without the gui directory also works fine, but adding gui to the paths breaks it. Giving me the Deno.cron not found in the Deno namespace. It seems that the global settings.json where we define deno.unstable: true does not work after introducing the gui directory and breaking the whole Deno namespace for us. Maybe I just have a problem understanding it, but I cannot get it to work in VSCode without problems.
5 replies
DDeno
Created by krml on 11/21/2023 in #help
tidy up `deno.lock`
Hey, is there something like go mod tidy (https://golangbyexample.com/go-mod-tidy/) in Deno? The background is that my deno.lock got a couple of entries that I no longer use and so I was wondering what the "most convinient" way it would be to get rid of those entries. Thanks in advance!
5 replies