Skip to content

Commit

Permalink
Merge pull request #217 from supabase/refactor-eszip-mods
Browse files Browse the repository at this point in the history
Feat: Unify module loader into a single module loader (eszips)
  • Loading branch information
andreespirela authored Nov 29, 2023
2 parents e3c9e9e + 1aec460 commit ca246a4
Show file tree
Hide file tree
Showing 56 changed files with 841 additions and 1,243 deletions.
91 changes: 69 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ members = [
"./crates/cli",
"./crates/module_fetcher",
"./crates/sb_workers",
"./crates/sb_worker_context",
"./crates/sb_env",
"./crates/sb_core",
"./crates/flaky_test",
"./crates/sb_os",
"./crates/cpu_timer",
"./crates/event_worker",
"./crates/sb_eszip",
"./crates/npm"
"./crates/npm",
"./crates/sb_graph",
"./crates/sb_module_loader",
"./crates/sb_fs"
]
resolver = "2"

Expand Down Expand Up @@ -58,6 +59,7 @@ fs3 = "0.5.0"
tokio-util = "0.7.4"
uuid = { version = "1.3.0", features = ["v4"] }
rsa = { version = "0.7.0", default-features = false, features = ["std", "pem", "hazmat"] }
monch = "=0.4.3"

reqwest = { version = "0.11.20", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks", "json"] }
ring = "=0.16.20"
Expand Down
10 changes: 4 additions & 6 deletions crates/base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
async-trait.workspace = true
thiserror = "1.0.40"
monch = "=0.4.3"
monch.workspace = true
once_cell.workspace = true
deno_semver.workspace = true
deno_npm.workspace = true
Expand Down Expand Up @@ -41,13 +41,13 @@ serde = { version = "1.0.149", features = ["derive"] }
tokio = { workspace = true }
url = { version = "2.3.1" }
event_worker ={ version = "0.1.0", path = "../event_worker" }
sb_worker_context = { version = "0.1.0", path = "../sb_worker_context" }
sb_workers = { version = "0.1.0", path = "../sb_workers" }
sb_env = { version = "0.1.0", path = "../sb_env" }
sb_core = { version = "0.1.0", path = "../sb_core" }
sb_os = { version = "0.1.0", path = "../sb_os" }
sb_eszip = { version = "0.1.0", path = "../sb_eszip" }
sb_npm = { version = "0.1.0", path = "../npm" }
sb_graph = { version = "0.1.0", path = "../sb_graph" }
sb_module_loader = { version = "0.1.0", path = "../sb_module_loader" }
urlencoding = { version = "2.1.2" }
uuid = { workspace = true }
deno_broadcast_channel.workspace = true
Expand Down Expand Up @@ -87,11 +87,9 @@ serde = { version = "1.0.149", features = ["derive"] }
tokio.workspace = true
url = { version = "2.3.1" }
event_worker ={ version = "0.1.0", path = "../event_worker" }
sb_worker_context = { version = "0.1.0", path = "../sb_worker_context" }
sb_workers = { version = "0.1.0", path = "../sb_workers" }
sb_env = { version = "0.1.0", path = "../sb_env" }
sb_core = { version = "0.1.0", path = "../sb_core" }
sb_os = { version = "0.1.0", path = "../sb_os" }
sb_node = { version = "0.1.0", path = "../node" }
deno_broadcast_channel.workspace = true
sb_eszip = { version = "0.1.0", path = "../sb_eszip" }
deno_broadcast_channel.workspace = true
Loading

0 comments on commit ca246a4

Please sign in to comment.