Commit graph

8 commits

Author SHA1 Message Date
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
91c0eb8ce8
feat(cli): support @napi-rs/cross-toolchain (#1838) 2023-12-05 17:27:23 +08:00
LongYinan
afa040660c
fix(cli): add back constEnum option (#1829) 2023-11-30 20:00:52 +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
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
LongYinan
c7d6ee6e4b
refactor(cli): --profile flag (#1604) 2023-05-27 12:00:43 +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
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