Commit graph

184 commits

Author SHA1 Message Date
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
LongYinan
f577512952
fix(cli): disable js binding generation if no --platform flag 2021-12-18 15:40:38 +08:00
forehalo
09c7df3c5c
fix: keep .d.ts and .js untouched if native doesn't change 2021-12-18 14:12:46 +08:00
LongYinan
01b5a6dc3f
docs(cli): add note for --target flag 2021-12-17 17:31:09 +08:00
LongYinan
d97541be39
chore: publish
- @napi-rs/cli@2.0.0
2021-12-17 16:54:56 +08:00
LongYinan
212bbe285e
chore: publish
- @napi-rs/cli@2.0.0-beta.5
2021-12-10 16:57:41 +08:00
LongYinan
a7e9f82fd9
style: run fmt 2021-12-10 16:55:55 +08:00
LongYinan
b977265cfa
feat(cli): provide rename command to rename everything in package-template project 2021-12-10 16:52:59 +08:00
LongYinan
ecb6522f50
fix(cli): preserve authors field while creating npm dir 2021-12-10 12:55:17 +08:00
LongYinan
f4b0a2e322
fix(cli): enum TypeScript type should be const enum 2021-12-09 18:48:50 +08:00
LongYinan
d34006ab89
chore: publish
- @napi-rs/cli@2.0.0-beta.4
2021-12-07 23:33:34 +08:00
LongYinan
11a5a35485
feat(cli): workaround for Windows i686 ICE in dev mode 2021-12-07 21:45:01 +08:00
LongYinan
8b362d8eb1 Revert "build(deps): bump chalk from 4.1.2 to 5.0.0"
This reverts commit b357f6e6a5.
2021-12-07 10:50:39 +08:00
dependabot[bot]
b357f6e6a5
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-12-06 21:51:23 +00:00
LongYinan
faf708a5b4
chore: publish
- @napi-rs/cli@2.0.0-beta.3
2021-12-03 17:03:19 +08:00
LongYinan
8de30a9287
feat(napi): add -p flag which will be bypassed to cargo 2021-12-03 16:49:25 +08:00
LongYinan
24eee7550e
chore: publish
- @napi-rs/cli@2.0.0-beta.2
2021-12-02 21:28:10 +08:00
LongYinan
d495cc11f8
fix(cli): android armv7 CI config in new command 2021-12-02 21:27:16 +08:00
LongYinan
6280460173
chore: publish
- @napi-rs/cli@2.0.0-beta.1
2021-12-02 17:05:40 +08:00
LongYinan
d58e488fa2
fix(cli): missing exported enum 2021-12-02 15:46:20 +08:00
LongYinan
4fe1f58e4d
chore: publish
- @napi-rs/cli@2.0.0-beta.0
 - @napi-rs/triples@1.1.0
2021-12-02 14:32:01 +08:00
LongYinan
68b0483c81
feat(cli): support android armv7 target 2021-12-02 13:33:57 +08:00
LongYinan
5f222038d3
feat(cli): fail the pipeline if artifacts not been built 2021-12-02 13:11:43 +08:00
LongYinan
d9c53d728b
feat(napi): support TypedArray input and output 2021-12-02 11:26:52 +08:00