Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
chore(merge): bump all dependencies (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
TMUniversal authored Jul 10, 2021
2 parents 5ffc202 + 2a95c28 commit 13e6bb6
Show file tree
Hide file tree
Showing 7 changed files with 946 additions and 1,357 deletions.
Empty file removed .github/ISSUE_TEMPLATE.md
Empty file.
Empty file removed .github/PULL_REQUEST_TEMPLATE.md
Empty file.
4 changes: 3 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

[ "$CI" != true ] && yarn commitlint --edit $1 || true
if [ "$CI" != true ]; then
npx --no-install commitlint --edit $1
fi
10 changes: 0 additions & 10 deletions .husky/post-commit

This file was deleted.

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

# Check wether the changed files include js/ts
if grep -s -q --include=\*.{js,ts} '' $(git diff --name-only --cached); then
# Stash unstaged changes
git stash -q --keep-index

# Format files
if ! (yarn lint --quiet $(grep --color=never -l -s --include=\*.{js,ts} '' $(git diff --name-only --cached)) --fix); then
git stash pop -q
exit 1
fi

# Mark stashed (for post-commit)
touch ./.husky/_/stashed

# Stage updated files
git add -u
else
echo "Staged files do not include lintable files, skipping pre-commit formatting..."
exit 0
if [ "$CI" != true ]; then
yarn lint-staged
fi

# Re-apply original unstaged changes (happens in post-commit)
30 changes: 17 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,28 @@
"homepage": "https://github.com/TMWare/status-rotate#readme",
"peerDependencies": {},
"dependencies": {
"@tmware/jitsuyo": "^1.6.1",
"@tmware/variable-parser": "^1.2.0",
"@tmware/jitsuyo": "^1.6.4",
"@tmware/variable-parser": "^1.2.2",
"axios": "0.21.1",
"discord-akairo": "^8.1.0",
"discord.js": "^12.5.3"
},
"devDependencies": {
"@commitlint/cli": "^12.1.2",
"@commitlint/config-conventional": "^12.1.2",
"@commitlint/cli": "^13.0.0",
"@commitlint/config-conventional": "^13.0.0",
"@tmuniversal/ts": "^1.2.1",
"@tmware/eslint-config": "^1.1.2",
"@tmware/eslint-config-typescript": "^1.0.7",
"@tmware/semantic-release-npm-github-publish": "^1.4.3",
"@types/node": "^15.0.1",
"@types/ws": "^7.4.2",
"@tmware/eslint-config": "^1.1.3",
"@tmware/eslint-config-typescript": "^1.0.8",
"@tmware/semantic-release-npm-github-publish": "^1.4.4",
"@types/node": "^16.3.1",
"@types/ws": "^7.4.6",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.25.0",
"husky": "^6.0.0",
"eslint": "^7.30.0",
"husky": "^7.0.1",
"lint-staged": "^11.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.2",
"typescript": "^4.2.4"
"semantic-release": "^17.4.4",
"typescript": "^4.3.5"
},
"config": {
"commitizen": {
Expand All @@ -85,6 +86,9 @@
"disableSubjectLowerCase": false
}
},
"lint-staged": {
"*.ts": "eslint"
},
"keywords": [
"discord",
"discord.js",
Expand Down
Loading

0 comments on commit 13e6bb6

Please sign in to comment.