Commit graph

1570 commits

Author SHA1 Message Date
LongYinan
7470407306
feat(napi): throw error on non constructable class 2021-12-08 17:59:30 +08:00
LongYinan
16fa7a159e
Release independent packages
napi-derive@2.0.0-beta.5
napi-derive-backend@1.0.17
2021-12-08 17:33:13 +08:00
LongYinan
cd7c7a342f
fix(napi-derive-backend): missing crate prefix 2021-12-08 17:32:16 +08:00
LongYinan
3ae12f7c36
Release independent packages
napi-derive@2.0.0-beta.4
napi-derive-backend@1.0.16
2021-12-08 13:37:37 +08:00
LongYinan
8e0717dcda
Merge pull request #918 from napi-rs/noop-napi-derive
Noop napi derive
2021-12-08 13:31:52 +08:00
LongYinan
e452c00fb4
feat: edition 2021 2021-12-08 13:18:47 +08:00
LongYinan
b2e71b5e03
feat(napi-derive): add noop feature to skip napi function register 2021-12-08 11:30:43 +08:00
LongYinan
454711981b
Release independent packages
napi-derive-backend@1.0.15
napi-derive@2.0.0-beta.3
napi@2.0.0-beta.4
2021-12-07 23:40:50 +08:00
LongYinan
d34006ab89
chore: publish
- @napi-rs/cli@2.0.0-beta.4
2021-12-07 23:33:34 +08:00
LongYinan
80c97b2660
Merge pull request #917 from napi-rs/parcel-fix
Upgrade for sourcemap
2021-12-07 22:31:00 +08:00
LongYinan
831e050877
feat(napi): create Array from &Vec 2021-12-07 22:03:25 +08:00
LongYinan
ff717df34f
fix(napi-derive-backend): skip set object property if it is None 2021-12-07 21:50:37 +08:00
LongYinan
f7a101db01
chore: cleanup stale codes 2021-12-07 21:45:40 +08:00
LongYinan
11a5a35485
feat(cli): workaround for Windows i686 ICE in dev mode 2021-12-07 21:45:01 +08:00
LongYinan
af7583dadf
napi@2.0.0-beta.3 2021-12-07 12:50:19 +08:00
LongYinan
00be6e5e0c
feat(napi): impl FromNapiValue for &str 2021-12-07 12:50:18 +08:00
LongYinan
884c7797ab
Merge pull request #916 from napi-rs/revert-913-dependabot/npm_and_yarn/chalk-5.0.0
Revert "build(deps): bump chalk from 4.1.2 to 5.0.0"
2021-12-07 11:06:42 +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]
de4bdcedd5
build(deps-dev): bump eslint from 8.3.0 to 8.4.0 2021-12-06 22:12:17 +00:00
dependabot[bot]
19a096dd11
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-06 22:12:02 +00:00
dependabot[bot]
0e9e99720e
build(deps-dev): bump prettier from 2.5.0 to 2.5.1 2021-12-06 21:51:33 +00:00
dependabot[bot]
b357f6e6a5
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-12-06 21:51:23 +00:00
dependabot[bot]
f0da66a47e
build(deps): bump table from 6.7.3 to 6.7.5 2021-12-06 21:51:14 +00:00
dependabot[bot]
f9cadf4ccd
build(deps-dev): bump esbuild from 0.14.1 to 0.14.2 2021-12-06 21:50:44 +00:00
dependabot[bot]
fbf223c7c4
build(deps-dev): bump @typescript-eslint/parser from 5.5.0 to 5.6.0 2021-12-06 21:44:16 +00:00
LongYinan
0ac303e3ea
Release independent packages
napi-derive@2.0.0-beta.2
napi-derive-backend@1.0.14
2021-12-06 14:15:17 +08:00
LongYinan
15a127c1b9
Merge pull request #906 from napi-rs/skip-register-in-test
fix(napi-derive): disable register logic in rust test
2021-12-06 14:07:45 +08:00
LongYinan
27c4790e7b
fix(napi-derive): disable register logic in rust test 2021-12-06 12:58:58 +08:00
LongYinan
8d6997f61e
Release independent packages
napi@2.0.0-beta.2
2021-12-03 17:06:24 +08:00
LongYinan
faf708a5b4
chore: publish
- @napi-rs/cli@2.0.0-beta.3
2021-12-03 17:03:19 +08:00
LongYinan
99863f314d
Merge pull request #904 from napi-rs/swc-fix
Swc fix
2021-12-03 17:02:04 +08:00
LongYinan
8fc1cfcb38
feat(napi): TypeName and ToNapiValue should apply to any HashMap 2021-12-03 16:49:26 +08:00
LongYinan
53fe4d3aa5
feat(napi): re-export ctor as module_init 2021-12-03 16:49:26 +08:00
LongYinan
77dab3e9f7
docs(napi): prettier 2021-12-03 16:49:26 +08:00
LongYinan
2d5b997b7d
feat(napi): add experimental flag 2021-12-03 16:49:26 +08:00
LongYinan
49a0139f81
style: clippy fix 2021-12-03 16:49:25 +08:00
LongYinan
8de30a9287
feat(napi): add -p flag which will be bypassed to cargo 2021-12-03 16:49:25 +08:00
LongYinan
96190f1c80
ci: setup-node@v2 2021-12-02 23:23:51 +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
140fa7b502
Release independent packages
napi@2.0.0-beta.1
napi-derive@2.0.0-beta.1
napi-derive-backend@1.0.13
2021-12-02 17:10:58 +08:00
LongYinan
6280460173
chore: publish
- @napi-rs/cli@2.0.0-beta.1
2021-12-02 17:05:40 +08:00
LongYinan
8b77bc62ab
Merge pull request #902 from napi-rs/beta-fix-1
Beta fix 1
2021-12-02 17:04:06 +08:00
LongYinan
77e4241b18
style: clippy fix 2021-12-02 16:31:57 +08:00
LongYinan
b2fea4d5b3
fix(napi-derive): correct the aliased type generation 2021-12-02 16:25:20 +08:00
LongYinan
6d4b4af36f
fix(napi-derive-backend): do not unwrap Option value in object getter if the type of field is Option<T> 2021-12-02 16:17:03 +08:00
LongYinan
d58e488fa2
fix(cli): missing exported enum 2021-12-02 15:46:20 +08:00
LongYinan
24c5d6950e
Release independent packages
napi@2.0.0-beta.0
napi-sys@2.1.0
napi-derive@2.0.0-beta.0
napi-build@1.2.0
napi-derive-backend@1.0.12
2021-12-02 14:35:57 +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
221eae1c26
feat(build): update windows lib file to 17.2.0 2021-12-02 14:25:22 +08:00