Commit graph

207 commits

Author SHA1 Message Date
killa
6bef28a59b
fix: cargo metadata with large project (#1117)
Set `maxBuffer` to 10mb, cargo metadata may output
data more than 1mb(the nodejs default value).

Refs:
- https://github.com/napi-rs/napi-rs/issues/1116
2022-04-02 02:33:40 +08:00
LongYinan
dc87c46322
chore: publish
- @napi-rs/cli@2.6.1
2022-04-01 17:20:00 +08:00
LongYinan
8700da1776
fix(cli): should not throw if cargoName is provided but no package.name 2022-04-01 17:07:53 +08:00
LongYinan
a88bc57ea3
chore: publish
- @napi-rs/cli@2.6.0
2022-04-01 14:51:38 +08:00
LongYinan
0009379f31
chore: publish
- @napi-rs/cli@2.5.0
2022-04-01 14:50:23 +08:00
LongYinan
183c2d8896
ci: upgrade configuration 2022-04-01 14:33:34 +08:00
messense
20b1edc53b
feat(cli): add support for building binaries 2022-04-01 14:00:42 +08:00
LongYinan
ac8406c842
fix(cli): prevent crash if GITHUB_REPOSITORY is not specified 2022-04-01 13:34:49 +08:00
LongYinan
bd08787270
fix(cli): respect CARGO_BUILD_TARGET env variable 2022-04-01 13:30:16 +08:00
LongYinan
11967dec79
chore: upgrade dependencies 2022-04-01 12:10:56 +08:00
LongYinan
5005aaa5af
chore: upgrade dependencies 2022-03-13 18:30:11 +08:00
LongYinan
09ccfaad1d
fix(cli): use shell file path instead of commands for zig CC and CXX 2022-03-13 18:28:29 +08:00
LongYinan
1cac0ac804 feat(cli): upgrade ci.yml templates 2022-03-07 11:05:52 +08:00
LongYinan
ee0279e540 feat(cli): add libc filed in native package.json 2022-03-06 22:22:43 +08:00
LongYinan
871cf5554d
chore: publish
- @napi-rs/cli@2.4.5
2022-03-05 18:48:16 +08:00
LongYinan
9f3fbaa8e0
fix(napi): race issues with Node.js worker_thread (#1081)
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
2022-03-05 14:14:32 +08:00
Stéphan Kochen
e69f0230c2 fix(cli): temporary dts path may not be writable 2022-03-03 10:45:27 +01:00
LongYinan
c18fb10f13
chore: publish
- @napi-rs/cli@2.4.4
2022-02-11 12:38:16 +08:00
LongYinan
f9c618e046
fix(cli): generate ExternalObject type on demand 2022-02-10 18:37:04 +08:00
LongYinan
7c67cc143c
chore: publish
- @napi-rs/cli@2.4.3
2022-02-09 20:43:03 +08:00
LongYinan
5f359dfaae
fix(cli): compatible for Node.js 10x 2022-02-09 12:41:56 +08:00
LongYinan
1531489e18
chore: upgrade to yarn3 2022-01-24 17:25:40 +08:00
LongYinan
cb0c2a3350
chore: publish
- @napi-rs/cli@2.4.2
2022-01-19 17:20:49 +08:00
LongYinan
25f6754a71
fix(cli): js binding template 2022-01-19 17:20:27 +08:00
LongYinan
250726a61a
chore: publish
- @napi-rs/cli@2.4.1
2022-01-18 14:37:15 +08:00
LongYinan
63a16d0a27
fix(cli): missing shebang in zig-cross sh file 2022-01-18 13:41:59 +08:00
LongYinan
1799aa94e3
fix(cli): swap -lgcc_s with -lunwind 2022-01-17 14:05:52 +08:00
messense
d84cbe88bd fix(cli): properly handle RUSTFLAGS env var 2022-01-13 21:36:59 +08:00
LongYinan
110f2196a4
chore: publish
- @napi-rs/cli@2.4.0
2022-01-13 18:21:44 +08:00
LongYinan
95d49f8cf4
fix(cli): zig abi should pass to linker 2022-01-13 18:21:20 +08:00
messense
887bdb9d29 feat(cli): add --strip option for removing symbols 2022-01-13 17:00:04 +08:00
LongYinan
efcd6ba8a5
chore: publish
- @napi-rs/cli@2.3.1
2022-01-13 14:44:49 +08:00
LongYinan
472ac10c67
fix(cli): missing zig-abi-suffix support 2022-01-13 14:26:29 +08:00
LongYinan
5ef1d11e27
chore: publish
- @napi-rs/cli@2.3.0
2022-01-06 17:41:42 +08:00
LongYinan
0db94ccd66
feat(cli): support macOS with --zig flag 2022-01-06 12:53:45 +08:00
LongYinan
d86e2a68ed
chore: publish
- @napi-rs/cli@2.2.1
2022-01-04 10:59:51 +08:00
LongYinan
eb79ccebbe
fix(cli): handle lld not found 2022-01-03 22:03:10 +08:00
LongYinan
bc570c2918
fix(cli): shell: true instead of bash 2022-01-03 15:23:08 +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
LongYinan
3634d03f81
chore(cli): remove substr usage 2021-12-27 18:36:57 +08:00
LongYinan
556ace8f33
fix(napi-derive,cli): export type alias for original name 2021-12-25 17:36:12 +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
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
bdc49cca10
chore: publish
- @napi-rs/cli@2.1.0
2021-12-22 00:23:05 +08:00
h-a-n-a
7891c52cbf test: update type snapshot 2021-12-19 22:44:45 +08:00
h-a-n-a
df9dc91562 feat(napi): add ts typegen skip 2021-12-19 19:45:21 +08:00