diff --git a/Cargo.lock b/Cargo.lock index 0c410a8afaa1e..77de5fb5a1a8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ [[package]] name = "auto-hash-map" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "serde", "smallvec", @@ -3111,7 +3111,7 @@ dependencies = [ [[package]] name = "node-file-trace" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "serde", @@ -6978,12 +6978,12 @@ dependencies = [ [[package]] name = "turbo-prehash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" [[package]] name = "turbo-tasks" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-trait", @@ -7017,7 +7017,7 @@ dependencies = [ [[package]] name = "turbo-tasks-build" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "cargo-lock", @@ -7030,7 +7030,7 @@ dependencies = [ [[package]] name = "turbo-tasks-bytes" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "bytes", @@ -7044,7 +7044,7 @@ dependencies = [ [[package]] name = "turbo-tasks-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "dotenvs", @@ -7058,7 +7058,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fetch" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "lazy_static", @@ -7074,7 +7074,7 @@ dependencies = [ [[package]] name = "turbo-tasks-fs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "auto-hash-map", @@ -7106,7 +7106,7 @@ dependencies = [ [[package]] name = "turbo-tasks-hash" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "md4", "turbo-tasks-macros", @@ -7116,7 +7116,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "proc-macro-error", @@ -7130,7 +7130,7 @@ dependencies = [ [[package]] name = "turbo-tasks-macros-shared" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "proc-macro2", "quote", @@ -7140,7 +7140,7 @@ dependencies = [ [[package]] name = "turbo-tasks-malloc" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "mimalloc", ] @@ -7148,7 +7148,7 @@ dependencies = [ [[package]] name = "turbo-tasks-memory" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "auto-hash-map", @@ -7176,7 +7176,7 @@ dependencies = [ [[package]] name = "turbopack" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-recursion", @@ -7206,7 +7206,7 @@ dependencies = [ [[package]] name = "turbopack-binding" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "auto-hash-map", "mdxjs", @@ -7247,7 +7247,7 @@ dependencies = [ [[package]] name = "turbopack-browser" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7270,7 +7270,7 @@ dependencies = [ [[package]] name = "turbopack-cli-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "clap", @@ -7287,7 +7287,7 @@ dependencies = [ [[package]] name = "turbopack-core" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-recursion", @@ -7316,7 +7316,7 @@ dependencies = [ [[package]] name = "turbopack-css" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7343,7 +7343,7 @@ dependencies = [ [[package]] name = "turbopack-dev-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-compression", @@ -7379,7 +7379,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-trait", @@ -7414,7 +7414,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-hmr-protocol" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "serde", "serde_json", @@ -7425,7 +7425,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-plugins" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-trait", @@ -7450,7 +7450,7 @@ dependencies = [ [[package]] name = "turbopack-ecmascript-runtime" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indoc", @@ -7466,7 +7466,7 @@ dependencies = [ [[package]] name = "turbopack-env" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7482,7 +7482,7 @@ dependencies = [ [[package]] name = "turbopack-image" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "base64 0.21.4", @@ -7501,7 +7501,7 @@ dependencies = [ [[package]] name = "turbopack-json" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "serde", @@ -7516,7 +7516,7 @@ dependencies = [ [[package]] name = "turbopack-mdx" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "mdxjs", @@ -7531,7 +7531,7 @@ dependencies = [ [[package]] name = "turbopack-node" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "async-stream", @@ -7565,7 +7565,7 @@ dependencies = [ [[package]] name = "turbopack-nodejs" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7585,7 +7585,7 @@ dependencies = [ [[package]] name = "turbopack-resolve" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -7603,7 +7603,7 @@ dependencies = [ [[package]] name = "turbopack-static" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "serde", @@ -7619,7 +7619,7 @@ dependencies = [ [[package]] name = "turbopack-swc-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "swc_core", "turbo-tasks", @@ -7630,7 +7630,7 @@ dependencies = [ [[package]] name = "turbopack-trace-server" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "either", @@ -7650,7 +7650,7 @@ dependencies = [ [[package]] name = "turbopack-trace-utils" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "crossbeam-channel", @@ -7666,7 +7666,7 @@ dependencies = [ [[package]] name = "turbopack-wasm" version = "0.1.0" -source = "git+https://github.com/vercel/turbo.git?tag=turbopack-240703.1#69bb5947d173f3b84a3f9cef9f338485c931dc9f" +source = "git+https://github.com/vercel/turbo.git?branch=kdy1/tree-shake#fdd3fbbcb1360a8a3912f47d81088a962b10e485" dependencies = [ "anyhow", "indexmap 1.9.3", diff --git a/Cargo.toml b/Cargo.toml index 467733344a80a..4fb1fcff2579d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,11 +38,11 @@ swc_core = { version = "0.95.4", features = [ testing = { version = "0.36.0" } # Turbo crates -turbopack-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240703.1" } +turbopack-binding = { git = "https://github.com/vercel/turbo.git", branch = "kdy1/tree-shake" } # last tag: "turbopack-240703.1" # [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros.. -turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240703.1" } +turbo-tasks = { git = "https://github.com/vercel/turbo.git", branch = "kdy1/tree-shake" } # last tag: "turbopack-240703.1" # [TODO]: need to refactor embed_directory! macro usage in next-core -turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-240703.1" } +turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", branch = "kdy1/tree-shake" } # last tag: "turbopack-240703.1" # General Deps diff --git a/packages/next/package.json b/packages/next/package.json index e32fef2ac7a01..c66c0da66b43d 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -205,7 +205,7 @@ "@types/ws": "8.2.0", "@vercel/ncc": "0.34.0", "@vercel/nft": "0.27.1", - "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240703.1", + "@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?fdd3fbbcb1360a8a3912f47d81088a962b10e485", "acorn": "8.11.3", "amphtml-validator": "1.0.35", "anser": "1.4.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0670d6a323af..f2a2300418bfb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1111,8 +1111,8 @@ importers: specifier: 0.27.1 version: 0.27.1(encoding@0.1.13) '@vercel/turbopack-ecmascript-runtime': - specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240703.1 - version: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240703.1 + specifier: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?fdd3fbbcb1360a8a3912f47d81088a962b10e485 + version: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?fdd3fbbcb1360a8a3912f47d81088a962b10e485 acorn: specifier: 8.11.3 version: 8.11.3 @@ -5111,8 +5111,8 @@ packages: resolution: {integrity: sha512-OTe0KE37F5Y2eTys6eMnfopC+P4qr2ooXUTFyFPTplYSPwowmFk/HLD1FXtbKLjqsIH0SgekcJWad+C5uX4nkg==} engines: {node: '>=16'} - '@vercel/turbopack-ecmascript-runtime@https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240703.1': - resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240703.1} + '@vercel/turbopack-ecmascript-runtime@https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?fdd3fbbcb1360a8a3912f47d81088a962b10e485': + resolution: {tarball: https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?fdd3fbbcb1360a8a3912f47d81088a962b10e485} version: 0.0.0 '@webassemblyjs/ast@1.11.6': @@ -19673,7 +19673,7 @@ snapshots: satori: 0.10.9 yoga-wasm-web: 0.3.3 - '@vercel/turbopack-ecmascript-runtime@https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240703.1': + '@vercel/turbopack-ecmascript-runtime@https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?fdd3fbbcb1360a8a3912f47d81088a962b10e485': dependencies: '@types/node': 20.12.3