Commit Graph

232 Commits

Author SHA1 Message Date
renovate[bot]
1220687593
chore(deps): update all non-major dependencies (#656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-10 14:16:33 +08:00
三咲智子 Kevin Deng
64a7637a1e
chore: release v1.1.5 2023-06-29 22:02:20 +08:00
三咲智子 Kevin Deng
a030d15018
fix: don't transform empty string to boolean
closes #653
2023-06-29 22:01:58 +08:00
三咲智子 Kevin Deng
e73b065360
chore: release v1.1.4 2023-06-26 15:54:40 +08:00
三咲智子 Kevin Deng
450d742287
fix: support es2015
closes #650
2023-06-26 15:54:05 +08:00
三咲智子 Kevin Deng
80f266b4e8
chore: release v1.1.3 2023-06-25 17:24:31 +08:00
三咲智子 Kevin Deng
a5105297d7
ci: fix npm provenance 2023-06-25 17:23:36 +08:00
三咲智子 Kevin Deng
ef1a0fd5ba
chore: release v1.1.2 2023-06-25 16:54:26 +08:00
三咲智子 Kevin Deng
8ed497de1d
fix(jsx): multiline property value
closes #598
closes #569
2023-06-25 16:52:44 +08:00
三咲智子 Kevin Deng
e434f78f6f
chore: update vue core links 2023-06-25 16:43:26 +08:00
三咲智子 Kevin Deng
cb55979a56
refactor(jsx-explorer): remove MonacoEditorPlugin 2023-06-25 16:40:31 +08:00
三咲智子 Kevin Deng
a92ff91c16
feat(jsx-explorer): support dev debugging 2023-06-22 19:18:56 +08:00
renovate[bot]
5a25165e66
chore(deps): update all non-major dependencies (#615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-06-22 15:21:41 +08:00
三咲智子 Kevin Deng
dbba3205e4
refactor: upgrade project setup (#646) 2023-06-22 12:14:02 +08:00
Maxim Mazurok
687be8aca8
[docs] Typo fix (#629)
"should be replace with" => "should be replace*d* with"
2022-12-20 23:59:57 +08:00
Haoqun Jiang
d13cd89ecc
fix: add @babel/core as peerDependencies
Fixes pnpm & yarn warnings as said in https://github.com/vuejs/create-vue/issues/213
2022-12-14 16:59:47 +08:00
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
Amour1688
503e232741 v1.0.0 2020-12-26 01:02:41 +08:00
Amour1688
86c0912bad docs: update RAEDME 2020-12-13 11:48:41 +08:00
Amour1688
cf25aa0b65 v1.0.0-rc.5 2020-12-12 00:44:16 +08:00
Amour1688
87f614b703 chore: add test for object slots 2020-12-12 00:36:33 +08:00
dependabot-preview[bot]
c04904f209
chore(deps-dev): bump @vue/compiler-dom from 3.0.0 to 3.0.4 (#208)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.0 to 3.0.4.
- [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.4/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>
2020-12-12 00:12:31 +08:00
zkwolf
b0fb8c0db4
fix: jsx slot render unexpected #215 (#218)
* fix: jsx slot render unexpected #215

* test: update test
2020-12-11 23:46:34 +08:00
Amour1688
fe68d384c9 v1.0.0-rc.4 2020-12-08 22:19:39 +08:00
John60676
215aaedd05
docs: add v-models docs (#207) 2020-12-08 14:21:22 +08:00
Amour1688
a0a60ee46d docs: update README 2020-12-07 23:17:45 +08:00
Amour1688
5b6323f22a
feat: should support passing object slots via JSX children (#204)
* feat: should support passing object slots via JSX children

* feat: add unit test

* feat: remove `cloneDeep` of `isSlot`

* chore(deps): add `@babel/template`
2020-12-07 23:05:41 +08:00
Che Guevara
832df5b6bd
docs(README-zh_CN.md): enrich translation (#179) 2020-11-29 19:09:10 +08:00
Amour1688
9ea52ee9a1
feat: use addNamed import (#196) 2020-11-29 19:02:03 +08:00
Amour1688
1ba60fbc85 fix: declared emitted event in the emits option 2020-10-29 14:09:56 +08:00
John60676
cc1d9679dc
fix: model can be v-model argument (#153) 2020-10-28 22:05:13 +08:00
John60676
604d53b956
feat: support v-models (#140)
* feat: support multiple bindings

* refactor: optimize code

* test: add underscore modifier case

* refactor: modify value to values

* refactor: remove underscore modifier support

* refactor: optimize v-models

* refactor: optimize code
2020-10-28 18:42:43 +08:00
Amour1688
1fdcfd0ce2 style: optimize code 2020-10-19 14:50:25 +08:00
Amour1688
f50b9e37fd fix: <A {...{ a: 1 }} /> throw error when override props 2020-10-17 10:29:08 +08:00
Amour1688
e9aa278b20 fix: ts error 2020-10-12 13:49:27 +08:00
dependabot-preview[bot]
5d4a501bfe
chore(deps-dev): bump vue from 3.0.0-rc.10 to 3.0.0 (#128)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0-rc.10 to 3.0.0.
- [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>
2020-10-09 15:58:51 +08:00
dependabot-preview[bot]
bac6fde576
chore(deps-dev): bump @vue/compiler-dom from 3.0.0-rc.10 to 3.0.0 (#124)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.0-rc.10 to 3.0.0.
- [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.0/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>
2020-10-09 10:33:00 +08:00
hangzou
4318ca17e0
docs: update slot's description (#116)
* docs: update slot's description
2020-09-24 17:19:00 +08:00
Amour1688
0e2253b6a8 docs: update v-model [ci skip] 2020-09-22 11:55:56 +08:00
hangzou
e898d0eaf8
docs: add new user in README (#108)
* feat(docs): add new user in README

* docs: update README-zh & change element plus' link
2020-09-20 13:14:57 +08:00
Amour1688
ad8c3cbfe6 chore: use generateUidIdentifier 2020-09-15 11:59:54 +08:00
Amour1688
01f812c19e docs: mergeProps 2020-09-14 17:42:03 +08:00
Amour1688
bd938b770d v1.0.0-rc.3 2020-09-14 17:23:43 +08:00
Amour1688
b23cfe0020 test: overrideProps snapshot 2020-09-09 17:19:36 +08:00
Amour1688
e16695d87e feat: optional mergePros 2020-09-09 17:07:47 +08:00
Amour1688
45290ca1ee chore: add snapshot 2020-09-08 14:12:42 +08:00
Amour1688
4398191f95 chore: remove webpack-dev-server 2020-09-08 14:12:19 +08:00
Amour1688
94b4f3aa80 feat: merge static and dynamic class / style attributes into array 2020-09-08 12:58:01 +08:00
Amour1688
bf59811f43 fix: mergeProps order error 2020-09-07 22:24:29 +08:00
Amour1688
f519920db2 chore: set monaco-editor jsx as preserve 2020-09-06 11:33:12 +08:00
Amour1688
53739e1d5c chore: monaco in cdn 2020-09-05 21:58:07 +08:00