Commit graph

624 commits

Author SHA1 Message Date
Boshen
0afbc7b2bd
ci: download ast-grep from npm 2025-02-02 17:18:37 +08:00
Alexander S.
b253938d96
chore: fix linter bug report template (#8826)
![grafik](https://github.com/user-attachments/assets/62ac4e2c-b2a1-4ec1-9d19-18e0e7dc2eea)

Installed YAML extension to avoid more errors. Introduced in
https://github.com/oxc-project/oxc/pull/8818
2025-02-02 09:08:03 +08:00
Alexander S.
36f7933a9e
chore: improve linter bug report template (#8818)
- changed the `.oxlint.json` to `.oxlintrc.json` because this is our
default name
- added placeholder and prepared values for formatting (not tested)
2025-02-01 10:27:37 +08:00
Boshen
003c190d93
chore(deps): update github-actions (#8760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 13:30:28 +08:00
Boshen
ad87fc7a53
ci: download ast-grep from github (#8728) 2025-01-26 18:19:00 +08:00
Boshen
b7f13e636e feat(ast): implement utf8 to utf16 span converter (#8687)
closes #8629
2025-01-24 16:57:44 +00:00
Boshen
4f6d164f52
ci: fix release napi scripts 2025-01-24 13:37:01 +08:00
Boshen
a78a72fb16
ci: fix overly broad permissions reported by zizmor (#8611)
https://woodruffw.github.io/zizmor/audits/#excessive-permissions
2025-01-20 13:19:50 +08:00
renovate[bot]
7923971783
chore(deps): update github-actions 2025-01-20 01:06:44 +00:00
Alexander S.
1a99d3539e
ci(lint_rules): trigger on utils/mod.rs and on its workflow file (#8601)
The vitest rules documentation did not get updated after
https://github.com/oxc-project/oxc/pull/8445
2025-01-19 22:38:39 +08:00
Boshen
9dc65cfa6a
ci: fix release napi script 2025-01-19 10:35:51 +08:00
Boshen
4a59d29c30
refactor(workflows): add reusable_release_napi.yml (#8581) 2025-01-18 15:27:22 +08:00
Boshen
2f0314eec2
feat(npm/oxc-minify): npm package and publish script (#8579) 2025-01-18 12:12:42 +08:00
Boshen
5cb9e979fe
feat(tasks/e2e): transformer + minifier runtime tests for popular npm packages (#8552)
Code extracted from
https://github.com/privatenumber/minification-benchmarks
2025-01-17 19:13:59 +08:00
overlookmotel
1d4c7a1099 ci(lint): run clippy in release mode (#8541)
CI Clippy task catch lint errors which only appear in release mode (e.g. the one fixed in #8539).

Add a profile for this. `cargo clippy --profile dev-no-debug-assertions` is about 35% faster than `cargo clippy --release` (and is slightly faster than plain `cargo clippy`) but catches the same problems.

This slows down the Clippy CI task, but it still remains faster than running conformance, so I don't think it's likely to slow down CI overall.
2025-01-17 06:14:35 +00:00
overlookmotel
cfd783aa19
chore(coverage): bump babel submodule (#8508)
Update babel submodule for conformance tests to latest HEAD.

The test fixtures include a new one for a bug fix which @branchseer
intends to also apply to Oxc - https://github.com/babel/babel/pull/17050
(see #8342).
2025-01-15 22:58:15 +08:00
Boshen
7eb6ccde66 feat(ast)!: remove unused and not useful ContentHash (#8483)
`ContentEq` is preferred.
2025-01-14 09:53:27 +00:00
Boshen
0726581f4f
chore(deps): update github-actions (#8409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:06:49 +08:00
renovate[bot]
6a97e29c19
chore(deps): update crate-ci/typos action to v1.29.4 (#8265)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [crate-ci/typos](https://redirect.github.com/crate-ci/typos) | action
| minor | `v1.28.3` -> `v1.29.4` |

---

### Release Notes

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

###
[`v1.29.4`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.29.4)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.29.3...v1.29.4)

#### \[1.29.4] - 2025-01-03

###
[`v1.29.3`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.29.3)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.29.2...v1.29.3)

#### \[1.29.3] - 2025-01-02

###
[`v1.29.2`](https://redirect.github.com/crate-ci/typos/compare/v1.29.1...v1.29.2)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.29.1...v1.29.2)

###
[`v1.29.1`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.29.1)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.29.0...v1.29.1)

#### \[1.29.1] - 2025-01-02

##### Fixes

-   Don't correct `deriver`

###
[`v1.29.0`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.29.0)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.28.4...v1.29.0)

#### \[1.29.0] - 2024-12-31

##### Features

- Updated the dictionary with the [December
2024](https://redirect.github.com/crate-ci/typos/issues/1156) changes

##### Performance

-   Sped up dictionary lookups

###
[`v1.28.4`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.28.4)

[Compare
Source](https://redirect.github.com/crate-ci/typos/compare/v1.28.3...v1.28.4)

#### \[1.28.4] - 2024-12-16

##### Features

-   `--format sarif` support

</details>

---

### Configuration

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

🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzOS44NS4wIiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cameron Clark <cameron.clark@hey.com>
2025-01-05 22:13:32 +00:00
Pavel Smirnov
0794bee907
fix(editor/vscode): set minimum supported ver. to ^1.93.0 (#8182)
Hi,

I'm using Cursor which is based on VSCode `1.93` at the moment of this
PR. And i've faced with an issue when i can't install latest version of
oxc vscode plugin - by default plugin marketplace offers me `v0.0.1` and
via `Install Specific Version` i can install only `v0.10.3` while latest
is `v0.15.3`. No idea when Cursor will update its version.
There's no issue with VSCode, only Cursor.

After downgrading minimum version, Cursor allowed me to install plugin
that i compiled by myself, everything seem to be working.

Not sure about how is usually contributions made here so correct me if i
miss something
2024-12-30 15:22:54 +08:00
Boshen
8b025e36db chore(coverage): bump test262 (#8055) 2024-12-21 10:20:14 +00:00
Boshen
dcb27ff6cd
ci: change setup-zig (#7930) 2024-12-16 13:52:15 +08:00
Boshen
7a087b914e
ci: update .github/workflows/ci_security.yml 2024-12-14 17:45:39 +08:00
Boshen
9d77ab79f1
Update FUNDING.yml 2024-12-14 15:29:41 +08:00
Boshen
36ebb3e784
Revert "chore(renovate): temporary "updateNotScheduled": true"
This reverts commit 1bb097d459.
2024-12-14 13:25:22 +08:00
Boshen
20c29a19f3
ci: downgrade action-gh-release
v2.2.0 is broken https://github.com/softprops/action-gh-release/issues/555
2024-12-14 13:24:31 +08:00
Boshen
e62a69a8dc
Revert "ci: persist-credentials: true in release_oxlint"
This reverts commit 0ad4fe9e15.
2024-12-14 13:21:16 +08:00
Boshen
0ad4fe9e15
ci: persist-credentials: true in release_oxlint 2024-12-14 13:17:36 +08:00
Boshen
816cba6f35
Revert "ci(release_oxlint): split out github release job"
This reverts commit 1eab12a03a.
2024-12-14 13:17:35 +08:00
Boshen
0f540ecc9f
chore(just): remove update_fixtures from just submodules (#7875)
It is replaced by `update-transformer-fixtures`
2024-12-14 12:28:15 +08:00
Boshen
0b67b37584
ci: fix ci_security.yml 2024-12-14 12:17:26 +08:00
Boshen
1eab12a03a
ci(release_oxlint): split out github release job 2024-12-13 22:46:15 +08:00
Boshen
f8175c545b
ci: wait 3 minutes before smoke test and eslint-plugin-oxlint
closes #7789
2024-12-13 21:54:32 +08:00
Boshen
c039a5ae4f
ci: fix release crates 2024-12-13 21:46:19 +08:00
Alexander S.
5172f32457
ci: use zizmor as a rust package (#7844)
Co-authored-by: Boshen <boshenc@gmail.com>
2024-12-13 20:54:26 +08:00
Boshen
e812ae3117
chore(deps): pin dependencies (#7842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 20:12:09 +08:00
Boshen
13fe68d0dd
ci: fix more action versions 2024-12-13 20:04:27 +08:00
Boshen
4dd69b5811
ci: fix action versions 2024-12-13 19:55:47 +08:00
Boshen
0970168a48
chore(deps): pin dependencies (#7837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 19:45:48 +08:00
overlookmotel
2307c633ab
ci(pr-title): fix version of actions-ecosystem/action-add-labels action (#7841)
v1.1.0 is the latest version.
2024-12-13 11:42:37 +00:00
Boshen
846375d01e
chore(deps): update crate-ci/typos action to v1.28.3 (#7839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-13 19:41:33 +08:00
Boshen
1bb097d459
chore(renovate): temporary "updateNotScheduled": true 2024-12-13 19:13:49 +08:00
Boshen
fdf01cfe08
ci: pin lycheeverse/lychee-action@v2.1.0 2024-12-13 19:07:57 +08:00
Boshen
ba84acd5cf
ci: pin github action versions (#7826) 2024-12-13 18:53:16 +08:00
Boshen
befb0a5997
ci: pin oxc-project/setup-rust@1.0.0 (#7834) 2024-12-13 18:45:43 +08:00
Boshen
7610dc19ff fix(parser): parse import source from 'mod' (#7833) 2024-12-13 10:26:36 +00:00
Boshen
e4d040583c
chore(renovate): try extend helpers:pinGitHubActionDigests 2024-12-13 18:24:21 +08:00
Boshen
d4b8377841
ci: improve benchmark trigger 2024-12-13 13:50:02 +08:00
Alexander S.
b24a636b0a
ci: add zizmor for github actions security (#7822)
> zizmor is a static analysis tool for GitHub Actions. It can find many
common security issues in typical GitHub Actions CI/CD setups.

https://woodruffw.github.io/zizmor/

EDIT: what is the right PR-syntax for this?

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-12-13 13:36:41 +08:00
Boshen
6f38790442
ci: split out cargo minsize from cargo coverage for faster CI (#7733) 2024-12-09 11:47:28 +08:00