chore(tsconfig): remove baseUrl from TypeScript configuration files
CI / changes (push) Successful in 5s
CI / commitlint (push) Skipped
CI / openapi (push) Successful in 57s
CI / web (push) Successful in 55s
CI / go (push) Successful in 1m14s
CI / bird2 (push) Successful in 14s
CI / release (push) Successful in 4m7s

Removed the "baseUrl" property from tsconfig.base.json, apps/web/tsconfig.json, and packages/ui/tsconfig.json to streamline path resolution. Updated check-openapi-gen.sh to use 'sh' instead of 'bash' for improved compatibility and adjusted the script's error handling.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-07-31 12:44:31 +07:00
co-authored by Cursor
parent 6c6e76fca3
commit 37f28dfcfd
6 changed files with 5 additions and 8 deletions
-1
View File
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@/hooks/use-mobile": ["../../packages/ui/src/hooks/use-mobile.ts"],
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -56,7 +56,7 @@ func (w *JobAuditWriter) ClaimQueued(ctx context.Context, limit int, grace time.
if err != nil {
return nil, err
}
defer tx.Rollback(ctx)
defer func() { _ = tx.Rollback(ctx) }()
rows, err := tx.Query(ctx, `
WITH cte AS (
-1
View File
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@evobgp/ui/components/*": ["./src/components/*"],
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
# Fail if apps/web/src/types/api.gen.ts is stale vs docs/openapi.yaml.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
set -eu
ROOT="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
cd "$ROOT/apps/web"
tmp="$(mktemp)"
trap 'rm -f "$tmp"' EXIT
-1
View File
@@ -19,7 +19,6 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,
"baseUrl": ".",
"paths": {
"@/*": ["./apps/web/src/*"],
"@evobgp/ui/components/*": ["./packages/ui/src/components/*"],