Skip to content

Tags: caxon/turbo

Tags

v1.7.5-canary.1

Toggle v1.7.5-canary.1's commit message
publish 1.7.5-canary.1 to registry

Verified

This tag was signed with the committer’s verified signature. The key has expired.
Brooooooklyn LongYinan

turbopack-230214.1

Toggle turbopack-230214.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
perf: skip visiting if it's out of range (vercel#3762)

Visiting is not necessary for those sub-trees that are already out of range.

## The first code change

For example, we have visitors with `ast_path` like this, and the current index is `1`, and the current path is `Path::A`:

```rust
enum Path {
  A,
  B,
  C,
  D,
  E
}

visitors: vec![(vec![Path::B, Path::C], visitor), (vec![Path::B, Path::D], visitor)]
```

Given the fact that sub-trees that are not matched were already skipped, so there is no possibility for us to have things like this if we are already under `Path::B` and looking for the next path (`ast_path: [Path::B]`): 

```rust
visitors: vec![(vec![Path::B, Path::C], visitor), (vec![Path::C, Path::A], visitor)]
```

Combining all the things above, we can skip visits any furthur where its `kind` is greater than the `kind` for the current index, for the first example, the underlying path is `Path::A`, we can skip the sub-tree `Path::C` and `Path::D` as there's no possibility for the visitor subscribers to do with them.

## The second code change

If the starting point for the partition result is already greater than the underlying `kind`, it's not necessary for us to visit them too.

turbopack-230213.2

Toggle turbopack-230213.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make stringify_str and stringify_module_id use Serialize (vercel#3770)

Both `stringify_str` and `stringify_module_id` are now simply `stringify_js`. We could skip this and go directly to `serde_json`, but this hides the dependency behind turbopack-ecmascript.

turbopack-230213.1

Toggle turbopack-230213.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support for `--graph=file.mermaid` (vercel#3633)

This PR adds support for mermaid graph syntax (which is also supported
by GitHub markdown).

https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/

---------

Co-authored-by: Greg Soltis <[email protected]>
Co-authored-by: Greg Soltis <[email protected]>

turbopack-230212.1

Toggle turbopack-230212.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support for `--graph=file.mermaid` (vercel#3633)

This PR adds support for mermaid graph syntax (which is also supported
by GitHub markdown).

https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/

---------

Co-authored-by: Greg Soltis <[email protected]>
Co-authored-by: Greg Soltis <[email protected]>

turbopack-230211.1

Toggle turbopack-230211.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
ci(workflow): expand integration test groups (vercel#3659)

closes WEB-545, WEB-571.

This PR mimic upstream next.js test group config to expand turbopack's
integration integration to match with it. To reduce some of duplication,
this PR also sets up reusable workflow to setup / build next.js and
share its build artifact via github cache. Since those build artifacts
are one-off usage per each test, it doesn't use upload/download artifact
which is too slow & heavyweight for those purpose.

v1.7.5-canary.0

Toggle v1.7.5-canary.0's commit message
publish 1.7.5-canary.0 to registry

turbopack-230210.1

Toggle turbopack-230210.1's commit message
Fix octokit usage

This API is so convoluted.

turbopack-230209.02

Toggle turbopack-230209.02's commit message
Update SWC to fix JSX regression