Skip to content

Commit e5edb82

Browse files
merge: release 0.13.0
2 parents b900de0 + b4cc5bf commit e5edb82

File tree

204 files changed

+14675
-19818
lines changed

Some content is hidden

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

204 files changed

+14675
-19818
lines changed

.editorconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
parser: '@typescript-eslint/parser'
2+
plugins:
3+
- '@typescript-eslint'
4+
parserOptions:
5+
ecmaVersion: 2018
6+
sourceType: module
7+
project:
8+
- ./tsconfig.json
9+
- ./tsconfig.spec.json
10+
extends:
11+
- 'plugin:@typescript-eslint/recommended'
12+
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
13+
- 'plugin:jest/recommended'
14+
- 'prettier'
15+
- 'prettier/@typescript-eslint'
16+
rules:
17+
'@typescript-eslint/explicit-member-accessibility': off
18+
'@typescript-eslint/no-angle-bracket-type-assertion': off
19+
'@typescript-eslint/no-parameter-properties': off
20+
'@typescript-eslint/explicit-function-return-type': off
21+
'@typescript-eslint/member-delimiter-style': off
22+
'@typescript-eslint/no-inferrable-types': off
23+
'@typescript-eslint/no-explicit-any': off
24+
'@typescript-eslint/member-ordering': 'error'
25+
'@typescript-eslint/no-unused-vars':
26+
- 'error'
27+
- args: 'none'
28+
# TODO: Remove these and fixed issues once we merged all the current PRs.
29+
'@typescript-eslint/ban-types': off
30+
'@typescript-eslint/no-unsafe-return': off
31+
'@typescript-eslint/no-unsafe-assignment': off
32+
'@typescript-eslint/no-unsafe-call': off
33+
'@typescript-eslint/no-unsafe-member-access': off
34+
'@typescript-eslint/explicit-module-boundary-types': off

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "10:00"
8+
timezone: Europe/Budapest
9+
open-pull-requests-limit: 5
10+
versioning-strategy: increase
11+
commit-message:
12+
prefix: build
13+
include: scope

.github/issue_template.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/lock.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/semantic.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
titleAndCommits: true
2+
allowMergeCommits: false
3+
scopes:
4+
- deps
5+
- deps-dev
6+
types:
7+
- feat
8+
- fix
9+
- docs
10+
- style
11+
- refactor
12+
- perf
13+
- test
14+
- build
15+
- ci
16+
- chore
17+
- revert
18+
- merge
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Auto approve PRs
2+
on:
3+
pull_request
4+
jobs:
5+
dependabot:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: hmarr/[email protected]
9+
if: github.actor == 'dependabot[bot]'
10+
with:
11+
github-token: "${{ secrets.GITHUB_TOKEN }}"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CD
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
name: Publish to NPM
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-node@v1
12+
with:
13+
registry-url: https://registry.npmjs.org
14+
- run: npm ci --ignore-scripts
15+
- run: npm run prettier:check
16+
- run: npm run lint:check
17+
- run: npm run test:ci
18+
- run: npm run build:es2015
19+
- run: npm run build:esm5
20+
- run: npm run build:cjs
21+
- run: npm run build:umd
22+
- run: npm run build:types
23+
- run: cp LICENSE build/LICENSE
24+
- run: cp README.md build/README.md
25+
- run: jq 'del(.devDependencies) | del(.scripts)' package.json > build/package.json
26+
- run: npm publish ./build
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
checks:
5+
name: Linters
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v1
9+
- uses: actions/setup-node@v1
10+
- run: npm ci --ignore-scripts
11+
- run: npm run prettier:check
12+
- run: npm run lint:check
13+
tests:
14+
name: Tests
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
node-version: ['10.x', '12.x', '14.x']
19+
fail-fast: false
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Setting up Node.js (v${{ matrix.node-version }}.x)
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- run: npm ci --ignore-scripts
27+
- run: npm run test:ci
28+
- run: npm install codecov -g
29+
if: ${{ matrix.node-version == '14.x' }}
30+
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
31+
if: ${{ matrix.node-version == '14.x' }}
32+
build:
33+
name: Build
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v1
37+
- uses: actions/setup-node@v1
38+
- run: npm ci --ignore-scripts
39+
- run: npm run build:es2015
40+
- run: npm run build:esm5
41+
- run: npm run build:cjs
42+
- run: npm run build:umd
43+
- run: npm run build:types
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Lock inactive threads'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
jobs:
6+
lock:
7+
name: Lock closed issues
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: dessant/lock-threads@v2
11+
with:
12+
github-token: ${{ github.token }}
13+
issue-lock-inactive-days: 30
14+
pr-lock-inactive-days: 30
15+
issue-lock-comment: >
16+
This issue has been automatically locked since there
17+
has not been any recent activity after it was closed.
18+
Please open a new issue for related bugs.
19+
pr-lock-comment: >
20+
This pull request has been automatically locked since there
21+
has not been any recent activity after it was closed.
22+
Please open a new issue for related bugs.

.gitignore

Lines changed: 37 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,52 @@
1-
# Logs
1+
# Log files
22
logs
33
*.log
4+
*.tmp
5+
*.tmp.*
6+
log.txt
47
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
88

9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
9+
# Testing output
10+
lib-cov/**
11+
coverage/**
1112

12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
13+
# Environment files
14+
.env
1715

18-
# Yarn Integrity file
19-
.yarn-integrity
20-
21-
# Output of 'npm pack'
22-
*.tgz
16+
# Dependency directories
17+
node_modules
2318

24-
# Optional npm cache directory
25-
.npm
19+
# MacOS related files
20+
*.DS_Store
21+
.AppleDouble
22+
.LSOverride
23+
._*
24+
UserInterfaceState.xcuserstate
2625

27-
# TypeScript v1 declaration files
28-
typings/
26+
# Windows related files
27+
Thumbs.db
28+
Desktop.ini
29+
$RECYCLE.BIN/
2930

30-
# TypeScript cache
31-
*.tsbuildinfo
31+
# IDE - Sublime
32+
*.sublime-project
33+
*.sublime-workspace
3234

33-
# Coverage report dir
34-
coverage/
35+
# IDE - VSCode
36+
.vscode/**
37+
!.vscode/tasks.json
38+
!.vscode/launch.json
3539

36-
# Dependency directories
37-
node_modules/
40+
# IDE - IntelliJ
41+
.idea
3842

39-
# rollup.js build output
43+
# Compilation output folders
4044
dist/
4145
build/
46+
tmp/
47+
out-tsc/
48+
temp
4249

43-
44-
# IDEs
45-
*.iml
46-
.idea/
47-
.vscode/
48-
50+
# Files for playing around locally
51+
playground.ts
52+
playground.js

.prettierrc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
printWidth: 120
2+
tabWidth: 2
3+
useTabs: false
4+
semi: true
5+
singleQuote: true
6+
trailingComma: es5
7+
bracketSpacing: true
8+
arrowParens: avoid

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)