Commit graph

1291 commits

Author SHA1 Message Date
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
LongYinan
5fe8003f9c
Merge pull request #734 from napi-rs/drop-wrapped
fix(napi): drop_wrapped implementation
2021-09-09 23:24:57 +08:00
LongYinan
5b44ae322f
fix(napi): drop_wrapped implementation 2021-09-09 22:47:09 +08:00
dependabot[bot]
d558064141
build(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0 2021-09-06 21:37:16 +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
dependabot[bot]
a07afcf25f
build(deps-dev): bump esbuild from 0.12.24 to 0.12.25 2021-09-06 21:21:53 +00:00
dependabot[bot]
1d3593fcfa
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-09-06 21:21:39 +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
40188bb726
Merge pull request #725 from napi-rs/add-new-command-back
feat(cli): add back new command
2021-09-02 00:04:01 +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