Skip to content

Commit

Permalink
update turbopack (#48846)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra authored Apr 26, 2023
1 parent f12aa35 commit 5a46b01
Show file tree
Hide file tree
Showing 35 changed files with 1,104 additions and 60 deletions.
64 changes: 32 additions & 32 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ swc_relay = { version = "0.2.5" }
testing = { version = "0.33.4" }

# Turbo crates
turbo-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230424.2" }
turbo-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230425.3" }
# [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-230424.2" }
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230425.3" }
# [TODO]: need to refactor embed_directory! macro usage in next-core
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230424.2" }
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230425.3" }

# General Deps

Expand Down
4 changes: 2 additions & 2 deletions packages/next-swc/crates/next-core/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"check": "tsc --noEmit"
},
"dependencies": {
"@vercel/turbopack-dev": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230424.2",
"@vercel/turbopack-node": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230424.2",
"@vercel/turbopack-dev": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230425.3",
"@vercel/turbopack-node": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230425.3",
"anser": "^2.1.1",
"css.escape": "^1.5.1",
"next": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
PlainIssue {
severity: Error,
context: "[project]/packages/next/dist/server/lib/mock-request.js",
category: "resolve",
title: "Error resolving commonjs request",
description: "unable to resolve module \"stream\"",
detail: "It was not possible to find the requested file.\nParsed request as written in source code: module \"stream\"\nPath where resolving has started: [project]/packages/next/dist/server/lib/mock-request.js\nType of request: commonjs request\nImport map: No import map entry\n",
documentation_link: "",
source: Some(
PlainIssueSource {
asset: PlainAsset {
ident: "[project]/packages/next/dist/server/lib/mock-request.js",
},
start: SourcePos {
line: 21,
column: 56,
},
end: SourcePos {
line: 21,
column: 73,
},
},
),
sub_issues: [],
processing_path: Some(
[
PlainIssueProcessingPathItem {
context: Some(
"[project]/packages/next-swc/crates/next-dev-tests/tests/integration/next/app/route-WEB-869/input/app",
),
description: "Next.js App Route /[slug]",
},
],
),
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
PlainIssue {
severity: Error,
context: "[project]/packages/next/dist/compiled/raw-body/index.js",
category: "resolve",
title: "Error resolving commonjs request",
description: "unable to resolve module \"stream\"",
detail: "It was not possible to find the requested file.\nParsed request as written in source code: module \"stream\"\nPath where resolving has started: [project]/packages/next/dist/compiled/raw-body/index.js\nType of request: commonjs request\nImport map: No import map entry\n",
documentation_link: "",
source: Some(
PlainIssueSource {
asset: PlainAsset {
ident: "[project]/packages/next/dist/compiled/raw-body/index.js",
},
start: SourcePos {
line: 50,
column: 702,
},
end: SourcePos {
line: 50,
column: 719,
},
},
),
sub_issues: [],
processing_path: Some(
[
PlainIssueProcessingPathItem {
context: Some(
"[project]/packages/next-swc/crates/next-dev-tests/tests/integration/next/app/route-WEB-869/input/app",
),
description: "Next.js App Route /[slug]",
},
],
),
}
Loading

0 comments on commit 5a46b01

Please sign in to comment.