LongYinan
5398b16238
fix(cli,napi-derive): backward compatible with older cli with #1531 ( #1536 )
2023-03-22 17:35:55 +08:00
LongYinan
0f0837f5ca
fix(cli): dts pipe ( #1532 )
2023-03-21 18:47:43 +08:00
LongYinan
3d48d4464b
fix(cli,napi-derive): re-export types from shared crate ( #1531 )
...
* fix(cli,napi-derive): re-export types from shared crate
* chore: publish
- @napi-rs/cli@2.15.1-alpha.0
* Clippy fix
* Fix memory testing
2023-03-21 18:12:52 +08:00
LongYinan
550ef7c3cc
feat: export registers in wasm32 target ( #1529 )
2023-03-20 18:42:27 +08:00
Francesco Benedetto
c8bd8924e2
fix(cli): export non const enums when generating typedefs ( #1527 )
...
* fix(cli): export non const enums when generating typedefs
* Make --const-enum as a build flag
---------
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-03-20 14:19:18 +08:00
liuyi
7281f533bd
fix(cli): always generate typedef file even native code never changes ( #1489 )
2023-02-16 22:24:40 +08:00
Sean Larkin
cb529d21cf
fix(cli): JS bindgen file now respects destDir ( #1481 )
2023-02-08 14:14:55 +08:00
LongYinan
b2e1bb234f
chore(cli): upgrade cross platform testing toolchains ( #1471 )
2023-02-02 16:27:08 +08:00
LongYinan
a302c9cb18
fix(cli): upload GitHub assets issue
2023-01-29 16:54:33 +08:00
LongYinan
2f527938b2
fix(napi): build error with zig@0.10.1
2023-01-20 21:31:46 +08:00
LongYinan
bdbdbccb56
chore: zig 0.10.1
2023-01-19 13:31:02 +08:00
LongYinan
62b16d6a89
chore: upgrade npm dependencies ( #1443 )
2023-01-19 00:32:52 +08:00
Luke Deen Taylor
84921fc0a3
fix(cli): cleanup zig behaviors ( #1432 )
2023-01-11 22:04:23 +08:00
overlookmotel
cc53807fe2
fix(cli): CARGO env var ( #1426 )
2023-01-10 12:30:49 +08:00
LongYinan
895e4caf95
fix(cli): android cmake build
2023-01-03 21:02:13 +08:00
LongYinan
abc4566bbb
chore(cli): update CI template ( #1416 )
2023-01-03 14:58:33 +08:00
Jarod Brennfleck
c58972ee0a
fix(cli): quote toml path ( #1410 )
...
Fixes issue when tomlPath has a space in it
2022-12-29 16:24:28 +08:00
LongYinan
bc41c9778f
feat(cli): add --zig-link-only option ( #1400 )
2022-12-19 23:05:18 +08:00
Tadas Dailyda
870552e0ee
cli: fix ci-template typo
2022-12-19 17:40:43 +08:00
Tadas Dailyda
cf68288232
cli: universal support for CI template
2022-12-19 17:40:43 +08:00
Tadas Dailyda
4832e932ce
cli: 'artifacts' command small fix
2022-12-19 17:40:43 +08:00
Tadas Dailyda
fed35841e0
cli: 'artifacts' command update to deal with universal builds
2022-12-19 17:40:43 +08:00
Tadas Dailyda
cfd8d3dc50
cli: add 'universal' command
2022-12-19 17:40:43 +08:00
Tadas Dailyda
2afdfe7aee
cli: darwin universal support in js-binding-template.ts
2022-12-19 17:40:43 +08:00
Tadas Dailyda
b8bb2e5e4a
cli: tests
2022-12-19 17:40:43 +08:00
Tadas Dailyda
cc9c650949
cli: add universal-apple-darwin platform
2022-12-19 17:40:43 +08:00
LongYinan
f2c10affee
fix(cli): set cmake toolchain for android cross build ( #1394 )
2022-12-15 21:59:13 +08:00
Javier Viola
36a897e27a
fix(cli): template to works with nix ( #1391 )
2022-12-15 21:18:14 +08:00
LongYinan
bd1d3fe0a6
fix(cli): ci template upgrade
2022-12-09 19:17:10 +08:00
LongYinan
2abc94681e
fix(cli): zig cross armv7 ( #1384 )
2022-12-09 18:56:50 +08:00
LongYinan
696c2ddcd8
feat(cli): auto choose the tooling for cross compiling ( #1367 )
2022-11-20 22:24:02 +08:00
Horu
d48d106588
ci: remove unused ci condition ( #1363 )
2022-11-14 12:11:15 +08:00
Edward Elric
caeef4a675
fix(cli): incorrent version without npm folder
2022-11-10 23:44:39 +08:00
LongYinan
32cf02e633
fix(cli): compatible with zig 0.10.0
2022-11-05 00:11:23 +08:00
阿豪
7f82c95525
fix(cli): support help command ( #1355 )
2022-11-02 10:56:34 +08:00
messense
4279291f4b
feat(cli): parse Cargo.toml
using cargo metadata
( #1330 )
2022-10-01 22:06:14 +08:00
LongYinan
d5a6445bee
chore(cli): increase ava timeout ( #1314 )
2022-09-14 17:01:53 +08:00
Wodann
f7c26cccbf
fix(cli): custom Cargo (build) target directories ( #1300 )
2022-09-09 18:54:53 +08:00
LongYinan
b7a3103f0c
feat(napi-derive): catch_unwind attribute ( #1280 )
2022-08-19 23:36:36 +08:00
LongYinan
8784ed9459
Merge pull request #1265 from liby/feature/update-ci-template
...
chore(napi): use recommended `vmactions/freebsd-vm@v0`
2022-08-12 17:40:10 +08:00
LongYinan
14aab065e7
fix(cli): zig cross to *-apple-darwin target
2022-08-12 16:52:21 +08:00
LongYinan
1d1ef3d69e
fix(cli): ignore preinstall scripts on FreeBSD while installing yarn
2022-08-12 16:19:59 +08:00
Bryan Lee
b13d6b68a1
chore(napi): use recommended vmactions/freebsd-vm@v0
2022-08-12 14:43:16 +08:00
LongYinan
9b9cd5d23b
fix(cli): npm i -g flag is deprecated
2022-08-12 13:25:45 +08:00
LongYinan
0db6ae1282
style(cli): update lib.rs
2022-08-09 13:25:22 +08:00
LongYinan
1cf5a0dc75
fix(cli): add .yarn and __test__ folder to .npmignore
2022-08-09 13:24:21 +08:00
Amr Bashir
b54e698237
feat(cli): allow specifying an existing release ( #1256 )
2022-08-04 12:12:18 +08:00
Amr Bashir
3d2ca94392
feat(cli): add an option to specify the github release name ( #1255 )
2022-08-04 00:10:51 +08:00
Amr Bashir
0e75c59f0e
chore: improve *.node
doesn't exist warning msg ( #1254 )
2022-08-03 08:01:15 +08:00
Amr Bashir
9be7ae2bf9
feat(cli): use CARGO_TARGET_DIR
if set ( #1251 )
...
* feat: use `CARGO_TARGET_DIR` if set
* use `||` instead of `??`
* use `CARGO_BUILD_TARGET_DIR` also if set
* disable eslint prefer-nullish-coalescing
2022-07-31 22:41:32 +08:00