Commit graph

2463 commits

Author SHA1 Message Date
LongYinan
a528ecf5a7
style(cli): remove semicolon 2023-07-25 11:28:07 +08:00
Vinicius Lourenço
3ee6be4e5f
perf(cli): improve musl verification (#1660) 2023-07-25 11:26:55 +08:00
LongYinan
a7eeb0c31c
fix(napi): promise resolve error (#1664) 2023-07-24 00:36:24 +08:00
LongYinan
4fdce25a17
docs: update CI badge 2023-07-19 10:40:42 +08:00
LongYinan
73ac74d2d9
ci: release-npm depends on others 2023-07-19 10:39:28 +08:00
LongYinan
cbed8fceb2
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.5
 - @napi-rs/triples@2.0.0-alpha.3
2023-07-18 11:07:16 +08:00
LongYinan
092f9d5290
ci: add release npm cli 2023-07-18 11:06:45 +08:00
LongYinan
4e0c9b14e4
fix(cli): created template missing macOS testing (#1659) 2023-07-18 10:49:20 +08:00
LongYinan
6d62b3f714
chore: upgrade dependencies (#1657) 2023-07-17 14:56:02 +08:00
Markus
73a704a19e
feat(napi): keep stack traces in a deferred context (#1637)
* feat(napi): keep stack traces in deferred context

* chore: reformat code

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* chore: use napi wrappers

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* test(napi): add test for deferred trace

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

* chore: fix format

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>

---------

Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com>
2023-07-15 12:07:14 +08:00
renovate[bot]
f610129b11
fix(deps): update dependency @octokit/rest to v20 (#1653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 18:13:49 +08:00
renovate[bot]
6cd1db79aa
chore(deps): update dependency electron to v25.3.0 (#1654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 01:30:52 +00:00
dependabot[bot]
3c819bb978
build(deps): bump semver from 5.7.1 to 5.7.2 (#1651)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 16:43:02 +08:00
LongYinan
16f49a764f
ci: fix FreeBSD and macOS arm64 CI (#1648) 2023-07-10 16:29:43 +08:00
renovate[bot]
9c09975b9e
chore(deps): update yarn to v3.6.1 (#1636)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 14:51:07 +08:00
renovate[bot]
1dbc08ec81
chore(deps): update dependency electron to v25.2.0 (#1633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 11:36:28 +08:00
liuyi
8aef51a51a
fix cli watch build and remove unused --esm option (#1631)
* fix(cli): watch mode

* chore(cli): remove useless option

* Delete more esm option codes

---------

Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-06-21 19:35:08 +08:00
LongYinan
53cf696cf8
ci: reduce the complex of CI config (#1628) 2023-06-17 17:03:57 +08:00
liuyi
fb22a5ae07
fix(cli): incorrect behaviors (#1626)
* fix(cli): target selector is not available in interactive mode

* fix(cli): js binding file should export

* fix(cli): wrong node engine requirements syntax

* feat(cli): support esm module

* restore js binding implementation in v2

---------

Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-06-17 12:49:30 +08:00
renovate[bot]
b34cca4d83
chore(deps): update dependency electron to v25.1.1 (#1625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 21:33:41 +00:00
renovate[bot]
e742e810ae
chore(deps): update dependency esbuild to ^0.18.0 (#1623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 16:12:01 +08:00
renovate[bot]
234e79b22e
chore(deps): update dependency c8 to v8 (#1624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-14 16:11:37 +08:00
LongYinan
8ec367e6c5
Release independent packages
napi@2.13.2
2023-06-14 15:51:34 +08:00
LongYinan
53cd1bc904
fix(napi): impl send + sync for ThreadsafeFunction (#1622) 2023-06-14 15:24:01 +08:00
renovate[bot]
7e2b75cc33
chore(deps): update dependency electron to v25.1.0 (#1617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 09:32:22 +08:00
Alexey Orlenko
1fd469a7fc
chore: remove extra #[cfg] attribute (#1616)
This was accidentally added in 2d1e4144b3.
The second cfg attribute is essentially a no-op since the first one is
still valid and has more conditions, but we don't need it.
2023-06-07 09:30:18 +08:00
renovate[bot]
52c6969450
chore(deps): update yarn to v3.6.0 (#1614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-02 01:38:45 +00:00
renovate[bot]
a851f42a0a
chore(deps): lock file maintenance (#1612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 10:09:14 +08:00
renovate[bot]
de04804cc9
chore(deps): update dependency electron to v25 (#1610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-01 10:08:45 +08:00
Levi Zim
dc6caf7d8e
docs(README): update platform support status (#1607)
Document riscv64 linux support status.
BTW add the missing node20 column.
2023-05-27 17:38:41 +08:00
LongYinan
17bd8718ee
Release independent packages
napi@2.13.1
2023-05-27 14:30:06 +08:00
LongYinan
5a2cd93708
fix(napi): missing ValidateNapiValue for JsObject (#1606) 2023-05-27 13:33:42 +08:00
LongYinan
433e5b13bf
Release independent packages
napi@2.13.0

napi-derive@2.13.0
2023-05-27 12:28:43 +08:00
LongYinan
e60b1a599b
fix(cli): add back override cargo by env (#1605) 2023-05-27 12:08:59 +08:00
LongYinan
c7d6ee6e4b
refactor(cli): --profile flag (#1604) 2023-05-27 12:00:43 +08:00
LongYinan
82c2113c24
fix(cli): revert back js-binding file (#1603) 2023-05-27 11:22:44 +08:00
Lucas Fernandes Nogueira
85836034ff
feat(cli): detect Cargo --profile argument (#1598) 2023-05-27 10:19:16 +08:00
LongYinan
c6258cf633
feat(napi): support chrono::NaiveDateTime (#1601) 2023-05-26 18:28:34 +08:00
LongYinan
ab83d88c57
Merge pull request #1599 from kxxt/feat/riscv64
feat(target): add support for riscv64gc-unknown-linux-gnu
2023-05-26 16:51:02 +08:00
kxxt
173553c037 ci: add riscv64gc-unknown-linux-gnu 2023-05-26 09:48:19 +08:00
kxxt
72fcd03d98 feat(target): riscv64gc-unknown-linux-gnu 2023-05-25 23:38:09 +08:00
renovate[bot]
4a0ca22706
chore(deps): update dependency electron to v24.4.0 (#1596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-25 05:47:06 +00:00
LongYinan
e5163f7fc0
Release independent packages
napi@2.12.7
2023-05-20 10:56:29 +08:00
Jānis Gailis
d1fe0f0eb1
feat(napi): Bigint deserialization (#1592)
* Handle little endianness;
* Make sure get_<u/i>128 methods don't panic when words.len() < 2;
* Make sure BigInt deserialization takes into account word length and
  sign;

Signed-off-by: Janis Gailis <JanisGailis@users.noreply.github.com>
Co-authored-by: Janis Gailis <>
2023-05-19 17:27:29 +08:00
renovate[bot]
d6de0db49a
chore(deps): update dependency electron to v24.3.1 (#1593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 10:15:58 +08:00
LongYinan
5bc098144c
chore(example): add callback return promise (#1590) 2023-05-16 11:05:37 +08:00
renovate[bot]
5a3d10013b
chore(deps): update dependency electron to v24.3.0 (#1587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 19:37:59 +00:00
renovate[bot]
c2d70a2903
chore(deps): update dependency @rollup/plugin-commonjs to v25 (#1588) 2023-05-13 01:44:46 +08:00
Boshen
58600883dd
feat(cli): add --use-cross command for building with cross (#1584)
closes #1582
2023-05-09 09:30:30 +08:00
renovate[bot]
31ce5eb823
chore(deps): update dependency electron to v24.2.0 (#1580) 2023-05-04 09:27:17 +08:00