mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
4f80d83774
This changes the lockfile to not store JSR specifiers in the "remote" section. Instead a single JSR integrity is stored per package in the lockfile, which is a hash of the version's `x.x.x_meta.json` file, which contains hashes for every file in the package. The hashes in this file are then compared against when loading. Additionally, when using `{ "vendor": true }` in a deno.json, the files can be modified without causing lockfile errors—the checksum is only checked when copying into the vendor folder and not afterwards (eventually we should add this behaviour for non-jsr specifiers as well). As part of this change, the `vendor` folder creation is not always automatic in the LSP and running an explicit cache command is necessary. The code required to track checksums in the LSP would have been too complex for this PR, so that all goes through deno_graph now. The vendoring is still automatic when running from the CLI. |
||
---|---|---|
.. | ||
config | ||
ffi | ||
integration | ||
napi | ||
node_compat | ||
testdata | ||
unit | ||
unit_node | ||
util | ||
Cargo.toml | ||
lib.rs | ||
README.md |