chore(ui): add prettier-plugin-packagejson to enforce key ordering (#11172)

Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pablo Fernandez Guerra (PFE)
2026-05-21 09:25:37 +02:00
committed by GitHub
co-authored by Pablo F.G Claude Opus 4.7
parent b4159bd590
commit 5ac978b9a3
4 changed files with 246 additions and 171 deletions
+26 -28
View File
@@ -1,36 +1,37 @@
{
"name": "prowler-next-app",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev",
"audit": "pnpm audit --audit-level critical",
"audit:fix": "pnpm audit fix",
"audit:high": "pnpm audit --audit-level high",
"build": "next build",
"start": "next start",
"start:standalone": "node .next/standalone/server.js",
"deps:log": "node scripts/update-dependency-log.js",
"dev": "next dev",
"format:check": "./node_modules/.bin/prettier --check .",
"format:write": "./node_modules/.bin/prettier --config .prettierrc.json --write .",
"healthcheck": "pnpm run typecheck && pnpm run lint:check && pnpm run format:check",
"postinstall": "node scripts/postinstall.js",
"typecheck": "tsc",
"healthcheck": "pnpm run typecheck && pnpm run lint:check",
"lint:check": "eslint . --max-warnings 40",
"lint:fix": "eslint . --fix --max-warnings 40",
"lint:knip": "knip --max-issues 494",
"lint:knip:fix": "knip --fix --max-issues 494",
"format:check": "./node_modules/.bin/prettier --check .",
"format:write": "./node_modules/.bin/prettier --config .prettierrc.json --write .",
"start": "next start",
"start:standalone": "node .next/standalone/server.js",
"test": "vitest run",
"test:watch": "vitest",
"test:unit": "vitest run --project unit",
"test:browser": "vitest run --project browser",
"test:browser:watch": "vitest --project browser",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test --project=auth --project=sign-up --project=providers --project=invitations --project=scans",
"test:e2e:ui": "playwright test --project=auth --project=sign-up --project=providers --project=invitations --project=scans --ui",
"test:e2e:debug": "playwright test --project=auth --project=sign-up --project=providers --project=invitations --project=scans --debug",
"test:e2e:headed": "playwright test --project=auth --project=sign-up --project=providers --project=invitations --project=scans --headed",
"test:e2e:report": "playwright show-report",
"test:e2e:install": "playwright install",
"audit": "pnpm audit --audit-level critical",
"audit:high": "pnpm audit --audit-level high",
"audit:fix": "pnpm audit fix"
"test:e2e:report": "playwright show-report",
"test:e2e:ui": "playwright test --project=auth --project=sign-up --project=providers --project=invitations --project=scans --ui",
"test:unit": "vitest run --project unit",
"test:watch": "vitest",
"typecheck": "tsc"
},
"dependencies": {
"@ai-sdk/react": "2.0.111",
@@ -153,38 +154,35 @@
"msw": "2.13.4",
"postcss": "8.5.14",
"prettier": "3.6.2",
"prettier-plugin-packagejson": "2.5.22",
"prettier-plugin-tailwindcss": "0.6.14",
"tailwindcss": "4.1.18",
"typescript": "5.5.4",
"vitest": "4.0.18",
"vitest-browser-react": "2.0.4"
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"pnpm": {
"overrides": {
"@react-types/shared": "3.26.0",
"@hono/node-server": "1.19.14",
"@internationalized/date": "3.10.0",
"@isaacs/brace-expansion": "5.0.1",
"@react-aria/interactions>react": "19.2.6",
"@react-aria/ssr>react": "19.2.6",
"@react-aria/ssr>react-dom": "19.2.6",
"@react-aria/visually-hidden>react": "19.2.6",
"@react-aria/interactions>react": "19.2.6",
"fast-xml-parser": "5.8.0",
"hono": "4.12.18",
"lodash": "4.18.1",
"lodash-es": "4.18.1",
"hono": "4.12.18",
"@hono/node-server": "1.19.14",
"@isaacs/brace-expansion": "5.0.1",
"fast-xml-parser": "5.8.0",
"serialize-javascript": "7.0.5",
"rollup@>=4": "4.59.0",
"minimatch@<4": "3.1.4",
"minimatch@>=9 <10": "9.0.7",
"minimatch@>=10": "10.2.3",
"ajv@<7": "6.14.0",
"ajv@>=8": "8.18.0",
"qs": "6.14.2"
"minimatch@<4": "3.1.4",
"qs": "6.14.2",
"rollup@>=4": "4.59.0",
"serialize-javascript": "7.0.5"
}
},
"version": "0.0.1",
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"msw": {
"workerDirectory": [
"public"