forked from baron/baron-sso
vitest 타입 에러 해결
This commit is contained in:
@@ -24,5 +24,6 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ export default defineConfig({
|
||||
"/tmp/baron-sso-adminfront-vite-cache",
|
||||
build: {
|
||||
outDir: buildOutDir,
|
||||
emptyOutDir: true,
|
||||
},
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
|
||||
@@ -24,5 +24,6 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["src"]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
|
||||
}
|
||||
|
||||
@@ -23,10 +23,12 @@ staging_pull=".gitea/workflows/staging_code_pull.yml"
|
||||
pull_compose="docker/staging_pull_compose.template.yaml"
|
||||
devfront_vite="devfront/vite.config.ts"
|
||||
orgfront_vite="orgfront/vite.config.ts"
|
||||
adminfront_vite="adminfront/vite.config.ts"
|
||||
|
||||
for file in \
|
||||
"$staging_pull" \
|
||||
"$pull_compose" \
|
||||
"$adminfront_vite" \
|
||||
"$devfront_vite" \
|
||||
"$orgfront_vite"
|
||||
do
|
||||
@@ -53,12 +55,17 @@ assert_contains "$pull_compose" "baron_orgfront"
|
||||
assert_contains "$pull_compose" "http://127.0.0.1:5173/"
|
||||
assert_contains "$pull_compose" "http://127.0.0.1:5175/"
|
||||
|
||||
assert_contains "$adminfront_vite" "/tmp/baron-sso-adminfront-dist"
|
||||
assert_contains "$adminfront_vite" "/tmp/baron-sso-adminfront-vite-cache"
|
||||
assert_contains "adminfront/tsconfig.app.json" '"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]'
|
||||
assert_contains "$devfront_vite" "/tmp/baron-sso-devfront-dist"
|
||||
assert_contains "$devfront_vite" "/tmp/baron-sso-devfront-vite-cache"
|
||||
assert_contains "$devfront_vite" "hostFromUrl(process.env.DEVFRONT_URL)"
|
||||
assert_contains "$devfront_vite" "process.env.DEVFRONT_ALLOWED_HOSTS"
|
||||
assert_contains "devfront/tsconfig.app.json" '"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]'
|
||||
assert_contains "$orgfront_vite" "/tmp/baron-sso-orgfront-dist"
|
||||
assert_contains "$orgfront_vite" "/tmp/baron-sso-orgfront-vite-cache"
|
||||
assert_contains "$orgfront_vite" '"sorg.hmac.kr"'
|
||||
assert_contains "orgfront/tsconfig.app.json" '"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]'
|
||||
|
||||
echo "staging frontend deploy policy checks passed"
|
||||
|
||||
Reference in New Issue
Block a user