Commit Graph

12 Commits

Author SHA1 Message Date
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