web-app: move env declaration into src and guard pipefail
This commit is contained in:
parent
d2c1f9c84f
commit
ce87847f4e
3 changed files with 5 additions and 4 deletions
|
|
@ -22,7 +22,8 @@ steps:
|
||||||
XDG_RUNTIME_DIR: /tmp/podman-run
|
XDG_RUNTIME_DIR: /tmp/podman-run
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
set -euo pipefail
|
set -eu
|
||||||
|
set -o pipefail 2>/dev/null || true
|
||||||
mkdir -p "$XDG_RUNTIME_DIR"
|
mkdir -p "$XDG_RUNTIME_DIR"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
yarn --cwd onchain/lib/uni-v3-lib install --frozen-lockfile
|
yarn --cwd onchain/lib/uni-v3-lib install --frozen-lockfile
|
||||||
|
|
|
||||||
4
web-app/env.d.ts → web-app/src/env.d.ts
vendored
4
web-app/env.d.ts → web-app/src/env.d.ts
vendored
|
|
@ -6,8 +6,8 @@ declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
ethereum?: EIP1193Provider;
|
ethereum?: EIP1193Provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const __APP_VERSION__: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare const __APP_VERSION__: string;
|
|
||||||
|
|
||||||
export {};
|
export {};
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||||
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
"include": ["src/env.d.ts", "src/**/*", "src/**/*.vue"],
|
||||||
"exclude": ["src/**/__tests__/*"],
|
"exclude": ["src/**/__tests__/*"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue