Commit graph

1698 commits

Author SHA1 Message Date
Tim Fish
18d2743862
feat(napi): output Rust doc comments in definitions as jsdoc comments 2021-11-29 12:54:45 +08:00
LongYinan
a7067d6732
feat(sys): remove rust enum in sys 2021-11-29 12:52:42 +08:00
LongYinan
a25f0b990c
Release independent packages
napi-derive@2.0.0-alpha.9
napi-derive-backend@1.0.10

Generated by cargo-workspaces
2021-11-26 17:44:33 +08:00
LongYinan
19e16eb2ba
Merge pull request #884 from napi-rs/ts-args-return-type
feat(napi-derive): support renmae function args and return type
2021-11-26 17:40:31 +08:00
LongYinan
e2e3ef95f8
feat(napi-derive): support renmae function args and return type 2021-11-26 17:26:14 +08:00
LongYinan
e6f341f632
chore: add example for return this 2021-11-25 23:42:40 +08:00
LongYinan
c365c15639
style: clippy fix 2021-11-25 23:35:50 +08:00
LongYinan
aaf1bd14ea
Release independent packages
napi@2.0.0-alpha.7
napi-derive@2.0.0-alpha.8
napi-build@1.1.2
napi-derive-backend@1.0.9
2021-11-25 23:25:29 +08:00
LongYinan
5ccef6cedf
chore: publish
- @napi-rs/cli@2.0.0-alpha.11
2021-11-25 23:23:05 +08:00
LongYinan
1af25a57b2
Merge pull request #874 from napi-rs/tweak
tweaking for node-rs v2 upgrade
2021-11-25 22:55:22 +08:00
LongYinan
59d6a219b5
style: run fmt 2021-11-25 22:38:41 +08:00
LongYinan
7177f4af92
chore: update test snap 2021-11-25 22:33:42 +08:00
LongYinan
9a0de8e485
feat(napi): allow return self as this 2021-11-25 22:31:11 +08:00
LongYinan
1fe39ff66d
feat(napi): support export rust mod as ts namespace 2021-11-25 17:53:43 +08:00
LongYinan
e4ca46f32b
style: clippy fix 2021-11-25 17:53:42 +08:00
LongYinan
43d21c51d2
doc: cargo docs fix 2021-11-25 17:53:42 +08:00
LongYinan
f83e167bd2
feat(napi): implement from_vec for Array 2021-11-25 17:53:42 +08:00
LongYinan
c77712e76f
feat(napi): implement with_optional_signal on AsyncTask 2021-11-25 17:53:42 +08:00
LongYinan
43c1aff738
refactor(napi): use CStr instread of CString while creating lit variable 2021-11-25 17:53:41 +08:00
LongYinan
1dcd0fec1e
refactor(napi): remove compatible Either struct
Reexport `Either` from `bindgen_runtime::Either`
2021-11-25 17:53:41 +08:00
forehalo
71d3c87700
avoid treating version sign to email address 2021-11-24 11:05:10 +08:00
dependabot[bot]
277d9c7f8a
build(deps-dev): bump esbuild from 0.13.14 to 0.13.15 2021-11-22 22:02:34 +00:00
dependabot[bot]
b983981ce8
build(deps-dev): bump source-map-support from 0.5.20 to 0.5.21 2021-11-22 21:53:04 +00:00
dependabot[bot]
1682f5703d
build(deps-dev): bump lint-staged from 12.0.2 to 12.1.2 2021-11-22 21:52:56 +00:00
dependabot[bot]
2e8ce01d60
build(deps-dev): bump rollup from 2.60.0 to 2.60.1 2021-11-22 21:52:51 +00:00
dependabot[bot]
782d927fee
build(deps-dev): bump eslint from 8.2.0 to 8.3.0 2021-11-22 21:52:45 +00:00
dependabot[bot]
35983ae0c0
build(deps-dev): bump @types/js-yaml from 4.0.4 to 4.0.5 2021-11-22 21:52:37 +00:00
dependabot[bot]
f34ab2e92c
build(deps-dev): bump typescript from 4.4.4 to 4.5.2 2021-11-22 21:52:29 +00:00
dependabot[bot]
9ae38136b5
build(deps-dev): bump @types/node from 16.11.7 to 16.11.9 2021-11-22 21:52:13 +00:00
Sam Holmes
b9f43455f0
fix(napi-build): cargo:rerun-if commands (#871) 2021-11-22 22:35:05 +08:00
LongYinan
a1e3292b7a
napi@2.0.0-alpha.6 2021-11-21 23:11:43 +08:00
LongYinan
e8cfa0b467
fix(napi): freeze and seal should be methods of JsObject 2021-11-21 23:11:14 +08:00
LongYinan
4aa56a148c
fix(napi): missing coerce_to_bool on JsValue 2021-11-21 23:10:29 +08:00
LongYinan
5c3bccfcf9
chore: publish
- @napi-rs/cli@2.0.0-alpha.10
2021-11-21 21:43:53 +08:00
LongYinan
7b797d3caf
feat(cli): create pre-release if tag includes alpha/beta/rc 2021-11-21 21:43:28 +08:00
LongYinan
f0617ae129
chore: publish
- @napi-rs/cli@2.0.0-alpha.9
2021-11-21 21:40:05 +08:00
LongYinan
458c5c9457
fix(cli): wrong release assets content 2021-11-21 21:39:36 +08:00
LongYinan
47c5867922
chore: publish
- @napi-rs/cli@2.0.0-alpha.8
2021-11-21 18:51:31 +08:00
LongYinan
dca5ada995
feat(cli): export android toolchains to PATH before build 2021-11-21 18:50:43 +08:00
LongYinan
c312fd36d1
chore: publish
- @napi-rs/cli@2.0.0-alpha.7
2021-11-21 18:24:47 +08:00
LongYinan
1f64f9fbf3
fix(cli): ExternalObject type decalare 2021-11-21 18:23:53 +08:00
LongYinan
4874c72340
Release independent packages
napi-derive-backend@1.0.8
napi-derive@2.0.0-alpha.7
napi@2.0.0-alpha.5
2021-11-21 16:48:05 +08:00
LongYinan
4b0416e64a
chore: publish
- @napi-rs/cli@2.0.0-alpha.6
2021-11-21 16:46:26 +08:00
LongYinan
6cd91b23d7
Merge pull request #868 from napi-rs/external
feat(napi): implement external value
2021-11-21 16:45:31 +08:00
LongYinan
bdfb1506a2
feat(napi): implement external value 2021-11-21 16:24:58 +08:00
LongYinan
e6dcc342fa
Merge pull request #867 from napi-rs/tsfn-error-strategy
fix(napi): allow ErrorStrategy to be specified while creating TSFN
2021-11-21 15:15:12 +08:00
LongYinan
d1a5f84aa0
fix(napi): allow ErrorStrategy to be specified while creating TSFN 2021-11-21 14:49:04 +08:00
LongYinan
d7da82e269
Merge pull request #865 from napi-rs/cli-upgrade
feat(cli): refactor cli build
2021-11-20 00:56:26 +08:00
LongYinan
4c3fe26478
feat(cli): refactor cli build 2021-11-19 18:22:40 +08:00
LongYinan
b3446092d0
Merge pull request #863 from napi-rs/const-var
feat(napi-derive): support const export
2021-11-17 19:27:35 +08:00