Commit graph

1714 commits

Author SHA1 Message Date
LongYinan
0424a08c06
feat(napi): BigInt codegen support 2021-11-11 16:18:25 +08:00
LongYinan
38d2645632
Release independent packages
napi-derive-backend@1.0.4
napi-derive@2.0.0-alpha.3
2021-11-10 14:19:09 +08:00
LongYinan
d670e0454d
Release independent packages
napi-derive-backend@1.0.4

Generated by cargo-workspaces
2021-11-10 14:18:04 +08:00
LongYinan
413a55545f
fix(napi-derive-backend): wrong restrict on Result return type 2021-11-10 13:15:54 +08:00
LongYinan
ea8a79e761
chore: publish
- @napi-rs/cli@2.0.0-alpha.4
2021-11-09 22:07:33 +08:00
LongYinan
4866e21c7e
Merge pull request #845 from napi-rs/generate-js-binding
Generate js binding
2021-11-09 22:05:59 +08:00
LongYinan
35b0e53801
chore: update lockfile 2021-11-09 21:43:51 +08:00
LongYinan
179f20a7c5
feat(cli): generate js binding to avoid dynamic require logic 2021-11-09 21:43:51 +08:00
dependabot[bot]
b7a98d2c7a
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-08 21:47:18 +00:00
dependabot[bot]
eb5f53a2cf
build(deps): bump table from 6.7.2 to 6.7.3 2021-11-08 21:34:14 +00:00
dependabot[bot]
89a5547e33
build(deps-dev): bump eslint from 8.1.0 to 8.2.0 2021-11-08 21:33:58 +00:00
dependabot[bot]
85fc76206a
build(deps-dev): bump sinon from 11.1.2 to 12.0.1 2021-11-08 21:33:31 +00:00
dependabot[bot]
baa6c94387
build(deps-dev): bump @typescript-eslint/parser from 5.3.0 to 5.3.1 2021-11-08 21:33:15 +00:00
LongYinan
1ab52c42b6
Release independent packages
napi@2.0.0-alpha.2
napi-derive@2.0.0-alpha.2
napi-derive-backend@1.0.3
2021-11-07 00:06:29 +08:00
LongYinan
e0671fe071
feat(napi): implement Env::throw to throw any JsValue 2021-11-06 23:33:58 +08:00
LongYinan
c92c5534c8
Merge pull request #838 from napi-rs/fix-async-fn
fix(napi-derive): missing move in async fn
2021-11-06 22:31:23 +08:00
LongYinan
785388ae40
fix(napi-derive): missing move in async fn 2021-11-06 22:19:42 +08:00
LongYinan
c2c5887ea4
Merge pull request #837 from napi-rs/return-result
fix(napi-derive): return Result type in Constructor and Factory
2021-11-06 22:13:55 +08:00
LongYinan
e9ab2192da
fix(napi-derive): return Result type in Constructor and Factory 2021-11-06 21:48:18 +08:00
LongYinan
44040e3bfe
fix(napi-derive): type generate issue for Factory and Class 2021-11-06 13:51:55 +08:00
LongYinan
e78cdd3c22
feat(napi): support static class factory 2021-11-06 13:51:55 +08:00
LongYinan
e74fe2fb94
feat(napi): implement AsyncTask with AbortSignal support 2021-11-06 13:51:54 +08:00
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