deno/cli/Cargo.toml

148 lines
4.4 KiB
TOML
Raw Normal View History

# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno"
version = "1.36.1"
2022-11-22 20:07:35 +00:00
authors.workspace = true
default-run = "deno"
2022-11-22 20:07:35 +00:00
edition.workspace = true
exclude = ["tests/testdata/npm/registry/*"]
2022-11-22 20:07:35 +00:00
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"
[features]
# A dev feature to disable creations and loading of snapshots in favor of
# loading JS sources at runtime.
__runtime_js_sources = ["deno_runtime/__runtime_js_sources"]
[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"] }
lazy-regex.workspace = true
2022-11-22 20:07:35 +00:00
serde.workspace = true
serde_json.workspace = true
zstd.workspace = true
glibc_version = "0.1.2"
[target.'cfg(windows)'.build-dependencies]
2022-11-22 20:07:35 +00:00
winapi.workspace = true
winres.workspace = true
[dependencies]
2022-11-22 20:07:35 +00:00
deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "dep_graph", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] }
deno_cache_dir = "=0.5.2"
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = "=0.65.0"
deno_emit = "=0.26.0"
deno_graph = "=0.52.0"
deno_lint = { version = "=0.50.1", features = ["docs"] }
deno_lockfile.workspace = true
deno_npm.workspace = true
deno_runtime = { workspace = true, features = ["dont_create_runtime_snapshot", "include_js_files_for_snapshotting"] }
deno_semver.workspace = true
deno_task_shell = "=0.13.2"
eszip = "=0.50.0"
2022-11-22 20:07:35 +00:00
napi_sym.workspace = true
async-trait.workspace = true
2022-11-22 20:07:35 +00:00
atty.workspace = true
base32 = "=0.4.0"
2022-11-22 20:07:35 +00:00
base64.workspace = true
bincode = "=1.3.3"
2022-11-22 20:07:35 +00:00
cache_control.workspace = true
chrono = { version = "=0.4.26", default-features = false, features = ["std"] }
clap = { version = "=4.3.3", features = ["string"] }
clap_complete = "=4.3.1"
clap_complete_fig = "=4.3.1"
console_static_text.workspace = true
2022-11-22 20:07:35 +00:00
data-url.workspace = true
2022-09-16 23:11:30 +00:00
dissimilar = "=1.0.4"
dprint-plugin-json = "=0.17.4"
dprint-plugin-markdown = "=0.15.3"
dprint-plugin-typescript = "=0.86.2"
2022-11-22 20:07:35 +00:00
encoding_rs.workspace = true
2022-05-05 10:41:59 +00:00
env_logger = "=0.9.0"
fancy-regex = "=0.10.0"
fastwebsockets.workspace = true
2022-11-22 20:07:35 +00:00
flate2.workspace = true
fs3.workspace = true
glob = "0.3.1"
2022-11-22 20:07:35 +00:00
http.workspace = true
hyper.workspace = true
import_map = "=0.15.0"
indexmap.workspace = true
jsonc-parser = { version = "=0.21.1", features = ["serde"] }
lazy-regex.workspace = true
2022-11-22 20:07:35 +00:00
libc.workspace = true
log = { workspace = true, features = ["serde"] }
lsp-types.workspace = true
monch = "=0.4.3"
2022-11-22 20:07:35 +00:00
notify.workspace = true
once_cell.workspace = true
os_pipe.workspace = true
percent-encoding.workspace = true
pin-project.workspace = true
feat(cli): Adding JUnit test reports (#19747) This commit makes the following changes - Created a `CompoundTestReporter` to allow us to use multiple reporters - Implements `JUnitTestReporter` which writes JUnit XML to a path - Added a CLI flag/option `--junit` that enables JUnit reporting. By default this writes the report to `stdout` (and disables pretty reporting). If a path is provided, it will write the JUnit report to that file while the pretty reporter writes to stdout like normal Output of `deno -- test --allow-all --unstable --location=http://js-unit-tests/foo/bar --junit cli/tests/unit/testing_test.ts ` ```xml <?xml version="1.0" encoding="UTF-8"?> <testsuites name="deno test" tests="7" failures="0" errors="0" time="0.176"> <testsuite name="file:///Users/cooper/deno/deno/cli/tests/unit/testing_test.ts" tests="7" disabled="0" errors="0" failures="0"> <testcase name="testWrongOverloads" time="0.012"> </testcase> <testcase name="nameOfTestCaseCantBeEmpty" time="0.009"> </testcase> <testcase name="invalidStepArguments" time="0.008"> </testcase> <testcase name="nameOnTextContext" time="0.029"> <properties> <property name="step[passed]" value="step ... nested step"/> <property name="step[passed]" value="step"/> </properties> </testcase> <testcase name="originOnTextContext" time="0.030"> <properties> <property name="step[passed]" value="step ... nested step"/> <property name="step[passed]" value="step"/> </properties> </testcase> <testcase name="parentOnTextContext" time="0.030"> <properties> <property name="step[passed]" value="step ... nested step"/> <property name="step[passed]" value="step"/> </properties> </testcase> <testcase name="explicit undefined for boolean options" time="0.009"> </testcase> </testsuite> </testsuites> ```
2023-07-26 22:12:35 +00:00
quick-junit = "^0.3.3"
2022-11-22 20:07:35 +00:00
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"
2022-11-22 20:07:35 +00:00
serde.workspace = true
serde_repr.workspace = true
shell-escape = "=0.1.5"
2022-11-22 20:07:35 +00:00
tar.workspace = true
tempfile.workspace = true
text-size = "=1.1.0"
text_lines = "=0.6.0"
thiserror.workspace = true
2022-11-22 20:07:35 +00:00
tokio.workspace = true
tokio-util.workspace = true
tower-lsp.workspace = true
2022-09-16 23:11:30 +00:00
twox-hash = "=1.6.3"
typed-arena = "=2.0.1"
2022-11-22 20:07:35 +00:00
uuid = { workspace = true, features = ["serde"] }
walkdir = "=2.3.2"
zstd.workspace = true
[target.'cfg(windows)'.dependencies]
2022-11-22 20:07:35 +00:00
fwdansi.workspace = true
junction = "=0.2.0"
2022-11-22 20:07:35 +00:00
winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
[target.'cfg(unix)'.dependencies]
2022-11-22 20:07:35 +00:00
nix.workspace = true
[dev-dependencies]
2022-11-22 20:07:35 +00:00
deno_bench_util.workspace = true
flaky_test = "=0.1.0"
2022-11-22 20:07:35 +00:00
once_cell.workspace = true
os_pipe.workspace = true
pretty_assertions.workspace = true
test_util.workspace = true
2022-09-16 23:11:30 +00:00
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"