Skip to content

Commit

Permalink
feat: update lib (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 authored and benmonro committed Oct 8, 2019
1 parent dd69c11 commit da44d97
Show file tree
Hide file tree
Showing 39 changed files with 800 additions and 13,289 deletions.
20 changes: 16 additions & 4 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"projectName": "svelte-testing-library",
"projectOwner": "testing-library",
"repoType": "github",
"files": [
"README.md"
],
Expand Down Expand Up @@ -78,11 +81,20 @@
"contributions": [
"code"
]
},
{
"login": "mihar-22",
"name": "Rahim Alwer",
"avatar_url": "https://avatars3.githubusercontent.com/u/14304599?s=460&v=4",
"profile": "https://github.com/mihar-22",
"contributions": [
"code",
"doc",
"test"
]
}
],
"contributorsPerLine": 7,
"projectName": "svelte-testing-library",
"projectOwner": "testing-library",
"repoType": "github",
"repoHost": "https://github.com"
"repoHost": "https://github.com",
"commitConvention": "none"
}
6 changes: 6 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [["@babel/preset-env", { "targets": { "node": "8" } }]],
"plugins": [
["@babel/plugin-transform-modules-commonjs", { "allowTopLevelThis": true }]
]
}
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
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,
env: {
browser: true,
es6: true,
jest: true
},
parser: 'babel-eslint',
extends: [
'standard'
],
plugins: [
'svelte3',
'simple-import-sort'
],
rules: {
'max-len': ['warn', {'code': 100}]
},
overrides: [
{
files: ['**/*.svelte'],
processor: 'svelte3/svelte3'
}
],
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module'
}
};
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ node_modules
public/bundle.*
coverage
dist
.idea

# These cause more harm than good when working with contributors
yarn-error.log
package-lock.json
yarn.lock
11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

26 changes: 21 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
sudo: false
language: node_js
cache:
yarn: true
directories:
- ~/.npm
- "~/.npm"
notifications:
email: false
node_js: '8'
install: npm install
script: npm run validate
after_success: npx semantic-release
node_js:
- '8'
- '10'
- '12'
env:
global:
- PATH=$HOME/.yarn/bin:$PATH
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
install: yarn
script: yarn validate
jobs:
include:
- stage: release
node_js: '12'
deploy:
provider: script
script: yarn test:update && npx codecov && npx semantic-release
skip_cleanup: true
branches:
only: master
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

The changelog is automatically updated using
[semantic-release](https://github.com/semantic-release/semantic-release). You
can see it on the [releases page](../../releases).
Loading

0 comments on commit da44d97

Please sign in to comment.