Commit graph

1638 commits

Author SHA1 Message Date
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
LongYinan
47da28adb4
feat(napi-derive): support const export 2021-11-17 17:43:56 +08:00
LongYinan
6bfaaebadc
Release independent packages
napi@2.0.0-alpha.4

Generated by cargo-workspaces
2021-11-16 17:58:03 +08:00
LongYinan
2d5b5c88f6
Merge pull request #861 from napi-rs/windows
feat(napi): switch to windows crate
2021-11-16 17:56:15 +08:00
LongYinan
a0c443fdfb
feat(napi): switch to windows crate 2021-11-16 17:41:24 +08:00
LongYinan
f57651f749
chore: publish
- @napi-rs/cli@2.0.0-alpha.5
2021-11-16 14:11:56 +08:00
LongYinan
0743ced07a
Merge pull request #860 from napi-rs/pipe-command
feat(napi): add pipe flag to pipe the generated files into custom command
2021-11-16 14:11:06 +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
LongYinan
41037ec193
Merge pull request #859 from napi-rs/fix-newline
fix: always add a newline at the end of the file when generating js-binding.js
2021-11-16 13:42:21 +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
dd0a705b83
test: update ts snapshot 2021-11-16 13:07:17 +08:00