Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
784d9a73
Unverified
Commit
784d9a73
authored
Nov 10, 2022
by
OJ Kwon
Committed by
GitHub
Nov 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build(next-swc): update turbopack to latest (#42733)
parent
b50ade89
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
255 additions
and
151 deletions
+255
-151
build_test_deploy.yml
.github/workflows/build_test_deploy.yml
+1
-1
pull_request_stats.yml
.github/workflows/pull_request_stats.yml
+2
-2
Cargo.lock
packages/next-swc/Cargo.lock
+243
-139
Cargo.toml
packages/next-swc/crates/core/Cargo.toml
+2
-2
Cargo.toml
packages/next-swc/crates/napi/Cargo.toml
+3
-3
build.rs
packages/next-swc/crates/napi/build.rs
+2
-2
Cargo.toml
packages/next-swc/crates/wasm/Cargo.toml
+1
-1
rust-toolchain
packages/next-swc/rust-toolchain
+1
-1
No files found.
.github/workflows/build_test_deploy.yml
View file @
784d9a73
...
@@ -9,7 +9,7 @@ name: Build, test, and deploy
...
@@ -9,7 +9,7 @@ name: Build, test, and deploy
env
:
env
:
NAPI_CLI_VERSION
:
2.12.0
NAPI_CLI_VERSION
:
2.12.0
TURBO_VERSION
:
1.3.2-canary.1
TURBO_VERSION
:
1.3.2-canary.1
RUST_TOOLCHAIN
:
nightly-2022-
09-23
RUST_TOOLCHAIN
:
nightly-2022-
11-04
PNPM_VERSION
:
7.3.0
PNPM_VERSION
:
7.3.0
jobs
:
jobs
:
...
...
.github/workflows/pull_request_stats.yml
View file @
784d9a73
...
@@ -7,7 +7,7 @@ name: Generate Pull Request Stats
...
@@ -7,7 +7,7 @@ name: Generate Pull Request Stats
env
:
env
:
NAPI_CLI_VERSION
:
2.12.0
NAPI_CLI_VERSION
:
2.12.0
TURBO_VERSION
:
1.3.2-canary.1
TURBO_VERSION
:
1.3.2-canary.1
RUST_TOOLCHAIN
:
nightly-2022-
09-23
RUST_TOOLCHAIN
:
nightly-2022-
11-04
PNPM_VERSION
:
7.3.0
PNPM_VERSION
:
7.3.0
jobs
:
jobs
:
...
@@ -39,7 +39,7 @@ jobs:
...
@@ -39,7 +39,7 @@ jobs:
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with
:
with
:
profile
:
minimal
profile
:
minimal
toolchain
:
nightly-2022-
09-23
toolchain
:
nightly-2022-
11-04
-
name
:
Cache cargo registry
-
name
:
Cache cargo registry
uses
:
actions/cache@v1
uses
:
actions/cache@v1
...
...
packages/next-swc/Cargo.lock
View file @
784d9a73
This diff is collapsed.
Click to expand it.
packages/next-swc/crates/core/Cargo.toml
View file @
784d9a73
...
@@ -42,9 +42,9 @@ swc_core = { features = [
...
@@ -42,9 +42,9 @@ swc_core = { features = [
"ecma_parser_typescript"
,
"ecma_parser_typescript"
,
"cached"
,
"cached"
,
"base"
"base"
],
version
=
"0.4
0.40
"
}
],
version
=
"0.4
1.3
"
}
[dev-dependencies]
[dev-dependencies]
swc_core
=
{
features
=
["testing_transform"]
,
version
=
"0.4
0.40
"
}
swc_core
=
{
features
=
["testing_transform"]
,
version
=
"0.4
1.3
"
}
testing
=
"0.31.13"
testing
=
"0.31.13"
walkdir
=
"2.3.2"
walkdir
=
"2.3.2"
packages/next-swc/crates/napi/Cargo.toml
View file @
784d9a73
...
@@ -50,13 +50,13 @@ swc_core = { features = [
...
@@ -50,13 +50,13 @@ swc_core = { features = [
"ecma_transforms_typescript"
,
"ecma_transforms_typescript"
,
"ecma_utils"
,
"ecma_utils"
,
"ecma_visit"
,
"ecma_visit"
,
],
version
=
"0.4
0.40
"
}
],
version
=
"0.4
1.3
"
}
tracing
=
{
version
=
"0.1.37"
,
features
=
["release_max_level_info"]
}
tracing
=
{
version
=
"0.1.37"
,
features
=
["release_max_level_info"]
}
tracing-futures
=
"0.2.5"
tracing-futures
=
"0.2.5"
tracing-subscriber
=
"0.3.9"
tracing-subscriber
=
"0.3.9"
tracing-chrome
=
"0.5.0"
tracing-chrome
=
"0.5.0"
next-dev
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"a
11422fdf6b1b3cde9072d90aab6d9eebfacb591
"
,
features
=
["serializable"]
}
next-dev
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"a
9f36746cc4fa715c3527714e712b80ded988862
"
,
features
=
["serializable"]
}
node-file-trace
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"a
11422fdf6b1b3cde9072d90aab6d9eebfacb591
"
,
default-features
=
false
,
features
=
["node-api"]
}
node-file-trace
=
{
git
=
"https://github.com/vercel/turbo.git"
,
rev
=
"a
9f36746cc4fa715c3527714e712b80ded988862
"
,
default-features
=
false
,
features
=
["node-api"]
}
mdxjs
=
{
version
=
"0.1.1"
,
features
=
["serializable"]
}
mdxjs
=
{
version
=
"0.1.1"
,
features
=
["serializable"]
}
# There are few build targets we can't use native-tls which default features rely on,
# There are few build targets we can't use native-tls which default features rely on,
# allow to specify alternative (rustls) instead via features.
# allow to specify alternative (rustls) instead via features.
...
...
packages/next-swc/crates/napi/build.rs
View file @
784d9a73
...
@@ -13,7 +13,7 @@ fn main() {
...
@@ -13,7 +13,7 @@ fn main() {
let
out_dir
=
env
::
var
(
"OUT_DIR"
)
.expect
(
"Outdir should exist"
);
let
out_dir
=
env
::
var
(
"OUT_DIR"
)
.expect
(
"Outdir should exist"
);
let
dest_path
=
Path
::
new
(
&
out_dir
)
.join
(
"triple.txt"
);
let
dest_path
=
Path
::
new
(
&
out_dir
)
.join
(
"triple.txt"
);
let
mut
f
=
let
mut
f
=
BufWriter
::
new
(
File
::
create
(
&
dest_path
)
.expect
(
"Failed to create target triple text"
));
BufWriter
::
new
(
File
::
create
(
dest_path
)
.expect
(
"Failed to create target triple text"
));
write!
(
write!
(
f
,
f
,
"{}"
,
"{}"
,
...
@@ -29,7 +29,7 @@ fn main() {
...
@@ -29,7 +29,7 @@ fn main() {
let
json
:
serde_json
::
Value
=
serde_json
::
from_reader
(
pkg_file
)
.unwrap
();
let
json
:
serde_json
::
Value
=
serde_json
::
from_reader
(
pkg_file
)
.unwrap
();
let
pkg_version_dest_path
=
Path
::
new
(
&
out_dir
)
.join
(
"package.txt"
);
let
pkg_version_dest_path
=
Path
::
new
(
&
out_dir
)
.join
(
"package.txt"
);
let
mut
package_version_writer
=
BufWriter
::
new
(
let
mut
package_version_writer
=
BufWriter
::
new
(
File
::
create
(
&
pkg_version_dest_path
)
.expect
(
"Failed to create package version text"
),
File
::
create
(
pkg_version_dest_path
)
.expect
(
"Failed to create package version text"
),
);
);
write!
(
write!
(
package_version_writer
,
package_version_writer
,
...
...
packages/next-swc/crates/wasm/Cargo.toml
View file @
784d9a73
...
@@ -46,7 +46,7 @@ swc_core = { features = [
...
@@ -46,7 +46,7 @@ swc_core = { features = [
"ecma_parser_typescript"
,
"ecma_parser_typescript"
,
"ecma_utils"
,
"ecma_utils"
,
"ecma_visit"
"ecma_visit"
],
version
=
"0.4
0.40
"
}
],
version
=
"0.4
1.3
"
}
# Workaround a bug
# Workaround a bug
...
...
packages/next-swc/rust-toolchain
View file @
784d9a73
nightly-2022-
09-23
nightly-2022-
11-04
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment