Commit Graph

166 Commits

Author SHA1 Message Date
renovate[bot]
367d21d7af
chore(deps): update all non-major dependencies (#611)
* chore(deps): update all non-major dependencies

* chore: remove the lockfile and reinstall to update trnasitive deps

The outdated `@types/babel__traverse` package is causing type errors

* fix: fix htmlTags type error

* fix: pin @types/node to 18.8.0 to work around https://github.com/johnsoncodehk/volar/issues/1985

* fix: pin @vue/test-utils temporarily to avoid snapshot differences

* test: update snapshot

As far as I see, all the snapshot differences are merely the newlines
after `import` statements

* test: add `attachTo: document.body` to make click event take effect

See https://github.com/vuejs/test-utils/issues/1470#issuecomment-1114752388

* fix: fix mjs processing for webpack 4

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2022-10-15 10:33:17 +08:00
CHOYSEN
13839619c3
docs: update chinese README (#521) 2022-06-23 12:05:00 +08:00
Evan You
f3f3650c20 chore: update repo references 2022-01-18 16:58:05 +08:00
A SOUL
a883ce1296
docs: update README-zh_CN.md (#531) 2021-12-21 11:11:37 +08:00
dependabot[bot]
8fa8beffa9
chore(deps-dev): bump vue from 3.2.8 to 3.2.26 (#532)
Bumps [vue](https://github.com/vuejs/vue) from 3.2.8 to 3.2.26.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 20:43:05 +08:00
Amour1688
04fb7f7780 v1.1.1 2021-10-17 17:47:23 +08:00
Amour1688
6f0282f5c0 style: lint 2021-10-17 17:46:40 +08:00
Luo Zhihao
35780fd7d4
fix: wrong compilation result when _Fragment is imported (#518)
* fix: optimize Fragment judgement

Co-authored-by: Amour1688 <lcz141186@gmail.com>
2021-10-15 10:37:19 +08:00
xrkffgg
52e4994efb
docs: add issues-helper badge (#512)
* Update README.md

* Update README-zh_CN.md
2021-09-30 10:18:35 +08:00
Amour1688
cf7898bca7 docs: update readme [ci skip] 2021-09-30 07:18:36 +08:00
Amour1688
942b3b4a65 v1.1.0 2021-09-30 06:52:13 +08:00
Kael
1ab8483933
feat: allow string arguments on directives (#496)
* chore: update dependencies

* feat: allow string arguments on directives

resolves #325
2021-09-22 10:27:50 +08:00
Amour1688
65ebf6fd09 v1.0.7 2021-09-03 23:57:56 +08:00
Amour1688
95ddd34acc chore: update scripts [ci skip] 2021-09-03 23:57:11 +08:00
Amour1688
55035e3f1d fix: throw state.get(...) when using object slots (#494) 2021-09-03 23:52:48 +08:00
Amour1688
47fc86356e
Revert "feat: add umd bundle (#457)" (#458)
This reverts commit b0cdddae94.
2021-06-24 20:52:10 +08:00
hangzou
b0cdddae94
feat: add umd bundle (#457) 2021-06-24 20:20:08 +08:00
Amour1688
3dcca6d06d test: isCustomElement snap 2021-05-20 20:46:06 +08:00
fxy060608
117b25a56a
fix: should check isCustomElement (#431)
* fix: respect isCustomElement

* chore: yarn lint
2021-05-14 20:18:27 +08:00
Amour1688
425b3eac38 v1.0.6 2021-05-02 12:27:47 +08:00
Amour1688
a7121f8553
chore: use airbnb-typescript/base eslint plugin (#420) 2021-04-30 18:29:48 +08:00
Amour1688
224196d3ec fix: wrong compilation result of withDirectives (#404) 2021-04-30 01:06:23 +08:00
Amour1688
cbad0e5c5f v1.0.5 2021-04-18 11:05:28 +08:00
Amour1688
14adaa5f3a fix: using v-slots without children should not be spread 2021-04-18 11:00:35 +08:00
GetKnowledgeByGitHub
5c798bae84
docs: slots (#386)
* feat(md): add <slot/> to jsx md

Co-authored-by: GetKnowledge <xxx@qq.com>
2021-04-12 13:15:44 +08:00
Daniel
0e4a660a60
docs: update README, add new user. (#270)
* docs: Update README, add new user.
2021-04-10 22:04:21 +08:00
Amour1688
c48dbb7dc8 v1.0.4 2021-03-29 21:04:28 +08:00
Amour1688
1972dbad32 style: format code 2021-03-22 10:26:54 +08:00
Amour1688
3a83e668f4 fix: dynamic slot flag not working 2021-03-15 23:37:01 +08:00
dependabot-preview[bot]
de17052e7d
chore(deps-dev): bump vue from 3.0.5 to 3.0.7 (#356)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.5 to 3.0.7.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-15 17:36:14 +08:00
Amour1688
a744cb1aab chore(deps-dev): bump typescript to 4.2.3 2021-03-13 14:51:16 +08:00
Amour1688
e9b83a0f96 feat: v-model targe value should support variable 2021-03-13 14:38:00 +08:00
Amour1688
4c858a26e4 fix: jsx-explorer default text value error 2021-03-04 16:55:43 +08:00
Amour1688
b2d0394281 test: snap 2021-03-04 10:24:00 +08:00
Amour1688
17c2894067 feat: jsx-explorer support options 2021-03-03 23:58:09 +08:00
Amour1688
98b4f92f48 feat: v-model targe value support variable (#331) 2021-03-03 10:23:32 +08:00
JokcyLou
ec50fddc8a
feat: add pragma option and support @jsx annotation (#322)
* add pragma option and support @jsx annotation

* update syntax and remove useless eslint rule

* use BabelCore.BabelFile as type definition of state.file

* update chinese doc
2021-02-28 18:08:42 +08:00
Amour1688
57f670711d fix: typo [ci skip] 2021-02-12 21:47:04 +08:00
Amour1688
fa36f02535 v1.0.3 2021-02-06 21:51:19 +08:00
Amour1688
4c69e3ce71 test: snap for KeepAlive 2021-02-06 21:45:53 +08:00
Amour1688
f1c9629b88 fix: child nodes of KeepAlive should not be transformed to slots 2021-02-04 22:18:07 +08:00
Amour1688
ee3faaf58b v1.0.2 2021-01-17 00:23:07 +08:00
Amour1688
1698603278
feat: should merge generated imports (#274) 2021-01-17 00:15:54 +08:00
Amour1688
03586776d6 fix: typo [ci skip] 2021-01-16 23:11:00 +08:00
Amour1688
c0a3d56b7f v1.0.1 2021-01-09 21:28:52 +08:00
Amour1688
76add10663 docs: enableObjectSlots 2021-01-09 21:18:32 +08:00
Amour1688
689ceea4c0 feat: export interface VueJSXPluginOptions 2021-01-09 21:18:02 +08:00
dependabot-preview[bot]
764afcdb3c
chore(deps-dev): bump @vue/compiler-dom from 3.0.4 to 3.0.5 (#250)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.0.5/packages/compiler-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-09 00:01:08 +08:00
Amour1688
9238fab697
feat: support optional enableObjectSlots (#259)
* feat: user can toggle off the object slot syntax parser (#257)

* chore(deps-dev): bump vue from 3.0.0 to 3.0.5 (#246)

Bumps [vue](https://github.com/vuejs/vue) from 3.0.0 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/eslint-plugin (#244)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.9.1 to 4.11.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.11.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/parser from 4.9.1 to 4.11.1 (#245)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.9.1 to 4.11.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.11.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* feat: user can toggle off the object slot syntax parser

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* feat: default value of enableObjectSlots should be true

Co-authored-by: 逆寒 <869732751@qq.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-08 23:18:56 +08:00
dependabot-preview[bot]
03e839047c
chore(deps-dev): bump vue from 3.0.0 to 3.0.5 (#246)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0 to 3.0.5.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-01 21:09:25 +08:00