Commit graph

1472 commits

Author SHA1 Message Date
dependabot[bot]
35983ae0c0
build(deps-dev): bump @types/js-yaml from 4.0.4 to 4.0.5 2021-11-22 21:52:37 +00:00
dependabot[bot]
f34ab2e92c
build(deps-dev): bump typescript from 4.4.4 to 4.5.2 2021-11-22 21:52:29 +00:00
dependabot[bot]
9ae38136b5
build(deps-dev): bump @types/node from 16.11.7 to 16.11.9 2021-11-22 21:52:13 +00:00
Sam Holmes
b9f43455f0
fix(napi-build): cargo:rerun-if commands (#871) 2021-11-22 22:35:05 +08:00
LongYinan
a1e3292b7a
napi@2.0.0-alpha.6 2021-11-21 23:11:43 +08:00
LongYinan
e8cfa0b467
fix(napi): freeze and seal should be methods of JsObject 2021-11-21 23:11:14 +08:00
LongYinan
4aa56a148c
fix(napi): missing coerce_to_bool on JsValue 2021-11-21 23:10:29 +08:00
LongYinan
5c3bccfcf9
chore: publish
- @napi-rs/cli@2.0.0-alpha.10
2021-11-21 21:43:53 +08:00
LongYinan
7b797d3caf
feat(cli): create pre-release if tag includes alpha/beta/rc 2021-11-21 21:43:28 +08:00
LongYinan
f0617ae129
chore: publish
- @napi-rs/cli@2.0.0-alpha.9
2021-11-21 21:40:05 +08:00
LongYinan
458c5c9457
fix(cli): wrong release assets content 2021-11-21 21:39:36 +08:00
LongYinan
47c5867922
chore: publish
- @napi-rs/cli@2.0.0-alpha.8
2021-11-21 18:51:31 +08:00
LongYinan
dca5ada995
feat(cli): export android toolchains to PATH before build 2021-11-21 18:50:43 +08:00
LongYinan
c312fd36d1
chore: publish
- @napi-rs/cli@2.0.0-alpha.7
2021-11-21 18:24:47 +08:00
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