Commit graph

1576 commits

Author SHA1 Message Date
LongYinan
3386bb9867
feat(napi): support JsGlobal in Env 2021-11-15 22:41:01 +08:00
LongYinan
1ef7de4dd6
Merge pull request #849 from napi-rs/promise
feat(napi): await Promise<T> in async fn
2021-11-15 17:05:56 +08:00
LongYinan
92aa3fcf53
chore(napi): add log_js_value helper 2021-11-15 16:55:15 +08:00
LongYinan
25231b6ae1
fix(napi): correct the CString usage 2021-11-15 16:55:13 +08:00
LongYinan
eaa96f7eb2
feat(napi): await Promise<T> in async fn 2021-11-15 16:54:55 +08:00
LongYinan
0d469ed8db
Merge pull request #851 from timfish/fix/qualify
Fully qualify all types in generated code
2021-11-15 16:36:17 +08:00
Tim Fish
a14cbbb836 Full qualify types 2021-11-14 23:34:44 +00:00
LongYinan
1013052de3
Merge pull request #848 from napi-rs/tsfn
feat(napi): create ThreadsafeFunction from JsFunction
2021-11-12 17:36:12 +08:00
LongYinan
30031f09ed
feat(napi): create ThreadsafeFunction from JsFunction 2021-11-12 17:22:57 +08:00
LongYinan
4ff51a3c66
Merge pull request #847 from napi-rs/mut-arg
fix(napi-derive-backend): typegen issue when arg is mut
2021-11-11 18:17:25 +08:00
LongYinan
fe8f061f1f
fix(napi-derive-backend): typegen issue when arg is mut 2021-11-11 17:10:32 +08:00
LongYinan
9a8484144c
Merge pull request #846 from napi-rs/bigint
feat(napi): BigInt codegen support
2021-11-11 16:48:08 +08:00
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