Skip to content

Commit

Permalink
fix(dependencies): update dependencies and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Jan 7, 2022
1 parent 7be93d2 commit 495ad5a
Show file tree
Hide file tree
Showing 20 changed files with 1,815 additions and 4,253 deletions.
11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// eslint-disable-next-line tree-shaking/no-side-effects-in-initialization
module.exports = {
extends: ["plugin:prettier/recommended"],
plugins: ["tree-shaking"],
parserOptions: {
ecmaVersion: 12,
sourceType: "module",
},
rules: {
"tree-shaking/no-side-effects-in-initialization": 2,
},
};
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Rekease

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Publish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release

1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit ./.git/COMMIT_EDITMSG
4 changes: 4 additions & 0 deletions .husky/post-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

git reset
4 changes: 4 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm ci
4 changes: 4 additions & 0 deletions .husky/post-rewrite
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm ci
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
11 changes: 0 additions & 11 deletions .huskyrc

This file was deleted.

1 change: 0 additions & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"*.js": [
"prettier-standard",
"eslint --fix"
]
}
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* eslint-disable tree-shaking/no-side-effects-in-initialization */
module.exports = { extends: ['@commitlint/config-angular'] }
module.exports = { extends: ["@commitlint/config-angular"] };
Loading

0 comments on commit 495ad5a

Please sign in to comment.