Update husky and image-tag

pull/158/head
David Finol 2022-01-09 20:10:37 -06:00
parent ef9bb85e15
commit 196c8b1f1a
5 changed files with 2633 additions and 2633 deletions

View File

@ -1,7 +1,11 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if [ -t 1 ]; then
exec < /dev/tty
fi
npx lint-staged
yarn lint
yarn test
yarn build
git add dist/index.*

5245
dist/index.js generated vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -47,16 +47,10 @@
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint",
"git add",
"jest --findRelatedTests"
],
"*.{json,md,yaml,yml}": [
"prettier --write",
"git add"
],
"*.sh": [
"git update-index --chmod=+x"
],
"*.js": "eslint --cache --fix"
"prettier --write"
]
}
}

View File

@ -122,7 +122,8 @@ class ImageTag {
return customImage;
}
return `${image}:${tag}-0`; // '0' here represents the docker repo version
const dockerRepoVersion = 0;
return `${image}:${tag}-${dockerRepoVersion}`;
}
}