Skip to content

Commit

Permalink
Merge 7cb1d48 into baf6fd1
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilii-kovalev committed Jul 4, 2021
2 parents baf6fd1 + 7cb1d48 commit fe18c7e
Show file tree
Hide file tree
Showing 24 changed files with 3,983 additions and 8,382 deletions.
6 changes: 3 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
19 changes: 3 additions & 16 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
{
"parser": "@typescript-eslint/parser",
"rules": {
"import/prefer-default-export": "off",
"sort-imports": [
"error",
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false
}
],
"import/prefer-default-export": "off"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.eslint.json"
},
"env": {
"jest": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts"]
}
}
]
}
}
14 changes: 11 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# This workflow will do a clean install of node dependencies, build and lint the source code and and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build-test
Expand All @@ -17,9 +17,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies and build
run: npm ci
uses: borales/actions-yarn@v2.3.0
with:
cmd: install --frozen-lockfile
- name: Lint
uses: borales/actions-yarn@v2.3.0
with:
cmd: lint
- name: Test
run: npm run test
uses: borales/actions-yarn@v2.3.0
with:
cmd: test
- name: Upload coverage
uses: coverallsapp/github-action@master
with:
Expand Down
106 changes: 4 additions & 102 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,106 +1,8 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Artifacts
dist

# Coverage directory used by tools like istanbul
# Coverage directory
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

/lib
node_modules
6 changes: 3 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Artifacts:
.next
build
# Artifacts
dist

# Coverage directory
coverage

# GitHub Workflow
Expand Down
18 changes: 9 additions & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "auto",
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"endOfLine": "lf"
"useTabs": false
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Vasilii Kovalev
Copyright (c) 2021 Vasilii Kovalev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit fe18c7e

Please sign in to comment.