Commit graph

1392 commits

Author SHA1 Message Date
LongYinan
d36c303dec
chore: specified dependencies versions 2021-11-06 13:51:54 +08:00
yisibl
9570899025
chore: CI templates add ignore files (paths-ignore) 2021-11-06 13:51:54 +08:00
LongYinan
f26cd4aa7b
feat(napi): implement Either type 2021-11-02 18:57:57 +08:00
dependabot[bot]
ff593eac6a
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-01 22:04:23 +00:00
dependabot[bot]
d745852050
build(deps-dev): bump @types/node from 16.11.5 to 16.11.6 2021-11-01 22:03:51 +00:00
dependabot[bot]
4ce07d347c
build(deps-dev): bump lint-staged from 11.2.4 to 11.2.6 2021-11-01 21:38:08 +00:00
dependabot[bot]
7d02ce4425
build(deps-dev): bump esbuild from 0.13.9 to 0.13.12 2021-11-01 21:37:56 +00:00
dependabot[bot]
0f8324707f
build(deps-dev): bump @typescript-eslint/parser from 5.2.0 to 5.3.0 2021-11-01 21:37:43 +00:00
dependabot[bot]
5d430308a8
build(deps-dev): bump @types/sinon from 10.0.5 to 10.0.6 2021-11-01 21:37:16 +00:00
LongYinan
a910e47386
ci: rollback debian image to stretch 2021-11-01 18:48:28 +08:00
LongYinan
6a99e1abd4
ci: fix cmake and clang++-13 in debian.Dockerfile 2021-11-01 11:49:12 +08:00
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