Commit Graph

146 Commits

Author SHA1 Message Date
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
dependabot-preview[bot]
d00a225a2d
chore(deps-dev): bump vue from 3.0.0-rc.9 to 3.0.0-rc.10 (#91)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0-rc.9 to 3.0.0-rc.10.
- [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-09-05 11:32:51 +08:00
dependabot-preview[bot]
98fe1c8051
chore(deps-dev): bump @vue/compiler-dom from 3.0.0-rc.9 to 3.0.0-rc.10 (#93)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-dom) from 3.0.0-rc.9 to 3.0.0-rc.10.
- [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-rc.10/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-09-05 11:32:31 +08:00
Amour1688
8bfd6667d5 docs: fix wrong spelling of ts 2020-09-04 17:49:29 +08:00
dependabot-preview[bot]
5001c1e912
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#88)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.10.1 to 4.0.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.0.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>
2020-09-03 22:12:10 +08:00
dependabot-preview[bot]
0c01e71932
chore(deps-dev): bump typescript from 3.9.6 to 4.0.2 (#89)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v4.0.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-02 15:09:11 +08:00
dependabot-preview[bot]
341d461261
chore(deps-dev): bump @typescript-eslint/parser from 3.10.1 to 4.0.1 (#85)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.10.1 to 4.0.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.0.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>
2020-09-02 15:05:35 +08:00
Amour1688
1b7fb1b307 docs: update README for TypeScript 2020-09-01 10:14:36 +08:00
dependabot-preview[bot]
dcf22537b1
chore(deps-dev): bump vue from 3.0.0-rc.7 to 3.0.0-rc.9 (#79)
Bumps [vue](https://github.com/vuejs/vue) from 3.0.0-rc.7 to 3.0.0-rc.9.
- [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-08-31 15:12:19 +08:00
jawn-ha
37af260a2f
docs: fix the repo's link (#74)
Co-authored-by: zhanghj <zhanghj@getui.com>
2020-08-30 20:25:51 +08:00
Amour1688
d65e85a1ed chore: 1.0.0-rc.2 changelog [ci skip] 2020-08-28 10:59:39 +08:00
Amour1688
03b33574e6 v1.0.0-rc.2 2020-08-28 10:24:39 +08:00
Amour1688
09c220eeff chore: rename package namesapce from ant-design-vue to vue 2020-08-28 09:42:13 +08:00
dependabot-preview[bot]
1f9e7b440c
chore(deps-dev): bump @vue/compiler-dom from 3.0.0-rc.7 to 3.0.0-rc.9 (#60)
Bumps [@vue/compiler-dom](https://github.com/vuejs/vue-next) from 3.0.0-rc.7 to 3.0.0-rc.9.
- [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/compare/v3.0.0-rc.7...v3.0.0-rc.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-27 20:02:39 +08:00
Amour1688
5790b83ed6
chore: replace namespace imports with named imports (#67)
* feat: Replace namespace imports with named imports (#54)

* Add .circleci/config.yml

* ci: fix circleci error

* fix: specifiers should be merged into a single importDeclaration

Co-authored-by: 逆寒 <869732751@qq.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
2020-08-27 20:01:11 +08:00
renovate[bot]
86b5051174
chore(deps): update vue monorepo to v3.0.0-rc.7 (#56)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-22 08:48:14 +08:00
Amour1688
f96f8880b9 fix: innerHTML should be string 2020-08-20 09:22:02 +08:00
renovate[bot]
831987885b
chore(deps): update vue monorepo to v3.0.0-rc.6 (#55)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-20 09:14:28 +08:00
renovate[bot]
d9f96e02b3
chore(deps): update dependency @vue/test-utils to v2.0.0-beta.2 (#52)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-06 09:36:45 +08:00
renovate[bot]
1dbc78205f
chore(deps): update dependency @vue/test-utils to v2.0.0-beta.1 (#50)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-01 20:35:11 +08:00
Amour1688
881ea9ec84 docs: upgrade README 2020-07-29 12:37:37 +08:00
Amour1688
d19a593080 v1.0.0-rc.1 2020-07-29 09:46:15 +08:00
Amour1688
5c2179f6d9 feat: remove compatibleProps 2020-07-29 09:30:06 +08:00
renovate[bot]
0559c78b57
chore(deps): update vue monorepo to v3.0.0-rc.5 (#46)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-29 09:26:13 +08:00
Amour1688
89afeac355
chore: mark slotflag and fix some bugs (#45)
* fix: reassign variable as component should work

* feat: remove `compatibleProps`

* feat: mark slotFlag

* chore: istanbul ignore in babel.config.js

* test: reassign variable as component should work
2020-07-28 21:25:30 +08:00
Amour1688
ebbd992ba0
chore: use typescript to refactor test and fix some bugs(#42)
* style: formate code

* chore: disable no-non-null-assertion

* chore: test vHtml and vText

* chore: set optimize as true in test

* style: fix eslint warning

* chore: v-model test

* fix: v-model has not type should use vModelText

* chore: use typescript to refactor test

* fix: slots test

* feat: support isCustomElement
2020-07-25 22:39:19 +08:00
Amour1688
84b006bdd3 docs: withModifiers 2020-07-22 09:53:16 +08:00
Amour1688
b817fa38af chore: v1.0.0-beta.4 changelog 2020-07-22 09:23:23 +08:00
Amour1688
f481fef240 v1.0.0-beta.4 2020-07-22 09:20:13 +08:00
renovate[bot]
59757a170c
chore(deps): update vue monorepo to v3.0.0-rc.4 (#39)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 09:10:56 +08:00
renovate[bot]
96c36a4c1b
chore(deps): update vue monorepo to v3.0.0-rc.2 (#38)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-20 09:11:32 +08:00
xrk
ee0d544c24
chore: add tslint (#37)
* chore: tslint

* chore: workflow lint

Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
2020-07-19 14:47:24 +08:00
xrk
6b0b7534a4
docs: optimize Readme and add link (#35)
* docs: optimize Readme and add link

Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
2020-07-18 11:45:05 +08:00
renovate[bot]
b205dd4e08
chore(deps): update vue monorepo to v3.0.0-rc.1 (#34)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 09:04:08 +08:00
Amour1688
b3ea528a6e
fix: force update on forwarded slots (#33) 2020-07-17 21:24:05 +08:00
renovate[bot]
a34ff99277
chore(deps): update vue monorepo to v3.0.0-beta.24 (#31)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-17 09:10:47 +08:00
renovate[bot]
a9060aa1ae
chore(deps): update vue monorepo (#30)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-16 09:09:06 +08:00
Amour1688
c2bde6ea41 v1.0.0-beta.3 2020-07-15 19:28:58 +08:00
Amour1688
9f133858c5 fix: directive with single param did not work 2020-07-15 19:27:49 +08:00
Amour1688
b95986ee90 v1.0.0-beta.2 2020-07-15 09:17:26 +08:00
renovate[bot]
36c5cc38eb
chore(deps): update vue monorepo to v3.0.0-beta.21 (#29)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 09:13:03 +08:00
Amour1688
9179e9c7a3
fix: warning Fragment with condition fails with undefined vnode (#28) 2020-07-14 10:38:34 +08:00
Amour1688
672f27d258 refactor: new directive API 2020-07-13 23:44:52 +08:00
martinoooo
d495546883
fix: walksScope throw error when path.parentPath is null (#25) 2020-07-13 14:01:19 +08:00
Amour1688
ede484fad5 v1.0.0-beta.1 2020-07-12 16:29:24 +08:00
Amour1688
76f3f17602 feat: optional usePatchFlag 2020-07-12 16:23:13 +08:00
Amour1688
858f39cea2 chore: use BAIL instead of h 2020-07-12 14:01:29 +08:00
Amour1688
9454655ee7 fix: component doesn't render when variables outside slot 2020-07-12 10:19:31 +08:00
Amour1688
5c59e2e27b fix: checkIsComponent got wrong result 2020-07-12 02:04:51 +08:00
Amour1688
17a0e56342 feat: vSlots 2020-07-11 23:14:18 +08:00
Amour1688
a4d7390273 fix: Fragment 2020-07-11 14:23:56 +08:00
Amour1688
59ad212060 chore: @types/svg-tags in devDependencies 2020-07-09 21:43:11 +08:00
Amour1688
bc4ef2c028
refactor: with TypeScript (#24)
* refactor: add ts support (#19)

Co-authored-by: 逆寒 <869732751@qq.com>
2020-07-09 20:51:47 +08:00
renovate[bot]
3d49271878
chore(deps): update vue monorepo to v3.0.0-beta.20 (#23)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 09:18:38 +08:00
renovate[bot]
4d158a3a37
chore(deps): update vue monorepo to v3.0.0-beta.19 (#22)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 22:43:21 +08:00
renovate[bot]
c5b7f24aad
chore(deps): update vue monorepo to v3.0.0-beta.18 (#18)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-03 11:14:27 +08:00
Amour1688
d7bdb3c06d docs: Update docs 2020-07-03 00:51:53 +08:00
Amour1688
290c56ae96 chore: update vue to 3.0 beta17 2020-07-01 22:01:57 +08:00
Amour1688
a68a45e6ca
use createVNode (#14)
* chore: use createVNode

* test: add patchFlag
2020-06-27 09:31:41 +08:00
Amour1688
ed66deccf6 release 1.0.0-alpha.6 2020-06-21 17:33:04 +08:00
Amour1688
9b005fcf02 feat: configurable usePatchFlag 2020-06-21 17:29:07 +08:00
Amour1688
74744fe74b fix: skip normalizeObjectSlots in runtime-core 2020-06-21 17:06:37 +08:00
martinoooo
20f508e917
add code to the location hash (#13)
* feat: add url

* fix: format
2020-06-21 13:21:27 +08:00
Amour1688
620496f790
chore: deploy site in netlify.app (#12) 2020-06-17 19:57:37 +08:00
Amour1688
fe4f0ff48f release: 1.0.0-alpha.5 2020-06-16 23:40:59 +08:00
Amour1688
8a6c8a7ca2 fix: isFragment get wrong result
feat: PatchFlag will be bail when has container

chore: remove npmignore
2020-06-16 23:33:50 +08:00
Amour1688
4180c849ac fix: only pass string when children is string 2020-06-14 22:42:47 +08:00
Amour1688
92db537e84 test: nested component 2020-06-14 22:40:31 +08:00
Amour1688
6913a51ee8 chore: console log ast in jsx explorer 2020-06-14 16:18:50 +08:00
Amour1688
dd787c0256 refactor: Dedupe props in an object literal 2020-06-14 16:17:59 +08:00
Amour1688
b8aa96eb20 chore: upgrade to vue@3.0.0-beta.15 2020-06-14 14:01:07 +08:00
Amour1688
4dda1411b9
feat: jsx-explorer (#11) 2020-06-13 11:23:47 +08:00
Amour1688
fc128fb981 chore: set rollup babel configFile as false 2020-06-09 13:29:31 +08:00
Amour1688
4c34cf1d5d
perf: replace h with createVNode for PatchFlags (#6)
* chore: disable `no-bitwise` in eslint

* feat: replace h with createVNode for PatchFlags

* fix: vModel modifiers shift

* chore: rename v-_model to _model in sugar-v-model

* fix: hasRef will not always be false

* feat: Check if an attribute value is constant

* chore: pass null when children is empty

* chore: describe Transform JSX in test

* chore: add describe Patch Flags

* perf: import compatibleProps when opts.compatibleProps is true

* test: add coverage report (#7)

* refactor: cjs to esModule

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-06-07 17:22:42 +08:00
Amour1688
88bf7cca93 chore: move npmignore 2020-06-04 19:46:26 +08:00
Haoqun Jiang
9c464f4ce5
chore: improve setup of the tooling (#4)
* chore: lockfile should be committed to the repo

See https://classic.yarnpkg.com/blog/2016/11/24/lockfiles-for-all/

* chore: explicitly set the npm client to yarn

* chore: set up yarn workspaces

* chore: use jest.config.js

See: https://jestjs.io/docs/en/configuration

Better follow the convention than to define yet another config file name

* test: the `globals` configuration is redundant

* chore: prefer babel.config.js over .babelrc

See https://babeljs.io/docs/en/config-files

* chore: the jsxInjection alias is extraneous

* chore: add .js extension to eslint config

It is the preferred configuration file format.
https://eslint.org/docs/user-guide/configuring#configuration-file-formats

Also deleted the jasmine env as it's not used in this project.

* chore: downgrade to eslint v6 for compatibility with other dependencies

* chore: use eslint-config-airbnb-base instead of the full airbnb config

* chore: remove babel-eslint

Syntax used in this repo can already be parsed with the default ESLint
parser

* chore: add missing peer dependency for `@vue/test-utils`

* chore: enable useWorkspaces in lerna
2020-05-28 21:20:39 +08:00
Amour1688
5f7c77ad88 bump 1.0.0-alpha.4 2020-05-28 12:47:25 +08:00
Amour1688
83ed0ac6d4 docs: update README 2020-05-27 13:05:24 +08:00
Amour1688
dcadabd28a feat: compatible with Vue 2.x 2020-05-27 12:53:25 +08:00
Amour1688
7e0ee7dc5e bump 1.0.0-alpha.3 2020-05-27 00:43:37 +08:00
Amour1688
082f537b89 docs: update README 2020-05-27 00:12:34 +08:00
Amour1688
5e2eaa6ced fix error when use fragment 2020-05-26 23:49:19 +08:00
Amour1688
7a1a39a4cb refactor: support transformOn 2020-05-26 21:04:56 +08:00