Skip to content

Commit 8d7bb56

Browse files
Merge pull request #105 from imgix/beta
2 parents b8c3493 + 4ac4435 commit 8d7bb56

17 files changed

+715
-128
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
**Before you submit:**
7+
8+
- [ ] Please search through the existing issues (both open AND closed) to see if your issue has been discussed before. Github issue search can be used for this: https://github.com/imgix/vue-imgix/issues?utf8=%E2%9C%93&q=is%3Aissue
9+
- [ ] Please ensure the problem has been isolated and reduced. This link explains more: http://css-tricks.com/6263-reduced-test-cases/
10+
11+
**Describe the bug**
12+
A clear and concise description of what the bug is. Please strive to reach the **root problem** of your issue to avoid the XY problem. See more: https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem
13+
14+
**To Reproduce**
15+
A bug is a _demonstrable problem_ that is caused by the code in the repository. Thus, the contributors need a way to reproduce your issue - if we can't reproduce your issue, we can't help you! Also, please be as detailed as possible.
16+
17+
[a link to a codesandox or repl.it; here is a link to a codesandbox with vue-imgix installed which can be forked: https://codesandbox.io/s/vue-imgix-base-codesandbox-bhz8n]
18+
19+
[alternatively, please provide a code example]
20+
21+
```js
22+
// A *self-contained* demonstration of the problem follows...
23+
// This should be able to be dropped into a file with vue-imgix installed and just work
24+
```
25+
26+
Steps to reproduce the behaviour:
27+
28+
1. Go to '...'
29+
2. Click on '....'
30+
3. Scroll down to '....'
31+
4. See error
32+
33+
**Expected behaviour**
34+
A clear and concise description of what you expected to happen.
35+
36+
**Screenshots**
37+
If applicable, add screenshots to help explain your problem.
38+
39+
**Information:**
40+
41+
- vue-imgix version: [e.g. v1.0]
42+
- browser version: [include link from [https://www.whatsmybrowser.org/](https://www.whatsmybrowser.org/) or details about the OS used and browser version]
43+
44+
**Additional context**
45+
Add any other context about the problem here.
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Before you submit:**
7+
8+
- [ ] Please search through the existing issues (both open AND closed) to see if your feature has already been discussed. Github issue search can be used for this: https://github.com/imgix/vue-imgix/issues?utf8=%E2%9C%93&q=is%3Aissue
9+
- [ ] Please take a moment to find out whether your idea fits with the scope and aims of the project
10+
11+
**Is your feature request related to a problem? Please describe.**
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
14+
**Describe the solution you'd like**
15+
A clear and concise description of how this feature would function.
16+
17+
**Describe alternatives you've considered**
18+
A clear and concise description of any alternative solutions or features you've considered.
19+
20+
**Additional context**
21+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Question
3+
about: Ask a question about the project
4+
---
5+
6+
**Before you submit:**
7+
8+
- [ ] Please search through the existing issues (both open AND closed) to see if your question has already been discussed. Github issue search can be used for this: https://github.com/imgix/vue-imgix/issues?utf8=%E2%9C%93&q=is%3Aissue
9+
10+
**Question**
11+
A clear and concise description of your question

.github/pull_request_template.md

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<!-- prettier-ignore-start -->
2+
<!--
3+
Hello, and thanks for contributing to vue-imgix! 🎉🙌
4+
Please take a second to fill out PRs with the following template!
5+
-->
6+
7+
## Description
8+
<!-- What is accomplished by this PR? If there is something potentially controversial in your PR, please take a moment to tell us about your choices. -->
9+
10+
11+
12+
<!--
13+
Please use the checklist that is most closely related to your PR, and delete the other checklists. -->
14+
## Checklist: Fixing typos/Doc change
15+
16+
- [ ] The target branch is `beta`. This is important for our CI/CD config.
17+
- [ ] Each commit follows the conventional commit spec format: e.g. `chore(readme): fixed typo`. See the end of this file for more information.
18+
19+
## Checklist: Bug Fix
20+
21+
- [ ] The target branch is `beta`. This is important for our CI/CD config.
22+
- [ ] Each commit follows the conventional commit spec format: e.g. `chore(readme): fixed typo`. See the end of this file for more information.
23+
- [ ] All existing unit tests are still passing (if applicable)
24+
- [ ] Add new passing unit tests to cover the code introduced by your PR
25+
- [ ] Update the readme
26+
- [ ] Update or add any necessary API documentation
27+
- [ ] Add some [steps](#steps-to-test) so we can test your bug fix
28+
29+
## Checklist: New Feature
30+
31+
- [ ] The target branch is `beta`. This is important for our CI/CD config.
32+
- [ ] Each commit follows the conventional commit spec format: e.g. `chore(readme): fixed typo`. See the end of this file for more information.
33+
- [ ] Any breaking changes are specified on the commit on which they are introduced with `BREAKING CHANGE` in the body of the commit.
34+
- [ ] If this is a big feature with breaking changes, consider [opening an issue][issues] to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.
35+
- [ ] Run unit tests to ensure all existing tests are still passing
36+
- [ ] Add new passing unit tests to cover the code introduced by your PR
37+
- [ ] Update the readme
38+
- [ ] Add some [steps](#steps-to-test) so we can test your cool new feature!
39+
40+
## Steps to Test
41+
42+
<!-- Delete this selction if you are just submitting a doc change/small fix -->
43+
44+
<!-- A code example or a set of steps is preferred -->
45+
46+
Related issue: [e.g. #42]
47+
48+
Code:
49+
50+
```js
51+
// A standalone JS example of what the PR solves
52+
```
53+
54+
<!-- A link to a codepen/codesandbox is also an option. -->
55+
56+
Steps:
57+
58+
1. Go to '...'
59+
2. Click on '....'
60+
3. Scroll down to '....'
61+
4. See that the error has been fixed
62+
63+
64+
65+
66+
67+
<!--
68+
69+
## Conventional Commit Spec
70+
71+
PR titles should be in the format `<type>(<scope>): <description>`. For example: `chore(readme): fix typo`
72+
73+
`type` can be one of `feat`, `fix`, `test`, or `chore`.
74+
`scope` is optional, and can be anything.
75+
`description` should be a short description of the change, in past tense.
76+
-->
77+
<!-- prettier-ignore-end -->

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ cache:
1818
install:
1919
- yarn install --frozen-lockfile
2020
script:
21+
- yarn build
2122
- yarn lint:ci
2223
- yarn test:unit
2324
- yarn test:e2e --headless
@@ -26,11 +27,13 @@ branches:
2627
only:
2728
- master
2829
- next
30+
- beta
31+
- alpha
2932

3033
deploy:
3134
provider: script
3235
skip_cleanup: true
3336
script:
3437
- npx semantic-release
3538
on:
36-
branch: next
39+
all_branches: true

.vscode/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"editor.formatOnSave": true,
2+
"editor.formatOnSave": false,
33
"vetur.validation.template": false,
44
"editor.codeActionsOnSave": {
55
"source.fixAll.eslint": true
6-
}
6+
},
77
}

LICENSE

+20-17
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
MIT License
1+
Copyright (c) 2020 Zebrafish Labs
2+
All rights reserved.
23

3-
Copyright (c) 2020 imgix
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
46

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
7+
1. Redistributions of source code must retain the above copyright notice,
8+
this list of conditions and the following disclaimer.
119

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
1413

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
14+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
18+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24+
POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)