Tim Fish
18d2743862
feat(napi): output Rust doc comments in definitions as jsdoc comments
2021-11-29 12:54:45 +08:00
LongYinan
1fe39ff66d
feat(napi): support export rust mod as ts namespace
2021-11-25 17:53:43 +08:00
LongYinan
7b797d3caf
feat(cli): create pre-release if tag includes alpha/beta/rc
2021-11-21 21:43:28 +08:00
LongYinan
1f64f9fbf3
fix(cli): ExternalObject type decalare
2021-11-21 18:23:53 +08:00
LongYinan
bdfb1506a2
feat(napi): implement external value
2021-11-21 16:24:58 +08:00
LongYinan
4c3fe26478
feat(cli): refactor cli build
2021-11-19 18:22:40 +08:00
LongYinan
e37c3fd908
feat(napi): add pipe flag to pipe the generated files into custom command
2021-11-16 13:58:01 +08:00
yisibl
753bb1e31b
fix: always add a newline at the end of the file when generating js-binding.js
2021-11-16 13:10:03 +08:00
LongYinan
179f20a7c5
feat(cli): generate js binding to avoid dynamic require logic
2021-11-09 21:43:51 +08:00
forehalo
5b39035541
serde support
2021-10-27 14:42:57 +08:00
forehalo
f4c0b0639b
impl To/FromNapiValue for HashMap
2021-10-27 14:42:57 +08:00
LongYinan
0e8de173a4
feat(cli): dts flag for build command
2021-10-01 15:01:23 +08:00
forehalo
2467b7139b
Introduce #[napi]
procedural macro to automation development boilerplate ( #696 )
...
* napi procedural macro for basic rust/JavaScript types
* introduce the `compat-mode` for `napi` and `napi-derive` crates for backward compatible
* remove #[inline] and let compiler to decide the inline behavior
* cli now can produce the `.d.ts` file for native binding
* many tests and example for the new procedural macro
Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-09-23 01:29:09 +08:00
LongYinan
e90ea9304a
fix(cli): create dist dir if not existed while building
2021-08-09 06:18:03 +00:00
LongYinan
67ad0a4d4d
feat(cli): upgrade clipanion v3
...
Remove napi new command
2021-08-07 00:23:17 +08:00
Jasper De Moor
27a8581d1d
add cwd docs and RUST_TARGET
2021-04-18 17:52:28 +02:00
forehalo
58d4634dac
fix(cli): fix random node process got killed issue
2021-01-07 23:26:41 +08:00
LongYinan
2f4d3142cf
feat(cli): helper messages
2020-12-23 22:43:43 +08:00
LongYinan
754462238a
feat(cli): check 'cdylib' in crate-type
2020-12-22 15:14:29 +08:00
LongYinan
5f2bea0b97
feat(cli): support --cargo-cwd flag
2020-12-22 15:02:57 +08:00
LongYinan
dc1069203f
fix(cli): regard to target platform, not current platform
2020-12-09 15:50:04 +08:00
LongYinan
7767b83222
refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli
2020-12-02 22:34:39 +08:00