Boshen
63f756c78b
ci: only cache dprint plugins on main branch ( #6725 )
2024-10-21 11:54:11 +08:00
Don Isaac
f05a2739da
ci(linter): skip linter benchmarks on unrelated file changes ( #6705 )
...
Skip building/running linter benchmarks on PRs that only change the
transformer, ID, formatter, or the minifier.
2024-10-21 10:02:35 +08:00
Boshen
3711c32f22
chore(coverage): bump test262, babel and TypeScript ( #6702 )
...
closes #6692
2024-10-20 15:02:26 +00:00
ottomated
e310e52ca2
feat(parser): Generate Serialize impls in ast_tools ( #6404 )
...
Beginning of #6347 . Instead of using serde-derive, we generate
`Serialize` impls manually.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
2024-10-19 09:38:44 +01:00
Don Isaac
78fe4af3ad
ci: skip coverage/benchmarks on more unrelated files ( #6616 )
...
Enhance file filters that trigger coverage and benchmark jobs by adding
more ignored globs.
2024-10-16 14:36:07 +08:00
Don Isaac
a00b43717d
ci: cache compiled dprint plugins ( #6605 )
...
Cache downloaded & compiled `dprint` plugins in `autofix.ci` between
runs. It should help shave some time off this pipeline.
2024-10-16 06:48:24 +08:00
Don Isaac
04d09b3d1b
ci: auto-label PRs with category tags based on their title ( #6533 )
...
Automatically add category labels (e.g. `C-enhancement`) to PRs based on
the conventional commit type (e.g. `feat`) used in their title.
2024-10-15 10:07:21 +08:00
Don Isaac
111e2d798a
ci: auto-label editor-related PRs ( #6532 )
2024-10-14 08:57:42 +08:00
Don Isaac
f12571f9a7
chore(repo): add note to bug report template ( #6522 )
...
I'm seeing lots of bug reports for oxlint & the VSCode extension that
are not using the "linter bug report" template. This PR adds a notice to
our default bug report template that redirects people to the correct
place.
2024-10-14 08:54:48 +08:00
Boshen
2808973af3
feat(ast)!: add Program::comments ( #6445 )
2024-10-11 04:47:36 +00:00
dalaoshu
f70e93b2f5
refactor(oxc): ban index methods on std::str::Chars ( #6075 )
...
closes #6071
2024-10-10 21:35:24 +08:00
Boshen
49ce14b2fd
chore(deps): update crate-ci/typos action to v1.26.0 ( #6366 )
2024-10-08 14:43:28 +00:00
Boshen
b5ba0e94fa
ci: remove mention of sccache-action
2024-10-08 22:26:50 +08:00
Boshen
40c00d53b0
ci: fix release napi
2024-10-08 21:24:36 +08:00
Boshen
5b5daec392
refactor(napi): use vitest ( #6307 )
2024-10-06 02:57:48 +00:00
Boshen
f51cbadf93
ci: temporary disable windows due to napi failing
...
Running unittests src\lib.rs (target\debug\deps\oxc_coverage-c37180833952f95b.exe)
Load Node-API [napi_get_last_error_info] from host runtime failed: GetProcAddress failed
2024-10-03 12:39:32 +08:00
Boshen
7bb745b085
ci: add trigger monitor oxc in prepare_release_crates
...
closes https://github.com/oxc-project/monitor-oxc/issues/44
2024-10-03 11:19:53 +08:00
overlookmotel
3da0334396
ci(miri): run Miri on changes to more crates ( #6223 )
...
Run Miri when changes are made to crates which contain a lot of unsafe
code.
2024-10-01 22:56:05 +08:00
renovate[bot]
7a381ee8f0
chore(deps): update crate-ci/typos action to v1.25.0 ( #6200 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://redirect.github.com/crate-ci/typos ) | action
| minor | `v1.24.5` -> `v1.25.0` |
---
### Release Notes
<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>
###
[`v1.25.0`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.25.0 )
[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.24.6...v1.25.0 )
#### \[1.25.0] - 2024-10-01
##### Fixes
- Updated the dictionary with the [September
2024](https://redirect.github.com/crate-ci/typos/issues/1107 ) changes
###
[`v1.24.6`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.24.6 )
[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.24.5...v1.24.6 )
#### \[1.24.6] - 2024-09-16
##### Fixes
- Respect negation (`!`) in `extend-exclude`
</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:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Boshen <boshenc@gmail.com>
2024-10-01 12:42:33 +08:00
overlookmotel
509460b923
ci(transformer): run transformer tests under Miri ( #6112 )
...
Transformer tests include tests for unsafe code in `Stack` and
`NonEmptyStack`. Run these tests under Miri.
2024-09-27 17:27:28 +01:00
Don Isaac
b2760ec91c
chore(github): add linter bug report template ( #6082 )
...
Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
2024-09-27 13:50:35 +08:00
Boshen
cfb3f7a9a4
ci: fix wasm release missing wasm-pack
2024-09-23 11:45:17 +08:00
Boshen
07f34c51d8
chore(renovate): ignore unicode-width update, which is pinned to miette
2024-09-23 09:24:28 +08:00
Boshen
91bb06e6ff
chore(wasm/parser): remove wasm-pack dependency ( #5777 )
...
It should be installed via `cargo binstall` for consistency.
2024-09-15 11:27:48 +08:00
Boshen
f14a534777
ci: fix oxlint publish
2024-09-12 14:53:45 +08:00
Boshen
a729b64380
ci: add a scope to release PR title
...
For passing PR title checker
2024-09-11 18:33:00 +08:00
Boshen
1ed4ccdcae
ci: fix failed to napi publish without --no-git-checks
...
We generate all the files so they are not commited to the repo
2024-09-11 18:30:15 +08:00
renovate[bot]
f475bba644
chore(deps): update peter-evans/create-pull-request action to v7 ( #5698 )
2024-09-11 18:26:33 +08:00
IWANABETHATGUY
e38114b825
fix(ast_tools): fix ast-tool panic ( #5641 )
...
`just ast` panic due to
553262842c ,
change the filename to makesure `ast_tool` still working
1. crates/oxc_span/src/source_type/types.rs is removed in
553262842c
2024-09-09 17:57:20 +08:00
Boshen
63a830e08c
chore(dprint): format toml files ( #5599 )
...
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
2024-09-08 14:26:16 +08:00
Boshen
2386d7fca2
chore(dprint): format yaml files ( #5598 )
2024-09-08 14:05:46 +08:00
renovate[bot]
69da677f00
chore(deps): update crate-ci/typos action to v1.24.5 ( #5596 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://redirect.github.com/crate-ci/typos ) | action
| patch | `v1.24.3` -> `v1.24.5` |
---
### Release Notes
<details>
<summary>crate-ci/typos (crate-ci/typos)</summary>
###
[`v1.24.5`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.24.5 )
[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.24.4...v1.24.5 )
#### \[1.24.5] - 2024-09-04
##### Features
- *(action)* Support windows
###
[`v1.24.4`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.24.4 )
[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.24.3...v1.24.4 )
#### \[1.24.4] - 2024-09-03
##### Fixes
- Offer a correction for `grather`
</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:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 05:52:04 +00:00
Boshen
955e83ec41
ci: add dprint to autofix ( #5597 )
2024-09-08 13:46:30 +08:00
Boshen
d00a1f6511
chore: use dprint to format js, json and markdown
2024-09-08 13:24:58 +08:00
Boshen
40d0149a50
chore: commit message must have a scope
2024-09-08 00:43:12 +08:00
rzvxa
db55fb0fce
fix(ast_tools, ci): watch tasks/ast_tools instead of tasks/ast_codegen. ( #5576 )
...
I was so confused as to why the `AST Changes` step wasn't running at times. Turns out we weren't watching it at all😅
This means for a duration of time we weren't running the `AST Changes` step on PRs that edited only `ast_tools` that didn't update any side-effects.
2024-09-07 09:41:18 +00:00
Boshen
7f7ed7b4dc
ci: add custom pnpm action ( #5572 )
2024-09-07 16:13:19 +08:00
Boshen
c796b77fa2
ci: use pnpm publish
2024-09-07 13:19:52 +08:00
Boshen
0c43d0cf8d
build: fix wasm publish
2024-09-06 19:39:13 +08:00
rzvxa
b4f75967bd
refactor(ast_tools): add some minimal logging. ( #5519 )
2024-09-06 06:19:50 +00:00
rzvxa
10e8984d93
ci: fix paths in the .generated_ast_watch_list.yml. ( #5520 )
2024-09-06 03:23:26 +00:00
Boshen
d9d29f8705
ci: fix pr.yml
...
closes #5477
2024-09-05 18:09:40 +08:00
Boshen
3cbf9ef70a
ci: add release to pr title check ( #5475 )
2024-09-05 17:10:12 +08:00
rzvxa
90facd3657
feat(ast): add ContentHash trait; remove noop Hash implementation from Span ( #5451 )
...
closes #5283
Also removes the noop Hash implementation on `Span` in favor of a real implementation.
2024-09-05 07:20:04 +03:30
rzvxa
23285f431d
feat(ast): add ContentEq trait. ( #5427 )
...
Part of #5283
2024-09-04 11:53:50 +00:00
Boshen
51b15ca143
ci: set show-progress: false in clone-submodules
2024-09-03 22:03:34 +08:00
Boshen
0a5780d328
ci: fix broken benchmark ( #5424 )
2024-09-03 18:21:39 +08:00
Boshen
a03b24d94e
ci: add napi tests ( #5419 )
2024-09-03 12:24:58 +08:00
Boshen
b486a85405
ci: fix broken reusable_prepare_release.yml
2024-09-03 12:20:04 +08:00
Boshen
310e05ca8e
ci: match autofix trigger with ci.yml
2024-09-03 12:05:02 +08:00
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 )
...
[](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 )
...
[](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 )
([#​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 )
([#​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

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 )
...
[](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
([#​1867](https://togithub.com/cargo-bins/cargo-binstall/issues/1867 )
[#​1868](https://togithub.com/cargo-bins/cargo-binstall/issues/1868 ))
- dep: Bump hickory-resolver to 0.25.0-alpha.2
([#​665](https://togithub.com/cargo-bins/cargo-binstall/issues/665 )
[#​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 )
...
[](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`
([#​1823](https://togithub.com/cargo-bins/cargo-binstall/issues/1823 )
[#​1862](https://togithub.com/cargo-bins/cargo-binstall/issues/1862 ))
- Fix: `--strategies` on CLI do not seem to override disabled-strategies
in the manifest
([#​1851](https://togithub.com/cargo-bins/cargo-binstall/issues/1851 )
[#​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 )
...
[](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 )
...
[](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)
([#​1836](https://togithub.com/cargo-bins/cargo-binstall/issues/1836 )
[#​1839](https://togithub.com/cargo-bins/cargo-binstall/issues/1839 ))
- Add environment variable `BINSTALL_DISABLE_STRATEGIES` for
`--disable-strategies`
([#​1833](https://togithub.com/cargo-bins/cargo-binstall/issues/1833 )
[#​1838](https://togithub.com/cargo-bins/cargo-binstall/issues/1838 ))
- Add new option `--disable-telemetry` to disable quickinstall
statistics collection
([#​1822](https://togithub.com/cargo-bins/cargo-binstall/issues/1822 )
[#​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)
([#​1721](https://togithub.com/cargo-bins/cargo-binstall/issues/1721 )
[#​1828](https://togithub.com/cargo-bins/cargo-binstall/issues/1828 ))
- Fix v1 manifest format for git and local path
([#​1815](https://togithub.com/cargo-bins/cargo-binstall/issues/1815 )
[#​1821](https://togithub.com/cargo-bins/cargo-binstall/issues/1821 ))
- Fix: normalize GitHub URLs ending in .git to not ending in .git
([#​1801](https://togithub.com/cargo-bins/cargo-binstall/issues/1801 )
[#​1803](https://togithub.com/cargo-bins/cargo-binstall/issues/1803 )
[#​1804](https://togithub.com/cargo-bins/cargo-binstall/issues/1804 ))
##### Other changes:
- Fixed `install-from-binstall-release.sh` on raspberry pi
([#​1814](https://togithub.com/cargo-bins/cargo-binstall/issues/1814 ))
- Enable feature `native-tls/vendored` if both feature `native-tls` and
`static` is enabled
([#​1694](https://togithub.com/cargo-bins/cargo-binstall/issues/1694 )
[#​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 )
...
[](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