- Notifications
You must be signed in to change notification settings - Fork3
New build approach#10
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
12 commits Select commitHold shift + click to select a range
899d683
feat: changing approach
4c33b1c
docs(github): added templates
b1d77b4
ci: added travis configuration
846c0cc
build(rollup): new build approach
61951e2
docs: updated documentation
cbd9f31
style: eslint configuration
c9f1d4b
build(deps): updated dependencies
057bf57
chore: gitignore
4dd0173
chore: editor config
69cd871
test: jest configuration
c740cfc
feature: updated entryfile for new approach
4610f36
docs: updated readme.md
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
12 changes: 12 additions & 0 deletions.babelrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"presets": [ | ||
["env", { "modules": false }] | ||
], | ||
"env": { | ||
"test": { | ||
"presets": [ | ||
["env", { "targets": { "node": "current" } }] | ||
] | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion.editorconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,4 +6,4 @@ indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
4 changes: 2 additions & 2 deletions.eslintignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
dist/ | ||
node_modules/ |
2 changes: 1 addition & 1 deletion.eslintrc.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,4 +14,4 @@ module.exports = { | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
}, | ||
}; |
29 changes: 29 additions & 0 deletions.github/ISSUE_TEMPLATE.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Issue report | ||
## Current behavior | ||
<!-- Describe how the issue manifests. --> | ||
## Input Code | ||
<!-- REPL or Repo link if applicable: --> | ||
```js | ||
const your = (code) => here; | ||
``` | ||
## Expected behavior | ||
<!-- A clear and concise description of what you expected to happen (or code). --> | ||
## Posible solution | ||
<!-- Only if you have suggestions on a fix for the bug --> | ||
## Environment | ||
<pre><code> | ||
Plugin version: X.Y.Z | ||
<!-- Check whether this is still an issue in the most recent version --> | ||
For tooling issue: | ||
- Node version: XX <!-- run `node --version` --> | ||
- Platform: <!-- Mac, Linux, Windows --> | ||
Others: | ||
<!-- Anything else relevant? Operating system version, IDE, package manager, etc. --> | ||
</pre></code> |
32 changes: 32 additions & 0 deletions.github/PULL_REQUEST_TEMPLATE.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## PR Checklist | ||
Please check if your PR fulfills the following requirements: | ||
- [ ] The commit message follows our guidelines: https://github.com/coderdiaz/vue-tiny-pagination/blob/master/CONTRIBUTING.md | ||
- [ ] Tests for the changes have been added (for bug fixes / features). | ||
- [ ] Docs have been added / updated (for bug fixes / features). | ||
## PR Type | ||
What kind of change does this PR introduce? | ||
<!-- Please check the one that applies to this PR using "x". --> | ||
``` | ||
[ ] Bugfixes | ||
[ ] Feature | ||
[ ] Code style update (formatting, local variables) | ||
[ ] Refactoring (no functional changes, no api changes) | ||
[ ] Build related changes | ||
[ ] CI related changes | ||
[ ] Other... Please describe: | ||
``` | ||
## What is the current behavior? | ||
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> | ||
## What is the new behaviour? | ||
## Does this PR introduce a breaking change? | ||
``` | ||
[ ] Yes | ||
[ ] No | ||
``` | ||
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> |
8 changes: 4 additions & 4 deletions.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
node_modules/ | ||
dist/ | ||
coverage/ | ||
yarn-error.log | ||
npm-debug.log | ||
.DS_Store | ||
# Editor directories | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln |
5 changes: 2 additions & 3 deletions.travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,9 +4,8 @@ node_js: | ||
- 10 | ||
cache: | ||
yarn: true | ||
directories: node_modules | ||
install: | ||
- yarn | ||
script: | ||
- yarn test:unit |
47 changes: 47 additions & 0 deletionsCONTRIBUTING.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,48 @@ | ||
## Contribute | ||
We would love for you to contribute and help make it even better than it is todat! As a contributor, here are the guidelines we would like you to follow: | ||
## Development Setup | ||
You will need Node.js version +8.9.0. | ||
1. After clonning the repo, run: | ||
```bash | ||
$ npm i # or yarn install | ||
``` | ||
### Commonly use NPM scripts | ||
```bash | ||
# build all packages | ||
$ npm run build | ||
# run full unit-tests suite | ||
$ npm run test:unit | ||
# run linter | ||
$ npm run lint | ||
``` | ||
## Found a Bug? | ||
If you find a bug in source code, you can help us by submitting an issue to our GitHub repository. Even better, you can submit a Pull Request with a fix. | ||
## Missing a Feature? | ||
You can request a new feature by submitting an issue to our GitHub repository. If you would like to implement a new feature, please submit an issue with a proposal for your work first, to be sure that we can use it. Please consider what kind of change it is: | ||
- For a **Major Feature**, first open an issue and outline your proposal so that it can be discussed. This will also allow us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted in the project. For your issue name, please prefix your proposal with `[discussion]`, for example "[discussion]: your feature idea". | ||
- **Small Features** can be crafted and firectly submitted as a Pull Request. | ||
## Coding Rules | ||
To ensure consistency throughout the source code, keep these rules in mind as you are working: | ||
- All feature or bug fixes **must be tested** by one or more specs (unit-tests). | ||
- We follow [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript), but wrap all code at **100 characters**. | ||
## Commit Message Guidelines | ||
We have very precise rules over how our git commit messages can be formatted. This leads to **more readable messages** that are easy to follow when looking through the **project history**. But also, we use git commit messages to **generate the change log**. | ||
### Type | ||
Must be one of the following: | ||
- **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm). | ||
- **ci**: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs). | ||
- **docs**: Documentation only changes. | ||
- **feature**: A new feature. | ||
- **bugfix**: A bug fix. | ||
- **refactor**: A code change that neither fixes a bug nor adds a feature. | ||
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc). | ||
- **test**: Adding missing tests or correcting existing tests. |
4 changes: 2 additions & 2 deletionsLICENSE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
105 changes: 60 additions & 45 deletionsREADME.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletionsbabel.config.js
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
40 changes: 0 additions & 40 deletionsbili.config.ts
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.