Skip to content

Commit f8e00f3

Browse files
merge: release 0.9.0 (#661)
2 parents 2455688 + a9658ac commit f8e00f3

File tree

237 files changed

+26922
-15174
lines changed

Some content is hidden

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

237 files changed

+26922
-15174
lines changed

.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/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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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:cjs
20+
- run: npm run build:types
21+
- run: cp LICENSE build/LICENSE
22+
- run: cp README.md build/README.md
23+
- run: jq 'del(.devDependencies) | del(.scripts)' package.json > build/package.json
24+
- run: npm publish ./build
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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:cjs
41+
- 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.

.github/workflows/nodejs.yml

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

.gitignore

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,52 @@
1+
# Log files
2+
logs
3+
*.log
4+
*.tmp
5+
*.tmp.*
6+
log.txt
7+
npm-debug.log*
8+
9+
# Testing output
10+
lib-cov/**
11+
coverage/**
12+
13+
# Environment files
14+
.env
15+
16+
# Dependency directories
17+
node_modules
18+
19+
# MacOS related files
20+
*.DS_Store
21+
.AppleDouble
22+
.LSOverride
23+
._*
24+
UserInterfaceState.xcuserstate
25+
26+
# Windows related files
27+
Thumbs.db
28+
Desktop.ini
29+
$RECYCLE.BIN/
30+
31+
# IDE - Sublime
32+
*.sublime-project
33+
*.sublime-workspace
34+
35+
# IDE - VSCode
36+
.vscode/**
37+
!.vscode/tasks.json
38+
!.vscode/launch.json
39+
40+
# IDE - IntelliJ
41+
.idea
42+
43+
# Compilation output folders
44+
dist/
145
build/
2-
node_modules/
3-
coverage/
4-
npm-debug.log
5-
.vscode/
6-
.idea/
7-
.nyc_output/
46+
tmp/
47+
out-tsc/
48+
temp
49+
50+
# Files for playing around locally
51+
playground.ts
52+
playground.js

.mocharc.json

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

.nycrc.json

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

0 commit comments

Comments
 (0)