Commit graph

785 commits

Author SHA1 Message Date
LongYinan
7a3cd77bc8
ci: add YARN_IGNORE_NODE on macOS arm64 build 2023-11-02 20:32:36 +08:00
LongYinan
8d85509119
chore: upgrade to yarn 4 (#1774) 2023-11-02 20:10:08 +08:00
LongYinan
13d0ce075e
feat: integrate with emnapi (#1669)
* Integrate with emnapi

* resolve conflict

* ignore wasm

* generate wasi file

* Add wasi test to workflow

* Fix wasi template

* emnapi new initialize api

* Finish test

* Purne tsconfig

* Generate wasi worker

* Fix electron test

* Finalize check

* Noop adjust_external_memory

* Apply cr suggestions
2023-11-02 12:57:11 +08:00
renovate[bot]
3a971c6819
chore(deps): update dependency sinon to v17 (#1758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 00:33:10 +08:00
renovate[bot]
68d2cfd51b
chore(deps): update dependency lint-staged to v15 (#1754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 20:37:02 +08:00
renovate[bot]
60deb42056
fix(deps): update dependency dockerode to v4 (#1753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-12 11:21:04 +08:00
renovate[bot]
f3428c6b2f
chore(deps): update dependency electron to v27 (#1750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 15:28:05 +08:00
dependabot[bot]
0dd6422abf
build(deps-dev): bump electron from 26.2.1 to 26.2.4 (#1743)
Bumps [electron](https://github.com/electron/electron) from 26.2.1 to 26.2.4.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v26.2.1...v26.2.4)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 12:32:02 +08:00
LongYinan
2e03db1fec
test: refactor the example tests to esm, add bun:test => ava polyfill (#1730) 2023-09-20 01:18:01 -07:00
renovate[bot]
4bd063b8a1
chore(deps): update dependency electron to v26.2.1 (#1726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 14:14:55 -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
renovate[bot]
f69d0b43c6
chore(deps): update dependency electron to v26.1.0 2023-08-25 14:59:20 +00: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
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
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
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
6d62b3f714
chore: upgrade dependencies (#1657) 2023-07-17 14:56:02 +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
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
LongYinan
53cf696cf8
ci: reduce the complex of CI config (#1628) 2023-06-17 17:03:57 +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
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
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
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
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
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
renovate[bot]
31ce5eb823
chore(deps): update dependency electron to v24.2.0 (#1580) 2023-05-04 09:27:17 +08:00
renovate[bot]
76659581b4
chore(deps): update yarn to v3.5.1 (#1579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 08:46:08 +08:00
renovate[bot]
14d11e23d4
chore(deps): update dependency electron to v24.1.3 (#1578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-27 09:37:33 +08:00
renovate[bot]
ad143df4e1
chore(deps): update dependency electron to v24.1.2 (#1562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-15 15:37:17 +08:00
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