e746b3c9a4
Closes Audit #3 P2 batch (knip dead exports/components, DemoSeeder hygiene, schema header drift). - Remove app/resources/js/views/admin/AdminPlaceholderView.vue (unreferenced placeholder view — confirmed via repo-wide grep, only doc references remain) - npm uninstall concurrently (no script invoked it; --legacy-peer-deps for Histoire 1.0-beta.1 peerDep quirk) - 12 unused exports → internal types (remove `export` keyword): - api/admin.ts: AdminTenantsStats, ApiTenantMetrics, ApiAdminBillingSummary, ApiAdminIncidentsSummary - api/notifications.ts: NotificationEvent - api/reports.ts: ApiReportType, ApiReportFormat, ApiReportParameters, ReportCounts, ReportQuota - composables/mockBilling.ts: TxType - composables/useStatusPill.ts: StatusPillSlug All 12 are used INSIDE their own file (response shapes), just not exported externally — converting to internal types satisfies knip without losing type-checking inside the file. - DatabaseSeeder::run() — DemoSeeder runs only in local+testing envs (`migrate:fresh --seed` in dev now produces demo tenant + admin@demo.local + 3 projects + ~14 demo deals; prod environments skip) - db/schema.sql header line 4: «62 базовые таблицы» → «63 базовые таблицы (61 regular + 2 partitioned parents: deals + supplier_lead_costs)» Closes schema header drift finding from Phase 3. Verification: - vue-tsc --noEmit: 0 errors - ESLint on touched files: 0 errors - Pest --parallel: 742/739/3sk/0 failed (identical to baseline, no regressions) - 2243 assertions / 34.46s Plan: docs/superpowers/plans/2026-05-14-audit3-deferred-fixes.md Task 2. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://www.schemastore.org/package.json",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"build:analyze": "cross-env BUILD_ANALYZE=1 vite build",
|
|
"dev": "vite",
|
|
"lint:vue": "eslint \"resources/js/**/*.{ts,vue}\" \"tests/Frontend/**/*.ts\"",
|
|
"format": "prettier --write \"resources/js/**/*.{ts,vue,css}\" \"tests/Frontend/**/*.ts\"",
|
|
"format:check": "prettier --check \"resources/js/**/*.{ts,vue,css}\" \"tests/Frontend/**/*.ts\"",
|
|
"type-check": "vue-tsc --noEmit",
|
|
"test:vue": "vitest run",
|
|
"dx": "node scripts/dev-indices-lookup.mjs",
|
|
"story": "histoire dev",
|
|
"story:build": "histoire build",
|
|
"story:preview": "histoire preview"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@histoire/plugin-vue": "^1.0.0-beta.1",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"@vitest/coverage-v8": "^4.1.5",
|
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
"@vue/test-utils": "^2.4.10",
|
|
"axios": "^1.16.0",
|
|
"cross-env": "^10.1.0",
|
|
"eslint": "^10.3.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-vue": "^10.9.1",
|
|
"histoire": "^1.0.0-beta.1",
|
|
"jsdom": "^29.1.1",
|
|
"knip": "^6.12.2",
|
|
"laravel-vite-plugin": "^3.1",
|
|
"pinia": "^3.0.4",
|
|
"prettier": "^3.8.3",
|
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
"sass-embedded": "^1.99.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.0",
|
|
"vite-plugin-vuetify": "^2.1.3",
|
|
"vitest": "^4.1.5",
|
|
"vue": "^3.5.34",
|
|
"vue-router": "^4.6.4",
|
|
"vue-tsc": "^3.2.8",
|
|
"vuedraggable": "^4.1.0",
|
|
"vuetify": "^3.12.5"
|
|
},
|
|
"dependencies": {
|
|
"lucide-vue-next": "^1.0.0"
|
|
}
|
|
}
|