leaysgur
db446518ca
fix(napi): disable reuseWorker in browser bindings ( #25640 )
...
Fixes #25610
AI assistance: Codex was used to implement this change.
2026-08-14 11:11:20 +00:00
camc314
253075e0cb
fix(playground): include generated runtime files ( #25246 )
...
- add an explicit `files` allowlist for `oxc-playground`
- include generated JS/types, WASM binaries, and worker modules
- fix `publint` failures under pnpm 11.17.0 affecting oxc-project/playground#414
2026-08-03 10:28:30 +00:00
renovate[bot]
b937e3e2f1
chore(deps): update napi ( #25019 )
...
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/ ) |
[Adoption](https://docs.renovatebot.com/merge-confidence/ ) |
[Passing](https://docs.renovatebot.com/merge-confidence/ ) |
[Confidence](https://docs.renovatebot.com/merge-confidence/ ) | Type |
Update |
|---|---|---|---|---|---|---|---|
| [@napi-rs/cli](https://napi.rs/ )
([source](https://redirect.github.com/napi-rs/napi-rs )) | [`3.7.4` →
`3.8.2`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.7.4/3.8.2 ) |

|

|

|

| pnpm.catalog.default | minor |
| [napi](https://redirect.github.com/napi-rs/napi-rs ) | `3.11.0` →
`3.12.0` |

|

|

|

| workspace.dependencies | minor |
| [napi-build](https://redirect.github.com/napi-rs/napi-rs ) | `2.3.2` →
`2.4.0` |

|

|

|

| workspace.dependencies | minor |
| [napi-derive](https://redirect.github.com/napi-rs/napi-rs ) | `3.6.0` →
`3.6.2` |

|

|

|

| workspace.dependencies | patch |
---
### Release Notes
<details>
<summary>napi-rs/napi-rs (@​napi-rs/cli)</summary>
###
[`v3.8.2`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.8.1...@napi-rs/cli@3.8.2 )
[Compare
Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.8.1...@napi-rs/cli@3.8.2 )
###
[`v3.8.1`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.8.0...@napi-rs/cli@3.8.1 )
[Compare
Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.8.0...@napi-rs/cli@3.8.1 )
###
[`v3.8.0`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.7.4...@napi-rs/cli@3.8.0 )
[Compare
Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.7.4...@napi-rs/cli@3.8.0 )
</details>
---
### Configuration
📅 **Schedule**: (in timezone Asia/Shanghai)
- 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.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://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cameron <cameron.clark@hey.com >
2026-08-03 11:21:03 +01:00
renovate
d8076c9780
chore(deps): update rolldown ( #21639 )
...
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Adoption](https://docs.renovatebot.com/merge-confidence/ ) | [Passing](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|---|---|
| [rolldown](https://rolldown.rs/ ) ([source](https://redirect.github.com/rolldown/rolldown/tree/HEAD/packages/rolldown )) | [`1.0.0-rc.16` → `1.0.0-rc.17`](https://renovatebot.com/diffs/npm/rolldown/1.0.0-rc.16/1.0.0-rc.17 ) |  |  |  |  |
| [tsdown](http://tsdown.dev/ ) ([source](https://redirect.github.com/rolldown/tsdown )) | [`0.21.9` → `0.21.10`](https://renovatebot.com/diffs/npm/tsdown/0.21.9/0.21.10 ) |  |  |  |  |
---
### Release Notes
<details>
<summary>rolldown/rolldown (rolldown)</summary>
### [`v1.0.0-rc.17`](https://redirect.github.com/rolldown/rolldown/blob/HEAD/CHANGELOG.md#100-rc17---2026-04-22 )
[Compare Source](https://redirect.github.com/rolldown/rolldown/compare/v1.0.0-rc.16...v1.0.0-rc.17 )
##### 🐛 Bug Fixes
- link: error on missing export between TS modules ([#​9197](https://redirect.github.com/rolldown/rolldown/issues/9197 )) by [@​IWANABETHATGUY](https://redirect.github.com/IWANABETHATGUY )
- rolldown\_plugin\_vite\_import\_glob: import path should not be affected by absolute base option ([#​9145](https://redirect.github.com/rolldown/rolldown/issues/9145 )) by [@​kermanx](https://redirect.github.com/kermanx )
- `this.resolve()` returns null for bare relative paths without importer ([#​9142](https://redirect.github.com/rolldown/rolldown/issues/9142 )) by [@​Copilot](https://redirect.github.com/Copilot )
- collect destructured bindings in HMR module exports ([#​9146](https://redirect.github.com/rolldown/rolldown/issues/9146 )) by [@​h-a-n-a](https://redirect.github.com/h-a-n-a )
- esbuild-tests: handle 0.28.0 test cases ([#​9149](https://redirect.github.com/rolldown/rolldown/issues/9149 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
- plugin/copy-module: honor external resolutions from other plugins ([#​9139](https://redirect.github.com/rolldown/rolldown/issues/9139 )) by [@​TheAlexLichter](https://redirect.github.com/TheAlexLichter )
- allow undefined in sourcesContent type ([#​9136](https://redirect.github.com/rolldown/rolldown/issues/9136 )) by [@​jurijzahn8019](https://redirect.github.com/jurijzahn8019 )
- reduce false positives in chunk optimizer circular dependency detection ([#​9049](https://redirect.github.com/rolldown/rolldown/issues/9049 )) by [@​AlonMiz](https://redirect.github.com/AlonMiz )
##### 🚜 Refactor
- chunk-optimizer: extract runtime-module placement into rehome\_runtime\_module ([#​9163](https://redirect.github.com/rolldown/rolldown/issues/9163 )) by [@​IWANABETHATGUY](https://redirect.github.com/IWANABETHATGUY )
##### 📚 Documentation
- add design doc for sort\_modules execution ordering ([#​9169](https://redirect.github.com/rolldown/rolldown/issues/9169 )) by [@​IWANABETHATGUY](https://redirect.github.com/IWANABETHATGUY )
- add document for `RenderedModule` ([#​9147](https://redirect.github.com/rolldown/rolldown/issues/9147 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
##### ⚡ Performance
- rolldown\_plugin\_vite\_import\_glob: skip self-import earlier using raw path comparison ([#​9193](https://redirect.github.com/rolldown/rolldown/issues/9193 )) by [@​shulaoda](https://redirect.github.com/shulaoda )
##### 🧪 Testing
- lazy: add `playground/lazy-compilation` ([#​7974](https://redirect.github.com/rolldown/rolldown/issues/7974 )) by [@​hyf0](https://redirect.github.com/hyf0 )
##### ⚙️ Miscellaneous Tasks
- use app token for release PR ([#​9198](https://redirect.github.com/rolldown/rolldown/issues/9198 )) by [@​Boshen](https://redirect.github.com/Boshen )
- upgrade oxc to 0.127.0 ([#​9194](https://redirect.github.com/rolldown/rolldown/issues/9194 )) by [@​Dunqing](https://redirect.github.com/Dunqing )
- use oxc security action ([#​9196](https://redirect.github.com/rolldown/rolldown/issues/9196 )) by [@​Boshen](https://redirect.github.com/Boshen )
- esbuild-tests: remove some tests from ignored list as enum inline is now supported ([#​9184](https://redirect.github.com/rolldown/rolldown/issues/9184 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
- deps: update dependency vite-plus to v0.1.19 ([#​9183](https://redirect.github.com/rolldown/rolldown/issues/9183 )) by [@​renovate](https://redirect.github.com/renovate )\[bot]
- use vp instead of pnpm in check-wasi-binding-deps ([#​9182](https://redirect.github.com/rolldown/rolldown/issues/9182 )) by [@​shulaoda](https://redirect.github.com/shulaoda )
- verify wasm32-wasi binding deps match [@​rolldown/browser](https://redirect.github.com/rolldown/browser ) before publish ([#​9162](https://redirect.github.com/rolldown/rolldown/issues/9162 )) by [@​shulaoda](https://redirect.github.com/shulaoda )
- deps: update esbuild for tests to 0.28.0 ([#​9172](https://redirect.github.com/rolldown/rolldown/issues/9172 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
- deps: update rollup submodule for tests to v4.60.2 ([#​9173](https://redirect.github.com/rolldown/rolldown/issues/9173 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
- deps: update test262 submodule for tests ([#​9174](https://redirect.github.com/rolldown/rolldown/issues/9174 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
- sort\_modules: fix stale async-entry sort key comment ([#​9170](https://redirect.github.com/rolldown/rolldown/issues/9170 )) by [@​IWANABETHATGUY](https://redirect.github.com/IWANABETHATGUY )
- deps: update npm packages ([#​9157](https://redirect.github.com/rolldown/rolldown/issues/9157 )) by [@​renovate](https://redirect.github.com/renovate )\[bot]
- deps: update dependency diff to v9 ([#​9158](https://redirect.github.com/rolldown/rolldown/issues/9158 )) by [@​renovate](https://redirect.github.com/renovate )\[bot]
- deps: update rust crates ([#​9156](https://redirect.github.com/rolldown/rolldown/issues/9156 )) by [@​renovate](https://redirect.github.com/renovate )\[bot]
- run Windows CI on PRs labeled with `ci: windows` ([#​9153](https://redirect.github.com/rolldown/rolldown/issues/9153 )) by [@​hyf0](https://redirect.github.com/hyf0 )
- update-test-dependencies: run setup-rust before file changes ([#​9151](https://redirect.github.com/rolldown/rolldown/issues/9151 )) by [@​sapphi-red](https://redirect.github.com/sapphi-red )
- deps: update dependency rust to v1.95.0 ([#​9140](https://redirect.github.com/rolldown/rolldown/issues/9140 )) by [@​renovate](https://redirect.github.com/renovate )\[bot]
##### ❤️ New Contributors
- [@​jurijzahn8019](https://redirect.github.com/jurijzahn8019 ) made their first contribution in [#​9136](https://redirect.github.com/rolldown/rolldown/pull/9136 )
- [@​AlonMiz](https://redirect.github.com/AlonMiz ) made their first contribution in [#​9049](https://redirect.github.com/rolldown/rolldown/pull/9049 )
</details>
<details>
<summary>rolldown/tsdown (tsdown)</summary>
### [`v0.21.10`](https://redirect.github.com/rolldown/tsdown/releases/tag/v0.21.10 )
[Compare Source](https://redirect.github.com/rolldown/tsdown/compare/v0.21.9...v0.21.10 )
##### 🚀 Features
- Upgrade rolldown - by [@​sxzz](https://redirect.github.com/sxzz ) [<samp>(8a449)</samp>](https://redirect.github.com/rolldown/tsdown/commit/8a4498d )
##### [View changes on GitHub](https://redirect.github.com/rolldown/tsdown/compare/v0.21.9...v0.21.10 )
</details>
---
### Configuration
📅 **Schedule**: (in timezone Asia/Shanghai)
- 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.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://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjEzOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
2026-04-23 10:20:58 +00:00
Boshen
c8281dd0bb
chore(pnpm): move workspace devDependencies to used packages ( #16982 )
...
To ensure monorepo dependencies are only visible to where they are used.
2025-12-17 15:09:08 +08:00
Boshen
6fca2f7f60
chore(infra): use oxfmt for all files, remove dprint ( #16599 )
...
Toml formatting is missing but there's only a few toml files, can wait
for oxfmt plugins.
- [x] Something is slow, can't figure out why, need #16607
2025-12-15 12:06:24 +00:00
Masanori Tani
06b16a9a18
chore(infra): add publint ( #13937 )
...
close #13768
Setup [publint](https://publint.dev/ ) and fix warnings.
target directory: `napi/` and `editor/vscode`. (I couldn’t determine
whether I should include the `npm/` directory or not.)
Co-authored-by: Boshen <boshenc@gmail.com >
2025-09-27 17:47:15 +08:00
overlookmotel
cc0019fb0a
refactor(napi): move scripts into scripts directory ( #14048 )
...
Move all build scripts in `napi` packages into a `scripts` dir. These packages don't have root directories with tons of files like `napi/parser` and `apps/oxlint` do, but IMO it's preferable to have a consistent directory structure in all NAPI packages.
Also, rename these scripts from `.mjs` to `.js`, since these packages are ESM.
2025-09-23 14:47:41 +00:00
Boshen
b1029ea2a5
feat(napi/playground): convert to ES modules and consolidate build scripts ( #13871 )
2025-09-18 15:50:50 +08:00
Boshen
cc32fcb03d
chore(napi/playground): skip building for tests ( #13304 )
...
closes #12435
2025-08-26 03:42:56 +00:00
renovate[bot]
9e69e1abef
chore(deps): lock file maintenance npm packages ( #12973 )
2025-08-11 14:17:42 +08:00
overlookmotel
0ec214b4aa
test(napi): compile tests in debug mode ( #12750 )
...
Compile NAPI tests in debug mode (not release mode), to speed up build in CI.
Only exception is `napi/parser` which is compiled with `--profile coverage`. The tests for this package are quite slow, so they'd take too long if package was compiled with no optimizations. `coverage` profile is closer to `--release`, but enables debug assertions, and has somewhat faster compilation (`-O 2` not `-O 3` etc).
In CI:
* Build time reduced by 1m30s.
* Test run time increased by 30s.
* Total reduction in CI time: 1 minute.
NAPI tests are still the slowest task in CI by a long margin. Trimming a minute off the time is something, but this task is still too slow.
2025-08-02 12:18:41 +00:00
renovate[bot]
bb8c635b5c
chore(deps): update dependency @napi-rs/wasm-runtime to v1 ( #12412 )
2025-07-21 08:54:02 +08:00
camc314
baa372641e
refactor(tests/napi): add build-test script for tests ( #12132 )
2025-07-08 17:08:14 +00:00
camc314
8cd69d1e52
refactor(napi/playground): rename dev script to build-dev ( #12131 )
...
just updates the `napi/playground` dev script to be consistent with the other napi packages
2025-07-08 14:30:55 +00:00
Boshen
9a2a6c6c37
chore(napi): remove --no-dts-cache
2025-05-20 15:20:12 +08:00
Boshen
094dec1e92
feat(napi/playground): enable napi.wasm.browser.asyncInit ( #9999 )
2025-03-24 04:42:01 +00:00
Hiroshi Ogawa
30a03a3348
refactor(napi/playground): use napi-rs wasm for playground ( #9803 )
...
playground side PR: https://github.com/oxc-project/playground/pull/71
I went ahead testing out this. Let me know if this is not the plan.
I think the benefit is that this allows rust-side playground code to
reuse some code from other napi crates, for example, `oxc_napi` and
`oxc_parser_napi`. For now, I started as mostly copying paste it and
replacing `#[wasm_bindgen]` with `#[napi]`, but I also used `oxc_napi`
for `OxcError` which replaced diagnostic serialization code from
playground.
---------
Co-authored-by: Boshen <boshenc@gmail.com >
2025-03-17 23:45:55 +08:00