Commit graph

445 commits

Author SHA1 Message Date
LongYinan
1d1ef3d69e
fix(cli): ignore preinstall scripts on FreeBSD while installing yarn 2022-08-12 16:19:59 +08:00
Bryan Lee
b13d6b68a1 chore(napi): use recommended vmactions/freebsd-vm@v0 2022-08-12 14:43:16 +08:00
LongYinan
c6aeb06e04
chore: publish
- @napi-rs/cli@2.11.2
2022-08-12 13:26:17 +08:00
LongYinan
9b9cd5d23b
fix(cli): npm i -g flag is deprecated 2022-08-12 13:25:45 +08:00
LongYinan
4cd1c3aaf8
chore: publish
- @napi-rs/cli@2.11.1
2022-08-09 13:26:02 +08:00
LongYinan
0db6ae1282
style(cli): update lib.rs 2022-08-09 13:25:22 +08:00
LongYinan
1cf5a0dc75
fix(cli): add .yarn and __test__ folder to .npmignore 2022-08-09 13:24:21 +08:00
LongYinan
b8f96d517d
chore: publish
@napi-rs/cli@2.11.0
2022-08-07 16:08:34 +08:00
Amr Bashir
b54e698237
feat(cli): allow specifying an existing release (#1256) 2022-08-04 12:12:18 +08:00
Amr Bashir
3d2ca94392
feat(cli): add an option to specify the github release name (#1255) 2022-08-04 00:10:51 +08:00
Amr Bashir
0e75c59f0e
chore: improve *.node doesn't exist warning msg (#1254) 2022-08-03 08:01:15 +08:00
Amr Bashir
9be7ae2bf9
feat(cli): use CARGO_TARGET_DIR if set (#1251)
* feat: use `CARGO_TARGET_DIR` if set

* use `||` instead of `??`

* use `CARGO_BUILD_TARGET_DIR` also if set

* disable eslint prefer-nullish-coalescing
2022-07-31 22:41:32 +08:00
LongYinan
cb6fffd73f
feat(cli): support npmClient config (#1253) 2022-07-31 20:43:25 +08:00
LongYinan
e30019aa5c
chore(napi): update ci template 2022-07-31 18:01:47 +08:00
LongYinan
bb46793837
chore: publish
- @napi-rs/cli@2.10.3
2022-07-27 14:40:36 +08:00
LongYinan
fd2060baa4
fix(cli): android build due to GitHub Actions environments change
Ref: https://github.com/actions/virtual-environments/issues/5879
2022-07-27 14:40:07 +08:00
LongYinan
c8f946e4d5
chore: publish
- @napi-rs/cli@2.10.2
2022-07-23 00:01:17 +08:00
LongYinan
ed5fd4083c
fix(cli): upgrade freebsd ci 2022-07-23 00:00:42 +08:00
Ouyang Yadong
53051d0ef3 docs: fix typo 2022-07-22 15:34:41 +08:00
LongYinan
2d97986657
chore: publish
- @napi-rs/cli@2.10.1
2022-07-06 23:32:26 +08:00
LongYinan
5cfff2ad5c
chore(cli): upgrade npm dependencies 2022-07-06 21:18:00 +08:00
LongYinan
227de9efe0
fix(cli): android CI template 2022-06-30 19:43:37 +08:00
LongYinan
df5bb1ae30
chore: publish
- @napi-rs/cli@2.10.0
2022-06-10 18:24:43 +08:00
LongYinan
8f6a10c89a
feat(cli): upgrade new project template to yarn3 2022-06-10 18:07:05 +08:00
LongYinan
8bb4db349d
chore: upgrade dependencies 2022-06-04 01:26:35 +08:00
messense
beb75111fc
fix(cli): parse host target triple from rustc -vV (#1191) 2022-05-22 13:43:35 +08:00
LongYinan
a2b993acd2
chore: upgrade npm dependencies (#1182) 2022-05-14 18:56:50 +08:00
LongYinan
b797a243e2
chore: publish
- @napi-rs/cli@2.9.0
2022-05-14 17:03:09 +08:00
messense
1399288df5
feat(cli): allow specifying an alternative cargo binary via CARGO env var (#1181) 2022-05-14 15:03:31 +08:00
LongYinan
d728b3ab3c
chore: publish
- @napi-rs/cli@2.8.0
2022-05-07 15:49:00 +08:00
LongYinan
e778e400e9
chore: publish
- @napi-rs/cli@2.8.0-alpha.0
2022-05-06 23:05:27 +08:00
LongYinan
1bf072ad7d
refactor(napi): use libloading on Windows 2022-05-06 22:27:09 +08:00
LongYinan
652aa3cc57
feat(cli): new command upgrade
- Add .gitignore file
- Upgrade actions in CI.yml
- Using the new cross compile image for x86_64-linux-gnu and aarch64-linux-gnu
2022-05-03 17:24:48 +08:00
LongYinan
ce01255531
chore: publish
- @napi-rs/cli@2.7.0
2022-04-27 13:32:36 +08:00
LongYinan
cf6b2c9241
chore: upgrade dependencies 2022-04-27 00:57:57 +08:00
LongYinan
c3a35a0704
fix(cli): generated type def on multi impl blocks 2022-04-26 18:04:37 +08:00
Gabriel Francisco
c39060984d
feat(cli): add build option to not include the header in dts file (#1140)
* Add build option to not include the header in dts file

* Fix lint
2022-04-22 16:52:43 +08:00
LongYinan
1535e72150
chore: publish
- @napi-rs/cli@2.6.2
2022-04-02 02:34:10 +08:00
killa
6bef28a59b
fix: cargo metadata with large project (#1117)
Set `maxBuffer` to 10mb, cargo metadata may output
data more than 1mb(the nodejs default value).

Refs:
- https://github.com/napi-rs/napi-rs/issues/1116
2022-04-02 02:33:40 +08:00
LongYinan
dc87c46322
chore: publish
- @napi-rs/cli@2.6.1
2022-04-01 17:20:00 +08:00
LongYinan
8700da1776
fix(cli): should not throw if cargoName is provided but no package.name 2022-04-01 17:07:53 +08:00
LongYinan
a88bc57ea3
chore: publish
- @napi-rs/cli@2.6.0
2022-04-01 14:51:38 +08:00
LongYinan
0009379f31
chore: publish
- @napi-rs/cli@2.5.0
2022-04-01 14:50:23 +08:00
LongYinan
183c2d8896
ci: upgrade configuration 2022-04-01 14:33:34 +08:00
messense
20b1edc53b
feat(cli): add support for building binaries 2022-04-01 14:00:42 +08:00
LongYinan
ac8406c842
fix(cli): prevent crash if GITHUB_REPOSITORY is not specified 2022-04-01 13:34:49 +08:00
LongYinan
bd08787270
fix(cli): respect CARGO_BUILD_TARGET env variable 2022-04-01 13:30:16 +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
09ccfaad1d
fix(cli): use shell file path instead of commands for zig CC and CXX 2022-03-13 18:28:29 +08:00
LongYinan
1cac0ac804 feat(cli): upgrade ci.yml templates 2022-03-07 11:05:52 +08:00
LongYinan
ee0279e540 feat(cli): add libc filed in native package.json 2022-03-06 22:22:43 +08:00
LongYinan
871cf5554d
chore: publish
- @napi-rs/cli@2.4.5
2022-03-05 18:48:16 +08:00
LongYinan
9f3fbaa8e0
fix(napi): race issues with Node.js worker_thread (#1081)
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
2022-03-05 14:14:32 +08:00
Stéphan Kochen
e69f0230c2 fix(cli): temporary dts path may not be writable 2022-03-03 10:45:27 +01:00
LongYinan
c18fb10f13
chore: publish
- @napi-rs/cli@2.4.4
2022-02-11 12:38:16 +08:00
LongYinan
f9c618e046
fix(cli): generate ExternalObject type on demand 2022-02-10 18:37:04 +08:00
LongYinan
7c67cc143c
chore: publish
- @napi-rs/cli@2.4.3
2022-02-09 20:43:03 +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
LongYinan
cb0c2a3350
chore: publish
- @napi-rs/cli@2.4.2
2022-01-19 17:20:49 +08:00
LongYinan
25f6754a71
fix(cli): js binding template 2022-01-19 17:20:27 +08:00
LongYinan
250726a61a
chore: publish
- @napi-rs/cli@2.4.1
2022-01-18 14:37:15 +08:00
LongYinan
63a16d0a27
fix(cli): missing shebang in zig-cross sh file 2022-01-18 13:41:59 +08:00
LongYinan
1799aa94e3
fix(cli): swap -lgcc_s with -lunwind 2022-01-17 14:05:52 +08:00
messense
d84cbe88bd fix(cli): properly handle RUSTFLAGS env var 2022-01-13 21:36:59 +08:00
LongYinan
110f2196a4
chore: publish
- @napi-rs/cli@2.4.0
2022-01-13 18:21:44 +08:00
LongYinan
95d49f8cf4
fix(cli): zig abi should pass to linker 2022-01-13 18:21:20 +08:00
messense
887bdb9d29 feat(cli): add --strip option for removing symbols 2022-01-13 17:00:04 +08:00
LongYinan
efcd6ba8a5
chore: publish
- @napi-rs/cli@2.3.1
2022-01-13 14:44:49 +08:00
LongYinan
472ac10c67
fix(cli): missing zig-abi-suffix support 2022-01-13 14:26:29 +08:00
LongYinan
5ef1d11e27
chore: publish
- @napi-rs/cli@2.3.0
2022-01-06 17:41:42 +08:00
LongYinan
0db94ccd66
feat(cli): support macOS with --zig flag 2022-01-06 12:53:45 +08:00
LongYinan
d86e2a68ed
chore: publish
- @napi-rs/cli@2.2.1
2022-01-04 10:59:51 +08:00
LongYinan
eb79ccebbe
fix(cli): handle lld not found 2022-01-03 22:03:10 +08:00
LongYinan
bc570c2918
fix(cli): shell: true instead of bash 2022-01-03 15:23:08 +08: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
LongYinan
3634d03f81
chore(cli): remove substr usage 2021-12-27 18:36:57 +08:00
LongYinan
556ace8f33
fix(napi-derive,cli): export type alias for original name 2021-12-25 17:36:12 +08:00
LongYinan
e6a30ffcca
fix(napi-derive): return instance from non-default constructor class
Fix https://github.com/napi-rs/napi-rs/issues/933
2021-12-24 21:37:47 +08:00
LongYinan
c25cfc5773
test(cli): add android target triple test 2021-12-24 11:39:53 +08:00
LongYinan
db40b6a874
chore(cli): docs enhancement 2021-12-23 17:47:43 +08:00
Hana
894334e8f1
fix(cli): fix crate-type hint 2021-12-23 03:10:44 +08:00
LongYinan
bfa454f94d
chore: publish
- @napi-rs/cli@2.2.0
2021-12-22 20:24:41 +08:00
LongYinan
046f75dc29
feat(cli): provide a way to override the native package name 2021-12-22 20:24:15 +08:00
LongYinan
bdc49cca10
chore: publish
- @napi-rs/cli@2.1.0
2021-12-22 00:23:05 +08:00
h-a-n-a
7891c52cbf test: update type snapshot 2021-12-19 22:44:45 +08:00
h-a-n-a
df9dc91562 feat(napi): add ts typegen skip 2021-12-19 19:45:21 +08:00
LongYinan
f577512952
fix(cli): disable js binding generation if no --platform flag 2021-12-18 15:40:38 +08:00
forehalo
09c7df3c5c
fix: keep .d.ts and .js untouched if native doesn't change 2021-12-18 14:12:46 +08:00
LongYinan
01b5a6dc3f
docs(cli): add note for --target flag 2021-12-17 17:31:09 +08:00
LongYinan
d97541be39
chore: publish
- @napi-rs/cli@2.0.0
2021-12-17 16:54:56 +08:00
LongYinan
212bbe285e
chore: publish
- @napi-rs/cli@2.0.0-beta.5
2021-12-10 16:57:41 +08:00
LongYinan
a7e9f82fd9
style: run fmt 2021-12-10 16:55:55 +08:00
LongYinan
b977265cfa
feat(cli): provide rename command to rename everything in package-template project 2021-12-10 16:52:59 +08:00
LongYinan
ecb6522f50
fix(cli): preserve authors field while creating npm dir 2021-12-10 12:55:17 +08:00
LongYinan
f4b0a2e322
fix(cli): enum TypeScript type should be const enum 2021-12-09 18:48:50 +08:00
LongYinan
d34006ab89
chore: publish
- @napi-rs/cli@2.0.0-beta.4
2021-12-07 23:33:34 +08:00
LongYinan
11a5a35485
feat(cli): workaround for Windows i686 ICE in dev mode 2021-12-07 21:45:01 +08: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]
b357f6e6a5
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-12-06 21:51:23 +00:00
LongYinan
faf708a5b4
chore: publish
- @napi-rs/cli@2.0.0-beta.3
2021-12-03 17:03:19 +08:00
LongYinan
8de30a9287
feat(napi): add -p flag which will be bypassed to cargo 2021-12-03 16:49:25 +08:00
LongYinan
24eee7550e
chore: publish
- @napi-rs/cli@2.0.0-beta.2
2021-12-02 21:28:10 +08:00
LongYinan
d495cc11f8
fix(cli): android armv7 CI config in new command 2021-12-02 21:27:16 +08:00
LongYinan
6280460173
chore: publish
- @napi-rs/cli@2.0.0-beta.1
2021-12-02 17:05:40 +08:00
LongYinan
d58e488fa2
fix(cli): missing exported enum 2021-12-02 15:46:20 +08:00
LongYinan
4fe1f58e4d
chore: publish
- @napi-rs/cli@2.0.0-beta.0
 - @napi-rs/triples@1.1.0
2021-12-02 14:32:01 +08:00
LongYinan
68b0483c81
feat(cli): support android armv7 target 2021-12-02 13:33:57 +08:00
LongYinan
5f222038d3
feat(cli): fail the pipeline if artifacts not been built 2021-12-02 13:11:43 +08:00
LongYinan
d9c53d728b
feat(napi): support TypedArray input and output 2021-12-02 11:26:52 +08: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]
3f7fdaba8c
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-11-29 21:30:11 +00:00
LongYinan
a0bb0924fe
chore: publish
- @napi-rs/cli@2.0.0-alpha.12
2021-11-30 00:27:52 +08:00
Tim Fish
18d2743862
feat(napi): output Rust doc comments in definitions as jsdoc comments 2021-11-29 12:54:45 +08:00
LongYinan
5ccef6cedf
chore: publish
- @napi-rs/cli@2.0.0-alpha.11
2021-11-25 23:23:05 +08:00
LongYinan
59d6a219b5
style: run fmt 2021-11-25 22:38:41 +08:00
LongYinan
1fe39ff66d
feat(napi): support export rust mod as ts namespace 2021-11-25 17:53:43 +08: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
LongYinan
5c3bccfcf9
chore: publish
- @napi-rs/cli@2.0.0-alpha.10
2021-11-21 21:43:53 +08:00
LongYinan
7b797d3caf
feat(cli): create pre-release if tag includes alpha/beta/rc 2021-11-21 21:43:28 +08:00
LongYinan
f0617ae129
chore: publish
- @napi-rs/cli@2.0.0-alpha.9
2021-11-21 21:40:05 +08:00
LongYinan
458c5c9457
fix(cli): wrong release assets content 2021-11-21 21:39:36 +08:00
LongYinan
47c5867922
chore: publish
- @napi-rs/cli@2.0.0-alpha.8
2021-11-21 18:51:31 +08:00
LongYinan
dca5ada995
feat(cli): export android toolchains to PATH before build 2021-11-21 18:50:43 +08:00
LongYinan
c312fd36d1
chore: publish
- @napi-rs/cli@2.0.0-alpha.7
2021-11-21 18:24:47 +08:00
LongYinan
1f64f9fbf3
fix(cli): ExternalObject type decalare 2021-11-21 18:23:53 +08:00
LongYinan
4b0416e64a
chore: publish
- @napi-rs/cli@2.0.0-alpha.6
2021-11-21 16:46:26 +08:00
LongYinan
bdfb1506a2
feat(napi): implement external value 2021-11-21 16:24:58 +08:00
LongYinan
4c3fe26478
feat(cli): refactor cli build 2021-11-19 18:22:40 +08:00
LongYinan
f57651f749
chore: publish
- @napi-rs/cli@2.0.0-alpha.5
2021-11-16 14:11:56 +08:00
LongYinan
e37c3fd908
feat(napi): add pipe flag to pipe the generated files into custom command 2021-11-16 13:58:01 +08:00
yisibl
753bb1e31b fix: always add a newline at the end of the file when generating js-binding.js 2021-11-16 13:10:03 +08:00
LongYinan
ea8a79e761
chore: publish
- @napi-rs/cli@2.0.0-alpha.4
2021-11-09 22:07:33 +08:00
LongYinan
179f20a7c5
feat(cli): generate js binding to avoid dynamic require logic 2021-11-09 21:43:51 +08:00
yisibl
9570899025
chore: CI templates add ignore files (paths-ignore) 2021-11-06 13:51:54 +08:00
João Moreno
03125d44b8
Make sure CI fails if yarn test fails (#818)
make sure CI fails if `yarn test` fails

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-10-29 21:19:18 +08:00
LongYinan
d08f9b03e0
chore: publish
- @napi-rs/cli@2.0.0-alpha.3
2021-10-27 15:39:02 +08:00
LongYinan
68f767b96d ci: fix arm build 2021-10-27 15:38:24 +08:00
LongYinan
cbb71a9a51 fix(cli): workflow file generated by new command 2021-10-27 15:38:24 +08:00
forehalo
5b39035541 serde support 2021-10-27 14:42:57 +08:00
forehalo
f4c0b0639b impl To/FromNapiValue for HashMap 2021-10-27 14:42:57 +08: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]
1578aefe3c
build(deps-dev): bump typanion from 3.7.0 to 3.7.1 2021-10-25 22:03:11 +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]
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]
bcf55a10a0
build(deps): bump inquirer from 8.1.5 to 8.2.0 2021-10-11 21:43:18 +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]
0a6931dfb1
build(deps-dev): bump @octokit/rest from 18.11.2 to 18.11.4 2021-10-04 21:55:10 +00:00
LongYinan
3b1f53fd84
chore: publish
- @napi-rs/cli@2.0.0-alpha.2
2021-10-01 17:13:49 +08:00
LongYinan
1c9a307dc9
feat(cli): strip android binary in CI 2021-10-01 17:13:30 +08:00
LongYinan
06639e1b6a
chore: publish
- @napi-rs/cli@2.0.0-alpha.1
2021-10-01 15:12:02 +08:00
LongYinan
860a02a7cb fix(cli): missing main and types field in created package.json 2021-10-01 15:01:23 +08:00
LongYinan
0e8de173a4 feat(cli): dts flag for build command 2021-10-01 15:01:23 +08: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]
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
LongYinan
f9c01b40f7
chore: publish 2.0.0-alpha.0 2021-09-23 01:45:28 +08: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]
01e5ade685
build(deps-dev): bump typanion from 3.3.2 to 3.5.0 2021-09-20 21:37:53 +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
LongYinan
f8fbac2507
chore: publish
- @napi-rs/cli@1.3.3
2021-09-19 22:39:45 +08:00
LongYinan
27dbca814c
fix(cli): version of binary optional dependencies should be pinned 2021-09-19 22:38:37 +08:00
LongYinan
62b2ef3203
chore: publish
- @napi-rs/cli@1.3.2
2021-09-15 00:15:06 +08:00
LongYinan
c3852543a5
fix(cli): cargo config path and ci template in new command 2021-09-15 00:13:08 +08:00
LongYinan
98bd801c6f
Merge pull request #741 from napi-rs/dependabot/npm_and_yarn/types/inquirer-8.1.1
build(deps-dev): bump @types/inquirer from 8.1.0 to 8.1.1
2021-09-14 16:57:07 +08:00
dependabot[bot]
467abde3ca
build(deps): bump inquirer from 8.1.2 to 8.1.3
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.1.2 to 8.1.3.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.2...inquirer@8.1.3)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:12:29 +00:00
dependabot[bot]
c7e3e8f17c
build(deps-dev): bump @types/inquirer from 8.1.0 to 8.1.1
Bumps [@types/inquirer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/inquirer) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/inquirer)

---
updated-dependencies:
- dependency-name: "@types/inquirer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:10:42 +00:00
dependabot[bot]
b6957c46ca
build(deps-dev): bump @types/inquirer from 7.3.3 to 8.1.0 2021-09-06 21:22:08 +00:00
LongYinan
8c6c0404e8
chore: publish
- @napi-rs/cli@1.3.1
2021-09-02 23:35:56 +08:00
LongYinan
45d3e68ff3
fix(cli): ci template 2021-09-02 23:35:30 +08:00
LongYinan
c303f358ef
fix(cli): missed inquirer dependency 2021-09-02 23:23:17 +08:00
LongYinan
0fe4fe2736
chore: publish
- @napi-rs/cli@1.3.0
2021-09-02 00:04:46 +08:00
LongYinan
2c23f444b0
feat(cli): add back new command 2021-09-01 23:21:11 +08:00
LongYinan
a983babd63
chore(deps): lock file maintenance 2021-09-01 10:29:16 +08:00
dependabot[bot]
e9d9b666d8
build(deps-dev): bump tslib from 2.3.0 to 2.3.1 2021-08-16 21:30:16 +00:00
dependabot[bot]
37d7563d3c
build(deps-dev): bump @octokit/rest from 18.9.0 to 18.9.1 2021-08-16 21:29:46 +00:00
LongYinan
e95537b1ad
chore: publish
- @napi-rs/cli@1.2.1
2021-08-09 22:21:27 +08:00
LongYinan
7f0507097d
docs: add discord badge 2021-08-09 22:18:48 +08:00
LongYinan
e90ea9304a fix(cli): create dist dir if not existed while building 2021-08-09 06:18:03 +00:00
LongYinan
44b180acb2
chore: publish
- @napi-rs/cli@1.2.0
2021-08-07 00:35:29 +08:00
LongYinan
67ad0a4d4d
feat(cli): upgrade clipanion v3
Remove napi new command
2021-08-07 00:23:17 +08:00
dependabot[bot]
695353024a
build(deps): bump chalk from 4.1.1 to 4.1.2 2021-08-02 21:56:52 +00:00
dependabot[bot]
c8c545c339
build(deps): bump @octokit/rest from 18.7.1 to 18.8.0 2021-08-02 21:29:48 +00:00
LongYinan
66e96f0273
Merge pull request #672 from napi-rs/add-next-js
Add next js
2021-07-30 13:47:56 +08:00
LongYinan
e99aba0a57
ci: upgrade to actions/cache@v2 2021-07-30 13:20:40 +08:00
dependabot[bot]
b1f9a3f416
build(deps): bump @octokit/rest from 18.6.7 to 18.7.1 2021-07-26 21:37:53 +00:00
dependabot[bot]
2c9dcde7b4
build(deps): bump inquirer from 8.1.1 to 8.1.2 2021-07-19 21:20:59 +00:00
dependabot[bot]
fa2f85acd9
build(deps): bump @octokit/rest from 18.6.3 to 18.6.7 2021-07-05 21:39:45 +00:00
dependabot[bot]
fe4b801e13
build(deps): bump debug from 4.3.1 to 4.3.2 2021-07-05 21:39:30 +00:00
dependabot[bot]
4fb4fe0593
build(deps): bump @octokit/rest from 18.6.0 to 18.6.3 2021-06-28 21:24:07 +00:00
dependabot[bot]
563ec95887
build(deps): bump inquirer from 8.1.0 to 8.1.1 2021-06-21 21:35:15 +00:00
dependabot[bot]
58ea2c3ba5
build(deps): bump tslib from 2.2.0 to 2.3.0 2021-06-14 05:59:14 +00:00
dependabot[bot]
c71e3cbb67
build(deps): bump @octokit/rest from 18.5.6 to 18.6.0 2021-06-14 05:58:25 +00:00
LongYinan
cfcf915229
chore: publish
- @napi-rs/cli@1.1.0
2021-06-07 22:17:59 +08:00
LongYinan
9aac6267b7
feat(cli): update new project template 2021-06-07 22:17:19 +08:00
LongYinan
15bc42bcee
Merge pull request #601 from napi-rs/skip-gh-release
feat(cli): support skip gh-release in prepublish command
2021-06-07 21:39:30 +08:00
dependabot[bot]
db07064040
build(deps): bump @octokit/rest from 18.5.5 to 18.5.6 2021-06-07 06:03:54 +00:00
LongYinan
253360efb9
feat(cli): support skip gh-release in prepublish command 2021-06-07 11:35:26 +08:00
dependabot[bot]
502ae8bc84
build(deps): bump @octokit/rest from 18.5.3 to 18.5.5 2021-05-31 06:09:04 +00:00
dependabot[bot]
afcdfb9574
build(deps): bump fdir from 5.0.0 to 5.1.0 2021-05-24 10:31:23 +00:00
dependabot[bot]
42dd33ec88
build(deps): bump inquirer from 8.0.0 to 8.1.0 2021-05-24 06:31:55 +00:00
LongYinan
22099972d2
style: apply latest prettier and eslint rules 2021-05-17 11:42:58 +08:00
dependabot[bot]
823cf7205c
build(deps): bump @octokit/rest from 18.5.2 to 18.5.3 2021-04-26 10:20:18 +00:00
dependabot[bot]
1d33704cf8
build(deps): bump chalk from 4.1.0 to 4.1.1 2021-04-26 05:50:55 +00:00
LongYinan
9e4d95b3a1
Merge pull request #528 from napi-rs/dependabot/npm_and_yarn/tslib-2.2.0
build(deps): bump tslib from 2.1.0 to 2.2.0
2021-04-19 11:22:56 +08:00
LongYinan
5669d49b7d
@napi-rs/cli@1.0.4 2021-04-19 11:16:37 +08:00
Jasper De Moor
27a8581d1d add cwd docs and RUST_TARGET 2021-04-18 17:52:28 +02:00
dependabot[bot]
87d70ca74c
build(deps): bump tslib from 2.1.0 to 2.2.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.1.0...2.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 05:33:28 +00:00
LongYinan
a8c145b481
chore: upgrade dependencies 2021-03-22 11:50:04 +08:00
dependabot[bot]
398f12b452
build(deps): bump @octokit/rest from 18.3.0 to 18.3.4
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.3.0 to 18.3.4.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.3.0...v18.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:43:00 +00:00
dependabot[bot]
4fd41da5c8
build(deps): bump inquirer from 7.3.3 to 8.0.0
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 7.3.3 to 8.0.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.3...inquirer@8.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:23:03 +00:00
dependabot[bot]
4f89df4211
build(deps): bump @octokit/rest from 18.2.0 to 18.3.0
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.2.0 to 18.3.0.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.2.0...v18.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:43:18 +00:00
dependabot[bot]
771814c936 build(deps): bump @octokit/rest from 18.1.1 to 18.2.0
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.1.1 to 18.2.0.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.1.1...v18.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 15:59:54 +08:00
dependabot[bot]
d1766ca191 build(deps): bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 15:59:38 +08:00
dependabot[bot]
bc43d8c3c2 build(deps): bump @octokit/rest from 18.1.0 to 18.1.1
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.1.0 to 18.1.1.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.1.0...v18.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 01:13:23 +08:00
dependabot[bot]
5a4fa7d989
build(deps): bump @octokit/rest from 18.0.15 to 18.1.0
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.15 to 18.1.0.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.15...v18.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 05:37:55 +00:00
LongYinan
cc56285656
chore: publish
- @napi-rs/cli@1.0.3
2021-02-06 14:29:34 +08:00
LongYinan
5ef1887ea9
fix(cli): new command without npm scope 2021-02-06 14:10:17 +08:00
dependabot[bot]
c688fc1b3c
build(deps): bump @octokit/rest from 18.0.14 to 18.0.15
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.14 to 18.0.15.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.14...v18.0.15)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 05:55:37 +00:00
dependabot[bot]
07e50ad42d
build(deps): bump @octokit/rest from 18.0.12 to 18.0.14
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.12 to 18.0.14.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.12...v18.0.14)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:48:15 +00:00
dependabot[bot]
f65633bf41
build(deps): bump fdir from 4.1.0 to 5.0.0
Bumps [fdir](https://github.com/thecodrr/fdir) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/thecodrr/fdir/releases)
- [Commits](https://github.com/thecodrr/fdir/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:47:15 +00:00
LongYinan
d60ca46a40
chore: publish
- @napi-rs/cli@1.0.2
2021-01-15 11:18:40 +08:00
LongYinan
84a6ea9223
fix(cli): mkdir -p is not valid command in powershell 2021-01-15 00:51:42 +08:00
dependabot[bot]
85b77dc377
build(deps): bump tslib from 2.0.3 to 2.1.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.3...2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:49:58 +00:00
LongYinan
9ef64474df
chore: publish
- @napi-rs/cli@1.0.1
2021-01-07 23:55:50 +08:00
forehalo
58d4634dac fix(cli): fix random node process got killed issue 2021-01-07 23:26:41 +08:00
LongYinan
1ee3145756
ci: upgrade actions/setup-node 2021-01-05 23:53:23 +08:00
LongYinan
e02bda46c1
1.0.0 2020-12-30 00:56:08 +08:00
LongYinan
aa3f0932c8
@napi-rs/cli@1.0.0-alpha.14 2020-12-29 14:32:42 +08:00
LongYinan
84a6a8613b
feat(cli): create .cargo/config if needed 2020-12-29 14:32:25 +08:00
LongYinan
ec697f0b95
@napi-rs/cli@1.0.0-alpha.13 2020-12-25 18:38:57 +08:00
LongYinan
1537f44038
feat(cli): create npm dir while creating new project 2020-12-25 18:10:53 +08:00
LongYinan
f4c6bc7115
@napi-rs/cli@1.0.0-alpha.12 2020-12-23 22:46:48 +08:00
LongYinan
2f4d3142cf
feat(cli): helper messages 2020-12-23 22:43:43 +08:00
LongYinan
6fe60f69c1
feat(cli): new project command 2020-12-23 00:16:45 +08:00
LongYinan
a9c5060d04
@napi-rs/cli@1.0.0-alpha.11 2020-12-22 17:39:45 +08:00
LongYinan
754462238a
feat(cli): check 'cdylib' in crate-type 2020-12-22 15:14:29 +08:00
LongYinan
5f2bea0b97
feat(cli): support --cargo-cwd flag 2020-12-22 15:02:57 +08:00
LongYinan
dc1069203f
fix(cli): regard to target platform, not current platform 2020-12-09 15:50:04 +08:00
dependabot-preview[bot]
ea40040227
build(deps): bump @octokit/rest from 18.0.11 to 18.0.12
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.11 to 18.0.12.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.11...v18.0.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 08:05:01 +00:00
LongYinan
d369cc4d0f
Merge pull request #334 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.0.11
build(deps): bump @octokit/rest from 18.0.10 to 18.0.11
2020-12-03 17:49:27 +08:00
LongYinan
66088642ee
chore: rename branch master => main 2020-12-03 16:30:14 +08:00
dependabot-preview[bot]
322dc0f6a2
build(deps): bump @octokit/rest from 18.0.10 to 18.0.11
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.10 to 18.0.11.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.10...v18.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-03 07:07:36 +00:00
LongYinan
7767b83222
refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli 2020-12-02 22:34:39 +08:00