Skip to content
Closed

Rhe dev #9368

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
749 commits
Select commit Hold shift + click to select a range
a4964c6
test(e2e): trigger click on .new-todo instead of footer (#7938)
TimSpeelman Aug 20, 2018
b16281c
chore: update sponsors
yyx990803 Aug 27, 2018
b2b6e63
fix: replace hardcoded .parentNode with abstract ops, fix #8713 (#8714)
Justineo Sep 9, 2018
6278669
fix(types): relax the return type of props default option (#8537)
ktsn Sep 18, 2018
08b4fc9
chore: update sponsor
yyx990803 Sep 18, 2018
f1fd87b
chore: lockfile maintenance
yyx990803 Sep 18, 2018
e106eee
Revert "perf: avoid unnecessary re-renders when computed property val…
yyx990803 Sep 18, 2018
f800cd1
chore: fix OpenCollective silver tier
yyx990803 Sep 19, 2018
0dfa434
docs(readme): grammar fix, extra 'the' (#8887)
spencer1573 Oct 2, 2018
51dbfe8
chore: new sponsor
yyx990803 Sep 26, 2018
2a5fb5c
chore: update backers
yyx990803 Oct 4, 2018
3cf88b4
chore: new sponsor
yyx990803 Oct 4, 2018
2ed6ccf
chore(readme): correct badge link (#8729)
Shyam-Chen Oct 22, 2018
c133a3d
chore: update suacelabs link
yyx990803 Oct 22, 2018
453ff02
chore: add placeholder to firebase example (#7979)
cobafan Oct 22, 2018
ebb86dc
refactor: set should return early if original def has getter but no s…
HcySunYang Oct 22, 2018
9100949
chore: remove useless code (#8002)
levi1994 Oct 22, 2018
1347fc8
fix(types): make VNodeDirective properties optional, fix #8013 (#8003)
KaelWD Oct 22, 2018
1ce893c
ci: use customized ci image
yyx990803 Oct 22, 2018
8a6477f
chore: tweak description (#8509)
msrahman07 Oct 23, 2018
bcb55fe
chore: update reference to already defined variable (#8518)
sqal Oct 23, 2018
b2b3ece
refactor(shared-utils): Improve readability and consistency in code c…
sagirk Oct 23, 2018
802a8e0
refactor(transition): replace nested closure with static ones (#8547)
fnlctrl Oct 23, 2018
ac8e885
refactor: add missing else in genNode (#8600)
clarkdo Oct 23, 2018
35b7638
refactor: empty function replace to noop (#8791)
jessejyang Oct 23, 2018
562da7c
refactor(class-util): cache whitespace regex (#8743)
fnlctrl Oct 23, 2018
9887e78
chore: add extension to .eslintrc (#8904)
ManoelLobo Oct 23, 2018
bb17c23
workflow: upgraded to babel 7 (#8948)
vikr01 Oct 23, 2018
ff04b77
build: upgrade rollup
yyx990803 Oct 23, 2018
db2561a
build: upgrade webpack & karma
yyx990803 Oct 24, 2018
4157bc5
build: upgrade typescript
yyx990803 Oct 24, 2018
c5be267
build: use terser instead of uglify
yyx990803 Oct 24, 2018
d2b4bdb
build: upgrade eslint and use only non-stylistic rules
yyx990803 Oct 24, 2018
a82c1bb
fix(sfc): avoid deindent when pad option is specified (#7647)
ktsn Oct 24, 2018
172c5fb
test: fix ssr tests
yyx990803 Oct 24, 2018
63c208d
fix(shared): check dates in looseEqual (#7940)
posva Oct 24, 2018
d826997
refactor: add empty v-bind warning(re #7973) (#7988)
lyhper Oct 24, 2018
04ec833
fix(for): use IE compatible regex in v-for regex (#8048)
posva Oct 24, 2018
d9e61cd
chore: use template strings in config.js (#8113)
xudaashuai Oct 24, 2018
6be4a4f
fix(compiler): maybeComponent should return true when "is" attribute …
javoski Oct 24, 2018
4a444ff
test: fix assertion
yyx990803 Oct 24, 2018
d44d235
Fix: block unnecessary input event on input tag placeholder in IE (#8…
donggyu04 Oct 24, 2018
24355de
fix(compiler): templates inside v-pre should be rendered to HTML (#8146)
kball Oct 24, 2018
799071c
fix(server): use path.posix.join to generate public path (#8177)
HerringtonDarkholme Oct 24, 2018
d1d8a7f
types: allow functional components to return multiple VNodes (#8192)
zevdg Oct 24, 2018
19f8e98
types: add model option to functional components (#8212)
posva Oct 24, 2018
45c916e
polish: warn when an existing property starting with $ is not pro… (#…
posva Oct 24, 2018
823a97f
types: add refInFor to VNodeData (#8229)
KaelWD Oct 24, 2018
ea7a62b
polish(compiler): remove the extra space of v-for alias (#8233)
yongningfu Oct 24, 2018
f75fdd5
fix: handle undefined style properties in jsdom (fix #7444) (#8281)
industral Oct 24, 2018
c49f55a
refactor(core): Replace "var" (#8299)
slichlyter12 Oct 24, 2018
a2d4893
refactor: keep single source of truth (#8334)
liximomo Oct 24, 2018
f3c37dd
refactor: remove unnecessary code in html-parser.js (#8359)
ChrisMiaoMiao Oct 24, 2018
409ec1e
fix(transition): transition-group should only listen for first-level …
verstoff Oct 24, 2018
e2abd1b
fix(v-pre): skip compiling custom component tags in v-pre blocks (fix…
haoqunjiang Oct 24, 2018
5665758
fix(lifecycle): updated should not be called after component being de…
haoqunjiang Oct 24, 2018
7bffd68
fix(parser): allow CRLFs in string interpolations (#8408)
haoqunjiang Oct 24, 2018
1ced45b
fix(transition): check existence of `el.parentNode` (#8422)
haoqunjiang Oct 24, 2018
25af9ac
refactor(codegen): only generate pre data for possible components
yyx990803 Oct 24, 2018
b3cfa27
fix: support modifier combination of click.right + .once (#8492)
HcySunYang Oct 24, 2018
2ebd88d
refactor: remove unnecessary judgment (#8493)
linjiajian999 Oct 24, 2018
e5b7db2
fix(transition): handle local-formatted floats in toMs function. (#8…
phablulo Oct 24, 2018
bda2894
fix(compiler): normalize potential functional component children in v…
liximomo Oct 24, 2018
93bea44
chore: update sponsors
yyx990803 Nov 9, 2018
ef6a7ad
chore: update sponsors
yyx990803 Nov 13, 2018
457c50e
chore: update sponsors
yyx990803 Nov 19, 2018
c31a663
chore: update sponsors
yyx990803 Nov 26, 2018
8299d16
chore: update badge for Vue CLI 3 (#8640)
william-pan Nov 29, 2018
655d5b3
fix(v-model): avoid duplicate model transforms
yyx990803 Nov 29, 2018
1c30d93
fix(error handling): handle errors on immediate watcher execution (#8…
afontcu Nov 29, 2018
339a676
feat(devtools): store functional render context on vnode in developme…
znck Nov 30, 2018
e9ba169
fix(ssr): check js assets more accurate in ssr webpack plugin (#8639)
clarkdo Nov 30, 2018
abb7969
polish: warn sequential index on <transition-group> (#8748)
HcySunYang Nov 30, 2018
493c44a
fix(component): clean up memory leak after loading async component co…
mattlavallee Nov 30, 2018
cc33276
chore: fix lint
yyx990803 Nov 30, 2018
3e4c349
refactor: remove redundant ternary (#8848)
sultaniman Nov 30, 2018
0c06e2d
fix(core): skip mixins and extends if child is already merged (#8870)
KaelWD Nov 30, 2018
5811a2d
fix: v-bind object should be overridable with kebab-cased props (#8845)
Justineo Nov 30, 2018
270e382
polish: warn duplicate keys when patching children into empty node (#…
DanielSanRocha Nov 30, 2018
52d87eb
fix(compiler): should keep newline after unary tags in <pre> (#8965)
javoski Nov 30, 2018
941b9ac
fix(data): skip recursive call if values are identical (#8967)
KaelWD Nov 30, 2018
bfb9d94
polish: improve invalid method warning with type info (#8974)
Stexxe Nov 30, 2018
9a4d7f2
fix(types): support chain call for Vue.use and Vue.mixin (#8595)
lzxb Dec 1, 2018
ee028e8
fix(types): fix `renderError`arguments type (#8636)
Dec 1, 2018
4747a44
fix(types): accept `number` type as key on Vue.set/delete (#8707) (#8…
nel215 Dec 1, 2018
d101f6c
fix(types): support typing $el as SVGElement (#8809)
Dec 1, 2018
73c6bea
Typings: Improve $slots and $scopedSlots type to prevent unchecked ac…
thenickname Dec 1, 2018
8ced9c2
fix(types): fix vm.$once argument type (#8995)
ant1m4tt3r Dec 1, 2018
8e99630
refactor: reduce if-else nesting, coalesce conditions (#9060)
fluorine Dec 1, 2018
c35f88e
fix: fix server env detection in wechat mini program (#9075)
fjc0k Dec 1, 2018
a31ce39
chore(typo): fix typo (#9085)
saraedum Dec 1, 2018
28220ad
fix(ssr): computed properties should pass vm as first argument in ssr…
sqal Dec 1, 2018
8664b21
fix: make sure global state is restored in the case of an exception i…
mitar Dec 1, 2018
28f69a2
chore: rephrase comment (#9100)
jamesgeorge007 Dec 1, 2018
43470a5
fix: actually disable dep collection when invoking lifecycle hooks (#…
ysj16 Dec 1, 2018
2d04147
chore: fix grammar in core/observer/index.js comments (#9116)
HusamElbashir Dec 1, 2018
10a31d9
fix(compiler): wrap scoped slots v-if conditions in parens (#9119)
subu28 Dec 1, 2018
8c907d4
fix(core): avoid mutating original children when cloning vnode
yyx990803 Dec 1, 2018
649c05f
fix(core): properly handle reused vnodes
yyx990803 Dec 2, 2018
0530a15
fix(v-on): correctly remove once listener (#8036)
gebilaoxiong Dec 2, 2018
73c0486
fix(ssr): adjust call stack size defer threshold
yyx990803 Dec 2, 2018
5259343
ci: add regression test for popular libraries in Vue.js ecosystem (#8…
haoqunjiang Dec 2, 2018
a69ccdc
fix(ssr): resolve server directives the same as on client (#9129)
ggtmtmgg Dec 2, 2018
32e33e0
build: build v2.5.18-beta.0
yyx990803 Dec 2, 2018
9d4d1b0
build: release v2.5.18-beta.0
yyx990803 Dec 2, 2018
427bd42
chore: update sponsors/backers [ci skip]
yyx990803 Dec 3, 2018
84b92c8
fix(types): correct scopedSlot types (#9131)
KaelWD Dec 4, 2018
2390b8f
fix(compiler): fix codegen for v-for component inside template
yyx990803 Dec 4, 2018
2a5194b
chore: fix sponsor link
yyx990803 Dec 4, 2018
0076e21
fix(ssr): fix ssr template publicPath generation
yyx990803 Dec 5, 2018
322584e
fix: fix keyName checking for space and delete in IE11 (#9150)
Justineo Dec 5, 2018
9fc086e
fix(transition-group): fix activeInstance regression
yyx990803 Dec 5, 2018
3ae188b
fix(types): type support for advanced async components (#8438)
kiyui Dec 5, 2018
ac5329c
build: build 2.5.18
yyx990803 Dec 7, 2018
2793b02
build: release 2.5.18
yyx990803 Dec 7, 2018
0846f68
test(ssr): add basic directives test (#9166)
sqal Dec 9, 2018
1fed074
fix(ssr): should not warn for custom directives that do not have ssr …
yyx990803 Dec 9, 2018
011274d
revert: fix(sfc): avoid deindent when pad option is specified (#7647)
yyx990803 Dec 9, 2018
da4ae58
fix(vdom): remove unnecessary sameVnode condition
yyx990803 Dec 9, 2018
25a17f9
build: build 2.5.19
yyx990803 Dec 9, 2018
9c8ca6e
build: release 2.5.19
yyx990803 Dec 9, 2018
0b347b6
fix(types): avoid `this` in VueConstructor signature (#9173)
HerringtonDarkholme Dec 10, 2018
e88ce2c
build: build 2.5.20
yyx990803 Dec 10, 2018
a048ba7
build: release 2.5.20
yyx990803 Dec 10, 2018
cb450a4
fix(types): accept primatives and falsy values in createElement child…
KaelWD Dec 10, 2018
d6f9103
fix(v-model): properly handle multiline v-model expressions (#9184)
andrew-humu Dec 11, 2018
16919f4
chore: fix tag name in compiler/parser/index.js (#9165)
sinshutu Dec 11, 2018
a5725de
fix(weex): support data class type that is string (#9139)
imyzf Dec 11, 2018
05ed17e
fix(lifecycle): beforeUpdated should not be called if component is de…
therealpecus Dec 11, 2018
ef12e06
chore: use keypress in TodoMVC example for IME input methods (#9172)
FumioNonaka Dec 11, 2018
45fe042
test: change model text's priority case (#9170)
dejour Dec 11, 2018
dda297e
fix: fix v-for component with undefined value
yyx990803 Dec 11, 2018
c27264a
perf: skip normalization on single child element v-for
yyx990803 Dec 11, 2018
3777f1d
revert: "chore: use keypress in TodoMVC example for IME input methods…
yyx990803 Dec 11, 2018
d8c0981
test: use mocks for commits e2e test
yyx990803 Dec 11, 2018
3319ea9
fix: fix single v-for child optimization
yyx990803 Dec 11, 2018
ab33c46
build: build 2.5.21
yyx990803 Dec 11, 2018
97d9788
build: release 2.5.21
yyx990803 Dec 11, 2018
f83ba8f
fix(ssr): support rendering comment (#9128)
clarkdo Dec 12, 2018
6de09d7
chore: minor comment cleanup (#9191)
nickhall Dec 12, 2018
a5d3689
refactor: tiny cleanup changes (#9193)
clarkdo Dec 12, 2018
dae6f38
chore: update backers
yyx990803 Jan 3, 2019
59723fd
chore: update sponsors
yyx990803 Jan 4, 2019
39d3242
chore: update sponsors [ci skip] (#9296)
vue-bot Jan 9, 2019
5e32ed3
fix(async component): memory leak after synchronous async loading (#9…
adrienbaron Jan 11, 2019
52e27a7
fix(core): fix merged twice bug when passing extended constructor to …
hikerpig Jan 10, 2019
ce094c3
fix(core): dedupe lifecycle hooks during options merge
yyx990803 Jan 11, 2019
f143b00
chore: remove residual files from dist
yyx990803 Jan 11, 2019
668cf94
build: build 2.5.22
yyx990803 Jan 11, 2019
528cc4b
build: release 2.5.22
yyx990803 Jan 11, 2019
721b97a
build: ship pre-minified versions of CommonJS build and server renderer
yyx990803 Dec 5, 2018
ec7e09c
feat: add browser ESM build
yyx990803 Nov 22, 2017
d7f4e7c
build: add esm browser prod build
yyx990803 Dec 5, 2018
9c23b7c
feat(types): add Prop to main type declaration file (#6856)
ferdaber Dec 5, 2018
a62f88e
feat(types): add types for vue-template-compiler (#7918)
ktsn Dec 5, 2018
2e68b3c
fix: always use microtasks for nextTick (#8450)
haoqunjiang Dec 19, 2018
517efba
fix(next-tick): revert 60da366
yyx990803 Dec 19, 2018
ad45767
feat: use event delegation when possible
yyx990803 Dec 20, 2018
c6c6d79
feat(errors): sync/async error handling for lifecycle hooks and v-on …
enkot Dec 20, 2018
d3335f9
refactor: extract isPromise util
yyx990803 Dec 20, 2018
eaad54b
refactor: extract async error handling logic
yyx990803 Dec 20, 2018
4fb6034
fix: return inline invocation return value in v-on handlers
yyx990803 Dec 20, 2018
bf75b0e
fix: cover more cases in v-on inline return value
yyx990803 Dec 20, 2018
5d812d9
feat(ssr): Add 'nonce' option to context for ssr outlet script (#8047)
Dec 20, 2018
5b3dfe2
feat(ssr): ssrPrefetch option + context.rendered hook (#9017)
Akryum Dec 20, 2018
456b830
feat(ssr): allow opting-out of caching by returning false in serverCa…
yyx990803 Dec 20, 2018
c650c9a
test: test for #8790
yyx990803 Dec 20, 2018
425338e
feat(ssr): add custom state serializer option
yyx990803 Dec 20, 2018
cacbbed
fix(runtime): DevTools recommendation shows for all browsers (#8638)
Dec 20, 2018
0e5cb3c
feat: support v-html for SVG elements (#8652)
Justineo Dec 20, 2018
d2baca1
feat(compiler): support deindent: false in vue-template-compiler (#7215)
imyzf Dec 21, 2018
0422585
refactor: speed up injection resolution
yyx990803 Dec 21, 2018
a08a126
fix(provide/inject): Merges symbol provides (#7926)
privatenumber Dec 21, 2018
c3dde99
feat: support custom toString() in text interpolation and v-html (#8217)
mathieutu Dec 21, 2018
c71f6ae
feat: v-bind.sync also listens for kebab-case update event (#8297)
shortdiv Dec 21, 2018
c7c699e
test: fix test case for #8297
yyx990803 Dec 21, 2018
743bfd9
fix: make transition-group key warning a tip to avoid breaking compil…
yyx990803 Dec 21, 2018
1a6f165
feat(compiler): output source range for compiler errors (#7127)
gzzhanghao Dec 22, 2018
8cbc215
chore: update deps
yyx990803 Dec 22, 2018
85d2e1d
feat(compiler): output codeframe in browser compiler
yyx990803 Dec 22, 2018
1f69066
feat(compiler/watch): allow unicode characters in component names and…
youngrok Dec 26, 2018
0ff4274
feat(compiler): add whitespace option, deprecate preserveWhitespace o…
yyx990803 Dec 26, 2018
942d3f8
feat(v-for): support iterables in v-for (#8179)
mymyoux Dec 26, 2018
c1ceda4
build: use headless chrome by default for unit tests
yyx990803 Dec 26, 2018
af45143
build: fix chrome headless on CI
yyx990803 Dec 26, 2018
3bfa990
test: test case for v-for native collection support
yyx990803 Dec 26, 2018
542d1fb
fix(scoped-slots): ensure $scopedSlots calls always return Arrays
yyx990803 Dec 26, 2018
26c3895
chore: fix types
yyx990803 Dec 26, 2018
81adb66
chore: update backers
yyx990803 Jan 3, 2019
d38b477
chore: update sponsors
yyx990803 Jan 4, 2019
d6e689b
build: bump dev deps
yyx990803 Jan 7, 2019
a2c9076
test: fix LRU upgrade
yyx990803 Jan 7, 2019
66a87c3
refactor(parser): move element self processing to after children
yyx990803 Jan 7, 2019
bb513f7
refactor(codegen): simplify conditions
yyx990803 Jan 7, 2019
0874aed
feat: support scoped-slot usage with $slot
yyx990803 Jan 8, 2019
f8f191a
feat(core): expose all slots on $scopedSlots as functions
yyx990803 Jan 9, 2019
57782c8
feat(functional): add scopedSlots to context in functional components…
posva Jan 9, 2019
ffbd67b
refactor: adjust #7941 for slots unification
yyx990803 Jan 9, 2019
23e61c1
feat: support .property shorthand syntax for v-bind.prop modifier
yyx990803 Jan 9, 2019
7eb5a06
chore: fix flow
yyx990803 Jan 9, 2019
c598621
feat(config): expose config.useEventDelegation and default to false
yyx990803 Jan 10, 2019
18b81c8
refactor: avoid using immutable object for $slot
yyx990803 Jan 10, 2019
94d5f73
build: fix dev:cjs script
yyx990803 Jan 10, 2019
395219d
fix: ensure only nromalize a scoped slot when it is present
yyx990803 Jan 10, 2019
8df9b5d
fix: allow _ in watch paths (element compat)
yyx990803 Jan 10, 2019
92f973c
test: add more test case for watch option
yyx990803 Jan 10, 2019
d5e0f97
test: more test cases for $slot usage detection
yyx990803 Jan 10, 2019
93da457
fix: ensure proxied normal slot uses correct key
yyx990803 Jan 10, 2019
a32352b
build: trigger regression tests from 2.6 feature branch
yyx990803 Jan 10, 2019
5b24c48
refactor: better solution for async edge case.
yyx990803 Jan 10, 2019
d4ba29c
refactor: do not override scoped slots when exposing normal slots
yyx990803 Jan 10, 2019
b80c16a
refactor: should also fire handler if timestamp was same
yyx990803 Jan 10, 2019
7a5cece
feat: add Vue.observable() for explicitly creating observable objects
yyx990803 Jan 10, 2019
ae6fd71
fix(core): fix merged twice bug when passing extended constructor to …
hikerpig Jan 10, 2019
6d80474
feat(compiler): expose generateCodeFrame method
yyx990803 Jan 10, 2019
d3300be
types: update typing for vue-template-compiler
yyx990803 Jan 10, 2019
5ce92dc
types: typing for Vue.observable
yyx990803 Jan 11, 2019
8bc1955
fix(ssr): properly handle invalid and numeric style properties
yyx990803 Jan 11, 2019
7b7b34f
fix(ssr): should not render invalid numeric style values
yyx990803 Jan 11, 2019
542a381
fix(core): dedupe lifecycle hooks during options merge
yyx990803 Jan 11, 2019
458b544
revert: feat: support scoped-slot usage with $slot
yyx990803 Jan 12, 2019
61de0b1
refactor: additional tweaks after revert
yyx990803 Jan 12, 2019
2e095b7
chore: fix flow
yyx990803 Jan 12, 2019
97ab398
feat: support slot-props and its shorthand
yyx990803 Jan 12, 2019
dd3e7de
fix(ssr): should render 0 as valid value for style property with unit
yyx990803 Jan 12, 2019
f230910
feat: new scoped slot syntax implementation update per rfc
yyx990803 Jan 15, 2019
1a11e28
feat: expose performance measures
yyx990803 Jan 15, 2019
633818f
types: type sync for 2.6 features
yyx990803 Jan 15, 2019
e11f236
build: introduce feature flags, hide new slot syntax behind flag
yyx990803 Jan 15, 2019
9881d9c
types: type sync for template-compiler and server-renderer
yyx990803 Jan 15, 2019
ed9d5db
build: build v2.6.0-beta.1
yyx990803 Jan 16, 2019
b030f3e
build: release 2.6.0-beta.1
yyx990803 Jan 16, 2019
09e822c
workflow: fix release script [ci skip]
yyx990803 Jan 16, 2019
26b1457
feat: update new slot syntax per RFC revision
yyx990803 Jan 16, 2019
1d11220
feat(ssr): allow template option to be function in renderToString (#9…
Jan 18, 2019
a2ab3bf
test: tests for ssr template function (#9324)
yyx990803 Jan 18, 2019
c0fc24c
refactor: ssrPrefetch -> serverPrefetch for more consistent naming
yyx990803 Jan 18, 2019
aee192b
chore: fix flow
yyx990803 Jan 18, 2019
1e28174
chore: update sponsors [ci skip] (#9343)
vue-bot Jan 19, 2019
0c9fb90
chore: update README in dist (#9346)
multics Jan 19, 2019
331cec6
feat: adjust v-slot per RFC + enable flag
yyx990803 Jan 23, 2019
723b944
feat: warning for ambiguous v-slot usage
yyx990803 Jan 23, 2019
ac4527b
chore: update sponsor
yyx990803 Jan 23, 2019
5ba5d9a
fix: async edge case fix should apply to more browsers
yyx990803 Jan 23, 2019
fb78ce8
chore: update comment
yyx990803 Jan 23, 2019
ba6c182
refactor: simplify timestamp check
yyx990803 Jan 24, 2019
1f1fb8c
test: fix tests in IE/Edge
yyx990803 Jan 24, 2019
751c901
fix: fix checkbox event edge case in Firefox
yyx990803 Jan 24, 2019
5d7736b
refactor: extend dom-props update skip to more all keys except value
yyx990803 Jan 24, 2019
cf118f4
First PR!!!
Jan 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .babelrc

This file was deleted.

23 changes: 23 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const babelPresetFlowVue = {
plugins: [
require('@babel/plugin-proposal-class-properties'),
// require('@babel/plugin-syntax-flow'), // not needed, included in transform-flow-strip-types
require('@babel/plugin-transform-flow-strip-types')
]
}

module.exports = {
presets: [
require('@babel/preset-env'),
// require('babel-preset-flow-vue')
babelPresetFlowVue
],
plugins: [
require('babel-plugin-transform-vue-jsx'),
require('@babel/plugin-syntax-dynamic-import')
],
ignore: [
'dist/*.js',
'packages/**/*.js'
]
}
131 changes: 131 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
version: 2

defaults: &defaults
working_directory: ~/project/vue
docker:
- image: vuejs/ci

jobs:
install:
<<: *defaults
steps:
- checkout
- restore_cache:
keys:
- v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-vue-{{ .Branch }}-
- v1-vue-
- run: npm install
- save_cache:
key: v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- persist_to_workspace:
root: ~/project
paths:
- vue

lint-flow-types:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run: npm run lint
- run: npm run flow
- run: npm run test:types

test-cover:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run: npm run test:cover
- run:
name: report coverage stats for non-PRs
command: |
if [[ -z $CI_PULL_REQUEST ]]; then
./node_modules/.bin/codecov
fi

test-e2e:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run: npm run test:e2e -- --env phantomjs

test-ssr-weex:
<<: *defaults
steps:
- attach_workspace:
at: ~/project
- run: npm run test:ssr
- run: npm run test:weex

trigger-regression-test:
<<: *defaults
steps:
- run:
command: |
curl --user ${CIRCLE_TOKEN}: \
--data build_parameters[CIRCLE_JOB]=update \
--data build_parameters[VUE_REVISION]=${CIRCLE_SHA1} \
https://circleci.com/api/v1.1/project/github/vuejs/regression-testing/tree/master

workflows:
version: 2
install-and-parallel-test:
jobs:
- install
- test-cover:
requires:
- install
- lint-flow-types:
requires:
- install
- test-e2e:
requires:
- install
- test-ssr-weex:
requires:
- install
- trigger-regression-test:
filters:
branches:
only:
- "2.6"
- regression-test
requires:
- test-cover
- lint-flow-types
- test-e2e
- test-ssr-weex
weekly_regression_test:
triggers:
- schedule:
# At 13:00 UTC (9:00 EDT) on every Monday
cron: "0 13 * * 1"
filters:
branches:
only:
dev
jobs:
- install
- test-cover:
requires:
- install
- lint-flow-types:
requires:
- install
- test-e2e:
requires:
- install
- test-ssr-weex:
requires:
- install
- trigger-regression-test:
requires:
- test-cover
- lint-flow-types
- test-e2e
- test-ssr-weex
13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

29 changes: 29 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
root: true,
parserOptions: {
parser: require.resolve('babel-eslint'),
ecmaVersion: 2018,
sourceType: 'module'
},
env: {
es6: true,
node: true,
browser: true
},
plugins: [
"flowtype"
],
extends: [
"eslint:recommended",
"plugin:flowtype/recommended"
],
globals: {
"__WEEX__": true,
"WXEnvironment": true
},
rules: {
'no-console': process.env.NODE_ENV !== 'production' ? 0 : 2,
'no-useless-escape': 0,
'no-empty': 0
}
}
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
39 changes: 27 additions & 12 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:
### Committing Changes

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

### Commiting 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 @@ -123,3 +117,24 @@ The default test script will do the following: lint with ESLint -> type check wi

- **`shared`**: contains utilities shared across the entire codebase.

- **`types`**: contains TypeScript type definitions

- **`test`**: type definitions tests


## Financial Contribution

As a pure community-driven project without major corporate backing, we also welcome financial contributions via Patreon or OpenCollective.

- [Become a backer or sponsor on Patreon](https://www.patreon.com/evanyou)
- [Become a backer or sponsor on OpenCollective](https://opencollective.com/vuejs)

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

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 Vue.js!

<a href="https://github.com/vuejs/vue/graphs/contributors"><img src="https://opencollective.com/vuejs/contributors.svg?width=890" /></a>
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ If your issue was not created using the app above, it will be closed immediately
中文用户请注意:
请使用上面的链接来创建新的 issue。如果不是用上述工具创建的 issue 会被自动关闭。
-->

<!--
Love vuejs? Please consider supporting us via Patreon or OpenCollective:
👉 https://www.patreon.com/evanyou
👉 https://opencollective.com/vuejs/donate
-->
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ packages/vue-server-renderer/build.js
packages/vue-server-renderer/server-plugin.js
packages/vue-server-renderer/client-plugin.js
packages/vue-template-compiler/build.js
.vscode
Loading