Commit graph

718 commits

Author SHA1 Message Date
LongYinan
8513e4f796
docs: napi6 should be napi7 2020-12-10 14:26:53 +08:00
LongYinan
932ebcbee5
feat(napi): create_buffer_with_manually_drop_data 2020-12-10 14:26:19 +08:00
LongYinan
5989a79f0d
feat(napi): unsafe cast JsUnknown to the other JsValue 2020-12-10 14:26:18 +08:00
LongYinan
28d380344b
chore: ts project configuration fix for test_module 2020-12-10 14:07:19 +08:00
LongYinan
018426ad83
Merge pull request #351 from napi-rs/remove-useless-type-cast
Remove useless type cast
2020-12-09 22:58:43 +08:00
LongYinan
fb4d5b5af5
napi@1.0.0-alpha.1 2020-12-09 21:58:08 +08:00
LongYinan
1c0634f6f2
fix(napi): move sys call out from debug_assert! macro 2020-12-09 21:57:48 +08:00
LongYinan
78245b0e8f
chore(napi): remove useless type cast in JsBuffer 2020-12-09 19:24:44 +08:00
LongYinan
305d42d524
Merge pull request #350 from napi-rs/test-android
Test android
2020-12-09 16:19:14 +08:00
LongYinan
7a72c4aff9
ci: build test for android 2020-12-09 15:59:57 +08:00
LongYinan
ae8306c313
Merge pull request #349 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.11
build(deps-dev): bump @types/node from 14.14.10 to 14.14.11
2020-12-09 15:51:27 +08:00
LongYinan
dc1069203f
fix(cli): regard to target platform, not current platform 2020-12-09 15:50:04 +08:00
dependabot-preview[bot]
586d4a608c
build(deps-dev): bump @types/node from 14.14.10 to 14.14.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.10 to 14.14.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 07:19:13 +00:00
LongYinan
7f2c92fa79
ci: fix timeout during yarn installing 2020-12-09 11:03:59 +08:00
LongYinan
710eb1516c
Merge pull request #347 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.9.1
build(deps-dev): bump @typescript-eslint/parser from 4.8.2 to 4.9.1
2020-12-09 09:53:48 +08:00
dependabot-preview[bot]
489d72b201
build(deps-dev): bump @typescript-eslint/parser from 4.8.2 to 4.9.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.8.2 to 4.9.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.9.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 14:33:39 +00:00
LongYinan
1ccea3bd92
Merge pull request #346 from napi-rs/dependabot/npm_and_yarn/husky-4.3.5
build(deps-dev): bump husky from 4.3.0 to 4.3.5
2020-12-08 22:32:42 +08:00
LongYinan
2889ccee81
Merge pull request #345 from napi-rs/dependabot/npm_and_yarn/ava-3.14.0
build(deps-dev): bump ava from 3.13.0 to 3.14.0
2020-12-08 22:31:50 +08:00
LongYinan
960b4b1b09
Merge pull request #344 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.9.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.9.0 to 4.9.1
2020-12-08 22:31:38 +08:00
LongYinan
ce5597d9ff
Merge pull request #343 from napi-rs/dependabot/npm_and_yarn/ts-node-9.1.1
build(deps-dev): bump ts-node from 9.1.0 to 9.1.1
2020-12-08 22:31:25 +08:00
dependabot-preview[bot]
a77f03ea4a
build(deps-dev): bump husky from 4.3.0 to 4.3.5
Bumps [husky](https://github.com/typicode/husky) from 4.3.0 to 4.3.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.0...v4.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 08:05:59 +00:00
dependabot-preview[bot]
9df85e1b98
build(deps-dev): bump ava from 3.13.0 to 3.14.0
Bumps [ava](https://github.com/avajs/ava) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.13.0...v3.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 08:05:13 +00:00
dependabot-preview[bot]
cd4ddb230b
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.9.0 to 4.9.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.9.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 08:05:00 +00:00
dependabot-preview[bot]
1d350dff99
build(deps-dev): bump ts-node from 9.1.0 to 9.1.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.0...v9.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 08:04:43 +00:00
LongYinan
0df4320ea4
Merge pull request #342 from napi-rs/armv7
feat: build and test armv7
2020-12-08 12:12:40 +08:00
LongYinan
d7e727d045
feat: build and test armv7 2020-12-08 12:00:58 +08:00
LongYinan
70c5a90326
Merge pull request #340 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.0.12
build(deps): bump @octokit/rest from 18.0.11 to 18.0.12
2020-12-07 19:00:39 +08:00
LongYinan
8cb942cb6a
Merge pull request #339 from napi-rs/dependabot/npm_and_yarn/eslint-7.15.0
build(deps-dev): bump eslint from 7.14.0 to 7.15.0
2020-12-07 19:00:22 +08:00
dependabot-preview[bot]
38c111aa5a
build(deps-dev): bump eslint from 7.14.0 to 7.15.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.14.0 to 7.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.14.0...v7.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 10:47:41 +00:00
LongYinan
7e27864c31
Merge pull request #337 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-7.0.0
build(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
2020-12-07 18:45:46 +08:00
LongYinan
5d722f955d
Merge pull request #338 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.5.3
build(deps-dev): bump lint-staged from 10.5.2 to 10.5.3
2020-12-07 18:45:32 +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
dependabot-preview[bot]
50f545a204
build(deps-dev): bump lint-staged from 10.5.2 to 10.5.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.2 to 10.5.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.2...v10.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 08:04:00 +00:00
dependabot-preview[bot]
61ddf9dd55
build(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 08:03:35 +00:00
LongYinan
41a2fc564a
Merge pull request #335 from napi-rs/dependabot/npm_and_yarn/eslint-plugin-prettier-3.2.0
build(deps-dev): bump eslint-plugin-prettier from 3.1.4 to 3.2.0
2020-12-06 10:51:16 +08:00
LongYinan
4aaf019168
Merge pull request #336 from napi-rs/dependabot/npm_and_yarn/ts-node-9.1.0
build(deps-dev): bump ts-node from 9.0.0 to 9.1.0
2020-12-06 10:50:52 +08:00
dependabot-preview[bot]
45998e061b
build(deps-dev): bump ts-node from 9.0.0 to 9.1.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.0.0...v9.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 07:18:17 +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
1d40dc28ba
docs: fix package.json code block 2020-12-03 17:19:43 +08:00
LongYinan
f90640d7aa
docs: update documents 2020-12-03 17:17:40 +08:00
LongYinan
66088642ee
chore: rename branch master => main 2020-12-03 16:30:14 +08:00
dependabot-preview[bot]
d091496a4f
build(deps-dev): bump eslint-plugin-prettier from 3.1.4 to 3.2.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.4 to 3.2.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.4...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-03 07:08:23 +00: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
6b0aa23172
napi-sys@1.0.0-alpha.1 2020-12-02 23:47:14 +08:00
LongYinan
94e0ac548c
1.0.0-alpha.0 2020-12-02 23:45:27 +08:00
LongYinan
85ac3fe9e1
Merge pull request #240 from napi-rs/refactor-cli
Refactor cli
2020-12-02 22:53:19 +08:00
LongYinan
7767b83222
refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli 2020-12-02 22:34:39 +08:00
LongYinan
a8873525fc
Merge pull request #329 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.9.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.8.2 to 4.9.0
2020-12-02 22:12:58 +08:00
LongYinan
eab54954e7
Merge pull request #332 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.0.10
build(deps): bump @octokit/rest from 18.0.9 to 18.0.10
2020-12-02 22:12:45 +08:00
LongYinan
0ef810550d
Merge pull request #331 from napi-rs/dependabot/npm_and_yarn/cross-env-7.0.3
build(deps-dev): bump cross-env from 7.0.2 to 7.0.3
2020-12-02 22:12:34 +08:00