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