Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug/feat] deno.lock support #94

Open
Bellisario opened this issue Nov 15, 2022 · 2 comments
Open

[bug/feat] deno.lock support #94

Bellisario opened this issue Nov 15, 2022 · 2 comments

Comments

@Bellisario
Copy link

After Deno 1.18.0 release, I discovered Deno created a file called deno.lock, I think it's similar to NPM lockfile.
Udd bug is that dependencies update seems not to handle (ex. edit, create) the file, which I is kept intact (or not created) after update.

A workaround I found is to update deps with Udd, then remove the lockfile (if present) and run the project. This makes sure Deno automatically creates this file.

Would be great and fair if Udd updates automatically all dependencies on lockfile, too, with all hashes.

@sigmaSd
Copy link
Contributor

sigmaSd commented Nov 19, 2022

I think udd can just run deno cache file.ts after updating the deps, this will automatically update the lock file

@hayd
Copy link
Owner

hayd commented Nov 20, 2022

I suppose this could be an option --lock (?), like --test, to automatically do this... 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants