Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev #8462

Closed
wants to merge 264 commits into from
Closed

dev #8462

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
a2cd14c
build: release 2.5.4
yyx990803 Nov 16, 2017
1e14603
feat: warn if both v-model and v-bind:value used on same element (#7056)
Nov 16, 2017
f5cd29e
fix: init _staticTrees to avoid runtime reference warning
yyx990803 Nov 17, 2017
6d6b373
fix: should warn unknown components inside <keep-alive>
yyx990803 Nov 17, 2017
4d8226f
fix: keep-alive should not cache anonymous components
yyx990803 Nov 17, 2017
9ae75e5
build: build 2.5.5
yyx990803 Nov 17, 2017
06f121b
build: release 2.5.5
yyx990803 Nov 17, 2017
59dea37
fix: fix v-model :value warning on custom component
yyx990803 Nov 18, 2017
7f31ec9
build: build 2.5.6
yyx990803 Nov 18, 2017
b278120
build: release 2.5.6
yyx990803 Nov 18, 2017
a23b913
fix: fix <keep-alive> include/exclude logic for anonymous components
yyx990803 Nov 20, 2017
063acb7
fix(ssr): fix bundle renderer require path on windows (#7085)
mniya Nov 20, 2017
4c22d1d
fix: allow traversing reactive objects which are sealed (#7080)
neelance Nov 20, 2017
c264335
feat: feat: add warning for ambiguous combined usage of slot-scope an…
yyx990803 Nov 20, 2017
d891cd1
fix: improve error detector v-for identifier check
yyx990803 Nov 20, 2017
c0d03ab
build: build 2.5.7
yyx990803 Nov 20, 2017
f9f7423
build: release 2.5.7
yyx990803 Nov 20, 2017
ebcef58
fix: fix v-for alias deconstruct regression
yyx990803 Nov 21, 2017
0fdeae7
build: build 2.5.8
yyx990803 Nov 21, 2017
b0bbcbd
build: release 2.5.8
yyx990803 Nov 21, 2017
3554eb2
fix(types): add Promise signature for bundleRenderer.renderToString (…
sleewoo Nov 21, 2017
fcc1229
fix(types): improve and test bundleRenderer.renderToString Promise types
yyx990803 Nov 21, 2017
f93c158
chore: fix BACKERS.md opencollective links
yyx990803 Nov 21, 2017
3932a45
fix(keep-alive): should not destroy active instance when pruning cache
yyx990803 Nov 22, 2017
604e081
fix: ensure functionalContext is cloned during slot clones
yyx990803 Nov 22, 2017
dd21eac
fix: fix async component resolving in sibling mounted hook
yyx990803 Nov 22, 2017
70fb68b
chore: fix comment typo
yyx990803 Nov 22, 2017
df37292
chore: fix comment typo (#7113)
bertday Nov 23, 2017
14e9908
fix(types): add missing ssr renderToString signature
yyx990803 Nov 24, 2017
aa82625
fix: fix v-for iterator parsing destructuring + parens without index
yyx990803 Nov 24, 2017
8b43c81
ci: bump transition unit test duration
yyx990803 Nov 24, 2017
a71e653
fix(types): bump ts version and fix typing bugs (#7135)
HerringtonDarkholme Nov 27, 2017
d2e1d49
fix(types): use object and string instead of Object and String (#7126)
Zzzen Nov 27, 2017
0f7c443
fix: block unnecessary input event on textarea placeholder in IE
yyx990803 Nov 27, 2017
1c1621d
chore: fix flow
yyx990803 Nov 27, 2017
c865836
build: tweak release script to generate note before tagging
yyx990803 Nov 27, 2017
55a719c
build: build 2.5.9
yyx990803 Nov 27, 2017
d4e0c3e
build: release 2.5.9
yyx990803 Nov 27, 2017
f5ce6b5
fix(v-for): support array and nested destructuring in v-for
yyx990803 Nov 27, 2017
7e46683
refactor: simplify internal component creation
yyx990803 Nov 28, 2017
60da366
fix: should not update in-focus input value with lazy modifier
yyx990803 Nov 30, 2017
a6bf97d
chore: tweak logo alt in README.md (#7156)
lzxb Nov 30, 2017
7166c4e
chore: update sponsors
yyx990803 Dec 1, 2017
0da8bce
fix(weex): send createFinish signal after root component mounted (#7154)
Hanks10100 Dec 4, 2017
5875c7c
fix: revert shared static tree cache to avoid memory leak
yyx990803 Dec 5, 2017
904d9c9
test: fix weex test case
yyx990803 Dec 5, 2017
6eccd8e
chore: update backers
yyx990803 Dec 6, 2017
bd4819e
fix: data() should be called with vm as first argument in mixins
Dec 6, 2017
644274c
fix: more consistent component naming warnings across the API
yyx990803 Dec 12, 2017
023f171
fix(core): warn duplicate keys in all cases (#7200)
gebilaoxiong Dec 12, 2017
73a89bf
fix(ssr): fix double escaping of ssrNode attribute values (#7224)
felixbuenemann Dec 12, 2017
86e4d75
test: add test case for #7223
yyx990803 Dec 12, 2017
8936b8d
fix(ssr): properly handle errors in async component
yyx990803 Dec 12, 2017
711aaf7
build: build 2.5.10
yyx990803 Dec 12, 2017
a5924a5
build: release 2.5.10
yyx990803 Dec 12, 2017
4e00688
build: update dev dependencies
yyx990803 Dec 12, 2017
531371b
types: upgrade flow
yyx990803 Dec 13, 2017
14f7015
test: fix ssr test due to webpack asset emit order change
yyx990803 Dec 13, 2017
d02bb37
feat: warn misspelled keys on prop validation object (#7198)
Alex-Sokolov Dec 14, 2017
90ed482
refactor: move prop rule validation to util/options.js
yyx990803 Dec 14, 2017
3f0c628
fix: avoid unnecessary lowercase coersion in component name validation
yyx990803 Dec 14, 2017
36efc76
build: build 2.5.11
yyx990803 Dec 14, 2017
9c01684
build: release 2.5.11
yyx990803 Dec 14, 2017
d3c30a2
chore: update sponsor logo
yyx990803 Dec 14, 2017
3b7c05d
chore: update sponsor logo
yyx990803 Dec 15, 2017
8be29e2
refactor: return is better when inject has no value (#7258)
toBeTheLight Dec 16, 2017
f493715
chore: update sponsors/backers
yyx990803 Dec 18, 2017
996eb00
feat: auto cache inline prop literals to avoid child re-render
yyx990803 Dec 18, 2017
2488031
refactor(compiler): move postTransforms to after children are processed
yyx990803 Sep 6, 2017
5254ee3
feat(weex): recycle-list support WIP
yyx990803 Sep 6, 2017
08660e8
refactor: fix types
yyx990803 Sep 6, 2017
c104cc5
feat(weex): split text into separate module
yyx990803 Sep 6, 2017
8b893c1
feat($compiler): supports compiling v-bind to the weex native directi…
Hanks10100 Sep 16, 2017
7ad368e
feat(compile): supports compiling v-if to the weex native directive
Hanks10100 Sep 16, 2017
9bd1483
feat($compiler): supports compiling v-for to the weex native directive
Hanks10100 Sep 16, 2017
2d09ee3
feat($compiler): compile weex native directives in preTransformNode
Hanks10100 Sep 16, 2017
2a1ce0d
feat($compiler): supports compiling v-else-if and v-else to the weex …
Hanks10100 Sep 16, 2017
acdc3c4
feat($event): support binding parameters on event handler within weex…
Hanks10100 Sep 19, 2017
b3cb9d9
refactor: mark weex-specific block
yyx990803 Oct 9, 2017
ac99957
feat(wip): recycle list template inline expand
yyx990803 Oct 10, 2017
2cb8ea3
feat(weex): support compiling `v-on` in the weex native directive (#6…
Hanks10100 Oct 31, 2017
305ef28
chore: update package-lock.json
yyx990803 Oct 31, 2017
0c11aa8
feat(weex): generate "@render" function for weex recycle-list (#6987)
Hanks10100 Nov 13, 2017
0bf0cbe
revert(weex): remove the "receiveTasks" api and support component hoo…
Hanks10100 Nov 14, 2017
46c8016
test(weex): add more test cases for recycle-list (#7104)
Hanks10100 Nov 23, 2017
8134095
refactor(weex): declare __WEEX__ in flow typings
yyx990803 Nov 23, 2017
bb8e8f4
test(weex): avoid @binding key warnings
yyx990803 Nov 23, 2017
e5da1da
test(weex): avoid v-else warning for recycle-list tests
yyx990803 Nov 23, 2017
3b32652
feat(weex): update weex utils (#7115)
Hanks10100 Nov 23, 2017
0ee81b2
fix(weex): update recycle-list v-for transform
yyx990803 Nov 27, 2017
c1743a9
test(weex): use done.fail for reporting errors
yyx990803 Nov 28, 2017
801f793
feat(weex): WIP invoke recycle-list child component with backing inst…
yyx990803 Nov 28, 2017
5c2ce00
feat(weex): WIP fix flow + handle errors in recycle-list template render
yyx990803 Nov 29, 2017
b06d09f
types: adjust weex flow types
yyx990803 Nov 29, 2017
88f3889
feat(weex): WIP mark recycle list child component root
yyx990803 Nov 29, 2017
62e47c9
feat(weex): WIP adjust component transform stage
yyx990803 Nov 29, 2017
452a65c
feat(weex): pass stateless component test case
yyx990803 Nov 29, 2017
70b97ac
feat(weex): recycle-list support stateful child component
yyx990803 Nov 29, 2017
b8d33ec
feat(weex): WIP implement virtual component (#7165)
Hanks10100 Dec 4, 2017
d544d05
fix(weex): append as tree by default for recycle-list and cell-slot (…
Hanks10100 Dec 11, 2017
661bfe5
feat(weex): partially support lifecycles of virtual component (#7242)
Hanks10100 Dec 18, 2017
1dd6b6f
refactor: adjust weex branch coverage and build for merging into dev
yyx990803 Dec 19, 2017
2e0f6d5
refactor: reuse v-for parsing logic
yyx990803 Dec 19, 2017
01c0750
revert: revert prop object validation
yyx990803 Dec 19, 2017
c0d516c
feat(types): extract VueConfiguration type for easy expansion (#7273)…
Kingwl Dec 19, 2017
bacb911
fix(warning): allow symbol as vdom key (#7271)
HerringtonDarkholme Dec 19, 2017
bc71940
build: build 2.5.12
yyx990803 Dec 19, 2017
ec2c48c
build: release 2.5.12
yyx990803 Dec 19, 2017
aac7634
Revert "feat: auto cache inline prop literals to avoid child re-render"
yyx990803 Dec 19, 2017
cc319bd
build: build 2.5.13
yyx990803 Dec 19, 2017
d982e34
build: release 2.5.13
yyx990803 Dec 19, 2017
472a289
feat(weex): adjust framework entry APIs and add flow annotations (#7272)
Hanks10100 Dec 19, 2017
7cc0b55
feat(weex): update new syntax for <recycle-list>
yyx990803 Dec 19, 2017
e055df8
fix(weex): default value for editor, fix #7165 (#7286)
QingWei-Li Dec 20, 2017
49aae6b
fix(types): make VNodeChildrenArrayContents type more accurate (#7287)
ktsn Dec 20, 2017
8335217
fix(core): handle edge cases for functional component returning arrays
yyx990803 Dec 20, 2017
956756b
refactor: use more efficient on-demand clone to handle reused node ed…
yyx990803 Dec 21, 2017
d8b0838
fix: clean up custom events when patched component no longer have events
yyx990803 Dec 21, 2017
41838c8
feat: support v-model dynamic type binding for v-bind="object"
yyx990803 Dec 21, 2017
2494772
chore: add one-time donation link
yyx990803 Dec 21, 2017
144a4dd
build: rename build/ to scripts/
yyx990803 Dec 22, 2017
c05bbdf
chore: fixes gold / platinum sponsors on open collective (#7311)
xdamman Dec 22, 2017
60fb814
chore: fix OpenCollective links
yyx990803 Dec 22, 2017
44420b7
chore: correct the eslint script statement in package.json and correc…
HcySunYang Dec 24, 2017
dccd182
fix: allow codebase to be inlined directly in HTML (#7314)
mengjian-github Dec 25, 2017
f8cb3a2
chore: fix lint
yyx990803 Dec 25, 2017
ff8fcd2
feat(weex): support parse object literal in binding attrs and styles …
Hanks10100 Dec 27, 2017
f319bef
chore: update weex flow type annotations (#7322)
Hanks10100 Dec 27, 2017
6be9fdb
chore: avoid production tip during tests
yyx990803 Dec 31, 2017
400aa65
chore: fix setup script (#7364)
jkzing Jan 2, 2018
5b4e667
chore: update sponsors
yyx990803 Jan 3, 2018
6ee6849
fix(types): contravariant generic default in ComponentOption (#7369)
HerringtonDarkholme Jan 3, 2018
0529961
fix(vdom): svg inside foreignObject should be rendered with correct n…
javoski Jan 5, 2018
5191f13
fix(transition): should not add transition class when cancelled (#7391)
Jan 5, 2018
a6a9d6d
workflow: improve git hooks setup
yyx990803 Jan 6, 2018
782b66c
workflow: remove setup script
yyx990803 Jan 6, 2018
f0e9dc4
chore: update sponsors
yyx990803 Jan 12, 2018
04da767
chore: fix sponsor link
yyx990803 Jan 12, 2018
eaf6b54
chore: fix another link
yyx990803 Jan 12, 2018
f2b476d
refactor: avoid leading semi
yyx990803 Jan 12, 2018
4746256
refactor: use util.isNative to check native Proxy (#7549)
william-pan Jan 28, 2018
ced00b1
fix: fix config.productionTip
yyx990803 Jan 31, 2018
acb3bde
chore: update sponsors
yyx990803 Feb 2, 2018
8053eb1
chore: update sponsors
yyx990803 Feb 2, 2018
2d168f1
test(types): update TS version and fix types test (#7597)
g-plane Feb 3, 2018
39d58e5
chore: edit documentation for grammar and consistency (#7600)
commonstarling Feb 6, 2018
4e6d637
chore: update sponsors
yyx990803 Feb 9, 2018
e396eb3
fix(ref): allow ref key to be zero (#7676)
t0mburton Feb 21, 2018
1fa4a5e
chore: update sponsor image
yyx990803 Feb 21, 2018
cd33407
fix: address potential regex backtrack
yyx990803 Feb 21, 2018
a270111
chore: update sponsors
yyx990803 Mar 2, 2018
990374b
feat(weex): support sending style sheets and class list to native (#…
Hanks10100 Mar 5, 2018
d6200d7
feat(weex): update weex recycle-list compiler (#7610)
Hanks10100 Mar 5, 2018
c57ffb7
chore: fix README.md vulnerable target="_blank" links (#7689)
Mar 7, 2018
50b711a
fix: do not special case attributes for custom elements
yyx990803 Mar 7, 2018
1c8e2e8
fix: support KeyboardEvent.key in built-in keyboard event modifiers (…
jkzing Mar 7, 2018
f7311c9
refactor: move keyName alias map to compiler
yyx990803 Mar 7, 2018
7392dfc
fix(observer): do not invoke getters on initial observation (#7302)
DeyLak Mar 7, 2018
aeebf0d
test: add test for observer lazy getter invocation
yyx990803 Mar 7, 2018
3eb37ac
fix: fix ssr env detection in weex (#7375)
Hanks10100 Mar 7, 2018
f7ca21e
fix: always install composition event listeners
yyx990803 Mar 7, 2018
1c0b4af
fix: skip v-model & value binding collision check with dynamic type b…
Justineo Mar 7, 2018
3d431a5
chore: update deps
yyx990803 Mar 7, 2018
9b22d86
fix: install ssr helpers for functional context during SSR
yyx990803 Mar 8, 2018
80e650c
chore: fix formatting
yyx990803 Mar 8, 2018
dc2171a
refactor: Use native bind function instead of own (#7491)
dima-takoy-zz Mar 8, 2018
e9ea565
polish: raise warning when Vue.set/delete is called on invalid values…
ismailarilik Mar 8, 2018
e98d12d
workflow: add "polish" to commit types
yyx990803 Mar 8, 2018
733c1be
fix(inject): use hasOwn instead of 'in' for provideKey check (#7460)
privatenumber Mar 8, 2018
013d980
fix(show): prevent transitions from starting on change truthy values …
posva Mar 8, 2018
dc97a39
fix(codegen): support filters with () in older browsers (#7545)
posva Mar 8, 2018
db1b18c
fix(types): add missing `listeners` type on RenderContext (#7584)
ktsn Mar 8, 2018
ec9152f
ci: use latest version of codecov binary (#7665)
posva Mar 8, 2018
b2092db
fix(types): make render option in functional components to optional (…
ktsn Mar 8, 2018
acd92cf
chore: unify the terms 'microtask' and '(macro) task' (#7641)
yaodingyd Mar 8, 2018
2b0fc38
docs: update Angular's commit convention link (#7666)
sis0k0 Mar 8, 2018
6b8516b
fix(types): fix wrong errorCaptured type (#7712)
ktsn Mar 8, 2018
9e04f6a
test: add unit tests for core/observer/dep (#7738)
schipiga Mar 8, 2018
f83987b
chore: update downloads badge to point to graph of downloads (#7733)
cheapsteak Mar 8, 2018
8053f60
chore: merge imports (#7762)
HcySunYang Mar 8, 2018
6931a47
refactor: use more accurate variable name (#7755)
Gcaufy Mar 8, 2018
68b51f2
chore: fix comment grammar mistake (#7739)
LarsStegman Mar 8, 2018
144bf5a
fix(types): prefer normal component over functional one (#7687)
HerringtonDarkholme Mar 8, 2018
550c3c0
fix(model): fix array index binding for v-model checkbox (#7671)
posva Mar 8, 2018
db58493
fix(v-model): handle trailing whitespaces in expression (#7737)
posva Mar 8, 2018
6bc75ca
fix(v-on): return handler value when using modifiers (#7704)
STUkh Mar 8, 2018
d7d9b00
chore: fix typo (#7781)
g-plane Mar 9, 2018
318f29f
fix(core): disable dependency collection in lifecycle hooks and data …
javoski Mar 9, 2018
a2cd412
refactor: observerState
yyx990803 Mar 9, 2018
81e1e47
fix: respect type order when boolean casting multi-typed props
yyx990803 Mar 9, 2018
83ea0da
chore: coverage
yyx990803 Mar 9, 2018
2c52c42
workflow: specify e2e env when releasing
yyx990803 Mar 9, 2018
a08feed
build: build 2.5.14
yyx990803 Mar 9, 2018
387d256
build: release 2.5.14
yyx990803 Mar 9, 2018
84a9a9d
fix: do not traverse VNodes when regsitering dependencies
yyx990803 Mar 10, 2018
bafc73f
build: build 2.5.15
yyx990803 Mar 10, 2018
af5453c
build: release 2.5.15
yyx990803 Mar 10, 2018
71b4b25
fix: allow multiline expression in v-for
yyx990803 Mar 11, 2018
666cdbd
test(vdom): add test case for #7786 (#7793)
jkzing Mar 11, 2018
882e719
fix(ssr): fix SSR for async functional components
yyx990803 Mar 11, 2018
35dc8c2
types: add Fragment in RenderState typing (#7802)
jkzing Mar 12, 2018
7020009
chore: fix typo
yyx990803 Mar 12, 2018
cf0b1b7
ci: use yarn.lock instead of package-lock.json
yyx990803 Mar 12, 2018
984927a
fix: fix regression on duplicate component init when using shared dat…
yyx990803 Mar 12, 2018
4378fc5
fix: fix keyName checking for arrow keys in IE11
yyx990803 Mar 12, 2018
215f877
fix(keep-alive): run prune after render for correct active component …
yyx990803 Mar 12, 2018
6dd73e9
fix: named slots for nested functional components
yyx990803 Mar 12, 2018
a6169d1
fix(model): fix static input type being overwritten by v-bind object …
privatenumber Mar 13, 2018
1a979c4
fix(ssr): fix v-show inline style rendering when style binding is arr…
jinzhubaofu Mar 13, 2018
9084747
fix(core): Make set/delete warning condition for undefined, null and …
pkaminski Mar 13, 2018
62a922e
fix: fix wrongly matched named slots in functional components
yyx990803 Mar 13, 2018
9089170
build: build 2.5.16
yyx990803 Mar 13, 2018
2534219
build: release 2.5.16
yyx990803 Mar 13, 2018
17d7a5f
chore: update sponsors
yyx990803 Mar 20, 2018
7b38739
fix: correct the `has` implementation in the `_renderProxy` (#7878)
dcherman Mar 22, 2018
43551b4
refactor: remove unnecessary checks (#7875)
HcySunYang Mar 22, 2018
49385e1
types: add UMD global declaration to index.d.ts (#7868)
RyanCavanaugh Mar 22, 2018
903be9b
Revert "refactor: remove unnecessary checks (#7875)"
yyx990803 Mar 22, 2018
943e5c2
workflow: clean shell scripts (#7826)
zapashcanon Mar 22, 2018
a7d190d
chore: update sponsors
yyx990803 Mar 23, 2018
de42278
fix: ensure init/prepatch hooks are still repsected
yyx990803 Mar 23, 2018
b7445a2
fix: beforeUpdate should be called before render and allow state muta…
yyx990803 Mar 23, 2018
f43ce3a
fix: invoke component node create hooks before insertion (#7823)
yyx990803 Mar 23, 2018
653aac2
perf: avoid unnecessary re-renders when computed property value did n…
yyx990803 Mar 23, 2018
7a145d8
fix(observer): invoke getters on initial observation if setter define…
pkaminski Mar 23, 2018
1bd6196
fix(codegen): support IE11 and Edge use of "Esc" key (#7887)
matheusazzi Mar 23, 2018
8227fb3
fix: add missing `asyncMeta` during VNode cloning (#7861)
luisatmaniak Mar 23, 2018
faaf142
refactor: reduce component mergeHook arg count
yyx990803 Mar 23, 2018
f148077
chore: format
yyx990803 Mar 23, 2018
950daca
types: make flow happy
yyx990803 Mar 23, 2018
dbf1510
build: build 2.5.17-beta.0
yyx990803 Mar 23, 2018
19552a8
build: release 2.5.17-beta.0
yyx990803 Mar 23, 2018
ee1a368
chore: update sponsor
yyx990803 Apr 2, 2018
805a4fd
chore: new sponsor
yyx990803 Apr 3, 2018
ae6dcd6
fix(ssr): remove trailing hash in webpack module identifier when
yyx990803 Apr 5, 2018
575b6e7
fix(ssr): render initial and used async css chunks (#7902)
clarkdo Apr 7, 2018
ef0b250
feat(server, webpack-plugin): webpack 4 support (#7839)
pi0 Apr 7, 2018
6226503
feat(weex): support object syntax of class (#7930)
imyzf Apr 7, 2018
38d5459
chore: use reactive components count in benchmark (#7996)
jonkofee Apr 10, 2018
8cc7eae
chore: update sponsors
yyx990803 Apr 12, 2018
97f113e
chore: update sponsors
yyx990803 Apr 24, 2018
1ff51be
chore: new sponsor
yyx990803 Apr 25, 2018
1abb944
chore(typo): no dots at the end of the comments (#8087)
gavrashenko Apr 26, 2018
654e5f1
chore: new sponsor
yyx990803 Apr 30, 2018
5e3823a
chore(package.json): Add sideEffects: false field in package.json (#8…
TheLarkInn May 2, 2018
bb95343
chore: update sponsors
yyx990803 Jun 11, 2018
52719cc
chore: sponsor cleanup
yyx990803 Jun 11, 2018
b10ea06
chore: update sponsors
yyx990803 Jul 1, 2018
1f68e1e
chore: update sponsors
yyx990803 Jul 3, 2018
0e53066
chore: sponsors
yyx990803 Jul 5, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
- v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-vue-{{ .Branch }}-
- v1-vue-
- run: npm install
- save_cache:
key: v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
key: v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- persist_to_workspace:
Expand All @@ -44,7 +44,7 @@ jobs:
name: report coverage stats for non-PRs
command: |
if [[ -z $CI_PULL_REQUEST ]]; then
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
./node_modules/.bin/codecov
fi

test-e2e:
Expand Down
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"plugin:flowtype/recommended"
],
"globals": {
"__WEEX__": true
"__WEEX__": true,
"WXEnvironment": true
}
}
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ignore]
.*/node_modules/.*
.*/test/.*
.*/build/.*
.*/scripts/.*
.*/examples/.*
.*/benchmarks/.*

Expand Down
10 changes: 9 additions & 1 deletion .github/COMMIT_CONVENTION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
## Git Commit Message Convention

> This is adapted from [Angular's commit convention](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular/convention.md).
> This is adapted from [Angular's commit convention](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular).

#### TL;DR:

Messages must be matched by the following regex:

``` js
/^(revert: )?(feat|fix|polish|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?: .{1,50}/
```

#### Examples

Expand Down
20 changes: 7 additions & 13 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,12 @@ You will need [Node.js](http://nodejs.org) **version 6+** and [Java Runtime Envi
After cloning the repo, run:

``` bash
$ npm install
& npm run setup
$ npm install # or yarn
```

The `setup` script links two git hooks:

- `pre-commit`: runs ESLint on staged files.
- `commit-msg`: validates commit message format (see below).

### Committing Changes

Commit messages should follow the [commit message convention](./COMMIT_CONVENTION.md) so that changelogs can be automatically generated. If git hooks have been properly linked, commit messages will be automatically validated upon commit. It is recommended to use `npm run commit` instead of `git commit`, which provides an interactive CLI for generating proper commit messages.
Commit messages should follow the [commit message convention](./COMMIT_CONVENTION.md) so that changelogs can be automatically generated. Commit messages will be automatically validated upon commit. If you are not familiar with the commit message convention, you can use `npm run commit` instead of `git commit`, which provides an interactive CLI for generating proper commit messages.

### Commonly used NPM scripts

Expand All @@ -75,11 +69,11 @@ The default test script will do the following: lint with ESLint -> type check wi

## Project Structure

- **`build`**: contains build-related configuration files. In most cases you don't need to touch them. However, it would be helpful to familiarize yourself with the following files:
- **`scripts`**: contains build-related scripts and configuration files. In most cases you don't need to touch them. However, it would be helpful to familiarize yourself with the following files:

- `build/alias.js`: module import aliases used across all source code and tests.
- `scripts/alias.js`: module import aliases used across all source code and tests.

- `build/config.js`: contains the build configurations for all files found in `dist/`. Check this file if you want to find out the entry source file for a dist file.
- `scripts/config.js`: contains the build configurations for all files found in `dist/`. Check this file if you want to find out the entry source file for a dist file.

- **`dist`**: contains built files for distribution. Note this directory is only updated when a release happens; they do not reflect the latest changes in development branches.

Expand Down Expand Up @@ -137,10 +131,10 @@ As a pure community-driven project without major corporate backing, we also welc

### What's the difference between Patreon and OpenCollective?

Funds donated via Patreon goes directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses by core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform.
Funds donated via Patreon go directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses for core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform.

## Credits

Thank you to all the people who have already contributed to vuejs!
Thank you to all the people who have already contributed to Vue.js!

<a href="https://github.com/vuejs/vue/graphs/contributors"><img src="https://opencollective.com/vuejs/contributors.svg?width=890" /></a>