mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
3479bc7661
This PR fixes peer dependency resolution to only resolve peers based on the current graph traversal path. Previously, it would resolve a peers by looking at a graph node's ancestors, which is not correct because graph nodes are shared by different resolutions. It also stores more information about peer dependency resolution in the lockfile.
137 lines
4.1 KiB
TOML
137 lines
4.1 KiB
TOML
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno"
|
|
version = "1.30.3"
|
|
authors.workspace = true
|
|
default-run = "deno"
|
|
edition.workspace = true
|
|
exclude = ["tests/testdata/npm/registry/*"]
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Provides the deno executable"
|
|
|
|
[[bin]]
|
|
name = "deno"
|
|
path = "main.rs"
|
|
doc = false
|
|
|
|
[[bench]]
|
|
name = "deno_bench"
|
|
harness = false
|
|
path = "./bench/main.rs"
|
|
|
|
[[bench]]
|
|
name = "lsp_bench_standalone"
|
|
harness = false
|
|
path = "./bench/lsp_bench_standalone.rs"
|
|
|
|
[build-dependencies]
|
|
deno_runtime = { workspace = true, features = ["snapshot_from_snapshot", "include_js_files_for_snapshotting"] }
|
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
|
regex.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
zstd.workspace = true
|
|
glibc_version = "0.1.2"
|
|
|
|
lzzzz = '1.0'
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
winapi.workspace = true
|
|
winres.workspace = true
|
|
|
|
[dependencies]
|
|
deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] }
|
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
|
deno_doc = "0.55.0"
|
|
deno_emit = "0.15.0"
|
|
deno_graph = "0.43.3"
|
|
deno_lint = { version = "0.38.0", features = ["docs"] }
|
|
deno_lockfile.workspace = true
|
|
deno_runtime = { workspace = true, features = ["dont_create_runtime_snapshot", "include_js_files_for_snapshotting"] }
|
|
deno_task_shell = "0.8.1"
|
|
napi_sym.workspace = true
|
|
|
|
async-trait.workspace = true
|
|
atty.workspace = true
|
|
base32 = "=0.4.0"
|
|
base64.workspace = true
|
|
cache_control.workspace = true
|
|
chrono = { version = "=0.4.22", default-features = false, features = ["clock"] }
|
|
clap = "=3.1.12"
|
|
clap_complete = "=3.1.2"
|
|
clap_complete_fig = "=3.1.5"
|
|
console_static_text = "=0.3.4"
|
|
data-url.workspace = true
|
|
dissimilar = "=1.0.4"
|
|
dprint-plugin-json = "=0.17.0"
|
|
dprint-plugin-markdown = "=0.15.2"
|
|
dprint-plugin-typescript = "=0.83.0"
|
|
encoding_rs.workspace = true
|
|
env_logger = "=0.9.0"
|
|
eszip = "=0.35.0"
|
|
fancy-regex = "=0.10.0"
|
|
flate2.workspace = true
|
|
http.workspace = true
|
|
import_map = "=0.15.0"
|
|
indexmap = "=1.9.2"
|
|
jsonc-parser = { version = "=0.21.0", features = ["serde"] }
|
|
libc.workspace = true
|
|
log = { workspace = true, features = ["serde"] }
|
|
lsp-types = "=0.93.2" # used by tower-lsp and "proposed" feature is unstable in patch releases
|
|
lzzzz = '1.0'
|
|
mitata = "=0.0.7"
|
|
monch = "=0.4.0"
|
|
notify.workspace = true
|
|
once_cell.workspace = true
|
|
os_pipe.workspace = true
|
|
percent-encoding.workspace = true
|
|
pin-project.workspace = true
|
|
rand = { workspace = true, features = ["small_rng"] }
|
|
regex.workspace = true
|
|
ring.workspace = true
|
|
rustyline = { version = "=10.0.0", default-features = false, features = ["custom-bindings"] }
|
|
rustyline-derive = "=0.7.0"
|
|
secure_tempfile = { version = "=3.3.0", package = "tempfile" } # different name to discourage use in tests
|
|
serde.workspace = true
|
|
serde_repr.workspace = true
|
|
shell-escape = "=0.1.5"
|
|
tar.workspace = true
|
|
text-size = "=1.1.0"
|
|
text_lines = "=0.6.0"
|
|
thiserror = "=1.0.38"
|
|
tokio.workspace = true
|
|
tokio-util.workspace = true
|
|
tower-lsp = { version = "=0.17.0", features = ["proposed"] }
|
|
twox-hash = "=1.6.3"
|
|
typed-arena = "=2.0.1"
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
walkdir = "=2.3.2"
|
|
zstd.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
fwdansi.workspace = true
|
|
junction = "=0.2.0"
|
|
winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix.workspace = true
|
|
|
|
[dev-dependencies]
|
|
deno_bench_util.workspace = true
|
|
dotenv = "=0.15.0"
|
|
flaky_test = "=0.1.0"
|
|
once_cell.workspace = true
|
|
os_pipe.workspace = true
|
|
pretty_assertions.workspace = true
|
|
test_util.workspace = true
|
|
trust-dns-client = "=0.22.0"
|
|
trust-dns-server = "=0.22.0"
|
|
|
|
[package.metadata.winres]
|
|
# This section defines the metadata that appears in the deno.exe PE header.
|
|
OriginalFilename = "deno.exe"
|
|
LegalCopyright = "© Deno contributors & Deno Land Inc. MIT licensed."
|
|
ProductName = "Deno"
|
|
FileDescription = "Deno: A secure runtime for JavaScript and TypeScript"
|