From 343605547dd72b71ea9ef3ac415d39386eb5884e Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Mon, 4 Sep 2023 18:01:33 +0530 Subject: [PATCH 1/2] fixing env issues --- space/.env.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/space/.env.example b/space/.env.example index 2d3165893e0..238f70854ef 100644 --- a/space/.env.example +++ b/space/.env.example @@ -1,8 +1,8 @@ # Base url for the API requests NEXT_PUBLIC_API_BASE_URL="" # Public boards deploy URL -NEXT_PUBLIC_DEPLOY_URL="https://plane-space-dev.vercel.app" +NEXT_PUBLIC_DEPLOY_URL="" # Google Client ID for Google OAuth -NEXT_PUBLIC_GOOGLE_CLIENTID=232920797020-235n93bn7hh7628vdd69hq873129ng4o.apps.googleusercontent.com +NEXT_PUBLIC_GOOGLE_CLIENTID="" # Flag to toggle OAuth NEXT_PUBLIC_ENABLE_OAUTH=1 \ No newline at end of file From 90fedb2200a10baa0c8e42cbade31d20ca84dcb9 Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Mon, 4 Sep 2023 18:02:35 +0530 Subject: [PATCH 2/2] removing husky --- .husky/pre-push | 23 ----------------------- package.json | 3 +-- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100755 .husky/pre-push diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100755 index 0e7d3240bf4..00000000000 --- a/.husky/pre-push +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -. "$(dirname -- "$0")/_/husky.sh" - -changed_files=$(git diff --name-only HEAD~1) - -web_changed=$(echo "$changed_files" | grep -E '^web/' || true) -space_changed=$(echo "$changed_files" | grep -E '^space/' || true) -echo $web_changed -echo $space_changed - -if [ -n "$web_changed" ] && [ -n "$space_changed" ]; then - echo "Changes detected in both web and space. Building..." - yarn run lint - yarn run build -elif [ -n "$web_changed" ]; then - echo "Changes detected in web app. Building..." - yarn run lint --filter=web - yarn run build --filter=web -elif [ -n "$space_changed" ]; then - echo "Changes detected in space app. Building..." - yarn run lint --filter=space - yarn run build --filter=space -fi diff --git a/package.json b/package.json index 397952b3b12..eb6a23994b1 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,7 @@ "devDependencies": { "eslint-config-custom": "*", "prettier": "latest", - "turbo": "latest", - "husky": "^8.0.3" + "turbo": "latest" }, "packageManager": "yarn@1.22.19" }