Commit graph

2492 commits

Author SHA1 Message Date
renovate[bot]
a5b31e49b1
chore(deps): update docker/login-action action to v3 (#1723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:13:36 -07:00
renovate[bot]
7392dc9d19
chore(deps): update dependency sinon to v16 (#1727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:12:03 -07:00
renovate[bot]
220afd3e3e
chore(deps): update dependency electron to v26.2.0 (#1718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 22:33:49 -07:00
LongYinan
2277c8bd2f
Merge pull request #1717 from napi-rs/renovate/actions-checkout-4.x
chore(deps): update actions/checkout action to v4
2023-09-04 16:33:42 -07:00
renovate[bot]
80186fca76
chore(deps): update actions/checkout action to v4 2023-09-04 14:34:40 +00:00
LongYinan
05b4be4d80
style: clippy fix (#1711) 2023-08-30 16:41:13 +08:00
LongYinan
fda46658f4
Merge pull request #1709 from napi-rs/renovate/electron-26.x
chore(deps): update dependency electron to v26.1.0
2023-08-28 12:51:54 +08:00
renovate[bot]
f69d0b43c6
chore(deps): update dependency electron to v26.1.0 2023-08-25 14:59:20 +00:00
LongYinan
b235cea33f
Merge pull request #1701 from yoogoc/main
throw `is not a valid identifier` when generating getters and setters
2023-08-25 22:58:44 +08:00
LongYinan
ee58c5c84d
Merge pull request #1708 from napi-rs/renovate/yarn-monorepo
chore(deps): update yarn to v3.6.3
2023-08-24 17:29:05 +08:00
renovate[bot]
f1d016a914
chore(deps): update yarn to v3.6.3 2023-08-23 23:00:30 +00:00
renovate[bot]
f97af3852d
chore(deps): update yarn to v3.6.2 (#1702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 21:20:09 +00:00
yoogo
4259e85e0e fix(backend): attribute of a struct marked as #[napi(constructor)] contain Rust keywords, causing to throw is not a valid identifier when generating getters and setters 2023-08-17 20:48:54 +08:00
LongYinan
b1dd613243
Release independent packages
napi@2.13.3
2023-08-16 15:24:33 +08:00
LongYinan
0cd8dd2c46
Merge pull request #1699 from napi-rs/fix-android-ranlib
fix(cli): set RANLIB while building android targets
2023-08-16 12:57:24 +08:00
LongYinan
5d0240e8ad
fix(cli): set RANLIB while building android targets 2023-08-16 12:36:22 +08:00
LongYinan
00ac5b1da7
Merge pull request #1697 from napi-rs/renovate/electron-26.x
chore(deps): update dependency electron to v26
2023-08-15 11:33:00 +08:00
renovate[bot]
5c1b1ceea0
chore(deps): update dependency electron to v26 2023-08-15 00:38:39 +00:00
renovate[bot]
e7b45aaaba
chore(deps): update dependency lint-staged to v14 (#1695) 2023-08-14 08:50:48 +08:00
plodsoft
8bf32be7d4
feat(napi): impl FromNapiValue for HashMap with custom hasher (#1682) 2023-08-11 11:05:04 +08:00
renovate[bot]
66b10ed661
chore(deps): update dependency electron to v25.5.0 (#1693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 04:25:23 +00:00
LongYinan
07d03c9435
chore: MSRV 1.63.0 2023-08-10 10:44:55 +08:00
renovate[bot]
c5f7213a27
chore(deps): update dependency esbuild to ^0.19.0 (#1691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 01:22:11 +00:00
renovate[bot]
a3ff5d8b15
chore(deps): update dependency eslint-config-prettier to v9 (#1687) 2023-08-06 10:41:59 +08:00
renovate[bot]
d07e6489a5
chore(deps): update dependency electron to v25.4.0 (#1680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 15:29:41 +08:00
renovate[bot]
30534d4288
chore(deps): lock file maintenance (#1677) 2023-08-01 13:39:51 +08:00
LongYinan
f2f4b48e8a
fix(cli): pick right android tools while cross compiling (#1675) 2023-07-30 11:53:34 +08:00
LongYinan
9ebe404e9a
feat(cli): add provenance to ci template (#1671) 2023-07-27 10:31:58 +08:00
renovate[bot]
5875378c88
chore(deps): update dependency electron to v25.3.2 (#1670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 00:45:14 +00:00
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