571 Commits

Author SHA1 Message Date
LongYinan
1402327d4b
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.80
 - @napi-rs/triples@2.0.0-alpha.42
2025-05-20 11:42:42 +08:00
LongYinan
446a65489c
fix(cli): do not create wasi binding in non-wasi packages (#2654) 2025-05-20 11:41:40 +08:00
LongYinan
c8c073a348
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.79
 - @napi-rs/triples@2.0.0-alpha.41
 - @napi-rs/wasm-runtime@0.2.10
2025-05-16 22:50:52 +08:00
LongYinan
21982a1508
feat(napi-derive): auto invalid type gen (#2638) 2025-05-16 22:30:27 +08:00
LongYinan
5d360e89fc
chore(cli): remove outdated WASI_REGISTER_TMP_PATH (#2633) 2025-05-14 15:24:33 +08:00
LongYinan
ce990542b9
fix(napi): module_exports binding (#2632) 2025-05-13 19:54:25 +08:00
LongYinan
8cd752db86
feat(napi): support #[napi(module_exports)] (#2631) 2025-05-13 17:47:52 +08:00
Iñaki Arango
7010f6059b
fix(cli): path escaping issue in metadata parser (#2605)
* fix: Fix path escaping issue in metadata parser

* fix: changed import from execSync to spawnSync
2025-05-06 11:32:20 +08:00
LongYinan
d046ea6cad
chore(cli): sort imports (#2590) 2025-05-02 23:15:49 +08:00
LongYinan
84209fc829
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.78
 - @napi-rs/triples@2.0.0-alpha.40
 - @napi-rs/wasm-runtime@0.2.9
2025-04-16 15:00:52 +08:00
CPunisher
e12d091847
fix(cli): replace .wasm extension of wasm artifact (#2556)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-04-16 15:00:05 +08:00
LongYinan
6ce1393196
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.77
 - @napi-rs/triples@2.0.0-alpha.39
 - @napi-rs/wasm-runtime@0.2.8
2025-04-02 00:04:16 +08:00
LongYinan
5554c663ac
chore(cli): update deps (#2542) 2025-04-01 23:49:56 +08:00
LongYinan
be86a44aca
fix(cli): trim is not a function (#2541) 2025-04-01 23:03:48 +08:00
LongYinan
59b31b389f
chore(cli): excludeNetwork on getting report (#2531)
* chore(cli): excludeNetwork on getting report

* Update cli/src/api/templates/js-binding.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* format

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-29 23:26:35 +08:00
LongYinan
2fb1a520c1
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.76
 - @napi-rs/triples@2.0.0-alpha.38
2025-03-22 13:18:06 +08:00
Hiroshi Ogawa
9873fb39ae
feat(cli): add wasm.browser.asyncInit for large wasm file (#2514) 2025-03-17 07:55:15 -07:00
LongYinan
c62acd2bfe
chore: upgrade npm dependencies (#2516) 2025-03-16 22:29:04 +08:00
LongYinan
2cc56f69eb
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.75
 - @napi-rs/triples@2.0.0-alpha.37
2025-03-14 13:49:21 +08:00
LongYinan
134c1a6778
fix(cli): CXX path for s390x (#2509) 2025-03-14 13:38:50 +08:00
LongYinan
5d29ebf836
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.74
 - @napi-rs/triples@2.0.0-alpha.36
2025-03-13 15:49:48 +08:00
LongYinan
bc40a51b13
chore(napi): upgrade wasm tools 2025-03-13 15:49:31 +08:00
LongYinan
09cf195142
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.73
 - @napi-rs/triples@2.0.0-alpha.35
2025-03-03 12:25:07 +08:00
LongYinan
29e45086e8
fix(cli): combine existed CFLAGS and CXXFLAGS in napi cross (#2493) 2025-03-03 12:22:49 +08:00
LongYinan
dda921ede5
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.72
 - @napi-rs/triples@2.0.0-alpha.34
2025-02-25 21:48:47 +08:00
LongYinan
ee75b119cd
refactor!(napi): link crt1-reactor.o as poor man's wasi-exec-model=reactor (#2480) 2025-02-25 21:45:38 +08:00
LongYinan
1868bad8a8
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.71
 - @napi-rs/triples@2.0.0-alpha.33
 - @napi-rs/wasm-runtime@0.2.7
2025-02-21 12:48:37 +08:00
Bedis Nbiba
46e9b97e12
feat(cli): allow specifing native library path via env variable (#2471)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-02-20 14:35:33 +08:00
lghuahua
514c168d25
fix(cli): set the default value of dtsCache to true (#2420) 2025-02-11 22:30:45 +08:00
renovate[bot]
3ce5ef18a9
chore(deps): update dependency esbuild to ^0.25.0 (#2461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-08 06:06:05 +00:00
LongYinan
23204f1993
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.70
 - @napi-rs/triples@2.0.0-alpha.32
2025-01-29 20:00:03 +08:00
LongYinan
3503f0c854
feat(cli): add cross-toolchain path to PATH (#2448) 2025-01-29 19:59:03 +08:00
LongYinan
d755d0289f
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.69
 - @napi-rs/triples@2.0.0-alpha.31
2025-01-26 17:05:22 +08:00
LongYinan
e2f70bf66d
fix(cli): watch trigger (#2446) 2025-01-26 17:04:29 +08:00
LongYinan
1ec9082160
fix(cli): add -gcc-toolchain flag to cross-compile (#2445) 2025-01-26 17:01:28 +08:00
LongYinan
ecd855e4b7
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.68
 - @napi-rs/triples@2.0.0-alpha.30
2025-01-20 11:40:58 +08:00
LongYinan
64bed9af13
ci: fix s390x and ppc64le test (#2435) 2025-01-20 11:40:24 +08:00
LongYinan
e3828bc77d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.67
 - @napi-rs/triples@2.0.0-alpha.29
2025-01-19 22:22:08 +08:00
LongYinan
978a00069b
fix(cli): s390x cross toolchain path (#2432) 2025-01-19 22:21:11 +08:00
LongYinan
c796918787
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.66
 - @napi-rs/triples@2.0.0-alpha.28
2025-01-19 21:32:18 +08:00
LongYinan
0ad7e10022
feat(cli): update cross-toolchain to support s390x 2025-01-19 21:23:31 +08:00
LongYinan
98cb7671d3
feat(napi): impl ReadableStream and AsyncGenerator (#2418)
* feat(napi): impl ReadableStream and AsyncGenerator

* clippy fix

* Into<Vec<u8>> trait

* Skip node18 stream test due to Node.js bug

* Cleanup

* Also skip wasi test

* Merge test

* Skip wasi

* Useless expect-error
2025-01-03 17:09:42 +08:00
LongYinan
d23290f9c1
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.65
 - @napi-rs/triples@2.0.0-alpha.27
 - @napi-rs/wasm-runtime@0.2.6
2024-12-18 23:49:55 +08:00
LongYinan
a72c49b92e
feat(cli): add --no-dts-cache option to build command (#2400) 2024-12-18 23:49:22 +08:00
LongYinan
8fffa49282
fix(napi): resuse threads worker on Node.js (#2399) 2024-12-18 23:48:30 +08:00
LongYinan
40ce1ffb7e
fix(cli): wrong condintion in setFeatures (#2396) 2024-12-12 10:38:08 +08:00
LongYinan
909c7fb064
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.64
 - @napi-rs/triples@2.0.0-alpha.26
2024-10-21 16:45:36 +08:00
Cayman
960d07e5da
feat: support ESM binding (#2284)
* feat: support ESM binding

* chore: consistent use of semicolons

* chore: apply suggestion
2024-10-15 15:18:55 +08:00
LongYinan
4496ffd220
chore: refresh npm dependencies (#2303) 2024-10-13 23:50:57 +08:00
Jacky Zhao
7ef54f413b
feat(cli)): createRequire for SEA support (#2297)
* create require for SEA support

* Update cli/src/api/templates/js-binding.ts
2024-10-11 15:22:45 +08:00