Commit graph

794 commits

Author SHA1 Message Date
LongYinan
1d78f6c294
chore: upgrade npm dependencies (#1557) 2023-04-11 10:47:52 +08:00
forehal
a781a4f27e feat(cli): brand new cli tool with both cli and programmatical usage (#1492)
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
2023-04-06 11:04:53 +08:00
dependabot[bot]
f1838a7b32
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1472)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 23:47:22 +08:00
LongYinan
fda0aa0eec
fix(napi): fallback to copy buffer if zero copy is not allowed (#1445) 2023-01-19 17:26:59 +08:00
LongYinan
62b16d6a89
chore: upgrade npm dependencies (#1443) 2023-01-19 00:32:52 +08:00
dependabot[bot]
44eb4c6341
build(deps): bump json5 from 1.0.1 to 1.0.2 (#1418)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 22:07:44 +08:00
LongYinan
9f025ca980
chore update lockfile 2022-11-20 23:14:18 +08:00
LongYinan
28be7e256b
chore(cli): upgrade Node.js dependencies (#1368) 2022-11-20 22:59:35 +08:00
LongYinan
1037e6f14d
chore: upgrade dependencies (#1349) 2022-10-23 23:03:18 +08:00
LongYinan
184c4af588
chore: upgrade npm dependencies 2022-08-23 20:18:25 +08:00
LongYinan
5cfff2ad5c
chore(cli): upgrade npm dependencies 2022-07-06 21:18:00 +08:00
LongYinan
8bb4db349d
chore: upgrade dependencies 2022-06-04 01:26:35 +08:00
LongYinan
a2b993acd2
chore: upgrade npm dependencies (#1182) 2022-05-14 18:56:50 +08:00
LongYinan
65b4b34f40
test(napi): add electron tests 2022-05-10 18:39:37 +08:00
LongYinan
cf6b2c9241
chore: upgrade dependencies 2022-04-27 00:57:57 +08:00
messense
20b1edc53b
feat(cli): add support for building binaries 2022-04-01 14:00:42 +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
d55e4f6f1f
style: format toml files 2022-02-11 10:46:17 +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
dependabot[bot]
b7ac6ee937
build(deps): bump shelljs from 0.8.4 to 0.8.5 2022-01-15 07:10:36 +00:00
dependabot[bot]
08f86d99b1
build(deps-dev): bump esbuild from 0.14.8 to 0.14.10 2022-01-03 22:52:40 +00:00
dependabot[bot]
dec37dd252
build(deps-dev): bump @rollup/plugin-replace from 3.0.0 to 3.0.1 2022-01-03 22:52:24 +00:00
dependabot[bot]
4d7da028dc
build(deps-dev): bump ava from 3.15.0 to 4.0.0 2022-01-03 22:52:10 +00:00
dependabot[bot]
547147e921
build(deps-dev): bump @typescript-eslint/parser from 5.8.1 to 5.9.0 2022-01-03 22:31:37 +00:00
dependabot[bot]
029f829bb2
build(deps-dev): bump lint-staged from 12.1.4 to 12.1.5 2022-01-03 22:16:18 +00:00
dependabot[bot]
183173108a
build(deps-dev): bump eslint from 8.5.0 to 8.6.0 2022-01-03 22:16:12 +00:00
dependabot[bot]
a5619763c0
build(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.25.4 2022-01-03 22:16:05 +00:00
dependabot[bot]
8bca8bf351
build(deps-dev): bump c8 from 7.10.0 to 7.11.0 2022-01-03 22:15:51 +00:00
dependabot[bot]
f288049b92
build(deps-dev): bump @typescript-eslint/eslint-plugin 2022-01-03 22:15:39 +00:00
dependabot[bot]
dfe84e51c1
build(deps-dev): bump @types/dockerode from 3.3.0 to 3.3.1 2022-01-03 22:15:36 +00:00
dependabot[bot]
9093da6284
build(deps-dev): bump @types/node from 17.0.5 to 17.0.7 2022-01-03 22:15:26 +00:00
dependabot[bot]
07c05258b0
build(deps-dev): bump @rollup/plugin-alias from 3.1.8 to 3.1.9 2022-01-03 22:15:21 +00:00
dependabot[bot]
66d37d34f2
build(deps-dev): bump @rollup/plugin-node-resolve from 13.1.1 to 13.1.2 2022-01-03 22:15:09 +00: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
dependabot[bot]
d58246ea62
build(deps-dev): bump @typescript-eslint/parser from 5.8.0 to 5.8.1 2021-12-27 21:58:12 +00:00
dependabot[bot]
0604a6f58d
build(deps-dev): bump rollup from 2.61.1 to 2.62.0 2021-12-27 21:44:47 +00:00
dependabot[bot]
dda53df837
build(deps-dev): bump @types/node from 17.0.1 to 17.0.5 2021-12-27 21:44:41 +00:00
dependabot[bot]
13aba77434
build(deps-dev): bump esbuild from 0.14.6 to 0.14.8 2021-12-27 21:44:34 +00:00
dependabot[bot]
84e1e3ebb5
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-27 21:44:29 +00:00
dependabot[bot]
1e250a71e5
build(deps-dev): bump lint-staged from 12.1.3 to 12.1.4 2021-12-27 21:44:22 +00:00
LongYinan
4406059de1
fix(napi): addon packages become undefined in worker_threads 2021-12-21 23:38:35 +08:00
dependabot[bot]
13c9437b61
build(deps-dev): bump @typescript-eslint/parser from 5.7.0 to 5.8.0 2021-12-20 22:20:01 +00:00
dependabot[bot]
4908afef6f
build(deps-dev): bump esbuild from 0.14.3 to 0.14.6 2021-12-20 22:19:50 +00:00
dependabot[bot]
9cbde88078
build(deps-dev): bump lint-staged from 12.1.2 to 12.1.3 2021-12-20 21:55:58 +00:00
dependabot[bot]
ebfaa52d07
build(deps-dev): bump eslint from 8.4.1 to 8.5.0 2021-12-20 21:55:44 +00:00
dependabot[bot]
5fbb7974ea
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-20 21:55:19 +00:00
dependabot[bot]
442abf85d3
build(deps-dev): bump @types/node from 16.11.12 to 17.0.1 2021-12-20 21:55:07 +00:00
dependabot[bot]
eed20fe807
build(deps-dev): bump typescript from 4.5.3 to 4.5.4 2021-12-20 21:54:54 +00:00
LongYinan
91d07810a2
fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception 2021-12-14 12:47:23 +08:00
dependabot[bot]
98791a40e6
build(deps-dev): bump eslint from 8.4.0 to 8.4.1 2021-12-13 22:33:40 +00:00
dependabot[bot]
f58d2c600f
build(deps-dev): bump @typescript-eslint/parser from 5.6.0 to 5.7.0 2021-12-13 22:33:26 +00:00
dependabot[bot]
12b912b193
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-13 22:09:17 +00:00
dependabot[bot]
4caacd8eb3
build(deps-dev): bump @types/node from 16.11.11 to 16.11.12 2021-12-13 22:09:15 +00:00
dependabot[bot]
ae9e026c50
build(deps-dev): bump rollup from 2.60.2 to 2.61.1 2021-12-13 22:09:05 +00:00
dependabot[bot]
c05dffa1c3
build(deps-dev): bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.1 2021-12-13 22:08:59 +00:00
dependabot[bot]
88f1573768
build(deps-dev): bump typescript from 4.5.2 to 4.5.3 2021-12-13 22:08:49 +00:00
dependabot[bot]
40bdff8494
build(deps-dev): bump esbuild from 0.14.2 to 0.14.3 2021-12-13 22:08:35 +00: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]
de4bdcedd5
build(deps-dev): bump eslint from 8.3.0 to 8.4.0 2021-12-06 22:12:17 +00:00
dependabot[bot]
19a096dd11
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-06 22:12:02 +00:00
dependabot[bot]
0e9e99720e
build(deps-dev): bump prettier from 2.5.0 to 2.5.1 2021-12-06 21:51:33 +00:00
dependabot[bot]
b357f6e6a5
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-12-06 21:51:23 +00:00
dependabot[bot]
f0da66a47e
build(deps): bump table from 6.7.3 to 6.7.5 2021-12-06 21:51:14 +00:00
dependabot[bot]
f9cadf4ccd
build(deps-dev): bump esbuild from 0.14.1 to 0.14.2 2021-12-06 21:50:44 +00:00
dependabot[bot]
fbf223c7c4
build(deps-dev): bump @typescript-eslint/parser from 5.5.0 to 5.6.0 2021-12-06 21:44:16 +00:00
LongYinan
d9c53d728b
feat(napi): support TypedArray input and output 2021-12-02 11:26:52 +08:00
dependabot[bot]
1a2c692a1a
build(deps-dev): bump @typescript-eslint/parser from 5.4.0 to 5.5.0 2021-11-29 22:01:23 +00:00
dependabot[bot]
c1755c62c9
build(deps-dev): bump prettier from 2.4.1 to 2.5.0 2021-11-29 21:50:29 +00:00
dependabot[bot]
e8e0ba6a32
build(deps-dev): bump esbuild from 0.13.15 to 0.14.0 2021-11-29 21:50:14 +00:00
dependabot[bot]
43879344b2
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-29 21:50:06 +00:00
dependabot[bot]
d2b4d10591
build(deps-dev): bump debug from 4.3.2 to 4.3.3 2021-11-29 21:49:48 +00:00
dependabot[bot]
847039ec87
build(deps-dev): bump @types/node from 16.11.9 to 16.11.10 2021-11-29 21:49:37 +00:00
dependabot[bot]
3f7fdaba8c
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-11-29 21:30:11 +00:00
LongYinan
1fe39ff66d
feat(napi): support export rust mod as ts namespace 2021-11-25 17:53:43 +08:00
dependabot[bot]
277d9c7f8a
build(deps-dev): bump esbuild from 0.13.14 to 0.13.15 2021-11-22 22:02:34 +00:00
dependabot[bot]
b983981ce8
build(deps-dev): bump source-map-support from 0.5.20 to 0.5.21 2021-11-22 21:53:04 +00:00
dependabot[bot]
1682f5703d
build(deps-dev): bump lint-staged from 12.0.2 to 12.1.2 2021-11-22 21:52:56 +00:00
dependabot[bot]
2e8ce01d60
build(deps-dev): bump rollup from 2.60.0 to 2.60.1 2021-11-22 21:52:51 +00:00
dependabot[bot]
782d927fee
build(deps-dev): bump eslint from 8.2.0 to 8.3.0 2021-11-22 21:52:45 +00:00
dependabot[bot]
35983ae0c0
build(deps-dev): bump @types/js-yaml from 4.0.4 to 4.0.5 2021-11-22 21:52:37 +00:00
dependabot[bot]
f34ab2e92c
build(deps-dev): bump typescript from 4.4.4 to 4.5.2 2021-11-22 21:52:29 +00:00
dependabot[bot]
9ae38136b5
build(deps-dev): bump @types/node from 16.11.7 to 16.11.9 2021-11-22 21:52:13 +00:00
LongYinan
4c3fe26478
feat(cli): refactor cli build 2021-11-19 18:22:40 +08:00
dependabot[bot]
be70c27667
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-15 21:42:20 +00:00
dependabot[bot]
06ec033844
build(deps-dev): bump lint-staged from 11.2.6 to 12.0.2 2021-11-15 21:27:48 +00:00
dependabot[bot]
f0485e1c03
build(deps-dev): bump @typescript-eslint/parser from 5.3.1 to 5.4.0 2021-11-15 21:27:37 +00:00
dependabot[bot]
6fef238673
build(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 2021-11-15 21:27:32 +00:00
LongYinan
35b0e53801
chore: update lockfile 2021-11-09 21:43:51 +08:00
dependabot[bot]
b7a98d2c7a
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-08 21:47:18 +00:00
dependabot[bot]
eb5f53a2cf
build(deps): bump table from 6.7.2 to 6.7.3 2021-11-08 21:34:14 +00:00
dependabot[bot]
89a5547e33
build(deps-dev): bump eslint from 8.1.0 to 8.2.0 2021-11-08 21:33:58 +00:00
dependabot[bot]
85fc76206a
build(deps-dev): bump sinon from 11.1.2 to 12.0.1 2021-11-08 21:33:31 +00:00
dependabot[bot]
baa6c94387
build(deps-dev): bump @typescript-eslint/parser from 5.3.0 to 5.3.1 2021-11-08 21:33:15 +00:00
dependabot[bot]
ff593eac6a
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-11-01 22:04:23 +00:00
dependabot[bot]
d745852050
build(deps-dev): bump @types/node from 16.11.5 to 16.11.6 2021-11-01 22:03:51 +00:00
dependabot[bot]
4ce07d347c
build(deps-dev): bump lint-staged from 11.2.4 to 11.2.6 2021-11-01 21:38:08 +00:00
dependabot[bot]
7d02ce4425
build(deps-dev): bump esbuild from 0.13.9 to 0.13.12 2021-11-01 21:37:56 +00:00
dependabot[bot]
0f8324707f
build(deps-dev): bump @typescript-eslint/parser from 5.2.0 to 5.3.0 2021-11-01 21:37:43 +00:00
dependabot[bot]
5d430308a8
build(deps-dev): bump @types/sinon from 10.0.5 to 10.0.6 2021-11-01 21:37:16 +00:00
dependabot[bot]
28957fd3dd
build(deps-dev): bump esbuild from 0.13.8 to 0.13.9 2021-10-25 22:31:41 +00:00
dependabot[bot]
e4109bfe82
build(deps-dev): bump @types/node from 16.11.1 to 16.11.5 2021-10-25 22:31:34 +00:00
dependabot[bot]
f69fd93d17
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-10-25 22:17:42 +00:00
dependabot[bot]
fc9f327968
build(deps-dev): bump @types/js-yaml from 4.0.3 to 4.0.4 2021-10-25 22:03:40 +00:00
dependabot[bot]
ae17fb831a
build(deps-dev): bump @typescript-eslint/parser from 5.1.0 to 5.2.0 2021-10-25 22:03:30 +00:00
dependabot[bot]
000ff7b6c4
build(deps-dev): bump lint-staged from 11.2.3 to 11.2.4 2021-10-25 22:03:26 +00:00
dependabot[bot]
82d315873c
build(deps-dev): bump benny from 3.7.0 to 3.7.1 2021-10-25 22:03:22 +00:00
dependabot[bot]
1578aefe3c
build(deps-dev): bump typanion from 3.7.0 to 3.7.1 2021-10-25 22:03:11 +00:00
dependabot[bot]
7ef19c1036
build(deps-dev): bump eslint from 8.0.1 to 8.1.0 2021-10-25 22:02:57 +00:00
dependabot[bot]
777123a911
build(deps-dev): bump husky from 7.0.2 to 7.0.4 2021-10-25 22:02:51 +00:00
dependabot[bot]
23ab3d4a70
build(deps-dev): bump @types/sinon from 10.0.4 to 10.0.5 2021-10-25 22:02:41 +00:00
dependabot[bot]
7a1053c4da
build(deps-dev): bump ts-node from 10.3.0 to 10.4.0 2021-10-25 22:02:35 +00:00
LongYinan
d164a79514 ci: build and push arm docker images 2021-10-20 11:22:17 +08:00
dependabot[bot]
1015c9cbf0
build(deps-dev): bump eslint-plugin-import from 2.24.2 to 2.25.2 2021-10-18 21:39:38 +00:00
dependabot[bot]
a857ddd3c7
build(deps-dev): bump typanion from 3.5.0 to 3.7.0 2021-10-18 21:39:34 +00:00
dependabot[bot]
b656254232
build(deps-dev): bump @types/dockerode from 3.2.7 to 3.3.0 2021-10-18 21:39:27 +00:00
dependabot[bot]
992a79b8aa
build(deps-dev): bump esbuild from 0.13.4 to 0.13.8 2021-10-18 21:39:18 +00:00
dependabot[bot]
f26e031504
build(deps-dev): bump @types/node from 16.10.2 to 16.11.1 2021-10-18 21:39:10 +00:00
dependabot[bot]
e26f1657a3
build(deps-dev): bump typescript from 4.4.3 to 4.4.4 2021-10-18 21:38:55 +00:00
dependabot[bot]
d4af79f967
build(deps-dev): bump @octokit/rest from 18.11.4 to 18.12.0 2021-10-11 21:43:32 +00:00
dependabot[bot]
1b22e4b4d7
build(deps-dev): bump c8 from 7.9.0 to 7.10.0 2021-10-11 21:43:25 +00:00
dependabot[bot]
630f5033e5
build(deps-dev): bump ts-node from 10.2.1 to 10.3.0 2021-10-11 21:43:21 +00:00
dependabot[bot]
bcf55a10a0
build(deps): bump inquirer from 8.1.5 to 8.2.0 2021-10-11 21:43:18 +00:00
dependabot[bot]
3e3c001750
build(deps-dev): bump lint-staged from 11.2.0 to 11.2.3 2021-10-11 21:43:10 +00:00
dependabot[bot]
3369460c40
build(deps-dev): bump esbuild from 0.13.3 to 0.13.4 2021-10-11 21:43:07 +00:00
dependabot[bot]
7e7b4f0a82
build(deps-dev): bump @types/inquirer from 8.1.2 to 8.1.3 2021-10-04 22:28:30 +00:00
dependabot[bot]
f830f6ce8b
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-10-04 22:12:16 +00:00
dependabot[bot]
cdf22051c9
build(deps-dev): bump @types/node from 16.10.1 to 16.10.2 2021-10-04 21:55:13 +00:00
dependabot[bot]
0a6931dfb1
build(deps-dev): bump @octokit/rest from 18.11.2 to 18.11.4 2021-10-04 21:55:10 +00:00
dependabot[bot]
339c5b226b
build(deps-dev): bump esbuild from 0.13.2 to 0.13.3 2021-10-04 21:55:04 +00:00
dependabot[bot]
c6fdb7028a
build(deps-dev): bump lint-staged from 11.1.2 to 11.2.0 2021-10-04 21:54:54 +00:00
dependabot[bot]
5441c4a29c
build(deps-dev): bump @typescript-eslint/parser from 4.32.0 to 4.33.0 2021-10-04 21:54:48 +00:00
dependabot[bot]
83c131b4bd
build(deps): bump table from 6.7.1 to 6.7.2 2021-10-04 21:54:41 +00:00
dependabot[bot]
fae58b7268
build(deps-dev): bump benny from 3.6.15 to 3.7.0 2021-10-04 21:36:34 +00:00
LongYinan
6d3b1096a4
build: fix alpine docker image 2021-09-28 13:11:28 +08:00
dependabot[bot]
2e27aff66b
build(deps-dev): bump @types/sinon from 10.0.2 to 10.0.4 2021-09-27 22:05:37 +00:00
dependabot[bot]
3956e005d8
build(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0 2021-09-27 22:05:29 +00:00
dependabot[bot]
b3009efcb8
build(deps-dev): bump @types/inquirer from 8.1.1 to 8.1.2 2021-09-27 22:05:15 +00:00
dependabot[bot]
fa578e45eb
build(deps-dev): bump @types/node from 16.9.4 to 16.10.1 2021-09-27 21:48:06 +00:00
dependabot[bot]
a3e75449fe
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-09-27 21:48:01 +00:00
dependabot[bot]
3ff5497f9c
build(deps-dev): bump esbuild from 0.12.28 to 0.13.2 2021-09-27 21:47:51 +00:00
dependabot[bot]
315c5c872f
build(deps-dev): bump @octokit/rest from 18.10.0 to 18.11.2 2021-09-27 21:47:44 +00:00
dependabot[bot]
9efc603d74
build(deps-dev): bump clipanion from 3.0.1 to 3.1.0 2021-09-27 21:47:36 +00:00
forehalo
2467b7139b
Introduce #[napi] procedural macro to automation development boilerplate (#696)
* napi procedural macro for basic rust/JavaScript types
* introduce the `compat-mode` for `napi` and `napi-derive` crates for backward compatible
* remove #[inline] and let compiler to decide the inline behavior
* cli now can produce the `.d.ts` file for native binding
* many tests and example for the new procedural macro

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-09-23 01:29:09 +08:00
dependabot[bot]
b64677aaad
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-09-20 21:50:58 +00:00
dependabot[bot]
01e5ade685
build(deps-dev): bump typanion from 3.3.2 to 3.5.0 2021-09-20 21:37:53 +00:00
dependabot[bot]
85a5139066
build(deps-dev): bump @typescript-eslint/parser from 4.31.1 to 4.31.2 2021-09-20 21:37:45 +00:00
dependabot[bot]
4b7415d6c9
build(deps-dev): bump @types/node from 16.9.2 to 16.9.4 2021-09-20 21:37:38 +00:00
dependabot[bot]
3e6c93c67a
build(deps): bump inquirer from 8.1.3 to 8.1.5 2021-09-20 21:37:23 +00:00