mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05: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.
62 lines
1.5 KiB
TOML
62 lines
1.5 KiB
TOML
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "test_util"
|
|
version = "0.1.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
repository.workspace = true
|
|
|
|
[[bin]]
|
|
name = "test_server"
|
|
path = "src/test_server.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-stream = "0.3.3"
|
|
base64.workspace = true
|
|
bytes.workspace = true
|
|
console_static_text.workspace = true
|
|
deno_unsync = "0.3.0"
|
|
denokv_proto.workspace = true
|
|
fastwebsockets.workspace = true
|
|
flate2 = { workspace = true, features = ["default"] }
|
|
futures.workspace = true
|
|
glob.workspace = true
|
|
h2.workspace = true
|
|
http.workspace = true
|
|
http-body-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
lazy-regex.workspace = true
|
|
libc.workspace = true
|
|
lsp-types.workspace = true
|
|
monch.workspace = true
|
|
nix.workspace = true
|
|
once_cell.workspace = true
|
|
os_pipe.workspace = true
|
|
parking_lot.workspace = true
|
|
pretty_assertions.workspace = true
|
|
prost.workspace = true
|
|
regex.workspace = true
|
|
reqwest.workspace = true
|
|
rustls-pemfile.workspace = true
|
|
rustls-tokio-stream.workspace = true
|
|
semver = "=1.0.14"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
tar.workspace = true
|
|
tempfile.workspace = true
|
|
termcolor.workspace = true
|
|
tokio.workspace = true
|
|
url.workspace = true
|
|
win32job = "2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { workspace = true, features = ["consoleapi", "synchapi", "handleapi", "namedpipeapi", "winbase", "winerror"] }
|
|
|
|
[build-dependencies]
|
|
prost-build.workspace = true
|