Commit graph

2463 commits

Author SHA1 Message Date
LongYinan
a888425871
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.9
2023-11-30 20:04:24 +08:00
LongYinan
5949fc9682
feat(cli): export parseTriple function (#1830) 2023-11-30 20:01:44 +08:00
LongYinan
afa040660c
fix(cli): add back constEnum option (#1829) 2023-11-30 20:00:52 +08:00
renovate[bot]
64a99eadd3
chore(deps): update dependency lerna to v8 (#1827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 22:07:51 +08:00
Ranger
4301b9a7c3
feat: update cli template with edtion2021(#1739) (#1828) 2023-11-28 16:33:58 +08:00
LongYinan
440bea29f8
test(napi): decrease the worker sizes on Linux x64 musl platform 2023-11-20 23:07:43 +08:00
LongYinan
6a4f4f173d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.8
 - @napi-rs/triples@2.0.0-alpha.5
2023-11-20 17:21:37 +08:00
LongYinan
e4ac44e560
Release independent packages
- napi@2.14.1
- napi-derive@2.14.2
2023-11-20 17:18:35 +08:00
LongYinan
8a9c42a985
fix(napi): compile error for wasm32-unknown-unknown target
- Close https://github.com/napi-rs/napi-rs/issues/1816
2023-11-20 17:10:58 +08:00
LongYinan
7dced934a7
fix(napi): cargo doc build
- Close https://github.com/napi-rs/napi-rs/issues/1800
2023-11-20 16:22:21 +08:00
LongYinan
751312cec9
test: add test file name into error message (#1821) 2023-11-20 15:56:20 +08:00
LongYinan
7c3f8b514e
fix(napi-derive): compile warning (#1820) 2023-11-20 14:20:25 +08:00
LongYinan
8c911b5d34
chore: upgrade emnapi dependencies (#1817) 2023-11-19 15:13:06 +08:00
renovate[bot]
76dcf833da
chore(deps): update dependency emnapi to v0.44.0 (#1805) 2023-11-19 10:10:55 +08:00
IWANABETHATGUY
6df0ca112e
chore: 🤖 align wasi template to nodejs demo (#1814) 2023-11-19 09:25:27 +08:00
renovate[bot]
c321071c89
chore(deps): update dependency @emnapi/runtime to v0.44.0 (#1804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 18:03:17 +00:00
renovate[bot]
1092d48a03
chore(deps): update dependency @emnapi/core to v0.44.0 (#1803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 16:12:28 +00:00
LongYinan
6a1943ba54
style(napi): clippy fix (#1815) 2023-11-17 20:42:53 +08:00
Segev Finer
9d62db47e8
chore(cli): simplify publish step in ci-template (#1812)
* Simplify publish step in ci-template

* Update ci-template.ts
2023-11-14 20:00:07 +08:00
renovate[bot]
f80cdba605
chore(deps): update yarn to v4.0.2 (#1813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 19:59:37 +08:00
LongYinan
68faeb6d60
build: upgrade toolchain in Docker (#1810)
- llvm 16
- zig 0.11.0
2023-11-14 09:58:58 +08:00
Ranger
2fa0e62376
chore: add .idea folder to ignore (#1801) 2023-11-13 10:07:50 +08:00
LongYinan
529317b5ef
Release independent packages
- napi-derive@2.14.1
2023-11-08 20:58:25 +08:00
LongYinan
2963cc9a03
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.7
2023-11-08 20:57:17 +08:00
LongYinan
8ddd35c788
fix(cli): wrong wasm file name with --platform flag (#1798) 2023-11-08 20:08:28 +08:00
LongYinan
6ec46b749e
fix(cli): artifacts command backward compatibility (#1797) 2023-11-08 20:07:29 +08:00
LongYinan
e930a6aab3
fix(napi-derive): async task optional output type (#1796) 2023-11-08 20:06:27 +08:00
LongYinan
938f4df83d
fix(napi-derive): async task void output type (#1795) 2023-11-08 20:05:09 +08:00
LongYinan
688ee04247
Release independent packages
- napi-build@2.1.0
- napi-derive@2.14.0
- napi@2.14.0
- napi-sys@2.3.0
2023-11-07 14:18:36 +08:00
LongYinan
be755a1d51
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.6
 - @napi-rs/triples@2.0.0-alpha.4
2023-11-07 14:11:10 +08:00
renovate[bot]
90a2b8864d
chore(deps): lock file maintenance (#1712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 14:06:18 +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
renovate[bot]
ca18bbdae0
chore(deps): update dependency @types/sinon to v17 (#1778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 23:28:26 +08:00
LongYinan
b03b3ee4dc
fix(build): rerun if cli version changed (#1789)
- Close https://github.com/napi-rs/napi-rs/issues/1719
2023-11-06 14:03:34 +08:00
LongYinan
dac073805b
fix(cli): js binding template (#1788)
- Close https://github.com/napi-rs/napi-rs/issues/1775
2023-11-06 14:00:25 +08:00
LongYinan
3deae16442
fix(napi): add tokio cleanup hook for more platforms (#1790) 2023-11-06 13:59:54 +08:00
LongYinan
65f57918fb
style(napi): as ptr => ptr::cast (#1786) 2023-11-06 11:22:30 +08:00
LongYinan
1e5c32ca60
style(napi): fix compile warning (#1785) 2023-11-06 11:21:26 +08:00
LongYinan
feabcd7f16
test(napi): add tests for napi9 features (#1784) 2023-11-06 11:03:44 +08:00
LongYinan
4e4d891ad8
feat: add experimental Env::get_module_file_name method (#1783) 2023-11-06 11:01:27 +08:00
LongYinan
2b0ddf4a21
feat(napi,sys): sync to napi9 (#1781)
- Close https://github.com/napi-rs/napi-rs/issues/1600
2023-11-06 11:00:27 +08:00
LongYinan
cec062bd4b
fix(napi-sys): missing napi9 load on Windows (#1780) 2023-11-06 10:59:28 +08:00
LongYinan
546b108a5b
feat(napi): support async class factory (#1779)
- Close https://github.com/napi-rs/napi-rs/issues/1777
2023-11-06 10:58:23 +08:00
LongYinan
0dc1ef738b fix(napi): asan caught memory safety issue 2023-11-04 15:26:07 +08:00
Jez
afd3395bb4
fix(napi-derive): import FromNapiValue and ToNapiValue from napi::bindgen_prelude when generating enum (#1713) 2023-11-02 23:05:16 +08:00
Özgür Akkurt
2c410b238d
feat(napi): impl Default for Buffer (#1734) 2023-11-02 22:32:13 +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
7a3cd77bc8
ci: add YARN_IGNORE_NODE on macOS arm64 build 2023-11-02 20:32:36 +08:00
LongYinan
8d85509119
chore: upgrade to yarn 4 (#1774) 2023-11-02 20:10:08 +08:00
Raphael Darley
fcb5c2bdd0
fix(cli): switch name parsing to allow periods in name
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-11-02 19:52:23 +08:00