mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
parent
729eabdd3f
commit
9423472838
@ -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
|
@ -19,8 +19,7 @@
|
||||
"devDependencies": {
|
||||
"eslint-config-custom": "*",
|
||||
"prettier": "latest",
|
||||
"turbo": "latest",
|
||||
"husky": "^8.0.3"
|
||||
"turbo": "latest"
|
||||
},
|
||||
"packageManager": "yarn@1.22.19"
|
||||
}
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user