Commit graph

1381 commits

Author SHA1 Message Date
LongYinan
05a669d652
chore: fix debian.Dockerfile 2021-11-01 01:54:36 +08:00
LongYinan
59bf55c1fa
chore: switch debian base image to ubuntu:18.04 2021-11-01 01:28:18 +08:00
LongYinan
50e08b6033
Release independent packages
napi@2.0.0-alpha.1
napi-build@1.1.1
napi-derive@2.0.0-alpha.1
napi-derive-backend@1.0.2
napi-sys@1.1.2

Generated by cargo-workspaces
2021-10-31 23:37:05 +08:00
LongYinan
157b9c6186
chore: make all crates indepent 2021-10-31 23:35:39 +08:00
LongYinan
af86f6f7a4
chore: make examples private 2021-10-31 23:33:51 +08:00
LongYinan
df152f727a
ci: swich to lts-stretch 2021-10-31 23:09:05 +08:00
LongYinan
8a6949daf3
Merge pull request #822 from napi-rs/README
update v2 README
2021-10-31 23:03:05 +08:00
forehalo
5dbfb84d7a
update v2 README 2021-10-31 21:51:53 +08:00
LongYinan
7d4910bbf8
Merge pull request #821 from napi-rs/fix-issues
Fix issues
2021-10-31 20:33:10 +08:00
LongYinan
29277308d7
fix(napi-derive-backend): generate the same code if source was not changed 2021-10-31 13:13:21 +08:00
LongYinan
88c4175c2d
fix(napi-derive): prevent constructor redundant in debug mode 2021-10-31 13:12:14 +08:00
LongYinan
270b6bda38
ci: debian builder now is buster 2021-10-30 18:06:47 +08:00
LongYinan
730549437b
ci: install cmake in alpine builder 2021-10-30 17:43:46 +08:00
LongYinan
19868a47d0
ci: add more toolchain into debian builder 2021-10-30 17:23:41 +08:00
LongYinan
27f671c5c2
Merge pull request #820 from napi-rs/buffer
native buffer no need to keep raw napi pointer
2021-10-30 00:17:22 +08:00
forehalo
99b2723618
native buffer no need to keep raw napi pointer 2021-10-30 00:05:05 +08:00
João Moreno
03125d44b8
Make sure CI fails if yarn test fails (#818)
make sure CI fails if `yarn test` fails

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-10-29 21:19:18 +08:00
LongYinan
e709f25635 feat(napi): impl from/to NapiValue for JsUnkown 2021-10-29 20:55:06 +08:00
LongYinan
698bc701e8 fix(napi): export tokio_runtime only when tokio_rt feature enabled 2021-10-28 20:28:42 +08:00
LongYinan
813d671d76 fix(napi-derive-backend): always generate CallContext for constructor function 2021-10-28 20:28:42 +08:00
LongYinan
d08f9b03e0
chore: publish
- @napi-rs/cli@2.0.0-alpha.3
2021-10-27 15:39:02 +08:00
LongYinan
68f767b96d ci: fix arm build 2021-10-27 15:38:24 +08:00
LongYinan
cbb71a9a51 fix(cli): workflow file generated by new command 2021-10-27 15:38:24 +08:00
forehalo
c5cebec812 test full features once for napi v2 2021-10-27 14:42:57 +08:00
forehalo
fc10e2a517 README 2021-10-27 14:42:57 +08:00
forehalo
0ee80662be support async functions 2021-10-27 14:42:57 +08:00
forehalo
cf0b5785cd normalize tokio runtime 2021-10-27 14:42:57 +08:00
forehalo
8b4e7af67f buffer example 2021-10-27 14:42:57 +08:00
forehalo
aa77c8ff97 fix: wrong name len used for function creating 2021-10-27 14:42:57 +08:00
forehalo
5b39035541 serde support 2021-10-27 14:42:57 +08:00
forehalo
8c281fd174 add static method example 2021-10-27 14:42:57 +08:00
forehalo
f4c0b0639b impl To/FromNapiValue for HashMap 2021-10-27 14:42:57 +08:00
forehalo
e77d2e95ef add diagnostic for miss using constructor 2021-10-27 14:42:57 +08:00
forehalo
f66f79e587 throw if napi function returns Err variant of Result<T> 2021-10-27 14:42:57 +08:00
forehalo
ee7a146ea1 update class demo with custom constructor 2021-10-27 14:42:57 +08:00
forehalo
0d018a5470 impl ToNapiValue for Result<T> 2021-10-27 14:42:57 +08:00
forehalo
032861c5bc support typegen for Result<T> 2021-10-27 14:42:57 +08:00
dependabot[bot]
28957fd3dd
build(deps-dev): bump esbuild from 0.13.8 to 0.13.9 2021-10-25 22:31:41 +00:00
dependabot[bot]
e4109bfe82
build(deps-dev): bump @types/node from 16.11.1 to 16.11.5 2021-10-25 22:31:34 +00:00
dependabot[bot]
f69fd93d17
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-10-25 22:17:42 +00:00
dependabot[bot]
fc9f327968
build(deps-dev): bump @types/js-yaml from 4.0.3 to 4.0.4 2021-10-25 22:03:40 +00:00
dependabot[bot]
ae17fb831a
build(deps-dev): bump @typescript-eslint/parser from 5.1.0 to 5.2.0 2021-10-25 22:03:30 +00:00
dependabot[bot]
000ff7b6c4
build(deps-dev): bump lint-staged from 11.2.3 to 11.2.4 2021-10-25 22:03:26 +00:00
dependabot[bot]
82d315873c
build(deps-dev): bump benny from 3.7.0 to 3.7.1 2021-10-25 22:03:22 +00:00
dependabot[bot]
1578aefe3c
build(deps-dev): bump typanion from 3.7.0 to 3.7.1 2021-10-25 22:03:11 +00:00
dependabot[bot]
7ef19c1036
build(deps-dev): bump eslint from 8.0.1 to 8.1.0 2021-10-25 22:02:57 +00:00
dependabot[bot]
777123a911
build(deps-dev): bump husky from 7.0.2 to 7.0.4 2021-10-25 22:02:51 +00:00
dependabot[bot]
23ab3d4a70
build(deps-dev): bump @types/sinon from 10.0.4 to 10.0.5 2021-10-25 22:02:41 +00:00
dependabot[bot]
7a1053c4da
build(deps-dev): bump ts-node from 10.3.0 to 10.4.0 2021-10-25 22:02:35 +00:00
LongYinan
40c237ef19 fix(napi): Windows i686 memory error 2021-10-24 23:28:21 +08:00