Commit graph

480 commits

Author SHA1 Message Date
LongYinan
0007e3aaf6
chore: upgrade all dependencies (#1933) 2024-02-01 12:14:56 +08:00
renovate[bot]
949883bc99
chore(deps): update dependency esbuild to ^0.20.0 (#1925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-27 22:45:01 +00:00
LongYinan
5b9f86fea0
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.36
 - @napi-rs/wasm-runtime@0.1.1
2024-01-17 00:59:12 +08:00
LongYinan
44dc39f1f0
fix(cli,wasm-runtime): dependencies (#1905) 2024-01-17 00:57:29 +08:00
LongYinan
a439e2c3e6
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.35
 - @napi-rs/wasm-runtime@0.1.0
2024-01-16 23:58:23 +08:00
LongYinan
120accd965
feat: add wasm runtime package (#1904) 2024-01-16 23:28:40 +08:00
Milton Moura
ddeaf30f14
feat(cli): Add support for s390x linux arch in js bindings template (#1901)
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2024-01-16 11:18:05 +08:00
LongYinan
c2b6c18031
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.34
2024-01-10 13:29:47 +08:00
LongYinan
fc3d5cbcff
fix(cli): add browser entry (#1899) 2024-01-10 11:18:13 +08:00
LongYinan
0a70d6ffd7
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.33
2024-01-09 01:06:03 +08:00
LongYinan
1676930728
fix(cli): artifacts wasi worker name (#1895) 2024-01-09 01:05:19 +08:00
LongYinan
2de358aaa6
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.32
2024-01-09 00:36:01 +08:00
LongYinan
9b8dab6b63
fix(cli): missing files in created wasi package (#1894) 2024-01-09 00:34:59 +08:00
LongYinan
ffbaba3a9b
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.31
2024-01-08 21:05:45 +08:00
LongYinan
7d3b53d41d
feat(cli): support generate browser compatible codes (#1891) 2024-01-08 21:02:46 +08:00
renovate[bot]
ecde07f8c1
fix(deps): update dependency @tybys/wasm-util to v0.8.1 (#1892)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-07 19:17:45 +00:00
LongYinan
1392954c32
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.30
2024-01-03 19:31:17 +08:00
LongYinan
3889d8ad17
fix(cli): upload to github releases issue (#1888) 2024-01-03 19:29:33 +08:00
LongYinan
57463554e9
fix(cli): wasi fallback package load logic (#1887) 2024-01-03 18:53:09 +08:00
LongYinan
8e3e688c28
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.29
2024-01-02 14:52:25 +08:00
LongYinan
c73cb31c11
fix(cli): missing wasm files in artifacts command (#1884) 2024-01-02 12:33:13 +08:00
LongYinan
f47cc72749
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.28
2023-12-31 22:05:12 +08:00
LongYinan
f29801686b
fix(cli): copy binding files into wasi packages (#1881) 2023-12-31 15:51:46 +08:00
LongYinan
f2972c743f
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.27
2023-12-30 00:47:09 +08:00
renovate[bot]
e175e6fbd6
fix(deps): update dependency emnapi to v0.45.0 (#1879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-30 00:45:50 +08:00
LongYinan
dc79bb86d0
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.26
 - @napi-rs/triples@2.0.0-alpha.7
2023-12-30 00:44:20 +08:00
LongYinan
b0ba466f95
fix(cli): also load wasm file from packages (#1876) 2023-12-30 00:43:38 +08:00
LongYinan
67743b1046
fix(cli): exclude node_modules in artifacts command 2023-12-29 15:09:13 +00:00
LongYinan
958ba74aff
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.25
2023-12-28 12:38:00 +08:00
LongYinan
72afe03aa4
fix(cli): compatible with napi artifacts -d option (#1872) 2023-12-28 12:16:07 +08:00
LongYinan
b411b87872
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.24
2023-12-26 23:18:50 +08:00
LongYinan
c42f00ff43
feat(cli): support wasi target test & release workflow (#1867) 2023-12-26 23:16:42 +08:00
LongYinan
bac8ea0e4d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.23
2023-12-17 12:48:55 +08:00
LongYinan
edba0cbd6c
chore(cli): root directory access permissions (#1864) 2023-12-16 19:32:16 +08:00
LongYinan
c3eeba1e34
chore(cli): change warning message to yellow 2023-12-16 16:55:11 +08:00
LongYinan
5f7e170697
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.22
2023-12-16 16:48:07 +08:00
LongYinan
0faf752c02
fix(cli): prepublish tagstyle flag (#1863) 2023-12-16 16:46:41 +08:00
LongYinan
9211660c72
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.21
2023-12-16 15:36:34 +08:00
LongYinan
2a823996e5
fix(cli): prepublish alias 2023-12-16 15:36:17 +08:00
LongYinan
d8e548253d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.20
2023-12-16 15:08:26 +08:00
LongYinan
a02ebe2d29
chore(cli): update cross toolchain 2023-12-16 15:08:11 +08:00
LongYinan
2b7a6348f6
fix(cli): make prepublish as pre-publish alias (#1861) 2023-12-16 14:14:59 +08:00
LongYinan
3423557cb5
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.19
2023-12-15 22:37:33 +08:00
LongYinan
f825972b75
fix(cli): prepublish command (#1860) 2023-12-15 22:36:16 +08:00
LongYinan
5cab2bc57b
feat(cli): support read config from the given config file (#1859) 2023-12-15 21:54:33 +08:00
LongYinan
996310a065
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.18
2023-12-13 14:13:46 +08:00
LongYinan
8d4202e5f4
fix(cli): artifacts default option value (#1853)
https://github.com/napi-rs/napi-rs/pull/1850 was not fixed the problem
because the default value is codegen from cli/codegen/commands.ts
2023-12-13 14:13:14 +08:00
LongYinan
9a817defc8
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.17
2023-12-13 12:59:25 +08:00
Levi Zim
e3902e001f
fix(binding): add riscv64 binding (#1851) 2023-12-13 11:06:04 +08:00
LongYinan
a697cf1cf5
fix(cli): make outputDir option of artifacts command compatible with v2 (#1850) 2023-12-13 10:41:08 +08:00
LongYinan
a14cfa1051
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.16
2023-12-11 10:52:26 +08:00
LongYinan
dab4ce7fe0
fix(napi-derive,cli): register function cross crates (#1848) 2023-12-11 00:36:26 +08:00
LongYinan
589d95994a
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.15
2023-12-08 13:56:43 +08:00
LongYinan
1273735250
fix(cli): manifestPath and js binding output path (#1847) 2023-12-08 13:56:17 +08:00
LongYinan
3ecb11f35d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.14
 - @napi-rs/triples@2.0.0-alpha.6
2023-12-07 22:58:46 +08:00
LongYinan
f43d483090
fix(cli): --features and --no-default-features should not be exclusive (#1846) 2023-12-07 22:57:36 +08:00
LongYinan
db89395966
chore: upgrade all npm dependencies (#1843) 2023-12-06 19:41:21 +08:00
LongYinan
4f330b5c76
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.13
2023-12-06 18:05:01 +08:00
LongYinan
266d1f21ec
fix(cli): C_FLAGS should be CFLAGS 2023-12-06 18:03:04 +08:00
LongYinan
179854243c
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.12
2023-12-05 19:07:07 +08:00
LongYinan
a87e4a6d95
fix(cli): set CC env if not existed (#1839) 2023-12-05 19:06:32 +08:00
LongYinan
0b74cf667e
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.11
2023-12-05 17:29:13 +08:00
LongYinan
91c0eb8ce8
feat(cli): support @napi-rs/cross-toolchain (#1838) 2023-12-05 17:27:23 +08:00
liuyi
516085701f
fix(cli): throws if target path of new command test fails (#1834) 2023-12-05 17:27:03 +08:00
liuyi
830dd8b6be
fix(cli): duplicated node matrix (#1835) 2023-12-05 17:26:33 +08:00
LongYinan
14cd222492
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.10
2023-12-01 10:39:07 +08:00
LongYinan
d5ecf90d29
feat(cli): change wasm binding output format to cjs (#1831) 2023-11-30 23:21:49 +08:00
LongYinan
a888425871
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.9
2023-11-30 20:04:24 +08:00
LongYinan
5949fc9682
feat(cli): export parseTriple function (#1830) 2023-11-30 20:01:44 +08:00
LongYinan
afa040660c
fix(cli): add back constEnum option (#1829) 2023-11-30 20:00:52 +08:00
Ranger
4301b9a7c3
feat: update cli template with edtion2021(#1739) (#1828) 2023-11-28 16:33:58 +08:00
LongYinan
6a4f4f173d
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.8
 - @napi-rs/triples@2.0.0-alpha.5
2023-11-20 17:21:37 +08:00
LongYinan
8c911b5d34
chore: upgrade emnapi dependencies (#1817) 2023-11-19 15:13:06 +08:00
renovate[bot]
76dcf833da
chore(deps): update dependency emnapi to v0.44.0 (#1805) 2023-11-19 10:10:55 +08:00
IWANABETHATGUY
6df0ca112e
chore: 🤖 align wasi template to nodejs demo (#1814) 2023-11-19 09:25:27 +08:00
renovate[bot]
c321071c89
chore(deps): update dependency @emnapi/runtime to v0.44.0 (#1804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 18:03:17 +00:00
renovate[bot]
1092d48a03
chore(deps): update dependency @emnapi/core to v0.44.0 (#1803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 16:12:28 +00:00
Segev Finer
9d62db47e8
chore(cli): simplify publish step in ci-template (#1812)
* Simplify publish step in ci-template

* Update ci-template.ts
2023-11-14 20:00:07 +08:00
LongYinan
2963cc9a03
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.7
2023-11-08 20:57:17 +08:00
LongYinan
8ddd35c788
fix(cli): wrong wasm file name with --platform flag (#1798) 2023-11-08 20:08:28 +08:00
LongYinan
6ec46b749e
fix(cli): artifacts command backward compatibility (#1797) 2023-11-08 20:07:29 +08:00
LongYinan
be755a1d51
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.6
 - @napi-rs/triples@2.0.0-alpha.4
2023-11-07 14:11:10 +08:00
LongYinan
dac073805b
fix(cli): js binding template (#1788)
- Close https://github.com/napi-rs/napi-rs/issues/1775
2023-11-06 14:00:25 +08:00
LongYinan
8d85509119
chore: upgrade to yarn 4 (#1774) 2023-11-02 20:10:08 +08:00
Raphael Darley
fcb5c2bdd0
fix(cli): switch name parsing to allow periods in name
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-11-02 19:52:23 +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
LongYinan
0c6656d192
chore(cli): update ci template (#1771) 2023-11-01 18:02:55 +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
LongYinan
5d0240e8ad
fix(cli): set RANLIB while building android targets 2023-08-16 12:36:22 +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
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
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
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
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
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