web-app: move env declaration into src and guard pipefail

This commit is contained in:
openhands 2025-10-13 19:05:15 +00:00
parent d2c1f9c84f
commit ce87847f4e
3 changed files with 5 additions and 4 deletions

View file

@ -22,7 +22,8 @@ steps:
XDG_RUNTIME_DIR: /tmp/podman-run
commands:
- |
set -euo pipefail
set -eu
set -o pipefail 2>/dev/null || true
mkdir -p "$XDG_RUNTIME_DIR"
git submodule update --init --recursive
yarn --cwd onchain/lib/uni-v3-lib install --frozen-lockfile

View file

@ -6,8 +6,8 @@ declare global {
interface Window {
ethereum?: EIP1193Provider;
}
const __APP_VERSION__: string;
}
declare const __APP_VERSION__: string;
export {};

View file

@ -1,6 +1,6 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"include": ["src/env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",