Commit Graph

196 Commits

Author SHA1 Message Date
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
65a1912809 chore: use cnpm in lockfile 2020-06-15 22:50:31 +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
Amour1688
a7aca6c70b doc: update README 2020-06-04 19:45:40 +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
Amour1688
402568dc52 addNamed in path and pass children with withCtx 2020-05-26 00:16:35 +08:00
Amour1688
9a2a5277b4 bump 1.0.0-alpha.2 2020-05-24 22:54:00 +08:00
Amour1688
47c4105c4f refactor: remove @babel/types in dependencies 2020-05-24 22:06:59 +08:00
Amour1688
4b954484bf Rename babel-preset-jsx to babel-plugin-jsx 2020-05-24 11:33:04 +08:00
Amour1688
a118fb1df4 chore: modify .eslintrc 2020-05-24 11:31:04 +08:00
Amour1688
33052a05d1 bump 1.0.0-alpha.0 2020-05-24 10:29:41 +08:00
Amour1688
547d817a73 feat: add withDirectives in .jest 2020-05-24 10:29:20 +08:00
Amour1688
ae18223861 docs: Update README 2020-05-23 16:58:37 +08:00
Amour1688
4667679054 support v-show 2020-05-23 16:38:53 +08:00
Amour1688
f413253ff8 support v-model 2020-05-23 16:31:05 +08:00
Amour1688
2a8a3ed50e docs: changelog 2020-05-19 21:44:08 +08:00
Amour1688
e3e3e56707 docs: update README 2020-05-18 00:20:10 +08:00
Amour1688
80b9cb1570 refactor: directives 2020-05-18 00:09:50 +08:00
252675163
49a6b88edc feat: add directive feature 2020-05-17 22:48:13 +08:00
252675163
951e973e93 chore: remove deprecated test file 2020-05-17 22:48:13 +08:00
Amour1688
063af0e975 filter JSXEmptyExpression 2020-05-17 21:49:08 +08:00
Amour1688
68da671c5a support Fragment 2020-05-17 16:36:38 +08:00
Amour1688
9608e0afca jest support async 2020-05-17 00:03:17 +08:00
Amour1688
c1a26926c9 merge onXXX 2020-05-16 23:57:10 +08:00
Amour1688
42e3292779 support mergeProps 2020-05-16 21:24:51 +08:00
zdw
8f18b5630a feat: add directive test case
add spread test case
2020-05-14 22:13:44 +08:00
Amour1688
751eabaae9 with @vue/test-utils 2020-05-14 13:24:22 +08:00
Amour1688
b5a91efd93 jsx 2020-05-13 19:14:28 +08:00
tangjinzhou
1dd2f81deb
Initial commit 2020-05-08 16:58:50 +08:00