diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 000000000..839c99281 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +# .git-blame-ignore-revs + +# chore: add trailing comma lint rule (https://github.com/shapeshift/lib/pull/975) +505516c23b582ff1cd2d684b6c84a117157e3423 diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 000000000..a8f8c113c --- /dev/null +++ b/.gitconfig @@ -0,0 +1,2 @@ +[blame] + ignoreRevsFile = .git-blame-ignore-revs diff --git a/package.json b/package.json index 659c477ae..d5ebc50f7 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "version:patch": "lerna version patch --yes --no-git-tag-version --no-push", "version:minor": "lerna version minor --yes --no-git-tag-version --no-push", "version:major": "lerna version major --yes --no-git-tag-version --no-push", - "postinstall": "patch-package" + "postinstall": "./scripts/postinstall.sh" }, "devDependencies": { "@commitlint/cli": "^13.1.0", diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh new file mode 100755 index 000000000..32b6e7695 --- /dev/null +++ b/scripts/postinstall.sh @@ -0,0 +1,4 @@ +# Add libs's git config to the local path in an idempotent way +git config --local include.path '../.gitconfig' + +yarn patch-package