Commit graph

1304 commits

Author SHA1 Message Date
LongYinan
0e8de173a4 feat(cli): dts flag for build command 2021-10-01 15:01:23 +08:00
LongYinan
e69a763284 perf(napi): ignore callback info while no arguments 2021-10-01 15:01:23 +08:00
LongYinan
3565808d9a
build: fix alpine Docker image 2021-09-30 15:10:04 +08:00
LongYinan
6d3b1096a4
build: fix alpine docker image 2021-09-28 13:11:28 +08:00
dependabot[bot]
2e27aff66b
build(deps-dev): bump @types/sinon from 10.0.2 to 10.0.4 2021-09-27 22:05:37 +00:00
dependabot[bot]
3956e005d8
build(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0 2021-09-27 22:05:29 +00: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]
fa578e45eb
build(deps-dev): bump @types/node from 16.9.4 to 16.10.1 2021-09-27 21:48:06 +00:00
dependabot[bot]
a3e75449fe
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-09-27 21:48:01 +00:00
dependabot[bot]
3ff5497f9c
build(deps-dev): bump esbuild from 0.12.28 to 0.13.2 2021-09-27 21:47:51 +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]
b64677aaad
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-09-20 21:50:58 +00: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]
85a5139066
build(deps-dev): bump @typescript-eslint/parser from 4.31.1 to 4.31.2 2021-09-20 21:37:45 +00:00
dependabot[bot]
4b7415d6c9
build(deps-dev): bump @types/node from 16.9.2 to 16.9.4 2021-09-20 21:37:38 +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
dependabot[bot]
46bdb8e73c
build(deps-dev): bump prettier from 2.4.0 to 2.4.1 2021-09-20 21:37:10 +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
dependabot[bot]
893a91388c
build(deps-dev): bump source-map-support from 0.5.19 to 0.5.20 2021-09-17 12:08:37 +00:00
dependabot[bot]
41cdcbf20a
build(deps-dev): bump @types/node from 16.7.10 to 16.9.2 2021-09-17 11:57:34 +00:00
LongYinan
72f2ef0652
Merge pull request #747 from napi-rs/dependabot/npm_and_yarn/esbuild-0.12.28
build(deps-dev): bump esbuild from 0.12.25 to 0.12.28
2021-09-17 19:45:26 +08:00
LongYinan
0e14e62a37
Merge pull request #748 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.31.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1
2021-09-17 19:45:13 +08:00
dependabot[bot]
88336e9458
build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 16:21:24 +00:00
dependabot[bot]
8524f0867f
build(deps-dev): bump esbuild from 0.12.25 to 0.12.28
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.12.25 to 0.12.28.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.12.25...v0.12.28)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 16:20:36 +00:00
LongYinan
62b2ef3203
chore: publish
- @napi-rs/cli@1.3.2
2021-09-15 00:15:06 +08:00
LongYinan
61c73fcf5e
chore(memory-testing): make pkg private 2021-09-15 00:14:49 +08:00
LongYinan
c3852543a5
fix(cli): cargo config path and ci template in new command 2021-09-15 00:13:08 +08:00
LongYinan
c5828be4b0
Merge pull request #744 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.31.1
build(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1
2021-09-14 16:57:29 +08:00
LongYinan
f8e685b878
Merge pull request #738 from napi-rs/dependabot/npm_and_yarn/prettier-2.4.0
build(deps-dev): bump prettier from 2.3.2 to 2.4.0
2021-09-14 16:57:17 +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
LongYinan
2aac2d46a4
Merge pull request #742 from napi-rs/dependabot/npm_and_yarn/inquirer-8.1.3
build(deps): bump inquirer from 8.1.2 to 8.1.3
2021-09-14 16:56:07 +08:00
LongYinan
d579beb63f
Merge pull request #740 from napi-rs/dependabot/npm_and_yarn/esbuild-0.12.27
build(deps-dev): bump esbuild from 0.12.25 to 0.12.27
2021-09-14 16:55:57 +08:00
LongYinan
3339e2bb5e
Merge pull request #737 from napi-rs/dependabot/npm_and_yarn/dockerode-3.3.1
build(deps): bump dockerode from 3.3.0 to 3.3.1
2021-09-14 16:55:46 +08:00
LongYinan
6c93117199
Merge pull request #736 from napi-rs/dependabot/npm_and_yarn/typescript-4.4.3
build(deps-dev): bump typescript from 4.4.2 to 4.4.3
2021-09-14 16:55:37 +08:00
LongYinan
04aabe27c6
Merge pull request #745 from napi-rs/dependabot/npm_and_yarn/c8-7.9.0
build(deps-dev): bump c8 from 7.8.0 to 7.9.0
2021-09-14 16:55:27 +08:00
LongYinan
747ab056d6
Merge pull request #743 from napi-rs/dependabot/npm_and_yarn/types/lodash-es-4.17.5
build(deps-dev): bump @types/lodash-es from 4.17.4 to 4.17.5
2021-09-14 16:55:13 +08:00
dependabot[bot]
3564b8ee6d
build(deps-dev): bump c8 from 7.8.0 to 7.9.0
Bumps [c8](https://github.com/bcoe/c8) from 7.8.0 to 7.9.0.
- [Release notes](https://github.com/bcoe/c8/releases)
- [Changelog](https://github.com/bcoe/c8/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcoe/c8/compare/v7.8.0...v7.9.0)

---
updated-dependencies:
- dependency-name: c8
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:13:33 +00:00
dependabot[bot]
f34123c4b6
build(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:13:16 +00:00
dependabot[bot]
70c22dd1e7
build(deps-dev): bump @types/lodash-es from 4.17.4 to 4.17.5
Bumps [@types/lodash-es](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash-es) from 4.17.4 to 4.17.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash-es)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:12:45 +00: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]
234b974588
build(deps-dev): bump esbuild from 0.12.25 to 0.12.27
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.12.25 to 0.12.27.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.12.25...v0.12.27)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:08:23 +00:00
dependabot[bot]
591d400fd8
build(deps-dev): bump prettier from 2.3.2 to 2.4.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:07:39 +00:00
dependabot[bot]
6470174b6a
build(deps): bump dockerode from 3.3.0 to 3.3.1
Bumps [dockerode](https://github.com/apocas/dockerode) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:07:16 +00:00
dependabot[bot]
370f1d0e5b
build(deps-dev): bump typescript from 4.4.2 to 4.4.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 21:04:58 +00:00
LongYinan
2e752652cc
napi@1.7.7 2021-09-10 09:40:07 +08:00