Commit Graph

6 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng
dbba3205e4
refactor: upgrade project setup (#646) 2023-06-22 12:14:02 +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
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
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