1
0
forked from baron/baron-sso

adminfront codecheck 오류 수정2

This commit is contained in:
2026-04-28 14:54:33 +09:00
parent 0c5a302105
commit 7607d8d9b9
3 changed files with 9 additions and 2 deletions

View File

@@ -13,9 +13,9 @@
"lint:fix": "biome check . --write",
"format": "biome format . --write",
"preview": "vite preview",
"test": "npx playwright test",
"test": "node ./node_modules/playwright/cli.js test",
"test:unit": "vitest run",
"test:ui": "npx playwright test --ui",
"test:ui": "node ./node_modules/playwright/cli.js test --ui",
"i18n-scan": "cd .. && node tools/i18n-scanner/index.js && node tools/i18n-scanner/report.js"
},
"dependencies": {

View File

@@ -1,9 +1,15 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
const buildOutDir =
process.env.ADMINFRONT_BUILD_OUT_DIR ?? "/tmp/baron-sso-adminfront-dist";
export default defineConfig({
plugins: [react()],
envPrefix: ["VITE_", "USERFRONT_"],
build: {
outDir: buildOutDir,
},
server: {
host: "127.0.0.1",
allowedHosts: ["sadmin.hmac.kr", "localhost", "172.16.10.176", "127.0.0.1"],

View File

@@ -4,6 +4,7 @@ set -euo pipefail
job_name="${1:-adminfront-tests}"
mkdir -p reports
rm -rf adminfront/node_modules
PLAYWRIGHT_BROWSERS_PATH="${HOME}/.cache/ms-playwright"
PLAYWRIGHT_CHROMIUM_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/chromium-1208/INSTALLATION_COMPLETE"