From 342aeaaa66586c68db597529936a72ef3abe8907 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 16 Aug 2024 02:28:53 +0000 Subject: [PATCH] chore: update pob root --- .husky/post-checkout | 10 ++++++++++ .husky/post-merge | 10 ++++++++++ .husky/post-rewrite | 12 +++++++++++- yarn.lock | 10 +++++----- 4 files changed, 36 insertions(+), 6 deletions(-) diff --git a/.husky/post-checkout b/.husky/post-checkout index aa4c963..5d65c6f 100755 --- a/.husky/post-checkout +++ b/.husky/post-checkout @@ -1,3 +1,13 @@ if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ]; then + yarn config set logFilters --json '[ + {"code": "YN0002","level": "discard"}, + {"code": "YN0007","level": "discard"}, + {"code": "YN0008","level": "discard"}, + {"code": "YN0013","level": "discard"}, + {"code": "YN0018","level": "discard"}, + {"code": "YN0060","level": "discard"}, + {"code": "YN0061","level": "discard"} + ]' > /dev/null yarn install --immutable || true + yarn config unset logFilters > /dev/null fi diff --git a/.husky/post-merge b/.husky/post-merge index aa4c963..5d65c6f 100755 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,3 +1,13 @@ if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ]; then + yarn config set logFilters --json '[ + {"code": "YN0002","level": "discard"}, + {"code": "YN0007","level": "discard"}, + {"code": "YN0008","level": "discard"}, + {"code": "YN0013","level": "discard"}, + {"code": "YN0018","level": "discard"}, + {"code": "YN0060","level": "discard"}, + {"code": "YN0061","level": "discard"} + ]' > /dev/null yarn install --immutable || true + yarn config unset logFilters > /dev/null fi diff --git a/.husky/post-rewrite b/.husky/post-rewrite index aa4c963..ecd1c7b 100755 --- a/.husky/post-rewrite +++ b/.husky/post-rewrite @@ -1,3 +1,13 @@ -if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ]; then +if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ] | [ "$1" = "rebase" ]; then + yarn config set logFilters --json '[ + {"code": "YN0002","level": "discard"}, + {"code": "YN0007","level": "discard"}, + {"code": "YN0008","level": "discard"}, + {"code": "YN0013","level": "discard"}, + {"code": "YN0018","level": "discard"}, + {"code": "YN0060","level": "discard"}, + {"code": "YN0061","level": "discard"} + ]' > /dev/null yarn install --immutable || true + yarn config unset logFilters > /dev/null fi diff --git a/yarn.lock b/yarn.lock index 562bd78..5cc3814 100644 --- a/yarn.lock +++ b/yarn.lock @@ -599,9 +599,9 @@ __metadata: languageName: node linkType: hard -"@pob/root@npm:13.1.0": - version: 13.1.0 - resolution: "@pob/root@npm:13.1.0" +"@pob/root@npm:13.2.0": + version: 13.2.0 + resolution: "@pob/root@npm:13.2.0" dependencies: "@commitlint/cli": "npm:19.4.0" "@pob/pretty-eslint-config": "npm:7.0.0" @@ -627,7 +627,7 @@ __metadata: pretty-pkg: ./bin/pretty-pkg.js repository-check-dirty: ./bin/repository-check-dirty.js yarn-version: ./bin/yarn-version.js - checksum: 10c0/713b1011dd5090b814d77cc6db41c340b2d7536293bd29093fdd9a1a459195eb4e5a4354c85929474050f75c2c5ac79f6f06dde5b24a88f479a9c4287e7480da + checksum: 10c0/b04dbfd6166dde65222ef8c95da5b8167aee2191c4aed69621fce2b3ab28d8e93ef870ef5913b7db2fde263cc038661ff48acbd62f25c5629b6ce0aa97098487 languageName: node linkType: hard @@ -1464,7 +1464,7 @@ __metadata: dependencies: "@pob/commitlint-config": "npm:7.0.0" "@pob/eslint-config": "npm:58.0.0" - "@pob/root": "npm:13.1.0" + "@pob/root": "npm:13.2.0" check-package-dependencies: "npm:7.2.0" eslint: "npm:9.9.0" typescript: "npm:5.5.4"