Skip to content

Commit

Permalink
fix: husky [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Faber committed Oct 14, 2021
1 parent dee3db8 commit 4ba8ded
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

run-if-changed
npm run run-if-changed
2 changes: 1 addition & 1 deletion .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

run-if-changed
npm run run-if-changed
2 changes: 1 addition & 1 deletion .husky/post-rewrite
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

run-if-changed
npm run run-if-changed
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged && npm run lint
npm run lint-staged && npm run lint
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,31 +101,33 @@
},
"scripts": {
"build": "tsc",
"cz": "git-cz",
"cz:retry": "git-cz --retry",
"lint": "run-p lint:types lint:es",
"lint:es": "eslint --ext ts .",
"cz": "git-cz",
"lint-staged": "lint-staged",
"lint:es:fix": "eslint --fix --ext ts .",
"lint:es": "eslint --ext ts .",
"lint:types": "tsc",
"lint": "run-p lint:types lint:es",
"prepare": "husky install",
"release": "standard-version",
"tasks:drone": "node dist/tasks/drone/drone.js",
"run-if-changed": "run-if-changed",
"tasks:certs-aws-dev": "ts-node-dev ./src/tasks/otomi/certs-aws.ts",
"tasks:certs-aws": "node dist/tasks/otomi/certs-aws.js",
"tasks:drone-dev": "ts-node-dev ./src/tasks/drone/drone.ts",
"tasks:keycloak": "node dist/tasks/keycloak/keycloak.js",
"tasks:keycloak-dev": "ts-node-dev ./src/tasks/keycloak/keycloak.ts",
"tasks:gitea": "node dist/tasks/gitea/gitea.js && node dist/tasks/gitea/gitea-drone-oauth.js",
"tasks:drone": "node dist/tasks/drone/drone.js",
"tasks:gitea-add-users-dev": "ts-node-dev ./src/tasks/gitea/gitea-add-users-to-team.ts",
"tasks:gitea-add-users": "node dist/tasks/gitea/gitea-add-users-to-team.js",
"tasks:gitea-dev": "ts-node-dev ./src/tasks/gitea/gitea.ts && ts-node-dev ./src/tasks/gitea/gitea-drone-oauth.ts",
"tasks:gitea-add-users-dev": "ts-node-dev ./src/tasks/gitea/gitea-add-users-to-team.ts",
"tasks:gitea-drone-auth": "node dist/tasks/gitea/gitea-drone-oauth.js",
"tasks:gitea-drone-auth-dev": "ts-node-dev ./src/tasks/gitea/gitea-drone-oauth.ts",
"tasks:harbor": "node dist/tasks/harbor/harbor.js",
"tasks:gitea-drone-auth": "node dist/tasks/gitea/gitea-drone-oauth.js",
"tasks:gitea": "node dist/tasks/gitea/gitea.js && node dist/tasks/gitea/gitea-drone-oauth.js",
"tasks:harbor-dev": "ts-node-dev ./src/tasks/harbor/harbor.ts",
"tasks:otomi-chart": "node dist/tasks/otomi/otomi-chart.js",
"tasks:harbor": "node dist/tasks/harbor/harbor.js",
"tasks:keycloak-dev": "ts-node-dev ./src/tasks/keycloak/keycloak.ts",
"tasks:keycloak": "node dist/tasks/keycloak/keycloak.js",
"tasks:otomi-chart-dev": "ts-node-dev ./src/tasks/otomi/otomi-chart.ts",
"tasks:certs-aws": "node dist/tasks/otomi/certs-aws.js",
"tasks:certs-aws-dev": "ts-node-dev ./src/tasks/otomi/certs-aws.ts",
"test": "NODE_ENV=test mocha --timeout 25000 -r ts-node/register -r ts-custom-error src/**/*.test.* --exit",
"prepare": "husky install"
"tasks:otomi-chart": "node dist/tasks/otomi/otomi-chart.js",
"test": "NODE_ENV=test mocha --timeout 25000 -r ts-node/register -r ts-custom-error src/**/*.test.* --exit"
},
"standard-version": {
"skip": {
Expand Down

0 comments on commit 4ba8ded

Please sign in to comment.