jordanbtucker
jordanbtucker
DDeno
Created by kj-1010-1414 on 1/27/2024 in #help
Remove Dependencies from `deno.lock` file
5 replies
DDeno
Created by Franceska Hoxha on 6/15/2024 in #help
Uploading Files to S3 Bucket usign deno-s3-lite-client
Are you getting any error messages?
4 replies
DDeno
Created by kj-1010-1414 on 1/27/2024 in #help
Remove Dependencies from `deno.lock` file
deno add will add an entry to imports in deno.json, but it doesn't update deno.lock. That happens when you run deno run or deno cache. So, even if deno remove was a command, it wouldn't update deno.lock. Also, deno run and deno cache will write to deno.lock in an additive way. This is because you may have multiple entry points in your projects. If you use --lock-write like this: deno cache --lock-write mod.ts cli.ts, then Deno will rewrite deno.lock with only the imports from both mod.ts and cli.ts recursively. This is how you would remove npm:postgres from deno.lock.
5 replies