Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(*): Maintanance #64

Merged
merged 5 commits into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
end_of_line = crlf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 140
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
23 changes: 23 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"tsconfigRootDir": ".",
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint", "prettier", "simple-import-sort"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"import/order": "off",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"sort-imports": "off"
}
}
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 14.15.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build

lint:
name: Lint
needs: build
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 14.15.x
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint

test:
name: Test
needs: build
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 14.15.x
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
- name: Upload test coverage
run: npm run test:upload-coverage
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
release:
types: [published]

jobs:
publish-to-npm:
name: Publish to npm
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 14.15.x
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish to npm
run: npm publish ./dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
133 changes: 119 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,123 @@
# Dependencies
/node_modules

# Build & Coverage
/dist
/coverage

# Development
/.vscode
# Created by https://www.toptal.com/developers/gitignore/api/node,vscode
# Edit at https://www.toptal.com/developers/gitignore?templates=node,vscode

### Node ###
# 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

# Coverage directory used by tools like istanbul
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
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-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

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

### vscode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Other
*.todo
*.old
*.temp
*.tmp
# End of https://www.toptal.com/developers/gitignore/api/node,vscode
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"arrowParens": "always",
"endOfLine": "auto",
"printWidth": 140,
"singleQuote": true,
"trailingComma": "all"
}
72 changes: 0 additions & 72 deletions .travis.yml

This file was deleted.

29 changes: 2 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,9 @@
# Changelog

Also see the **[release page](https://github.com/dominique-mueller/no-skipped-tests.git/releases)**.
Also see **[GitHub releases](https://github.com/dominique-mueller/no-skipped-tests/releases)**.

<br>

## [1.0.0](https://github.com/dominique-mueller/no-skipped-tests/releases/tag/1.0.0) (2017-11-12)

### Chores

* **build:** Add build scripts, introduce Travis CI build stages, add Codecov ([#8](https://github.com/dominique-mueller/no-skipped-tests.git/issues/8)) ([279ab36](https://github.com/dominique-mueller/no-skipped-tests/commit/279ab36))
* **dependencies:** Update dependencies ([#7](https://github.com/dominique-mueller/no-skipped-tests.git/issues/7)) ([8ab3294](https://github.com/dominique-mueller/no-skipped-tests/commit/8ab3294))

### Documentation

* **README:** Write README file([#9](https://github.com/dominique-mueller/no-skipped-tests.git/issues/9)) ([8dbaffb](https://github.com/dominique-mueller/no-skipped-tests/commit/8dbaffb))

### Features

* Add error handling ([#2](https://github.com/dominique-mueller/no-skipped-tests.git/issues/2)) ([4666ddd](https://github.com/dominique-mueller/no-skipped-tests/commit/4666ddd))
* Add initial implementation ([#1](https://github.com/dominique-mueller/no-skipped-tests.git/issues/1)) ([807e8fd](https://github.com/dominique-mueller/no-skipped-tests/commit/807e8fd))
* **main:** Add CLI params, add log option ([#4](https://github.com/dominique-mueller/no-skipped-tests.git/issues/4)) ([19eb351](https://github.com/dominique-mueller/no-skipped-tests/commit/19eb351))
* **test:** Add unit tests ([#5](https://github.com/dominique-mueller/no-skipped-tests.git/issues/5)) ([075f9e1](https://github.com/dominique-mueller/no-skipped-tests/commit/075f9e1))

### Refactoring

* Add interfaces, split functionality into files ([#3](https://github.com/dominique-mueller/no-skipped-tests.git/issues/3)) ([cdc0c68](https://github.com/dominique-mueller/no-skipped-tests/commit/cdc0c68))
* Refactor implementation and tests ([#6](https://github.com/dominique-mueller/no-skipped-tests.git/issues/6)) ([e99c605](https://github.com/dominique-mueller/no-skipped-tests/commit/e99c605))

<br>

---

<sup>*Changelog generated automatically by [automatic-release](https://github.com/dominique-mueller/automatic-release).*</sup>
**Initial release**
Loading