From d224f3f5459477540e5e72021bcb0ac30d15af58 Mon Sep 17 00:00:00 2001 From: Zakaria Mansouri Date: Sat, 15 Apr 2023 13:03:30 +0200 Subject: [PATCH] moved patches under /tooling --- package.json | 3 ++- packages/tooling/.prettierignore | 1 + .../tooling/patches}/@sentry-internal+tracing+7.46.0.patch | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename {patches => packages/tooling/patches}/@sentry-internal+tracing+7.46.0.patch (100%) diff --git a/package.json b/package.json index e6726bda2..de0ec99f4 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,8 @@ "lint:fix": "yarn build && yarn lint:fix:alone", "lint:fix:alone": "lerna run lint:fix:alone --parallel", "lint:staged": "lerna exec --since HEAD --concurrency 1 --stream -- lint-staged && lint-staged", - "postinstall": "patch-package && (husky install && husky set .husky/pre-commit \"yarn lint:staged\") || exit 0", + "patch-package": "patch-package --patch-dir packages/tooling/patches", + "postinstall": "yarn patch-package && (husky install && husky set .husky/pre-commit \"yarn lint:staged\") || exit 0", "prepare": "ts-patch install -s", "start:dev": "lerna run start:dev --parallel", "test": "yarn build && yarn test:alone", diff --git a/packages/tooling/.prettierignore b/packages/tooling/.prettierignore index 7f7f50337..d434014c3 100644 --- a/packages/tooling/.prettierignore +++ b/packages/tooling/.prettierignore @@ -31,3 +31,4 @@ nodemon.json *.eslintignore *.ttf *.ts-prunerc +*.patch diff --git a/patches/@sentry-internal+tracing+7.46.0.patch b/packages/tooling/patches/@sentry-internal+tracing+7.46.0.patch similarity index 100% rename from patches/@sentry-internal+tracing+7.46.0.patch rename to packages/tooling/patches/@sentry-internal+tracing+7.46.0.patch