545 Commits

Author SHA1 Message Date
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
LongYinan
8f4f74a32c
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.63
 - @napi-rs/triples@2.0.0-alpha.25
 - @napi-rs/wasm-runtime@0.2.5
2024-10-03 00:00:32 +02:00
LongYinan
c12e56f3e8
chore(cli): add strip in generated Cargo.toml 2024-10-03 00:00:11 +02:00
renovate[bot]
f995c8ef2f
chore(deps): update dependency esbuild to ^0.24.0 (#2268) 2024-09-22 12:12:51 +08:00
renovate[bot]
e11ceacd59
fix(deps): update dependency @inquirer/prompts to v6 (#2257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 15:53:34 +08:00
LongYinan
20b9de3ec7
fix(cli): extra line break in the tail of dts file (#2255) 2024-09-15 11:44:29 +08:00
LongYinan
1427ddce64
chore(cli): respect constEnum in napi config (#2254) 2024-09-15 11:41:28 +08:00
LongYinan
9c3643f72b
chore(cli): update ci template (#2256) 2024-09-15 11:39:33 +08:00
Don Isaac
12bb1da28c
chore: prepare for no-unused-vars (#2233) 2024-08-26 10:04:03 +08:00
CPunisher
c459f0acf6
feat: support structured enum with discriminated unions (#2222)
* Structured enum

* Type indent

* Add test example

* Remove trailing commas

* discriminant

* discriminant conflict

* more test

* typo
2024-08-22 14:59:50 +08:00
Mark Kovalenko
b5a5b032f6
fix(ci): bump FreeBSD version to 13.3 (#2220) 2024-08-18 22:02:06 +08:00
renovate[bot]
4abda0ed37
chore(deps): lock file maintenance (#2202)
* chore(deps): lock file maintenance

* Switch to @inquirer/prompts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-08-10 16:49:26 +08:00
LongYinan
0adb1a4992
chore(cli): add empty line in created pacakge.json file (#2194) 2024-07-23 13:36:42 +08:00
LongYinan
09ad8e762e
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.62
 - @napi-rs/triples@2.0.0-alpha.24
2024-07-21 14:01:37 +08:00
LongYinan
3284f881a6
fix(cli): should not log errors if everything fine 2024-07-21 14:01:16 +08:00
LongYinan
cf5f7bcd84
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.61
 - @napi-rs/triples@2.0.0-alpha.23
2024-07-18 14:24:54 +08:00
LongYinan
6acd3b94fb
chore: add fail reason to assert (#2192) 2024-07-18 14:19:50 +08:00
LongYinan
ac75ffb7fc
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.60
 - @napi-rs/triples@2.0.0-alpha.22
2024-07-16 13:05:21 +08:00
LongYinan
6078bb7cce
fix(cli): bundle @octokit/rest into cjs entry (#2190) 2024-07-16 13:04:27 +08:00
LongYinan
68f63882a9
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.59
 - @napi-rs/triples@2.0.0-alpha.21
2024-07-15 22:12:14 +08:00
LongYinan
e8608228b8
fix(cli): bundle lodash-es in cjs output (#2189) 2024-07-15 22:11:18 +08:00
LongYinan
13c18388f5
fix(cli): worker files format (#2186) 2024-07-14 22:23:34 +08:00
LongYinan
119b2055a2
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.58
 - @napi-rs/triples@2.0.0-alpha.20
2024-07-11 17:32:00 +08:00
LongYinan
5976f04e54
fix(cli): wasm binding files destination (#2182) 2024-07-11 17:31:19 +08:00
renovate[bot]
9800ea7350
fix(deps): update dependency inquirer to v10 (#2173)
* fix(deps): update dependency inquirer to v10

* Fix for api changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-07-10 23:49:19 +08:00
LongYinan
488762791d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.57
 - @napi-rs/triples@2.0.0-alpha.19
2024-07-09 15:20:21 +08:00
LongYinan
731dced1bb
fix(cli): update wasi js binding files on any builds (#2179) 2024-07-09 14:01:23 +08:00