Files
metabuilder/frontends/nextjs/package.json
copilot-swe-agent[bot] 6313f0ea24 feat: Add workflow validation and simulation tools
- Fix workflow file path references (ci.yml -> ci/ci.yml)
- Add validate-workflows.py for YAML syntax and structure validation
- Add simulate-workflows.sh for local job simulation without act
- Pin dependency-check action to specific SHA for security
- Update npm scripts with validation and simulation commands
- Add comprehensive workflow simulation documentation

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 02:48:16 +00:00

131 lines
5.3 KiB
JSON

{
"name": "metabuilder",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build --webpack",
"start": "next start",
"kill": "fuser -k 3000/tcp",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"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",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:migrate": "prisma migrate deploy",
"cpp:check": "node dbal/tools/cpp-build-assistant.cjs check",
"cpp:init": "node dbal/tools/cpp-build-assistant.cjs init",
"cpp:install": "node dbal/tools/cpp-build-assistant.cjs install",
"cpp:configure": "node dbal/tools/cpp-build-assistant.cjs configure",
"cpp:build": "node dbal/tools/cpp-build-assistant.cjs build",
"cpp:test": "node dbal/tools/cpp-build-assistant.cjs test",
"cpp:clean": "node dbal/tools/cpp-build-assistant.cjs clean",
"cpp:rebuild": "node dbal/tools/cpp-build-assistant.cjs rebuild",
"cpp:full": "node dbal/tools/cpp-build-assistant.cjs full",
"screenshot": "npx playwright install chromium && npx tsx scripts/capture-screenshot.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.958.0",
"@aws-sdk/lib-storage": "^3.958.0",
"@aws-sdk/s3-request-presigner": "^3.958.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@github/spark": ">=0.43.1 <1",
"@hookform/resolvers": "^5.2.2",
"@monaco-editor/react": "^4.7.0",
"@mui/icons-material": "^7.3.6",
"@mui/material": "^7.3.6",
"@mui/x-data-grid": "^8.23.0",
"@mui/x-date-pickers": "^8.23.0",
"@next/third-parties": "^16.1.1",
"@octokit/core": "^7.0.6",
"@phosphor-icons/react": "^2.1.10",
"@prisma/client": "^6.19.1",
"@tanstack/react-query": "^5.90.12",
"@types/jszip": "^3.4.1",
"d3": "^7.9.0",
"date-fns": "^4.1.0",
"fengari-interop": "^0.1.4",
"fengari-web": "^0.1.4",
"framer-motion": "^12.23.26",
"jszip": "^3.10.1",
"marked": "^17.0.1",
"next": "16.1.1",
"octokit": "^5.0.5",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-error-boundary": "^6.0.0",
"react-hook-form": "^7.69.0",
"recharts": "^3.6.0",
"server-only": "^0.0.1",
"sharp": "^0.34.5",
"sonner": "^2.0.7",
"three": "^0.182.0",
"uuid": "^13.0.0",
"zod": "^4.2.1"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.57.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.1",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.2",
"@vitest/coverage-v8": "^4.0.16",
"dotenv": "^17.2.3",
"eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^16.5.0",
"jsdom": "^27.3.0",
"prisma": "^6.19.1",
"sass": "^1.97.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.50.1",
"vite": "^7.3.0",
"vitest": "^4.0.16"
},
"workspaces": {
"packages": [
"packages/*"
]
}
}