Skip to content

Commit 2fe7185

Browse files
committed
Merge branch 'dev' into tracker-compatibility
2 parents 7503c2e + d1d8b58 commit 2fe7185

File tree

221 files changed

+53534
-23062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+53534
-23062
lines changed

.circleci/config.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
version: 2
2+
3+
defaults: &defaults
4+
working_directory: ~/project/vue
5+
docker:
6+
- image: circleci/node:6-browsers
7+
8+
jobs:
9+
install:
10+
<<: *defaults
11+
steps:
12+
- checkout
13+
- restore_cache:
14+
keys:
15+
- v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
16+
- v1-vue-{{ .Branch }}-
17+
- v1-vue-
18+
- run: npm install
19+
- save_cache:
20+
key: v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
21+
paths:
22+
- node_modules/
23+
- persist_to_workspace:
24+
root: ~/project
25+
paths:
26+
- vue
27+
28+
lint-flow-types:
29+
<<: *defaults
30+
steps:
31+
- attach_workspace:
32+
at: ~/project
33+
- run: npm run lint
34+
- run: npm run flow
35+
- run: npm run test:types
36+
37+
test-cover:
38+
<<: *defaults
39+
steps:
40+
- attach_workspace:
41+
at: ~/project
42+
- run: npm run test:cover
43+
- run:
44+
name: report coverage stats for non-PRs
45+
command: |
46+
if [[ -z $CI_PULL_REQUEST ]]; then
47+
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
48+
fi
49+
50+
test-e2e:
51+
<<: *defaults
52+
steps:
53+
- attach_workspace:
54+
at: ~/project
55+
- run: npm run test:e2e -- --env phantomjs
56+
57+
test-ssr-weex:
58+
<<: *defaults
59+
steps:
60+
- attach_workspace:
61+
at: ~/project
62+
- run: npm run test:ssr
63+
- run: npm run test:weex
64+
65+
workflows:
66+
version: 2
67+
install-and-parallel-test:
68+
jobs:
69+
- install
70+
- test-cover:
71+
requires:
72+
- install
73+
- lint-flow-types:
74+
requires:
75+
- install
76+
- test-e2e:
77+
requires:
78+
- install
79+
- test-ssr-weex:
80+
requires:
81+
- install

.github/CONTRIBUTING.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ After cloning the repo, run:
4141

4242
``` bash
4343
$ npm install
44+
& npm run setup
4445
```
4546

46-
This will also run the `postinstall` script which links two git hooks:
47+
The `setup` script links two git hooks:
4748

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

51-
### Commiting Changes
52+
### Committing Changes
5253

5354
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.
5455

@@ -122,3 +123,24 @@ The default test script will do the following: lint with ESLint -> type check wi
122123

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

126+
- **`types`**: contains TypeScript type definitions
127+
128+
- **`test`**: type definitions tests
129+
130+
131+
## Financial Contribution
132+
133+
As a pure community-driven project without major corporate backing, we also welcome financial contributions via Patreon or OpenCollective.
134+
135+
- [Become a backer or sponsor on Patreon](https://www.patreon.com/evanyou)
136+
- [Become a backer or sponsor on OpenCollective](https://opencollective.com/vuejs)
137+
138+
### What's the difference between Patreon and OpenCollective?
139+
140+
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.
141+
142+
## Credits
143+
144+
Thank you to all the people who have already contributed to vuejs!
145+
146+
<a href="https://github.com/vuejs/vue/graphs/contributors"><img src="https://opencollective.com/vuejs/contributors.svg?width=890" /></a>

.github/ISSUE_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ If your issue was not created using the app above, it will be closed immediately
88
中文用户请注意:
99
请使用上面的链接来创建新的 issue。如果不是用上述工具创建的 issue 会被自动关闭。
1010
-->
11+
12+
<!--
13+
Love vuejs? Please consider supporting us via Patreon or OpenCollective:
14+
👉 https://www.patreon.com/evanyou
15+
👉 https://opencollective.com/vuejs/donate
16+
-->

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ packages/vue-server-renderer/build.js
1616
packages/vue-server-renderer/server-plugin.js
1717
packages/vue-server-renderer/client-plugin.js
1818
packages/vue-template-compiler/build.js
19+
.vscode

BACKERS.md

Lines changed: 318 additions & 94 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)