-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Lockfile should be written by default #11971
Comments
More previous discussion in #200 |
We're planning on doing this by default in 1.28 if you have a deno.json file (so the lockfile would be automatically written beside that). |
The 1.27 release blog post links to this issue:
Any improvement in increased integrity-checking by default seems great! However, the information in the release notes combined with what's in this issue don't explain how this is planned to work — can someone from Deno core provide some clarity? Here are my initial questions:
|
Subject to change...
All.
When a deno.json file is resolved and no
Yes.
The lockfile will be additive so if multiple scripts resolve to the same deno.json then they will share the same lockfile. |
Thanks @dsherret. Feedback/bikeshedding:
Since there's already Perhaps this can (also) be configured using an environment variable (e.g. |
This is now done and will be released in v1.28. @jsejcksn we went with |
For the record, I'm already seeing a lockfile automatically being generated while using Deno 1.27.2. Not sure if this is intended. |
It is, if you use |
Ah that would explain it! I'm using |
Thank you!! This is such a huge feature / usability win. |
Under certain conditions, the lockfile should be written and enforced by default. (raised as 2.0 scope by @bartlomieju)
The text was updated successfully, but these errors were encountered: