Commit graph

1458 commits

Author SHA1 Message Date
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
LongYinan
fa8e32d3c0
Release independent packages
napi-derive-backend@1.0.7
napi-derive@2.0.0-alpha.6

Generated by cargo-workspaces
2021-11-16 13:03:50 +08:00
LongYinan
b4a8cadb21
fix(napi-derive-backend): Option value should produce optional types 2021-11-16 13:02:40 +08:00
LongYinan
0e0bfb1c0a
Release independent packages
napi-derive-backend@1.0.6
napi-derive@2.0.0-alpha.5

Generated by cargo-workspaces
2021-11-16 12:36:19 +08:00
LongYinan
b8bcdd9c04
fix(napi-derive-backend): JsBuffer should map to Buffer type 2021-11-16 12:35:22 +08:00
LongYinan
052bcd8f3e
Release independent packages
napi@2.0.0-alpha.3
napi-derive-backend@1.0.5
napi-derive@2.0.0-alpha.4

Generated by cargo-workspaces
2021-11-16 10:44:48 +08:00
dependabot[bot]
be70c27667
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-15 21:42:20 +00:00
dependabot[bot]
06ec033844
build(deps-dev): bump lint-staged from 11.2.6 to 12.0.2 2021-11-15 21:27:48 +00:00
dependabot[bot]
f0485e1c03
build(deps-dev): bump @typescript-eslint/parser from 5.3.1 to 5.4.0 2021-11-15 21:27:37 +00:00
dependabot[bot]
6fef238673
build(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 2021-11-15 21:27:32 +00:00
LongYinan
09426f0803
Merge pull request #853 from napi-rs/symbol-improvement
feat(napi): improve symbol support
2021-11-15 23:22:17 +08:00
LongYinan
424c7805c4
feat(napi): improve symbol support 2021-11-15 23:10:15 +08:00
LongYinan
c0a89834c2
Merge pull request #852 from napi-rs/global
feat(napi): support JsGlobal in `Env`
2021-11-15 23:03:09 +08:00
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