Skip to content

Commit 1bafa22

Browse files
feat(ssr): add ability to cleanup after request
close vuejs#9463
2 parents 0b9c5a0 + 78c3ce0 commit 1bafa22

File tree

88 files changed

+3488
-1133
lines changed

Some content is hidden

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

88 files changed

+3488
-1133
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
44

5-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
5+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
66

77
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
88

.github/COMMIT_CONVENTION.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,24 @@ The **header** is mandatory and the **scope** of the header is optional.
5858

5959
### Revert
6060

61-
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
61+
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body, it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
6262

6363
### Type
6464

65-
If the prefix is `feat`, `fix` or `perf`, it will appear in the changelog. However if there is any [BREAKING CHANGE](#footer), the commit will always appear in the changelog.
65+
If the prefix is `feat`, `fix` or `perf`, it will appear in the changelog. However, if there is any [BREAKING CHANGE](#footer), the commit will always appear in the changelog.
6666

6767
Other prefixes are up to your discretion. Suggested prefixes are `docs`, `chore`, `style`, `refactor`, and `test` for non-changelog related tasks.
6868

6969
### Scope
7070

71-
The scope could be anything specifying place of the commit change. For example `core`, `compiler`, `ssr`, `v-model`, `transition` etc...
71+
The scope could be anything specifying the place of the commit change. For example `core`, `compiler`, `ssr`, `v-model`, `transition` etc...
7272

7373
### Subject
7474

75-
The subject contains succinct description of the change:
75+
The subject contains a succinct description of the change:
7676

7777
* use the imperative, present tense: "change" not "changed" nor "changes"
78-
* don't capitalize first letter
78+
* don't capitalize the first letter
7979
* no dot (.) at the end
8080

8181
### Body

.github/CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@ Hi! I'm really excited that you are interested in contributing to Vue.js. Before
2424

2525
- Make sure `npm test` passes. (see [development setup](#development-setup))
2626

27-
- If adding new feature:
27+
- If adding a new feature:
2828
- Add accompanying test case.
29-
- Provide convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
29+
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
3030

3131
- If fixing bug:
3232
- If you are resolving a special issue, add `(fix #xxxx[,#xxxx])` (#xxxx is the issue id) in your PR title for a better release log, e.g. `update entities encoding/decoding (fix #3899)`.
33-
- Provide detailed description of the bug in the PR. Live demo preferred.
33+
- Provide a detailed description of the bug in the PR. Live demo preferred.
3434
- Add appropriate test coverage if applicable.
3535

3636
## Development Setup
3737

38-
You will need [Node.js](http://nodejs.org) **version 6+** and [Java Runtime Environment](http://www.oracle.com/technetwork/java/javase/downloads/index.html) (for running Selenium server during e2e tests).
38+
You will need [Node.js](http://nodejs.org) **version 8+**, [Java Runtime Environment](http://www.oracle.com/technetwork/java/javase/downloads/index.html) (for running Selenium server during e2e tests) and [yarn](https://yarnpkg.com/en/docs/install).
3939

4040
After cloning the repo, run:
4141

4242
``` bash
43-
$ npm install # or yarn
43+
$ yarn # install the dependencies of the project
4444
```
4545

4646
### Committing Changes
@@ -59,7 +59,7 @@ $ npm run dev:test
5959
# build all dist files, including npm packages
6060
$ npm run build
6161

62-
# run the full test suite, include linting / type checking
62+
# run the full test suite, including linting/type checking
6363
$ npm test
6464
```
6565

@@ -93,7 +93,7 @@ The default test script will do the following: lint with ESLint -> type check wi
9393

9494
- **`core`**: contains universal, platform-agnostic runtime code.
9595

96-
The Vue 2.0 core is platform-agnostic. That is, code inside `core` is able to be run in any JavaScript environment, be it the browser, Node.js, or an embedded JavaScript runtime in native applications.
96+
The Vue 2.0 core is platform-agnostic. That is, the code inside `core` is able to be run in any JavaScript environment, be it the browser, Node.js, or an embedded JavaScript runtime in native applications.
9797

9898
- **`observer`**: contains code related to the reactivity system.
9999

.github/FUNDING.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# These are supported funding model platforms
2+
3+
github: yyx990803
4+
patreon: evanyou
5+
open_collective: vuejs
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: npm/vue
8+
custom: # Replace with a single custom sponsorship URL

0 commit comments

Comments
 (0)