diff --git a/.env.hibit-id.testnet b/.env.hibit-id.testnet new file mode 100644 index 0000000..f5e2723 --- /dev/null +++ b/.env.hibit-id.testnet @@ -0,0 +1,6 @@ +VITE_HIBIT_ID_API=https://testnetidapi.hibit.app/ +VITE_HIBIT_AUTH_SERVER=https://testnetauth.hibit.app/ +VITE_HIBIT_AUTH_CLIENT_ID=IdServer_HibitIdWeb +VITE_EX3_API=https://alphaapi.ex3.one/ +VITE_TELEGRAM_BOT_ID=7359440424 +VITE_APP_ENV=TestNet diff --git a/scripts/build_testnet.sh b/scripts/build_testnet.sh index 9fd310b..71807e6 100755 --- a/scripts/build_testnet.sh +++ b/scripts/build_testnet.sh @@ -1,14 +1,4 @@ #!/bin/bash yarn install --frozen-lockfile - -cd apps/wallet/ || exit - -export VITE_HIBIT_ID_API=https://testnetidapi.hibit.app/ -export VITE_HIBIT_AUTH_SERVER=https://testnetauth.hibit.app/ -export VITE_HIBIT_AUTH_CLIENT_ID=IdServer_HibitIdWeb -export VITE_EX3_API=https://alphaapi.ex3.one/ -export VITE_TELEGRAM_BOT_ID=7359440424 -export VITE_APP_ENV=TestNet - -yarn build \ No newline at end of file +yarn build:wallet \ No newline at end of file diff --git a/turbo.json b/turbo.json index f8d8241..9c84836 100644 --- a/turbo.json +++ b/turbo.json @@ -5,6 +5,10 @@ "outputs": ["dist/**"] }, "@deland-labs/hibit-id-wallet#build": { + "inputs": [ + "$TURBO_DEFAULT$", + ".env.hibit-id.testnet" + ], "dependsOn": ["@deland-labs/hibit-id-sdk#build"], "outputs": ["dist/**"] },