Files
next.js/turbopack/crates/turbopack-ecmascript/Cargo.toml
T
8cfa551041 Turbopack: extract chunk list version/update into turbopack-ecmascript (#95661)
This moves modules out of `turbopack-browser` and into
`turbopack-ecmascript` so it can be used in the server hmr
implementation as well.

Move the chunk-list version, update, and merged-update wire types out of
`turbopack-browser` into a shared `turbopack-ecmascript::chunk_list`
module so both the browser and node chunking contexts can build on them.
Rename `EcmascriptDevChunkListVersion` to `ChunkListVersion` and make
`update_chunk_list` runtime-agnostic (plain path->`VersionedContent`
maps).

Pure refactor: no behavior change.

<!-- NEXT_JS_LLM_PR -->

---------

Co-authored-by: Claude <[email protected]>
2026-07-28 13:49:30 -07:00

106 lines
2.7 KiB
TOML

[package]
name = "turbopack-ecmascript"
version = "0.1.0"
description = "TBD"
license = "MIT"
edition = "2024"
autobenches = false
[lib]
bench = false
[[bench]]
name = "analyzer"
harness = false
[[bench]]
name = "references"
harness = false
[lints]
workspace = true
[dependencies]
allocator-api2 = { workspace = true }
anyhow = { workspace = true }
async-trait = { workspace = true }
auto-hash-map = { workspace = true }
bincode = { workspace = true }
bumpalo = { workspace = true }
bytes-str = { workspace = true }
data-encoding = { workspace = true }
either = { workspace = true }
indexmap = { workspace = true }
indoc = { workspace = true }
itertools = { workspace = true }
num-bigint = "0.4"
num-traits = "0.2.15"
parking_lot = { workspace = true }
phf = { version = "0.11", features = ["macros"] }
petgraph = { workspace = true }
dashmap = { workspace = true }
regex = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true, features = ["raw_value"] }
serde_qs = { workspace = true }
swc_ecma_react_compiler = { workspace = true }
react_compiler = { workspace = true }
next-custom-transforms = { workspace = true, default-features = false }
swc_sourcemap = { workspace = true }
smallvec = { workspace = true }
strsim = { workspace = true }
thread_local = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
turbo-bincode = { workspace = true }
turbo-esregex = { workspace = true }
turbo-frozenmap = { workspace = true }
turbo-rcstr = { workspace = true }
turbo-tasks = { workspace = true }
turbo-tasks-fs = { workspace = true }
turbo-tasks-hash = { workspace = true }
turbopack-core = { workspace = true }
turbopack-resolve = { workspace = true }
turbopack-swc-utils = { workspace = true }
url = { workspace = true }
urlencoding = { workspace = true }
swc_core = { workspace = true, features = [
"ecma_ast",
"ecma_ast_serde",
"common",
"common_concurrent",
"common_sourcemap",
"ecma_ast_shrink",
"ecma_codegen",
"ecma_helpers_inline",
"ecma_lints",
"ecma_minifier",
"ecma_parser",
"ecma_preset_env",
"ecma_transforms",
"ecma_transforms_react",
"ecma_transforms_optimization",
"ecma_transforms_typescript",
"ecma_transforms_proposal",
"ecma_quote",
"ecma_visit",
"ecma_visit_path",
"ecma_visit_serde",
"ecma_utils",
"testing",
"base",
] }
[features]
default = []
[dev-dependencies]
criterion = { workspace = true, features = ["async_tokio"] }
rstest = { workspace = true }
turbo-tasks-backend = { workspace = true }
turbo-tasks-malloc = { workspace = true, features = ["custom_allocator"] }
turbo-tasks-testing = { workspace = true }
turbopack-test-utils = { workspace = true }