From 8c7330db7cf8ccfb9f7764b90cc56438ee7e98ce Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Fri, 2 Jan 2026 22:35:05 +0000 Subject: [PATCH] refactor: simplify build and test scripts in package.json --- frontends/nextjs/package.json | 55 +++-------------------------------- 1 file changed, 4 insertions(+), 51 deletions(-) diff --git a/frontends/nextjs/package.json b/frontends/nextjs/package.json index 808c034f4..1adcb0d67 100644 --- a/frontends/nextjs/package.json +++ b/frontends/nextjs/package.json @@ -5,66 +5,19 @@ "type": "module", "scripts": { "dev": "next dev", - "build": "next build --webpack", + "build": "next build", "start": "next start", - "kill": "fuser -k 3000/tcp", "typecheck": "tsc --noEmit", - "typecheck:strict": "tsc --noEmit --strict", "lint": "eslint .", "lint:fix": "eslint . --fix", "format": "prettier --write \"src/**/*.{ts,tsx}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx}\"", - "preview": "next start", - "dev:vite": "vite", - "build:vite": "tsc -b --noCheck && vite build", "test": "vitest", - "test:unit": "vitest run", - "test:unit:watch": "vitest", - "test:unit:ui": "vitest --ui", - "test:unit:coverage": "vitest run --coverage", - "test:coverage": "vitest run --coverage", - "test:coverage:report": "node scripts/generate-test-coverage-report.js", - "test:check-functions": "node scripts/check-function-coverage.js", - "test:e2e": "playwright test", - "test:e2e:ui": "playwright test --ui", - "test:e2e:headed": "playwright test --headed", - "test:e2e:dbal-daemon": "playwright test --config=playwright.dbal-daemon.config.ts", - "test:all": "npm run test:unit && npm run test:e2e", - "act": "bash scripts/run-act.sh", - "act:list": "bash scripts/run-act.sh -l", - "act:lint": "bash scripts/run-act.sh -w ci/ci.yml -j lint", - "act:typecheck": "bash scripts/run-act.sh -w ci/ci.yml -j typecheck", - "act:build": "bash scripts/run-act.sh -w ci/ci.yml -j build", - "act:e2e": "bash scripts/run-act.sh -w ci/ci.yml -j test-e2e", - "act:prisma": "bash scripts/run-act.sh -w ci/ci.yml -j prisma-check", - "act:all": "bash scripts/run-act.sh -w ci/ci.yml", - "act:test": "bash scripts/test-workflows.sh", - "act:diagnose": "bash scripts/diagnose-workflows.sh", - "act:validate": "python3 scripts/validate-workflows.py", - "simulate": "bash scripts/simulate-workflows.sh", - "simulate:lint": "bash scripts/simulate-workflows.sh lint", - "simulate:build": "bash scripts/simulate-workflows.sh build", - "simulate:all": "bash scripts/simulate-workflows.sh all", - "setup-packages": "node scripts/setup-packages.cjs", - "postinstall": "node scripts/setup-packages.cjs", + "test:run": "vitest run", + "test:watch": "vitest", "db:generate": "prisma generate", "db:push": "prisma db push", - "db:migrate": "prisma migrate deploy", - "cpp:check": "node dbal/shared/tools/cpp-build-assistant.cjs check", - "cpp:init": "node dbal/shared/tools/cpp-build-assistant.cjs init", - "cpp:install": "node dbal/shared/tools/cpp-build-assistant.cjs install", - "cpp:configure": "node dbal/shared/tools/cpp-build-assistant.cjs configure", - "cpp:build": "node dbal/shared/tools/cpp-build-assistant.cjs build", - "cpp:test": "node dbal/shared/tools/cpp-build-assistant.cjs test", - "cpp:clean": "node dbal/shared/tools/cpp-build-assistant.cjs clean", - "cpp:rebuild": "node dbal/shared/tools/cpp-build-assistant.cjs rebuild", - "cpp:full": "node dbal/shared/tools/cpp-build-assistant.cjs full", - "screenshot": "npx playwright install chromium && npx tsx scripts/capture-screenshot.ts", - "extract:preview": "NODE_PATH=./node_modules npx tsx ../../tools/refactoring/auto-code-extractor-3000.ts --dry-run", - "extract:quick": "NODE_PATH=./node_modules npx tsx ../../tools/refactoring/auto-code-extractor-3000.ts --limit=5", - "extract:auto": "NODE_PATH=./node_modules npx tsx ../../tools/refactoring/auto-code-extractor-3000.ts --auto-confirm", - "extract:all": "NODE_PATH=./node_modules npx tsx ../../tools/refactoring/auto-code-extractor-3000.ts --priority=all --limit=50 --auto-confirm", - "extract:help": "NODE_PATH=./node_modules npx tsx ../../tools/refactoring/auto-code-extractor-3000.ts --help" + "db:migrate": "prisma migrate deploy" }, "dependencies": { "@monaco-editor/react": "^4.7.0",