Commit graph

154 commits

Author SHA1 Message Date
LongYinan
1951b60786
ci: upgrade toolchain in Docker (#1956) 2024-02-18 13:42:10 +08:00
LongYinan
0177f59a8a
ci: use m1 macos 2024-02-01 07:00:32 +00:00
renovate[bot]
84701ef879
chore(deps): update actions/cache action to v4 (#1908)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>actions/cache (actions/cache)</summary>

### [`v4`](https://togithub.com/actions/cache/compare/v3...v4)

[Compare Source](https://togithub.com/actions/cache/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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/napi-rs/napi-rs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
2024-01-18 10:35:59 +08:00
LongYinan
7d3b53d41d
feat(cli): support generate browser compatible codes (#1891) 2024-01-08 21:02:46 +08:00
LongYinan
02dd4c3fd3
fix(napi-derive): catch_unwind on constructor (#1869)
- Close https://github.com/napi-rs/napi-rs/issues/1852
2023-12-27 12:49:10 +08:00
renovate[bot]
c7189a68c2
chore(deps): update actions/download-artifact action to v4 (#1856)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>

### [`v4`](https://togithub.com/actions/download-artifact/compare/v3...v4)

[Compare Source](https://togithub.com/actions/download-artifact/compare/v3...v4)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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/napi-rs/napi-rs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
2023-12-15 23:15:38 +08:00
LongYinan
91c0eb8ce8
feat(cli): support @napi-rs/cross-toolchain (#1838) 2023-12-05 17:27:23 +08:00
LongYinan
61465d4c6c
ci: fix docker build (#1833) 2023-12-03 18:17:09 +08:00
LongYinan
68faeb6d60
build: upgrade toolchain in Docker (#1810)
- llvm 16
- zig 0.11.0
2023-11-14 09:58:58 +08:00
LongYinan
36581336c6
feat(napi): pass the rest of async tests (#1792)
Pass the rest of async tests, including await the JavaScript Promise in the Rust side, and the worker_threads tests.
2023-11-07 01:46:43 +08:00
LongYinan
feabcd7f16
test(napi): add tests for napi9 features (#1784) 2023-11-06 11:03:44 +08:00
renovate[bot]
b19ada79fd
chore(deps): update actions/setup-node action to v4 (#1772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-02 21:57:29 +08:00
LongYinan
8d85509119
chore: upgrade to yarn 4 (#1774) 2023-11-02 20:10:08 +08:00
LongYinan
13d0ce075e
feat: integrate with emnapi (#1669)
* Integrate with emnapi

* resolve conflict

* ignore wasm

* generate wasi file

* Add wasi test to workflow

* Fix wasi template

* emnapi new initialize api

* Finish test

* Purne tsconfig

* Generate wasi worker

* Fix electron test

* Finalize check

* Noop adjust_external_memory

* Apply cr suggestions
2023-11-02 12:57:11 +08:00
LongYinan
69c0223b9b
test: reduce memory usage while testing aginst worker thread (#1769) 2023-11-02 00:44:08 +08:00
renovate[bot]
b0fd67fae4
chore(deps): update actions/setup-node action to v4 (#1763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 11:03:35 +08:00
LongYinan
9db4581d7f
feat: bump msrv to 1.65 (#1755) 2023-10-17 20:18:29 +08:00
LongYinan
2e03db1fec
test: refactor the example tests to esm, add bun:test => ava polyfill (#1730) 2023-09-20 01:18:01 -07:00
LongYinan
ebc48cf6c4
build: Docker arm64 platform (#1731) 2023-09-17 17:29:15 -07:00
renovate[bot]
c853a412b6
chore(deps): update docker/setup-buildx-action action to v3 (#1724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:15:28 -07:00
renovate[bot]
b1a580226d
chore(deps): update docker/setup-qemu-action action to v3 (#1725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:15:18 -07:00
renovate[bot]
30ec1402a5
chore(deps): update docker/build-push-action action to v5 (#1722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:15:05 -07:00
renovate[bot]
a5b31e49b1
chore(deps): update docker/login-action action to v3 (#1723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:13:36 -07:00
renovate[bot]
80186fca76
chore(deps): update actions/checkout action to v4 2023-09-04 14:34:40 +00:00
LongYinan
07d03c9435
chore: MSRV 1.63.0 2023-08-10 10:44:55 +08:00
LongYinan
a7eeb0c31c
fix(napi): promise resolve error (#1664) 2023-07-24 00:36:24 +08:00
LongYinan
73ac74d2d9
ci: release-npm depends on others 2023-07-19 10:39:28 +08:00
LongYinan
092f9d5290
ci: add release npm cli 2023-07-18 11:06:45 +08:00
LongYinan
6d62b3f714
chore: upgrade dependencies (#1657) 2023-07-17 14:56:02 +08:00
LongYinan
53cf696cf8
ci: reduce the complex of CI config (#1628) 2023-06-17 17:03:57 +08:00
LongYinan
c7d6ee6e4b
refactor(cli): --profile flag (#1604) 2023-05-27 12:00:43 +08:00
kxxt
173553c037 ci: add riscv64gc-unknown-linux-gnu 2023-05-26 09:48:19 +08:00
LongYinan
1d78f6c294
chore: upgrade npm dependencies (#1557) 2023-04-11 10:47:52 +08:00
LongYinan
752ffea1d9
fix(napi): revert Promise changes because of the flaky test 2023-04-10 17:14:26 +08:00
LongYinan
a57a59f735
ci: remove depracated action (#1555) 2023-04-08 23:37:28 +08:00
forehal
a781a4f27e feat(cli): brand new cli tool with both cli and programmatical usage (#1492)
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
2023-04-06 11:04:53 +08:00
LongYinan
550ef7c3cc
feat: export registers in wasm32 target (#1529) 2023-03-20 18:42:27 +08:00
LongYinan
f2d3804506
ci: cancel-in-progress duplicated job 2023-03-12 18:31:13 +08:00
LongYinan
60dea3d6d0
chore: ci components upgrade (#1512) 2023-03-12 18:24:48 +08:00
LongYinan
0904dc5d43
build: fix Docker build context 2023-03-12 17:50:38 +08:00
LongYinan
1867c9f476
build: add libc++ in aarch64-linux-gnu Docker (#1511) 2023-03-12 17:25:53 +08:00
LongYinan
2f527938b2
fix(napi): build error with zig@0.10.1 2023-01-20 21:31:46 +08:00
LongYinan
bdbdbccb56
chore: zig 0.10.1 2023-01-19 13:31:02 +08:00
LongYinan
2abc94681e
fix(cli): zig cross armv7 (#1384) 2022-12-09 18:56:50 +08:00
LongYinan
e1864d68ff
ci: upgrade toolchain (#1382) 2022-12-09 17:29:03 +08:00
LongYinan
0731e00217
ci: test for zig 0.10 2022-11-04 23:39:24 +08:00
LongYinan
c328d8ece5
ci: update docker image monthly 2022-10-24 12:08:58 +08:00
LongYinan
1037e6f14d
chore: upgrade dependencies (#1349) 2022-10-23 23:03:18 +08:00
LongYinan
d3fc689269
ci: remove clear cargo cache in MSRV job 2022-10-02 10:31:36 +08:00
Hana
22adc885d6
chore: fix ci for forked repo (#1302) 2022-09-09 18:54:23 +08:00