Skip to content

Commit da44d97

Browse files
mihar-22benmonro
authored andcommitted
feat: update lib (#54)
1 parent dd69c11 commit da44d97

39 files changed

+800
-13289
lines changed

.all-contributorsrc

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"projectName": "svelte-testing-library",
3+
"projectOwner": "testing-library",
4+
"repoType": "github",
25
"files": [
36
"README.md"
47
],
@@ -78,11 +81,20 @@
7881
"contributions": [
7982
"code"
8083
]
84+
},
85+
{
86+
"login": "mihar-22",
87+
"name": "Rahim Alwer",
88+
"avatar_url": "https://avatars3.githubusercontent.com/u/14304599?s=460&v=4",
89+
"profile": "https://github.com/mihar-22",
90+
"contributions": [
91+
"code",
92+
"doc",
93+
"test"
94+
]
8195
}
8296
],
8397
"contributorsPerLine": 7,
84-
"projectName": "svelte-testing-library",
85-
"projectOwner": "testing-library",
86-
"repoType": "github",
87-
"repoHost": "https://github.com"
98+
"repoHost": "https://github.com",
99+
"commitConvention": "none"
88100
}

.babelrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"presets": [["@babel/preset-env", { "targets": { "node": "8" } }]],
3+
"plugins": [
4+
["@babel/plugin-transform-modules-commonjs", { "allowTopLevelThis": true }]
5+
]
6+
}

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.md]
11+
max_line_length = off
12+
trim_trailing_whitespace = false

.eslintrc.js

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es6: true,
6+
jest: true
7+
},
8+
parser: 'babel-eslint',
9+
extends: [
10+
'standard'
11+
],
12+
plugins: [
13+
'svelte3',
14+
'simple-import-sort'
15+
],
16+
rules: {
17+
'max-len': ['warn', {'code': 100}]
18+
},
19+
overrides: [
20+
{
21+
files: ['**/*.svelte'],
22+
processor: 'svelte3/svelte3'
23+
}
24+
],
25+
parserOptions: {
26+
ecmaVersion: 2019,
27+
sourceType: 'module'
28+
}
29+
};

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ node_modules
33
public/bundle.*
44
coverage
55
dist
6+
.idea
7+
8+
# These cause more harm than good when working with contributors
9+
yarn-error.log
10+
package-lock.json
11+
yarn.lock

.prettierrc

-11
This file was deleted.

.travis.yml

+21-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
sudo: false
22
language: node_js
33
cache:
4+
yarn: true
45
directories:
5-
- ~/.npm
6+
- "~/.npm"
67
notifications:
78
email: false
8-
node_js: '8'
9-
install: npm install
10-
script: npm run validate
11-
after_success: npx semantic-release
9+
node_js:
10+
- '8'
11+
- '10'
12+
- '12'
13+
env:
14+
global:
15+
- PATH=$HOME/.yarn/bin:$PATH
16+
before_install:
17+
- curl -o- -L https://yarnpkg.com/install.sh | bash
18+
install: yarn
19+
script: yarn validate
20+
jobs:
21+
include:
22+
- stage: release
23+
node_js: '12'
24+
deploy:
25+
provider: script
26+
script: yarn test:update && npx codecov && npx semantic-release
27+
skip_cleanup: true
1228
branches:
1329
only: master

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CHANGELOG
2+
3+
The changelog is automatically updated using
4+
[semantic-release](https://github.com/semantic-release/semantic-release). You
5+
can see it on the [releases page](../../releases).

0 commit comments

Comments
 (0)