Commit graph

1663 commits

Author SHA1 Message Date
LongYinan
671ac80e8b
Merge pull request #989 from napi-rs/fix/spwan-arg
fix(cli): shell: true instead of bash
2022-01-03 21:27:55 +08:00
LongYinan
bc570c2918
fix(cli): shell: true instead of bash 2022-01-03 15:23:08 +08:00
Flux Xu
881fd52063
fix(napi-derive): unraw rust identifiers before sending it to js. (#987) 2022-01-03 11:28:35 +08:00
messense
ca3790bdf1
Add support for cross compilation with Zig (#983)
feat(cli): add support for cross compilation with Zig
2021-12-31 11:20:55 +08:00
dependabot[bot]
d58246ea62
build(deps-dev): bump @typescript-eslint/parser from 5.8.0 to 5.8.1 2021-12-27 21:58:12 +00:00
dependabot[bot]
0604a6f58d
build(deps-dev): bump rollup from 2.61.1 to 2.62.0 2021-12-27 21:44:47 +00:00
dependabot[bot]
dda53df837
build(deps-dev): bump @types/node from 17.0.1 to 17.0.5 2021-12-27 21:44:41 +00:00
dependabot[bot]
13aba77434
build(deps-dev): bump esbuild from 0.14.6 to 0.14.8 2021-12-27 21:44:34 +00:00
dependabot[bot]
84e1e3ebb5
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-27 21:44:29 +00:00
dependabot[bot]
1e250a71e5
build(deps-dev): bump lint-staged from 12.1.3 to 12.1.4 2021-12-27 21:44:22 +00:00
LongYinan
3634d03f81
chore(cli): remove substr usage 2021-12-27 18:36:57 +08:00
LongYinan
52acde32b3
Merge pull request #971 from napi-rs/export-type-alias
fix(napi-derive,cli): export type alias for original name
2021-12-25 17:49:17 +08:00
LongYinan
556ace8f33
fix(napi-derive,cli): export type alias for original name 2021-12-25 17:36:12 +08:00
LongYinan
66e202e2f2
Release independent packages
napi-derive@2.0.4
2021-12-25 01:44:37 +08:00
LongYinan
cf69651701
Merge pull request #969 from napi-rs/ignore-warning
fix(napi-derive): ignore warnings on generated fn
2021-12-25 01:43:00 +08:00
LongYinan
f76a12eb5a
fix(napi-derive): ignore warnings on generated fn
Close https://github.com/napi-rs/napi-rs/issues/968
2021-12-25 01:24:58 +08:00
LongYinan
ab1af002e5
Merge pull request #967 from napi-rs/fix/missing-wrap
fix(napi-derive): missing wrap in NAPI-RS created class instance
2021-12-24 23:53:52 +08:00
LongYinan
76798a4343
fix(napi-derive): missing wrap in NAPI-RS created class instance 2021-12-24 22:56:16 +08:00
LongYinan
4e4b160f3a
Release independent packages
napi-derive@2.0.3
2021-12-24 21:57:40 +08:00
LongYinan
0c5130a26b
Merge pull request #966 from napi-rs/non-default-constructor-class
Non default constructor class
2021-12-24 21:53:51 +08:00
LongYinan
e6a30ffcca
fix(napi-derive): return instance from non-default constructor class
Fix https://github.com/napi-rs/napi-rs/issues/933
2021-12-24 21:37:47 +08:00
LongYinan
c25cfc5773
test(cli): add android target triple test 2021-12-24 11:39:53 +08:00
LongYinan
db40b6a874
chore(cli): docs enhancement 2021-12-23 17:47:43 +08:00
LongYinan
e904497b8c
Release independent packages
napi-derive@2.0.2
2021-12-23 14:47:41 +08:00
LongYinan
b05e0e713f
Merge pull request #964 from napi-rs/fix-struct-gen
fix(napi-derive): return Class instance in function
2021-12-23 14:27:07 +08:00
LongYinan
940be7df99
fix(napi-derive): return Class instance in function 2021-12-23 14:07:35 +08:00
LongYinan
17a3000077
Merge pull request #963 from h-a-n-a/patch-1 2021-12-23 08:47:42 +08:00
Hana
894334e8f1
fix(cli): fix crate-type hint 2021-12-23 03:10:44 +08:00
LongYinan
bfa454f94d
chore: publish
- @napi-rs/cli@2.2.0
2021-12-22 20:24:41 +08:00
LongYinan
046f75dc29
feat(cli): provide a way to override the native package name 2021-12-22 20:24:15 +08:00
LongYinan
46168ee6d6
Release independent packages
napi@2.0.2
2021-12-22 09:50:55 +08:00
LongYinan
9055fcd0c9
Merge pull request #961 from napi-rs/fix/compile-issue-without-compat-mode
fix(napi): compile issue without compat mode
2021-12-22 09:49:55 +08:00
LongYinan
87d1821e73
fix(napi): compile issue without compat mode 2021-12-22 09:36:47 +08:00
LongYinan
fa0fe87448
Release independent packages
napi-build@1.2.1
2021-12-22 00:27:59 +08:00
LongYinan
bdc49cca10
chore: publish
- @napi-rs/cli@2.1.0
2021-12-22 00:23:05 +08:00
LongYinan
828c6cf625
Release independent packages
napi@2.0.1
napi-derive@2.0.1
2021-12-22 00:19:16 +08:00
LongYinan
0dbda09cb3
test(napi): make worker_threads test more complex 2021-12-22 00:12:21 +08:00
LongYinan
de27470552
Merge pull request #960 from napi-rs/fix/undefined-module-in-worker
Fix undefined module in worker_threads
2021-12-22 00:07:18 +08:00
LongYinan
4406059de1
fix(napi): addon packages become undefined in worker_threads 2021-12-21 23:38:35 +08:00
LongYinan
915b423026
fix(napi): only shutdown tokio runtime once 2021-12-21 23:22:23 +08:00
dependabot[bot]
13c9437b61
build(deps-dev): bump @typescript-eslint/parser from 5.7.0 to 5.8.0 2021-12-20 22:20:01 +00:00
dependabot[bot]
4908afef6f
build(deps-dev): bump esbuild from 0.14.3 to 0.14.6 2021-12-20 22:19:50 +00:00
dependabot[bot]
9cbde88078
build(deps-dev): bump lint-staged from 12.1.2 to 12.1.3 2021-12-20 21:55:58 +00:00
dependabot[bot]
ebfaa52d07
build(deps-dev): bump eslint from 8.4.1 to 8.5.0 2021-12-20 21:55:44 +00:00
dependabot[bot]
5fbb7974ea
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-20 21:55:19 +00:00
dependabot[bot]
442abf85d3
build(deps-dev): bump @types/node from 16.11.12 to 17.0.1 2021-12-20 21:55:07 +00:00
dependabot[bot]
eed20fe807
build(deps-dev): bump typescript from 4.5.3 to 4.5.4 2021-12-20 21:54:54 +00:00
LongYinan
a695c9724f
Merge pull request #951 from napi-rs/multi-impl-gen
fix(napi-derive): codegen bug when multi impl on same file
2021-12-20 16:17:04 +08:00
LongYinan
f7571d71c0
fix(napi-derive): codegen bug when multi impl on same file 2021-12-20 16:00:11 +08:00
LongYinan
ac1b52fab9
Merge pull request #950 from napi-rs/upgrade-windows-crate
chore(napi): upgrade windows crate to 0.29
2021-12-20 15:53:14 +08:00