Commit graph

573 commits

Author SHA1 Message Date
Boshen
a834424a41
ci: change commit message to follow conventional commit 2024-09-03 11:29:09 +08:00
rzvxa
59abf27d95 feat(ast, parser): add oxc_regular_expression types to the parser and AST. (#5256)
closes #5060
2024-09-03 02:36:37 +00:00
rzvxa
b47aca0e88 refactor(syntax): use generate_derive for CloneIn in types outside of oxc_ast crate. (#5280)
Removes the temporary `CloneIn` derive macro used for "foreign" types - as in types outside of the `oxc_ast` crate - since now we have support for multiple derive outputs - one per each crate - that allows us to use `generate_derive` across multiple crates.
2024-09-03 02:36:37 +00:00
rzvxa
68a1c01f4e feat(ast_tools): add dedicated Derive trait. (#5278)
In an effort toward the implementation of #5256, this PR allows us to have a separately generated "derive" file for each crate.
This also eliminates a bunch of boilerplate when writing new "derive" generators and generally makes it more approachable.
2024-09-03 02:36:36 +00:00
Boshen
927034d09b
ci: fix release vscode workflow 2024-09-02 21:50:24 +08:00
leaysgur
c7e61a1391 chore(prettier): Update conformance tests to Prettier v3.3.3 (#5394)
- v3.3.3 is latest released version
- Test file name was changed from v3.3.x
  - https://github.com/prettier/prettier/pull/16244
2024-09-02 10:32:17 +00:00
Boshen
3cb9452338
ci: clean up workflows/ci.yml 2024-09-02 14:53:53 +08:00
Boshen
4a9c2e719a
ci: cargo check in windows is unnecessary
We do not use any windows specific code (`git grep cfg | grep windows`)
2024-09-01 22:34:52 +08:00
Boshen
29f8497001
ci: autofix formatting relates jobs (#5383)
closes #5382

Autofixes toml, rust and unused dependencies.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-09-01 16:19:53 +08:00
renovate[bot]
23ae0fa335
chore(deps): update crate-ci/typos action to v1.24.3 (#5384)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.24.1` -> `v1.24.3` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.24.3`](https://togithub.com/crate-ci/typos/releases/tag/v1.24.3)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.24.2...v1.24.3)

#### \[1.24.3] - 2024-08-30

##### Fixes

- Updated the dictionary with the [August
2024](https://togithub.com/crate-ci/typos/issues/1069) changes

###
[`v1.24.2`](https://togithub.com/crate-ci/typos/releases/tag/v1.24.2)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.24.1...v1.24.2)

#### \[1.24.2] - 2024-08-30

##### Performance

- Cap unbounded parsing to avoid worst case performance (hit with test
data)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 07:49:57 +00:00
Boshen
e75e0f1465 chore: update test262 / babel / typescript submodules (#5369)
closes #5215
2024-08-31 12:28:25 +00:00
Boshen
1d9fd1fdcc
ci: add action-semantic-pull-request
closes #5348
2024-08-31 16:02:30 +08:00
Boshen
295ad89b7e
Update FUNDING.yml 2024-08-31 13:10:59 +08:00
Boshen
fea2746b73
chore: switch playground to https://github.com/oxc-project/playground (#5249)
playground app: https://oxc-playground.netlify.app/
2024-08-27 15:14:36 +08:00
renovate[bot]
e51a1027c2
chore(deps): update github-actions (#5207)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall)
| action | patch | `v1.10.2` -> `v1.10.3` |
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | minor
| `v1.23.6` -> `v1.24.1` |

---

### Release Notes

<details>
<summary>cargo-bins/cargo-binstall (cargo-bins/cargo-binstall)</summary>

###
[`v1.10.3`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.10.3)

[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.10.2...v1.10.3)

*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*

##### In this release:

-   Upgrade dependencies

</details>

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.24.1`](https://togithub.com/crate-ci/typos/releases/tag/v1.24.1)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.24.0...v1.24.1)

#### \[1.24.1] - 2024-08-23

##### Fixes

-   Remove unverified varcon (locale data) entries

###
[`v1.24.0`](https://togithub.com/crate-ci/typos/releases/tag/v1.24.0)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.7...v1.24.0)

#### \[1.24.0] - 2024-08-23

##### Features

-   Update varcon (locale data) to version 2020.12.07

###
[`v1.23.7`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.7)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.6...v1.23.7)

#### \[1.23.7] - 2024-08-22

##### Fixes

- *(config)* Respect `--locale` / `default.locale` again after it was
broken in 1.16.24

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 00:06:17 +00:00
Boshen
1e8d3dde3b
chore: update .github/codecov.yml 2024-08-25 11:57:28 +08:00
Boshen
8d3f61bb54
chore(oxc_regular_expression): rename crate 2024-08-20 10:59:00 +08:00
renovate[bot]
5be0e8ab55
chore(deps): update cargo-bins/cargo-binstall action to v1.10.2 (#4957)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall)
| action | patch | `v1.10.0` -> `v1.10.2` |

---

### Release Notes

<details>
<summary>cargo-bins/cargo-binstall (cargo-bins/cargo-binstall)</summary>

###
[`v1.10.2`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.10.2)

[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.10.1...v1.10.2)

*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*

##### In this release:

- Enable happy eyeballs when using hickory-dns, ported from
[seanmonstar/reqwest#2378](https://togithub.com/seanmonstar/reqwest/issues/2378)
([#&#8203;1877](https://togithub.com/cargo-bins/cargo-binstall/issues/1877))

###
[`v1.10.1`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.10.1)

[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.10.0...v1.10.1)

*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*

##### In this release:

- Enable happy eyeballs when using hickory-dns, ported from
[seanmonstar/reqwest#2378](https://togithub.com/seanmonstar/reqwest/issues/2378)
([#&#8203;1877](https://togithub.com/cargo-bins/cargo-binstall/issues/1877))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-18 22:50:35 +00:00
rzvxa
a0b1b86161 fix(ci): Return an error code on the failed AST Changes step. (#4930)
Closes #4929
2024-08-16 00:29:06 +00:00
rzvxa
a9c729a197
chore(ci): enforce msrv in parts of our CI. (#4879)
closes #4874 


![image](https://github.com/user-attachments/assets/98c2650d-54dd-45d9-82ee-0516339ae1f8)
2024-08-13 21:47:28 +08:00
Boshen
0813af9d30
ci: fix oxlint OXC_VERSION not set 2024-08-13 20:16:22 +08:00
rzvxa
c4354daab5
chore: add support for labelling A-ast-tools. (#4857) 2024-08-13 10:22:51 +08:00
rzvxa
8e8fcd0584 refactor(ast_tools): rename oxc_ast_codegen to oxc_ast_tools. (#4846)
This PR renames the `oxc_ast_codegen` crate to `oxc_ast_tools`, It improves the readability and organization of the codebase by giving the crate a name that better reflects its purpose and contents.

It also improves the error message in CI.
2024-08-12 14:33:58 +00:00
Boshen
8ef938b0cf
ci: use OXC_BOT_PAT for workflow dispatch 2024-08-12 14:13:42 +08:00
Boshen
44132ed06d
ci: use OXC_BOT_PAT in prepare_release_oxlint 2024-08-12 13:42:47 +08:00
renovate[bot]
3bfa54dee9
chore(deps): update cargo-bins/cargo-binstall action to v1.10.0 (#4832)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall)
| action | minor | `v1.9.0` -> `v1.10.0` |

---

### Release Notes

<details>
<summary>cargo-bins/cargo-binstall (cargo-bins/cargo-binstall)</summary>

###
[`v1.10.0`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.10.0)

[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.9.0...v1.10.0)

*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*

##### In this release:

- feature: Merge `--disable-strategies` with `disabled-strategies` in
crate cargo manifest
([#&#8203;1867](https://togithub.com/cargo-bins/cargo-binstall/issues/1867)
[#&#8203;1868](https://togithub.com/cargo-bins/cargo-binstall/issues/1868))
- dep: Bump hickory-resolver to 0.25.0-alpha.2
([#&#8203;665](https://togithub.com/cargo-bins/cargo-binstall/issues/665)
[#&#8203;1869](https://togithub.com/cargo-bins/cargo-binstall/issues/1869))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-11 22:22:06 +00:00
rzvxa
aeed29f248 chore(ci): generate .generated_ast_watch_list.yml (#4737)
closes #4699

I also did some reordering to the code so it is easier to follow.
2024-08-07 22:11:34 +00:00
overlookmotel
06a2e43f93 fix(ci): run ast_changes CI job if span def file changes (#4706)
A detail I forgot in #4703.
2024-08-06 18:34:39 +00:00
rzvxa
125c5fd8ed feat(ast_codegen, span): process SourceType through ast_codegen. (#4696) 2024-08-06 17:42:12 +00:00
rzvxa
82e2f6b924 feat(ast_codegen): process AST-related syntax types. (#4694) 2024-08-06 17:14:35 +00:00
Boshen
0236e947bd
chore: move fuzz/ to https://github.com/oxc-project/oxc-fuzz-parser 2024-08-05 17:34:29 +08:00
renovate[bot]
649e7c30cf
chore(deps): update github-actions (#4652)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall)
| action | minor | `v1.8.0` -> `v1.9.0` |
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.23.5` -> `v1.23.6` |

---

### Release Notes

<details>
<summary>cargo-bins/cargo-binstall (cargo-bins/cargo-binstall)</summary>

###
[`v1.9.0`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.9.0)

[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.8.0...v1.9.0)

*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*

##### In this release:

- Add `--maximum-resolution-timeout`
([#&#8203;1823](https://togithub.com/cargo-bins/cargo-binstall/issues/1823)
[#&#8203;1862](https://togithub.com/cargo-bins/cargo-binstall/issues/1862))
- Fix: `--strategies` on CLI do not seem to override disabled-strategies
in the manifest
([#&#8203;1851](https://togithub.com/cargo-bins/cargo-binstall/issues/1851)
[#&#8203;1857](https://togithub.com/cargo-bins/cargo-binstall/issues/1857))

</details>

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.23.6`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.6)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.5...v1.23.6)

#### \[1.23.6] - 2024-07-31

##### Fixes

- Updated the dictionary with the [July
2024](https://togithub.com/crate-ci/typos/issues/1051) changes

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 04:05:57 +00:00
rzvxa
61e8b8c6c5 chore: make test-wasm32-unknown-unknown run unconditionally. (#4624)
It used to be unconditional before #4547, Having it to run all PRs allows us to run `oxc_ast::generated::assert_layouts` tests on 32-bit platforms.
2024-08-03 15:25:02 +00:00
LongYinan
1aea15c1ab
ci: test crates on wasmtime (#4547) 2024-08-01 06:23:35 +08:00
renovate[bot]
cada16c81b
chore(deps): update codspeedhq/action action to v3 (#4522)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://togithub.com/CodSpeedHQ/action) | action |
major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/action (CodSpeedHQ/action)</summary>

### [`v3`](https://togithub.com/CodSpeedHQ/action/compare/v2...v3)

[Compare Source](https://togithub.com/CodSpeedHQ/action/compare/v2...v3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 00:08:54 +00:00
renovate[bot]
cb820fb9ad
chore(deps): update github-actions (#4519)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cargo-bins/cargo-binstall](https://togithub.com/cargo-bins/cargo-binstall)
| action | minor | `v1.7.4` -> `v1.8.0` |
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.23.2` -> `v1.23.5` |

---

### Release Notes

<details>
<summary>cargo-bins/cargo-binstall (cargo-bins/cargo-binstall)</summary>

###
[`v1.8.0`](https://togithub.com/cargo-bins/cargo-binstall/releases/tag/v1.8.0)

[Compare
Source](https://togithub.com/cargo-bins/cargo-binstall/compare/v1.7.4...v1.8.0)

*Binstall is a tool to fetch and install Rust-based executables as
binaries. It aims to be a drop-in replacement for `cargo install` in
most cases. Install it today with `cargo install cargo-binstall`, from
the binaries below, or if you already have it, upgrade with `cargo
binstall cargo-binstall`.*

##### In this release:

- Fix: Ignore invalid Github Token (token length < 10)
([#&#8203;1836](https://togithub.com/cargo-bins/cargo-binstall/issues/1836)
[#&#8203;1839](https://togithub.com/cargo-bins/cargo-binstall/issues/1839))
- Add environment variable `BINSTALL_DISABLE_STRATEGIES` for
`--disable-strategies`
([#&#8203;1833](https://togithub.com/cargo-bins/cargo-binstall/issues/1833)
[#&#8203;1838](https://togithub.com/cargo-bins/cargo-binstall/issues/1838))
- Add new option `--disable-telemetry` to disable quickinstall
statistics collection
([#&#8203;1822](https://togithub.com/cargo-bins/cargo-binstall/issues/1822)
[#&#8203;1831](https://togithub.com/cargo-bins/cargo-binstall/issues/1831))
- Feature: Enable maintainers of crate to disable strategies for the
crate using `package.binstall` (can be overriden by CLI users)
([#&#8203;1721](https://togithub.com/cargo-bins/cargo-binstall/issues/1721)
[#&#8203;1828](https://togithub.com/cargo-bins/cargo-binstall/issues/1828))
- Fix v1 manifest format for git and local path
([#&#8203;1815](https://togithub.com/cargo-bins/cargo-binstall/issues/1815)
[#&#8203;1821](https://togithub.com/cargo-bins/cargo-binstall/issues/1821))
- Fix: normalize GitHub URLs ending in .git to not ending in .git
([#&#8203;1801](https://togithub.com/cargo-bins/cargo-binstall/issues/1801)
[#&#8203;1803](https://togithub.com/cargo-bins/cargo-binstall/issues/1803)
[#&#8203;1804](https://togithub.com/cargo-bins/cargo-binstall/issues/1804))

##### Other changes:

- Fixed `install-from-binstall-release.sh` on raspberry pi
([#&#8203;1814](https://togithub.com/cargo-bins/cargo-binstall/issues/1814))
- Enable feature `native-tls/vendored` if both feature `native-tls` and
`static` is enabled
([#&#8203;1694](https://togithub.com/cargo-bins/cargo-binstall/issues/1694)
[#&#8203;1832](https://togithub.com/cargo-bins/cargo-binstall/issues/1832))

</details>

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.23.5`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.5)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.4...v1.23.5)

#### \[1.23.5] - 2024-07-25

##### Features

-   *(config)* Store config in `Cargo.toml`

###
[`v1.23.4`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.4)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.3...v1.23.4)

#### \[1.23.4] - 2024-07-25

##### Fixes

-   Don't correct `countr_one` in C++

###
[`v1.23.3`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.3)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.2...v1.23.3)

#### \[1.23.3] - 2024-07-22

##### Fixes

-   Fix `Dockerfile`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 21:46:07 +00:00
overlookmotel
42a2519b40
ci: run benchmarks on rust-toolchain.toml changes (#4479)
Upgrading to Rust 1.80.0 (#4474) regressed some benchmarks (#4478). We
didn't notice because benchmarks didn't run on the PR. Make benchmarks
run on changes to `rust-toolchain.toml` so we'll be alerted if this
happens again on any future updates.
2024-07-26 11:33:41 +01:00
Boshen
9e301755ea
ci: pass secret to reusable workflow 2024-07-23 22:50:50 +08:00
Boshen
4246a21c6d
ci: run cargo check before cargo release-oxc 2024-07-23 22:25:40 +08:00
Boshen
52f65e976d
ci: remove top level env 2024-07-23 22:24:10 +08:00
Boshen
f005416bc3
ci: run cargo check in prepare_release_crates 2024-07-23 22:18:46 +08:00
Boshen
6beef7414c
ci: add check job (publish --dry-run) in prepare_release_crates 2024-07-23 22:05:21 +08:00
Boshen
269151d7f0
ci: use bot account with PAT in reusable_prepare_release 2024-07-23 22:01:41 +08:00
Boshen
97c7678343
ci: fix cargo-bins/cargo-binstall@v1.7.4 2024-07-21 20:42:14 +08:00
Boshen
3708fba9e5
ci: use cargo-bins/cargo-binstall@1.7.4 2024-07-21 20:40:14 +08:00
Boshen
8e2fd8c5f3
ci: remove graphite optimize_ci
The savings does not out weight the confusion this feature brings yet.
2024-07-16 21:26:33 +08:00
Boshen
4a50b88af4
ci: remove instructions for sccache
Performance improvement does not out weight cost yet.
2024-07-16 21:24:32 +08:00
renovate[bot]
fef5d053e7
chore(deps): update crate-ci/typos action to v1.23.2 (#4260)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.23.1` -> `v1.23.2` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.23.2`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.2)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.1...v1.23.2)

#### \[1.23.2] - 2024-07-10

##### Features

-   Automatically ignore JWT tokens

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-14 21:15:01 +00:00
Boshen
91dc0f7866
chore(benchmark): add codegen benchmark (#4207) 2024-07-11 23:58:37 +08:00
Boshen
8c54a2f1ed fix(tasks/ast_codegen): run cargo fmt synchronously (#4181)
relates #4152

This is my wild guess, because it works in my other script 143685deb1/xtask/src/main.rs (L21)
2024-07-11 02:59:30 +00:00
Boshen
07506ece83
ci: add a git diff check after running tests 2024-07-11 10:18:56 +08:00
rzvxa
e1279da55c chore(ci): fix the formatting issues on AST Changes. (#4153)
I'm not sure what causes this issue so this PR is going to start as an experimentation
2024-07-10 13:38:05 +00:00
rzvxa
e6c407d1c3
chore(ci): add Codegen to the CI workflow. (#4144)
It should be marked as `required`.
Closes #4138

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-07-10 09:47:30 +08:00
renovate[bot]
4a49e4cc96
chore(deps): update crate-ci/typos action to v1.23.1 (#4089)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | minor
| `v1.22.9` -> `v1.23.1` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.23.1`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.1)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.23.0...v1.23.1)

#### \[1.23.1] - 2024-07-05

##### Fixes

- Add missing [June
2024](https://togithub.com/crate-ci/typos/issues/1024) changes

###
[`v1.23.0`](https://togithub.com/crate-ci/typos/releases/tag/v1.23.0)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.9...v1.23.0)

#### \[1.23.0] - 2024-07-05

##### Fixes

- Updated the dictionary with the [June
2024](https://togithub.com/crate-ci/typos/issues/1024) changes

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-07 18:26:02 +00:00
Boshen
eb379188da
ci: fix version not set in release_oxlint.yml 2024-07-07 20:12:42 +08:00
Boshen
94bac93550
ci: pin cargo-shear to v1 2024-07-07 19:09:00 +08:00
Dunqing
54b3b6c0da
chore(benchmark): add isolated declarations (#4078) 2024-07-07 17:14:48 +08:00
Boshen
cdd4ee5dff
ci: cargo-shear v1 2024-07-05 23:46:15 +08:00
Dunqing
a50ce3d299 fix(transformer/typescript): missing initializer for class constructor arguments with private and protected modifier (#3996)
close: #3992
2024-07-01 15:10:32 +00:00
Boshen
34e8cfc9e5
ci: trigger eslint-plugin-oxlint after release 2024-07-01 17:29:58 +08:00
Boshen
e388758f8b
ci: split job in prepare_release_oxlint.yml 2024-07-01 17:24:33 +08:00
Boshen
253eea1938
ci: trigger eslint-plugin-oxlint when release oxlint 2024-07-01 16:43:52 +08:00
Boshen
e44963acda
Revert "chore(napi/transform): support wasm build (#3933)"
This reverts commit 3e9e4c9912.
2024-06-30 22:04:36 +08:00
Dunqing
3e9e4c9912
chore(napi/transform): support wasm build (#3933)
~~Encountered the same problem as
https://github.com/oxc-project/oxc-resolver/issues/190. Fixed in
napi@2.16.7, but oxc use `3.x`~~

Fixed in napi@3.0.0-alpha.3
2024-06-30 19:49:02 +08:00
Boshen
d80ebb16ef
chore: codecov ignore ast generated code 2024-06-27 22:03:01 +08:00
Boshen
1d74db7774
ci: fix oxlint build 2024-06-27 15:37:59 +08:00
Boshen
7b5abf647f
ci: fix build 2024-06-27 15:19:38 +08:00
Boshen
75592e0d4d
ci: fix reusable_prepare_release version output 2024-06-27 15:08:31 +08:00
Dunqing
253410017f
chore(ci): auto label for oxc_isolated_declarations (#3924) 2024-06-26 19:13:51 +08:00
Boshen
a85d313a43
chore(deps): update oven-sh/setup-bun action to v2 (#3874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 18:28:48 +08:00
renovate[bot]
bef7f2b836
chore(deps): update github-actions (#3857)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.22.7` -> `v1.22.9` |
|
[mozilla-actions/sccache-action](https://togithub.com/mozilla-actions/sccache-action)
| action | patch | `v0.0.4` -> `v0.0.5` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.22.9`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.9)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.8...v1.22.9)

#### \[1.22.9] - 2024-06-22

##### Fixes

-   Stop correcting `reoccurrence`

###
[`v1.22.8`](https://togithub.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.7...v1.22.8)

</details>

<details>
<summary>mozilla-actions/sccache-action
(mozilla-actions/sccache-action)</summary>

###
[`v0.0.5`](https://togithub.com/Mozilla-Actions/sccache-action/releases/tag/v0.0.5)

[Compare
Source](https://togithub.com/mozilla-actions/sccache-action/compare/v0.0.4...v0.0.5)

##### What's Changed

- add missing quotes to `configure` example in readme by
[@&#8203;altendky](https://togithub.com/altendky) in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
- chore: fix a typo in a comment by
[@&#8203;Alphare](https://togithub.com/Alphare) in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
- Bump outdated CI workflows and packages by
[@&#8203;orf](https://togithub.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)
- Output sccache stats as a notice and a summary table by
[@&#8203;orf](https://togithub.com/orf) in
[https://github.com/Mozilla-Actions/sccache-action/pull/113](https://togithub.com/Mozilla-Actions/sccache-action/pull/113)

##### Dependencies

- Bump [@&#8203;types/node](https://togithub.com/types/node) from
20.12.11 to 20.13.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/115](https://togithub.com/Mozilla-Actions/sccache-action/pull/115)
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 7.8.0 to 7.11.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/117](https://togithub.com/Mozilla-Actions/sccache-action/pull/117)
- Bump braces from 3.0.2 to 3.0.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/120](https://togithub.com/Mozilla-Actions/sccache-action/pull/120)
- Bump ts-jest from 29.1.2 to 29.1.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/118](https://togithub.com/Mozilla-Actions/sccache-action/pull/118)
- Bump prettier from 3.2.5 to 3.3.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/121](https://togithub.com/Mozilla-Actions/sccache-action/pull/121)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.10.0 to 1.10.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/95](https://togithub.com/Mozilla-Actions/sccache-action/pull/95)
- Bump eslint-config-prettier from 9.0.0 to 9.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/96](https://togithub.com/Mozilla-Actions/sccache-action/pull/96)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.1.1 to 6.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/97](https://togithub.com/Mozilla-Actions/sccache-action/pull/97)
- Bump [@&#8203;types/node](https://togithub.com/types/node) from
20.10.6 to 20.11.24 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/102](https://togithub.com/Mozilla-Actions/sccache-action/pull/102)
- Bump eslint-plugin-jest from 27.6.0 to 27.9.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/101](https://togithub.com/Mozilla-Actions/sccache-action/pull/101)
- Bump undici from 5.28.2 to 5.28.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/Mozilla-Actions/sccache-action/pull/99](https://togithub.com/Mozilla-Actions/sccache-action/pull/99)

##### New Contributors

- [@&#8203;altendky](https://togithub.com/altendky) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/103](https://togithub.com/Mozilla-Actions/sccache-action/pull/103)
- [@&#8203;Alphare](https://togithub.com/Alphare) made their first
contribution in
[https://github.com/Mozilla-Actions/sccache-action/pull/109](https://togithub.com/Mozilla-Actions/sccache-action/pull/109)
- [@&#8203;orf](https://togithub.com/orf) made their first contribution
in
[https://github.com/Mozilla-Actions/sccache-action/pull/114](https://togithub.com/Mozilla-Actions/sccache-action/pull/114)

**Full Changelog**:
https://github.com/Mozilla-Actions/sccache-action/compare/v0.0.4...v0.0.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 18:54:00 +00:00
Boshen
f8fe583a0b
ci: run cargo check first 2024-06-20 23:38:21 +08:00
Boshen
25b607cde1
ci: fix 2024-06-20 23:18:42 +08:00
Boshen
152195b67b
ci: try fix graphite optimize ci 2024-06-20 23:14:17 +08:00
overlookmotel
24df88099a
ci: enable semantic benchmarks (#3784)
#3776 does seem to have stabilized the benchmark results. Re-enable
semantic benchmarks which we disabled because they were showing wild
variance, and see if they still do.
2024-06-20 14:55:33 +08:00
Boshen
a94ef68c0f
ci: add JEMALLOC_SYS_WITH_LG_PAGE=16 to aarch64 systems
closes #3783
2024-06-20 14:30:17 +08:00
rzvxa
315f9ad9bf
chore(ci): add A-cfg label to auto-labler. (#3772)
I have already added the `A-cfg` label if you don't want to merge this
please also remove the said label.
2024-06-19 23:23:31 +08:00
Boshen
a658ca8675
ci: try graphite ci optimizer (#3770) 2024-06-19 23:07:35 +08:00
Boshen
527bfc82f5
feat(npm/oxc-transform): setup npm/oxc-transform and publish 2024-06-18 22:12:47 +08:00
renovate[bot]
810ac13511
chore(deps): update crate-ci/typos action to v1.22.7 (#3701)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://togithub.com/crate-ci/typos) | action | patch
| `v1.22.4` -> `v1.22.7` |

---

### Release Notes

<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>

###
[`v1.22.7`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.7)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.6...v1.22.7)

#### \[1.22.7] - 2024-06-12

##### Fixes

-   Remove Linux arm64 binary support

###
[`v1.22.6`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.6)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.5...v1.22.6)

#### \[1.22.6] - 2024-06-12

###
[`v1.22.5`](https://togithub.com/crate-ci/typos/releases/tag/v1.22.5)

[Compare
Source](https://togithub.com/crate-ci/typos/compare/v1.22.4...v1.22.5)

#### \[1.22.5] - 2024-06-12

##### Features

-   Linux arm64 binaries

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-16 21:36:08 +00:00
Boshen
2173f23d9c
ci: add workflow_dispatch to release oxlint 2024-06-14 15:29:29 +08:00
Boshen
c8e41601b2
ci: fix release oxlint missing target dir 2024-06-14 15:28:32 +08:00
Boshen
86556cef96
ci: simplify release scripts 2024-06-14 14:42:43 +08:00
Boshen
14b44062c2
ci: pin typos to a specific version (#3647) 2024-06-13 00:04:46 +08:00
Boshen
c041e9d1a9
chore: bump test262, babel and TypeScript submodules (#3644) 2024-06-12 18:42:32 +08:00
Boshen
a798ff4e89
ci: add actions: write permission to release_crates 2024-06-12 18:00:50 +08:00
Boshen
c95d691af6
ci: use node-version-file (#3607) 2024-06-10 22:06:09 +08:00
Boshen
b09092c9ec
ci: use personal access token to push tag 2024-06-08 17:05:14 +08:00
Boshen
532510d714
ci: fix tag push for release_crates 2024-06-07 17:52:19 +08:00
Boshen
05342c6080
ci: fix release oxlint 2024-06-07 17:33:37 +08:00
Boshen
e0bfd85254
ci: pass changelog to action-gh-release 2024-06-07 16:30:41 +08:00
Boshen
101d0ccefa
ci: trigger ecosystem ci and website task from prepare_release_oxlint 2024-06-07 00:09:42 +08:00
Boshen
2cdc4085f7
ci: only run "update rules" when rules.rs changes 2024-06-06 16:04:41 +08:00
Boshen
604b7cf92b
ci: prepare release oxlint 2024-06-06 16:04:41 +08:00
Boshen
6db4d7dc09
chore: update cliff.toml 2024-06-06 15:09:07 +08:00
Boshen
509ed2bcf3
ci: update prepare release crates; regenerate the changelogs 2024-06-06 14:28:51 +08:00
Boshen
19bc7eb20f
ci: fix mac build in release_napi_parser 2024-06-04 18:40:24 +08:00
Boshen
119d87510d
ci: fix release crate push tag permission 2024-06-04 18:22:22 +08:00
Boshen
20f1754f57
chore: update Cargo.lock 2024-06-04 18:05:57 +08:00
Boshen
9706c3b533
ci: adjust publish workflow 2024-06-04 16:40:15 +08:00
Boshen
ebd683bb4b
chore: add oxc_release.toml 2024-06-04 16:05:08 +08:00
Boshen
4a59a2b5ae
chore(ISSUE_TEMPLATE): remove the assignees 2024-06-03 22:18:51 +08:00
Boshen
28cc351cf3
ci: add prepare release workflow 2024-06-03 00:54:13 +08:00
renovate[bot]
ef35792623
chore(deps): update samypr100/setup-dev-drive action to v3 (#3505)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[samypr100/setup-dev-drive](https://togithub.com/samypr100/setup-dev-drive)
| action | major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>samypr100/setup-dev-drive (samypr100/setup-dev-drive)</summary>

###
[`v3`](https://togithub.com/samypr100/setup-dev-drive/releases/tag/v3)

[Compare
Source](https://togithub.com/samypr100/setup-dev-drive/compare/v2...v3)

#### What's Changed

- See
[CHANGELOG.md](https://togithub.com/samypr100/setup-dev-drive/blob/v3/CHANGELOG.md)

**Full Changelog**:
https://github.com/samypr100/setup-dev-drive/compare/v2...v3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-02 16:08:16 +00:00
Boshen
851318b413
ci(): install rust before cache in windows-test 2024-05-31 10:01:09 +08:00
Boshen
8fe58921e9
ci: speed up windows build (#3474)
Windows warm cache run reduced from 3 mins to 2 mins 20 seconds.

Unsung heros of the internet, who led me here to speed up window's
slowness:
* `https://github.com/actions/cache/issues/752#issuecomment-1847036770`
*
502e04200d/.github/workflows/ci.yml (L158)
2024-05-31 09:48:28 +08:00
Boshen
0f4bcc0a68
ci: fix cache for clippy and docs 2024-05-30 23:43:41 +08:00
Boshen
41d67fe6f6
ci: clean up the bloat action 2024-05-30 23:26:34 +08:00
Boshen
0d35f227b5
ci: fix sccache in "check conformance" 2024-05-30 00:46:47 +08:00
Boshen
0a61843ea8
ci: fix smoke test failing because bash is not installed on alpine 2024-05-28 23:47:10 +08:00
Boshen
0355c9d116
ci: remove actions/rustup in favor of Boshen/rustup (#3429) 2024-05-27 16:34:18 +08:00
Boshen
ef8d3cf02b
add tool 2024-05-27 15:02:25 +08:00
rzvxa
56cbdf5f0e ci(oxlint): add oxc_language_server binary to the oxlint package. (#3350)
I didn't introduce a new set of native packages for the `oxc_language_server` binary, This change temporarily bundles them as part of oxlint, We most probably would want to make it an optional dependency in the future if we start to add more futures like formatting, jump to definition, etc to it.
2024-05-27 02:46:43 +00:00
Boshen
2fd0968f95
chore: codecov ignore crates/oxc_traverse/src/ancestor.rs 2024-05-26 20:29:07 +08:00
Boshen
d80e9b4187
ci: add sccache to linter benchmark (#3418) 2024-05-26 20:27:24 +08:00
Boshen
31c8e3340d
ci: build test first to speed up ci runs by a little bit 2024-05-26 16:28:18 +08:00
Boshen
3855579eb4 ci: apply default shell: bash to all CI jobs (#3416) 2024-05-26 08:05:11 +00:00
Boshen
21505e885c refactor(cli): move crates/oxc_cli to apps/oxlint (#3413)
We need to split the cli crate up to reduce dependencies,
the current cli crate is pulling in `oxc_prettier`, which is redundant
for the linter.
2024-05-26 05:00:30 +00:00
Boshen
7d73fb33e8
ci: disable RUSTC_WRAPPER from forks 2024-05-26 01:46:14 +08:00
Boshen
217594d21f
ci: setup sccache (#3403) 2024-05-25 23:38:43 +08:00
Boshen
68c1bf4018
ci: disable the flaky semantic benchmark 2024-05-24 15:01:11 +08:00
Boshen
c8e3ca0816
ci: add secret CARGO_REGISTRY_TOKEN to cargo publish 2024-05-22 18:19:40 +08:00
Boshen
16d8dcda76
ci: allow branch renovate/** 2024-05-20 13:35:31 +08:00
Boshen
cc1882d221
ci: remove ecosystem ci, moved to https://github.com/oxc-project/oxlint-ecosystem-ci 2024-05-16 01:32:45 +08:00
overlookmotel
f0cbbbe28c
ci: build each benchmark only with deps it needs (#3221)
This PR builds on #3201 to further speed up the benchmarks and reduce CI
time.

* Build and run each benchmark as separate job (like before).
* But now each bench is only built with the dependencies it needs.
* For linter benchmarks, build benchmark in 1 job (like #3201 does).
* Run each linter fixture in a separate job as they're slow.

This reduces total time to complete benchmarks from between 6m-7m to
~4m40s.

All the individual jobs complete in under 1m30s, except for building
linter benchmark which takes 2m30s. So there won't be the problem of
blocking the CI queue that there was before.

NB: I did try this before, and didn't see a benefit. But I realized
today what I was doing wrong - it only works once the caches are
populated by a previous run on main branch.

So the CI times in this PR won't look good, but once it's merged to
main, it will take effect. Here it is running on main branch of my fork:

https://github.com/overlookmotel/oxc/actions/runs/9030511348

I also added a step to delete the temp artefacts which aren't needed
once the run has completed.
2024-05-10 22:01:24 +08:00
Boshen
be2aaa1d7e
ci: add release crates workflow
closes #2518
2024-05-08 22:32:05 +08:00
Dunqing
a227050ed0
chore: update babel repo (#3205) 2024-05-08 20:15:15 +08:00
Boshen
5683aceae9
ci: improve benchmark build time by only building once (#3201)
relates #3200
2024-05-08 14:54:10 +08:00
Boshen
ed3fa399a6
feat(linter): add --format github for github check annotation (#3191)
closes #480
2024-05-07 20:55:10 +08:00
Boshen
b66d578fed
chore: update renovate.json 2024-05-07 12:33:40 +08:00
Boshen
4e9b9d9e09
chore(renovate): migrate renovate config 2024-05-07 00:59:43 +08:00
Boshen
51855d6734
chore(renovate): remove unused ignoreDeps from rust crates 2024-05-07 00:37:07 +08:00
Boshen
8fbba03afd
ci: reduce the total number of linter benchmarks (#3172)
closes #2981
2024-05-06 12:54:50 +08:00
Boshen
cf2db1ef3a
ci: fix broken cargo bloat command 2024-05-04 00:03:21 +08:00
Boshen
264404431c
chore: fix renovate error "Use matchDepNames instead of matchPackageNames" 2024-04-28 14:49:23 +08:00
Boshen
5d0f165f51
ci: "Coverage and check diff" -> "Check Conformance" 2024-04-26 21:31:44 +08:00
Boshen
fe37da63ae
ci: remove some redundant lines that are showing warnings 2024-04-20 14:23:34 +08:00
renovate[bot]
ec1ca3ac98
chore(deps): update peaceiris/actions-gh-pages action to v4 (#2986)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[peaceiris/actions-gh-pages](https://togithub.com/peaceiris/actions-gh-pages)
| action | major | `v3` -> `v4` |

---

### Release Notes

<details>
<summary>peaceiris/actions-gh-pages
(peaceiris/actions-gh-pages)</summary>

###
[`v4`](https://togithub.com/peaceiris/actions-gh-pages/compare/v3...v4)

[Compare
Source](https://togithub.com/peaceiris/actions-gh-pages/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 8am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:11:26 +08:00
Boshen
93ce5a919a
chore: fix internal doc warnings 2024-04-13 15:59:24 +08:00
Boshen
9df5001543
ci: explicitly disable incremental build and deny warnings for cargo and rust 2024-04-13 15:40:10 +08:00
Boshen
51e1fe32e5
chore: fix rust toolchain update not working 2024-04-13 14:12:10 +08:00
Boshen
adabbac696
ci: only run cargo-shear when Rust changes (#2953) 2024-04-13 13:24:09 +08:00
Boshen
003c2960c6
chore: add auto rust-toolchain.toml version update 2024-04-13 12:58:35 +08:00
Boshen
063b281c39
feat(allocator): make Box's PhantomData own the passed in T (#2952) 2024-04-13 12:31:40 +08:00
Boshen
b05c26374c
ci: fix codecov stack overflow by increasing the stack size
The underlying cause is oxc_prettier recursively printing assignment expressions.
2024-04-12 20:17:53 +08:00
Boshen
ced0721b3b
ci: cache codecov; enable code coverage for oxc_transformer 2024-04-11 16:16:02 +08:00
Boshen
3e5530805d
Update issue templates 2024-04-09 14:54:46 +08:00
Boshen
0bada0bc93
Update issue templates (#2927) 2024-04-09 14:52:49 +08:00
Boshen
659e891615
ci: skip benchmark-napi because it is flaky (#2918)
The flakiness and all the noise produced by it is starting to hurt
maintenance because I can no longer tell if main or PR is failing
properly :-(

codspeed doesn't have the feature "let it run but don't report as error"
or "different thresholds on different benchmarks"
2024-04-08 19:21:57 +08:00
Boshen
ab26099281
Publish @oxc-parser/wasm with web and node builds (#2916)
Co-authored-by: Saeid Zareie <saeid.za98@gmail.com>
2024-04-08 15:47:02 +08:00