@empline/preflight 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +540 -0
- package/dist/bin/approve.d.ts +24 -0
- package/dist/bin/approve.d.ts.map +1 -0
- package/dist/bin/approve.js +249 -0
- package/dist/bin/approve.js.map +1 -0
- package/dist/bin/audit.d.ts +64 -0
- package/dist/bin/audit.d.ts.map +1 -0
- package/dist/bin/audit.js +464 -0
- package/dist/bin/audit.js.map +1 -0
- package/dist/bin/install-hooks.d.ts +20 -0
- package/dist/bin/install-hooks.d.ts.map +1 -0
- package/dist/bin/install-hooks.js +204 -0
- package/dist/bin/install-hooks.js.map +1 -0
- package/dist/bin/preflight.d.ts +21 -0
- package/dist/bin/preflight.d.ts.map +1 -0
- package/dist/bin/preflight.js +218 -0
- package/dist/bin/preflight.js.map +1 -0
- package/dist/bin/preinstall.d.ts +15 -0
- package/dist/bin/preinstall.d.ts.map +1 -0
- package/dist/bin/preinstall.js +247 -0
- package/dist/bin/preinstall.js.map +1 -0
- package/dist/bin/review-drift.d.ts +17 -0
- package/dist/bin/review-drift.d.ts.map +1 -0
- package/dist/bin/review-drift.js +292 -0
- package/dist/bin/review-drift.js.map +1 -0
- package/dist/bin/review.d.ts +22 -0
- package/dist/bin/review.d.ts.map +1 -0
- package/dist/bin/review.js +179 -0
- package/dist/bin/review.js.map +1 -0
- package/dist/bin/submit-drift.d.ts +36 -0
- package/dist/bin/submit-drift.d.ts.map +1 -0
- package/dist/bin/submit-drift.js +534 -0
- package/dist/bin/submit-drift.js.map +1 -0
- package/dist/bin/submit.d.ts +23 -0
- package/dist/bin/submit.d.ts.map +1 -0
- package/dist/bin/submit.js +263 -0
- package/dist/bin/submit.js.map +1 -0
- package/dist/bin/watch.d.ts +27 -0
- package/dist/bin/watch.d.ts.map +1 -0
- package/dist/bin/watch.js +327 -0
- package/dist/bin/watch.js.map +1 -0
- package/dist/checks/ai/card-size-detection-validation.d.ts +23 -0
- package/dist/checks/ai/card-size-detection-validation.d.ts.map +1 -0
- package/dist/checks/ai/card-size-detection-validation.js +455 -0
- package/dist/checks/ai/card-size-detection-validation.js.map +1 -0
- package/dist/checks/ai/code-quality-ai.d.ts +17 -0
- package/dist/checks/ai/code-quality-ai.d.ts.map +1 -0
- package/dist/checks/ai/code-quality-ai.js +399 -0
- package/dist/checks/ai/code-quality-ai.js.map +1 -0
- package/dist/checks/ai/recognition-pipeline-validation.d.ts +30 -0
- package/dist/checks/ai/recognition-pipeline-validation.d.ts.map +1 -0
- package/dist/checks/ai/recognition-pipeline-validation.js +882 -0
- package/dist/checks/ai/recognition-pipeline-validation.js.map +1 -0
- package/dist/checks/ai/series-subset-hierarchy.d.ts +22 -0
- package/dist/checks/ai/series-subset-hierarchy.d.ts.map +1 -0
- package/dist/checks/ai/series-subset-hierarchy.js +374 -0
- package/dist/checks/ai/series-subset-hierarchy.js.map +1 -0
- package/dist/checks/api/api-completeness-check.d.ts +27 -0
- package/dist/checks/api/api-completeness-check.d.ts.map +1 -0
- package/dist/checks/api/api-completeness-check.js +326 -0
- package/dist/checks/api/api-completeness-check.js.map +1 -0
- package/dist/checks/api/api-contract-validation.d.ts +24 -0
- package/dist/checks/api/api-contract-validation.d.ts.map +1 -0
- package/dist/checks/api/api-contract-validation.js +219 -0
- package/dist/checks/api/api-contract-validation.js.map +1 -0
- package/dist/checks/api/api-error-abstraction.d.ts +29 -0
- package/dist/checks/api/api-error-abstraction.d.ts.map +1 -0
- package/dist/checks/api/api-error-abstraction.js +245 -0
- package/dist/checks/api/api-error-abstraction.js.map +1 -0
- package/dist/checks/api/pagination-validation.d.ts +21 -0
- package/dist/checks/api/pagination-validation.d.ts.map +1 -0
- package/dist/checks/api/pagination-validation.js +282 -0
- package/dist/checks/api/pagination-validation.js.map +1 -0
- package/dist/checks/api/response-consistency.d.ts +21 -0
- package/dist/checks/api/response-consistency.d.ts.map +1 -0
- package/dist/checks/api/response-consistency.js +246 -0
- package/dist/checks/api/response-consistency.js.map +1 -0
- package/dist/checks/api/response-schema-validation.d.ts +25 -0
- package/dist/checks/api/response-schema-validation.d.ts.map +1 -0
- package/dist/checks/api/response-schema-validation.js +294 -0
- package/dist/checks/api/response-schema-validation.js.map +1 -0
- package/dist/checks/api/response-time-budget.d.ts +18 -0
- package/dist/checks/api/response-time-budget.d.ts.map +1 -0
- package/dist/checks/api/response-time-budget.js +312 -0
- package/dist/checks/api/response-time-budget.js.map +1 -0
- package/dist/checks/api/variant-switching-integrity.d.ts +23 -0
- package/dist/checks/api/variant-switching-integrity.d.ts.map +1 -0
- package/dist/checks/api/variant-switching-integrity.js +312 -0
- package/dist/checks/api/variant-switching-integrity.js.map +1 -0
- package/dist/checks/architecture/admin-page-consistency.d.ts +28 -0
- package/dist/checks/architecture/admin-page-consistency.d.ts.map +1 -0
- package/dist/checks/architecture/admin-page-consistency.js +300 -0
- package/dist/checks/architecture/admin-page-consistency.js.map +1 -0
- package/dist/checks/architecture/backend-ui-coverage.d.ts +26 -0
- package/dist/checks/architecture/backend-ui-coverage.d.ts.map +1 -0
- package/dist/checks/architecture/backend-ui-coverage.js +565 -0
- package/dist/checks/architecture/backend-ui-coverage.js.map +1 -0
- package/dist/checks/architecture/component-architecture.d.ts +27 -0
- package/dist/checks/architecture/component-architecture.d.ts.map +1 -0
- package/dist/checks/architecture/component-architecture.js +517 -0
- package/dist/checks/architecture/component-architecture.js.map +1 -0
- package/dist/checks/architecture/component-consolidation-opportunities.d.ts +29 -0
- package/dist/checks/architecture/component-consolidation-opportunities.d.ts.map +1 -0
- package/dist/checks/architecture/component-consolidation-opportunities.js +344 -0
- package/dist/checks/architecture/component-consolidation-opportunities.js.map +1 -0
- package/dist/checks/architecture/orphaned-pages-detection.d.ts +35 -0
- package/dist/checks/architecture/orphaned-pages-detection.d.ts.map +1 -0
- package/dist/checks/architecture/orphaned-pages-detection.js +470 -0
- package/dist/checks/architecture/orphaned-pages-detection.js.map +1 -0
- package/dist/checks/architecture/primitive-component-enforcement.d.ts +26 -0
- package/dist/checks/architecture/primitive-component-enforcement.d.ts.map +1 -0
- package/dist/checks/architecture/primitive-component-enforcement.js +311 -0
- package/dist/checks/architecture/primitive-component-enforcement.js.map +1 -0
- package/dist/checks/architecture/shared-component-enforcement.d.ts +34 -0
- package/dist/checks/architecture/shared-component-enforcement.d.ts.map +1 -0
- package/dist/checks/architecture/shared-component-enforcement.js +725 -0
- package/dist/checks/architecture/shared-component-enforcement.js.map +1 -0
- package/dist/checks/async-cleanup-validation.d.ts +22 -0
- package/dist/checks/async-cleanup-validation.d.ts.map +1 -0
- package/dist/checks/async-cleanup-validation.js +193 -0
- package/dist/checks/async-cleanup-validation.js.map +1 -0
- package/dist/checks/auth/auth-page-consistency.d.ts +25 -0
- package/dist/checks/auth/auth-page-consistency.d.ts.map +1 -0
- package/dist/checks/auth/auth-page-consistency.js +582 -0
- package/dist/checks/auth/auth-page-consistency.js.map +1 -0
- package/dist/checks/auth/authenticated-redirect.d.ts +56 -0
- package/dist/checks/auth/authenticated-redirect.d.ts.map +1 -0
- package/dist/checks/auth/authenticated-redirect.js +392 -0
- package/dist/checks/auth/authenticated-redirect.js.map +1 -0
- package/dist/checks/auth/role-validation.d.ts +32 -0
- package/dist/checks/auth/role-validation.d.ts.map +1 -0
- package/dist/checks/auth/role-validation.js +256 -0
- package/dist/checks/auth/role-validation.js.map +1 -0
- package/dist/checks/auth/session-integrity-validation.d.ts +59 -0
- package/dist/checks/auth/session-integrity-validation.d.ts.map +1 -0
- package/dist/checks/auth/session-integrity-validation.js +405 -0
- package/dist/checks/auth/session-integrity-validation.js.map +1 -0
- package/dist/checks/auth/session-security.d.ts +69 -0
- package/dist/checks/auth/session-security.d.ts.map +1 -0
- package/dist/checks/auth/session-security.js +420 -0
- package/dist/checks/auth/session-security.js.map +1 -0
- package/dist/checks/auth/session-update-safety.d.ts +97 -0
- package/dist/checks/auth/session-update-safety.d.ts.map +1 -0
- package/dist/checks/auth/session-update-safety.js +700 -0
- package/dist/checks/auth/session-update-safety.js.map +1 -0
- package/dist/checks/auth/store-access-delegation.d.ts +35 -0
- package/dist/checks/auth/store-access-delegation.d.ts.map +1 -0
- package/dist/checks/auth/store-access-delegation.js +344 -0
- package/dist/checks/auth/store-access-delegation.js.map +1 -0
- package/dist/checks/business/business-invariants.d.ts +21 -0
- package/dist/checks/business/business-invariants.d.ts.map +1 -0
- package/dist/checks/business/business-invariants.js +177 -0
- package/dist/checks/business/business-invariants.js.map +1 -0
- package/dist/checks/business/currency-precision.d.ts +21 -0
- package/dist/checks/business/currency-precision.d.ts.map +1 -0
- package/dist/checks/business/currency-precision.js +342 -0
- package/dist/checks/business/currency-precision.js.map +1 -0
- package/dist/checks/business/idempotency-key-validation.d.ts +27 -0
- package/dist/checks/business/idempotency-key-validation.d.ts.map +1 -0
- package/dist/checks/business/idempotency-key-validation.js +275 -0
- package/dist/checks/business/idempotency-key-validation.js.map +1 -0
- package/dist/checks/business/image-metadata-injection.d.ts +20 -0
- package/dist/checks/business/image-metadata-injection.d.ts.map +1 -0
- package/dist/checks/business/image-metadata-injection.js +370 -0
- package/dist/checks/business/image-metadata-injection.js.map +1 -0
- package/dist/checks/business/image-processing-config-sync.d.ts +36 -0
- package/dist/checks/business/image-processing-config-sync.d.ts.map +1 -0
- package/dist/checks/business/image-processing-config-sync.js +442 -0
- package/dist/checks/business/image-processing-config-sync.js.map +1 -0
- package/dist/checks/business/image-upload-optimization.d.ts +21 -0
- package/dist/checks/business/image-upload-optimization.d.ts.map +1 -0
- package/dist/checks/business/image-upload-optimization.js +274 -0
- package/dist/checks/business/image-upload-optimization.js.map +1 -0
- package/dist/checks/business/inventory-atomicity-validation.d.ts +20 -0
- package/dist/checks/business/inventory-atomicity-validation.d.ts.map +1 -0
- package/dist/checks/business/inventory-atomicity-validation.js +263 -0
- package/dist/checks/business/inventory-atomicity-validation.js.map +1 -0
- package/dist/checks/business/listing-status-validation.d.ts +28 -0
- package/dist/checks/business/listing-status-validation.d.ts.map +1 -0
- package/dist/checks/business/listing-status-validation.js +274 -0
- package/dist/checks/business/listing-status-validation.js.map +1 -0
- package/dist/checks/business/order-state-machine-validation.d.ts +20 -0
- package/dist/checks/business/order-state-machine-validation.d.ts.map +1 -0
- package/dist/checks/business/order-state-machine-validation.js +294 -0
- package/dist/checks/business/order-state-machine-validation.js.map +1 -0
- package/dist/checks/business/price-calculation-validation.d.ts +20 -0
- package/dist/checks/business/price-calculation-validation.d.ts.map +1 -0
- package/dist/checks/business/price-calculation-validation.js +258 -0
- package/dist/checks/business/price-calculation-validation.js.map +1 -0
- package/dist/checks/business/price-display-validation.d.ts +22 -0
- package/dist/checks/business/price-display-validation.d.ts.map +1 -0
- package/dist/checks/business/price-display-validation.js +152 -0
- package/dist/checks/business/price-display-validation.js.map +1 -0
- package/dist/checks/business/resilient-recognition-validation.d.ts +28 -0
- package/dist/checks/business/resilient-recognition-validation.d.ts.map +1 -0
- package/dist/checks/business/resilient-recognition-validation.js +241 -0
- package/dist/checks/business/resilient-recognition-validation.js.map +1 -0
- package/dist/checks/business/store-approval-listing-filter.d.ts +21 -0
- package/dist/checks/business/store-approval-listing-filter.d.ts.map +1 -0
- package/dist/checks/business/store-approval-listing-filter.js +188 -0
- package/dist/checks/business/store-approval-listing-filter.js.map +1 -0
- package/dist/checks/business/timezone-handling.d.ts +28 -0
- package/dist/checks/business/timezone-handling.d.ts.map +1 -0
- package/dist/checks/business/timezone-handling.js +303 -0
- package/dist/checks/business/timezone-handling.js.map +1 -0
- package/dist/checks/card-processing/card-property-consistency.d.ts +22 -0
- package/dist/checks/card-processing/card-property-consistency.d.ts.map +1 -0
- package/dist/checks/card-processing/card-property-consistency.js +317 -0
- package/dist/checks/card-processing/card-property-consistency.js.map +1 -0
- package/dist/checks/card-processing/card-size-consistency.d.ts +21 -0
- package/dist/checks/card-processing/card-size-consistency.d.ts.map +1 -0
- package/dist/checks/card-processing/card-size-consistency.js +324 -0
- package/dist/checks/card-processing/card-size-consistency.js.map +1 -0
- package/dist/checks/card-processing/catalog-fk-safety-validation.d.ts +29 -0
- package/dist/checks/card-processing/catalog-fk-safety-validation.d.ts.map +1 -0
- package/dist/checks/card-processing/catalog-fk-safety-validation.js +280 -0
- package/dist/checks/card-processing/catalog-fk-safety-validation.js.map +1 -0
- package/dist/checks/card-processing/database-first-pattern.d.ts +26 -0
- package/dist/checks/card-processing/database-first-pattern.d.ts.map +1 -0
- package/dist/checks/card-processing/database-first-pattern.js +213 -0
- package/dist/checks/card-processing/database-first-pattern.js.map +1 -0
- package/dist/checks/card-processing/image-workflow-validation.d.ts +49 -0
- package/dist/checks/card-processing/image-workflow-validation.d.ts.map +1 -0
- package/dist/checks/card-processing/image-workflow-validation.js +511 -0
- package/dist/checks/card-processing/image-workflow-validation.js.map +1 -0
- package/dist/checks/card-processing/prisma-enum-sync.d.ts +21 -0
- package/dist/checks/card-processing/prisma-enum-sync.d.ts.map +1 -0
- package/dist/checks/card-processing/prisma-enum-sync.js +304 -0
- package/dist/checks/card-processing/prisma-enum-sync.js.map +1 -0
- package/dist/checks/card-processing/recognition-progress-validation.d.ts +29 -0
- package/dist/checks/card-processing/recognition-progress-validation.d.ts.map +1 -0
- package/dist/checks/card-processing/recognition-progress-validation.js +302 -0
- package/dist/checks/card-processing/recognition-progress-validation.js.map +1 -0
- package/dist/checks/card-processing/reftable-config-sync.d.ts +26 -0
- package/dist/checks/card-processing/reftable-config-sync.d.ts.map +1 -0
- package/dist/checks/card-processing/reftable-config-sync.js +171 -0
- package/dist/checks/card-processing/reftable-config-sync.js.map +1 -0
- package/dist/checks/card-processing/test-image-processing-pipeline.d.ts +24 -0
- package/dist/checks/card-processing/test-image-processing-pipeline.d.ts.map +1 -0
- package/dist/checks/card-processing/test-image-processing-pipeline.js +188 -0
- package/dist/checks/card-processing/test-image-processing-pipeline.js.map +1 -0
- package/dist/checks/code-hygiene/any-type-detection.d.ts +30 -0
- package/dist/checks/code-hygiene/any-type-detection.d.ts.map +1 -0
- package/dist/checks/code-hygiene/any-type-detection.js +214 -0
- package/dist/checks/code-hygiene/any-type-detection.js.map +1 -0
- package/dist/checks/code-hygiene/api-error-handling.d.ts +29 -0
- package/dist/checks/code-hygiene/api-error-handling.d.ts.map +1 -0
- package/dist/checks/code-hygiene/api-error-handling.js +285 -0
- package/dist/checks/code-hygiene/api-error-handling.js.map +1 -0
- package/dist/checks/code-hygiene/broken-template-literals.d.ts +25 -0
- package/dist/checks/code-hygiene/broken-template-literals.d.ts.map +1 -0
- package/dist/checks/code-hygiene/broken-template-literals.js +220 -0
- package/dist/checks/code-hygiene/broken-template-literals.js.map +1 -0
- package/dist/checks/code-hygiene/comment-hygiene.d.ts +27 -0
- package/dist/checks/code-hygiene/comment-hygiene.d.ts.map +1 -0
- package/dist/checks/code-hygiene/comment-hygiene.js +428 -0
- package/dist/checks/code-hygiene/comment-hygiene.js.map +1 -0
- package/dist/checks/code-hygiene/console-chars-sync.d.ts +27 -0
- package/dist/checks/code-hygiene/console-chars-sync.d.ts.map +1 -0
- package/dist/checks/code-hygiene/console-chars-sync.js +420 -0
- package/dist/checks/code-hygiene/console-chars-sync.js.map +1 -0
- package/dist/checks/code-hygiene/console-log-detection.d.ts +27 -0
- package/dist/checks/code-hygiene/console-log-detection.d.ts.map +1 -0
- package/dist/checks/code-hygiene/console-log-detection.js +202 -0
- package/dist/checks/code-hygiene/console-log-detection.js.map +1 -0
- package/dist/checks/code-hygiene/dead-code-detection.d.ts +28 -0
- package/dist/checks/code-hygiene/dead-code-detection.d.ts.map +1 -0
- package/dist/checks/code-hygiene/dead-code-detection.js +217 -0
- package/dist/checks/code-hygiene/dead-code-detection.js.map +1 -0
- package/dist/checks/code-hygiene/decorative-separators.d.ts +33 -0
- package/dist/checks/code-hygiene/decorative-separators.d.ts.map +1 -0
- package/dist/checks/code-hygiene/decorative-separators.js +259 -0
- package/dist/checks/code-hygiene/decorative-separators.js.map +1 -0
- package/dist/checks/code-hygiene/empty-catch-detection.d.ts +25 -0
- package/dist/checks/code-hygiene/empty-catch-detection.d.ts.map +1 -0
- package/dist/checks/code-hygiene/empty-catch-detection.js +190 -0
- package/dist/checks/code-hygiene/empty-catch-detection.js.map +1 -0
- package/dist/checks/code-hygiene/fix-hardcoded-emoji.d.ts +19 -0
- package/dist/checks/code-hygiene/fix-hardcoded-emoji.d.ts.map +1 -0
- package/dist/checks/code-hygiene/fix-hardcoded-emoji.js +335 -0
- package/dist/checks/code-hygiene/fix-hardcoded-emoji.js.map +1 -0
- package/dist/checks/code-hygiene/log-level-misuse.d.ts +26 -0
- package/dist/checks/code-hygiene/log-level-misuse.d.ts.map +1 -0
- package/dist/checks/code-hygiene/log-level-misuse.js +390 -0
- package/dist/checks/code-hygiene/log-level-misuse.js.map +1 -0
- package/dist/checks/code-hygiene/missing-logger-import.d.ts +17 -0
- package/dist/checks/code-hygiene/missing-logger-import.d.ts.map +1 -0
- package/dist/checks/code-hygiene/missing-logger-import.js +161 -0
- package/dist/checks/code-hygiene/missing-logger-import.js.map +1 -0
- package/dist/checks/code-hygiene/root-file-hygiene.d.ts +32 -0
- package/dist/checks/code-hygiene/root-file-hygiene.d.ts.map +1 -0
- package/dist/checks/code-hygiene/root-file-hygiene.js +288 -0
- package/dist/checks/code-hygiene/root-file-hygiene.js.map +1 -0
- package/dist/checks/code-hygiene/todo-tracking.d.ts +25 -0
- package/dist/checks/code-hygiene/todo-tracking.d.ts.map +1 -0
- package/dist/checks/code-hygiene/todo-tracking.js +213 -0
- package/dist/checks/code-hygiene/todo-tracking.js.map +1 -0
- package/dist/checks/code-hygiene/unicode-console-compatibility.d.ts +22 -0
- package/dist/checks/code-hygiene/unicode-console-compatibility.d.ts.map +1 -0
- package/dist/checks/code-hygiene/unicode-console-compatibility.js +240 -0
- package/dist/checks/code-hygiene/unicode-console-compatibility.js.map +1 -0
- package/dist/checks/code-quality/api-route-patterns.d.ts +30 -0
- package/dist/checks/code-quality/api-route-patterns.d.ts.map +1 -0
- package/dist/checks/code-quality/api-route-patterns.js +356 -0
- package/dist/checks/code-quality/api-route-patterns.js.map +1 -0
- package/dist/checks/code-quality/barrel-export-orphans.d.ts +21 -0
- package/dist/checks/code-quality/barrel-export-orphans.d.ts.map +1 -0
- package/dist/checks/code-quality/barrel-export-orphans.js +327 -0
- package/dist/checks/code-quality/barrel-export-orphans.js.map +1 -0
- package/dist/checks/code-quality/barrel-export-validation.d.ts +19 -0
- package/dist/checks/code-quality/barrel-export-validation.d.ts.map +1 -0
- package/dist/checks/code-quality/barrel-export-validation.js +315 -0
- package/dist/checks/code-quality/barrel-export-validation.js.map +1 -0
- package/dist/checks/code-quality/circular-dependency-detection.d.ts +20 -0
- package/dist/checks/code-quality/circular-dependency-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/circular-dependency-detection.js +322 -0
- package/dist/checks/code-quality/circular-dependency-detection.js.map +1 -0
- package/dist/checks/code-quality/deprecated-patterns.d.ts +23 -0
- package/dist/checks/code-quality/deprecated-patterns.d.ts.map +1 -0
- package/dist/checks/code-quality/deprecated-patterns.js +366 -0
- package/dist/checks/code-quality/deprecated-patterns.js.map +1 -0
- package/dist/checks/code-quality/duplicate-implementation-detection.d.ts +21 -0
- package/dist/checks/code-quality/duplicate-implementation-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/duplicate-implementation-detection.js +165 -0
- package/dist/checks/code-quality/duplicate-implementation-detection.js.map +1 -0
- package/dist/checks/code-quality/duplicate-logic-detection.d.ts +39 -0
- package/dist/checks/code-quality/duplicate-logic-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/duplicate-logic-detection.js +269 -0
- package/dist/checks/code-quality/duplicate-logic-detection.js.map +1 -0
- package/dist/checks/code-quality/feature-flag-hygiene.d.ts +26 -0
- package/dist/checks/code-quality/feature-flag-hygiene.d.ts.map +1 -0
- package/dist/checks/code-quality/feature-flag-hygiene.js +357 -0
- package/dist/checks/code-quality/feature-flag-hygiene.js.map +1 -0
- package/dist/checks/code-quality/grading-config-usage.d.ts +30 -0
- package/dist/checks/code-quality/grading-config-usage.d.ts.map +1 -0
- package/dist/checks/code-quality/grading-config-usage.js +213 -0
- package/dist/checks/code-quality/grading-config-usage.js.map +1 -0
- package/dist/checks/code-quality/legacy-code-detection.d.ts +24 -0
- package/dist/checks/code-quality/legacy-code-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/legacy-code-detection.js +287 -0
- package/dist/checks/code-quality/legacy-code-detection.js.map +1 -0
- package/dist/checks/code-quality/legacy-data-pattern-detection.d.ts +36 -0
- package/dist/checks/code-quality/legacy-data-pattern-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/legacy-data-pattern-detection.js +460 -0
- package/dist/checks/code-quality/legacy-data-pattern-detection.js.map +1 -0
- package/dist/checks/code-quality/magic-number-detection.d.ts +30 -0
- package/dist/checks/code-quality/magic-number-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/magic-number-detection.js +402 -0
- package/dist/checks/code-quality/magic-number-detection.js.map +1 -0
- package/dist/checks/code-quality/mock-function-detection.d.ts +33 -0
- package/dist/checks/code-quality/mock-function-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/mock-function-detection.js +247 -0
- package/dist/checks/code-quality/mock-function-detection.js.map +1 -0
- package/dist/checks/code-quality/no-console-production.d.ts +27 -0
- package/dist/checks/code-quality/no-console-production.d.ts.map +1 -0
- package/dist/checks/code-quality/no-console-production.js +269 -0
- package/dist/checks/code-quality/no-console-production.js.map +1 -0
- package/dist/checks/code-quality/orphaned-module-detection.d.ts +20 -0
- package/dist/checks/code-quality/orphaned-module-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/orphaned-module-detection.js +287 -0
- package/dist/checks/code-quality/orphaned-module-detection.js.map +1 -0
- package/dist/checks/code-quality/shared-utility-gaps.d.ts +28 -0
- package/dist/checks/code-quality/shared-utility-gaps.d.ts.map +1 -0
- package/dist/checks/code-quality/shared-utility-gaps.js +414 -0
- package/dist/checks/code-quality/shared-utility-gaps.js.map +1 -0
- package/dist/checks/code-quality/stub-script-detection.d.ts +33 -0
- package/dist/checks/code-quality/stub-script-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/stub-script-detection.js +214 -0
- package/dist/checks/code-quality/stub-script-detection.js.map +1 -0
- package/dist/checks/code-quality/typescript-type-safety.d.ts +31 -0
- package/dist/checks/code-quality/typescript-type-safety.d.ts.map +1 -0
- package/dist/checks/code-quality/typescript-type-safety.js +228 -0
- package/dist/checks/code-quality/typescript-type-safety.js.map +1 -0
- package/dist/checks/code-quality/unused-lib-detection.d.ts +20 -0
- package/dist/checks/code-quality/unused-lib-detection.d.ts.map +1 -0
- package/dist/checks/code-quality/unused-lib-detection.js +262 -0
- package/dist/checks/code-quality/unused-lib-detection.js.map +1 -0
- package/dist/checks/component-imports.d.ts +15 -0
- package/dist/checks/component-imports.d.ts.map +1 -0
- package/dist/checks/component-imports.js +232 -0
- package/dist/checks/component-imports.js.map +1 -0
- package/dist/checks/config/configuration-drift-detection.d.ts +24 -0
- package/dist/checks/config/configuration-drift-detection.d.ts.map +1 -0
- package/dist/checks/config/configuration-drift-detection.js +286 -0
- package/dist/checks/config/configuration-drift-detection.js.map +1 -0
- package/dist/checks/config/env-completeness.d.ts +20 -0
- package/dist/checks/config/env-completeness.d.ts.map +1 -0
- package/dist/checks/config/env-completeness.js +193 -0
- package/dist/checks/config/env-completeness.js.map +1 -0
- package/dist/checks/coverage-gap-analysis.d.ts +21 -0
- package/dist/checks/coverage-gap-analysis.d.ts.map +1 -0
- package/dist/checks/coverage-gap-analysis.js +779 -0
- package/dist/checks/coverage-gap-analysis.js.map +1 -0
- package/dist/checks/css/dead-css-detection.d.ts +15 -0
- package/dist/checks/css/dead-css-detection.d.ts.map +1 -0
- package/dist/checks/css/dead-css-detection.js +225 -0
- package/dist/checks/css/dead-css-detection.js.map +1 -0
- package/dist/checks/css/sticky-header-validation.d.ts +19 -0
- package/dist/checks/css/sticky-header-validation.d.ts.map +1 -0
- package/dist/checks/css/sticky-header-validation.js +256 -0
- package/dist/checks/css/sticky-header-validation.js.map +1 -0
- package/dist/checks/data-integrity/cart-data-integrity.d.ts +21 -0
- package/dist/checks/data-integrity/cart-data-integrity.d.ts.map +1 -0
- package/dist/checks/data-integrity/cart-data-integrity.js +242 -0
- package/dist/checks/data-integrity/cart-data-integrity.js.map +1 -0
- package/dist/checks/data-integrity/entity-casing-validation.d.ts +24 -0
- package/dist/checks/data-integrity/entity-casing-validation.d.ts.map +1 -0
- package/dist/checks/data-integrity/entity-casing-validation.js +278 -0
- package/dist/checks/data-integrity/entity-casing-validation.js.map +1 -0
- package/dist/checks/data-integrity/enum-special-chars-validation.d.ts +27 -0
- package/dist/checks/data-integrity/enum-special-chars-validation.d.ts.map +1 -0
- package/dist/checks/data-integrity/enum-special-chars-validation.js +100 -0
- package/dist/checks/data-integrity/enum-special-chars-validation.js.map +1 -0
- package/dist/checks/data-integrity/notification-template-alignment.d.ts +23 -0
- package/dist/checks/data-integrity/notification-template-alignment.d.ts.map +1 -0
- package/dist/checks/data-integrity/notification-template-alignment.js +379 -0
- package/dist/checks/data-integrity/notification-template-alignment.js.map +1 -0
- package/dist/checks/data-integrity/product-data-flow-validation.d.ts +23 -0
- package/dist/checks/data-integrity/product-data-flow-validation.d.ts.map +1 -0
- package/dist/checks/data-integrity/product-data-flow-validation.js +576 -0
- package/dist/checks/data-integrity/product-data-flow-validation.js.map +1 -0
- package/dist/checks/data-integrity/r2-metadata-management.d.ts +18 -0
- package/dist/checks/data-integrity/r2-metadata-management.d.ts.map +1 -0
- package/dist/checks/data-integrity/r2-metadata-management.js +302 -0
- package/dist/checks/data-integrity/r2-metadata-management.js.map +1 -0
- package/dist/checks/data-integrity/store-data-integrity.d.ts +20 -0
- package/dist/checks/data-integrity/store-data-integrity.d.ts.map +1 -0
- package/dist/checks/data-integrity/store-data-integrity.js +405 -0
- package/dist/checks/data-integrity/store-data-integrity.js.map +1 -0
- package/dist/checks/data-integrity/unwired-functionality.d.ts +23 -0
- package/dist/checks/data-integrity/unwired-functionality.d.ts.map +1 -0
- package/dist/checks/data-integrity/unwired-functionality.js +556 -0
- package/dist/checks/data-integrity/unwired-functionality.js.map +1 -0
- package/dist/checks/database/block-db-push.d.ts +30 -0
- package/dist/checks/database/block-db-push.d.ts.map +1 -0
- package/dist/checks/database/block-db-push.js +144 -0
- package/dist/checks/database/block-db-push.js.map +1 -0
- package/dist/checks/database/grade-integrity.d.ts +13 -0
- package/dist/checks/database/grade-integrity.d.ts.map +1 -0
- package/dist/checks/database/grade-integrity.js +134 -0
- package/dist/checks/database/grade-integrity.js.map +1 -0
- package/dist/checks/database/migration-integrity.d.ts +27 -0
- package/dist/checks/database/migration-integrity.d.ts.map +1 -0
- package/dist/checks/database/migration-integrity.js +242 -0
- package/dist/checks/database/migration-integrity.js.map +1 -0
- package/dist/checks/database/migration-reversibility.d.ts +26 -0
- package/dist/checks/database/migration-reversibility.d.ts.map +1 -0
- package/dist/checks/database/migration-reversibility.js +280 -0
- package/dist/checks/database/migration-reversibility.js.map +1 -0
- package/dist/checks/database/migration-safety.d.ts +27 -0
- package/dist/checks/database/migration-safety.d.ts.map +1 -0
- package/dist/checks/database/migration-safety.js +243 -0
- package/dist/checks/database/migration-safety.js.map +1 -0
- package/dist/checks/database/prisma-client-db-sync.d.ts +25 -0
- package/dist/checks/database/prisma-client-db-sync.d.ts.map +1 -0
- package/dist/checks/database/prisma-client-db-sync.js +229 -0
- package/dist/checks/database/prisma-client-db-sync.js.map +1 -0
- package/dist/checks/database/prisma-drift-prevention.d.ts +30 -0
- package/dist/checks/database/prisma-drift-prevention.d.ts.map +1 -0
- package/dist/checks/database/prisma-drift-prevention.js +617 -0
- package/dist/checks/database/prisma-drift-prevention.js.map +1 -0
- package/dist/checks/database/prisma-overfetch-detection.d.ts +27 -0
- package/dist/checks/database/prisma-overfetch-detection.d.ts.map +1 -0
- package/dist/checks/database/prisma-overfetch-detection.js +669 -0
- package/dist/checks/database/prisma-overfetch-detection.js.map +1 -0
- package/dist/checks/database/prisma-precommit-guard.d.ts +26 -0
- package/dist/checks/database/prisma-precommit-guard.d.ts.map +1 -0
- package/dist/checks/database/prisma-precommit-guard.js +194 -0
- package/dist/checks/database/prisma-precommit-guard.js.map +1 -0
- package/dist/checks/database/prisma-schema-syntax.d.ts +18 -0
- package/dist/checks/database/prisma-schema-syntax.d.ts.map +1 -0
- package/dist/checks/database/prisma-schema-syntax.js +64 -0
- package/dist/checks/database/prisma-schema-syntax.js.map +1 -0
- package/dist/checks/database/prod-db-guardrail.d.ts +21 -0
- package/dist/checks/database/prod-db-guardrail.d.ts.map +1 -0
- package/dist/checks/database/prod-db-guardrail.js +190 -0
- package/dist/checks/database/prod-db-guardrail.js.map +1 -0
- package/dist/checks/database/schema-best-practices.d.ts +25 -0
- package/dist/checks/database/schema-best-practices.d.ts.map +1 -0
- package/dist/checks/database/schema-best-practices.js +396 -0
- package/dist/checks/database/schema-best-practices.js.map +1 -0
- package/dist/checks/database/schema-migration-column-sync.d.ts +34 -0
- package/dist/checks/database/schema-migration-column-sync.d.ts.map +1 -0
- package/dist/checks/database/schema-migration-column-sync.js +574 -0
- package/dist/checks/database/schema-migration-column-sync.js.map +1 -0
- package/dist/checks/database/seed-coverage-validation.d.ts +30 -0
- package/dist/checks/database/seed-coverage-validation.d.ts.map +1 -0
- package/dist/checks/database/seed-coverage-validation.js +598 -0
- package/dist/checks/database/seed-coverage-validation.js.map +1 -0
- package/dist/checks/database/soft-delete-consistency.d.ts +24 -0
- package/dist/checks/database/soft-delete-consistency.d.ts.map +1 -0
- package/dist/checks/database/soft-delete-consistency.js +273 -0
- package/dist/checks/database/soft-delete-consistency.js.map +1 -0
- package/dist/checks/database/tcg-seed-validation.d.ts +30 -0
- package/dist/checks/database/tcg-seed-validation.d.ts.map +1 -0
- package/dist/checks/database/tcg-seed-validation.js +284 -0
- package/dist/checks/database/tcg-seed-validation.js.map +1 -0
- package/dist/checks/database/transaction-integrity.d.ts +25 -0
- package/dist/checks/database/transaction-integrity.d.ts.map +1 -0
- package/dist/checks/database/transaction-integrity.js +275 -0
- package/dist/checks/database/transaction-integrity.js.map +1 -0
- package/dist/checks/database/unused-schema-detection.d.ts +29 -0
- package/dist/checks/database/unused-schema-detection.d.ts.map +1 -0
- package/dist/checks/database/unused-schema-detection.js +627 -0
- package/dist/checks/database/unused-schema-detection.js.map +1 -0
- package/dist/checks/dependencies/deprecated-packages.d.ts +17 -0
- package/dist/checks/dependencies/deprecated-packages.d.ts.map +1 -0
- package/dist/checks/dependencies/deprecated-packages.js +220 -0
- package/dist/checks/dependencies/deprecated-packages.js.map +1 -0
- package/dist/checks/dependencies/weekly-stable-updates.d.ts +27 -0
- package/dist/checks/dependencies/weekly-stable-updates.d.ts.map +1 -0
- package/dist/checks/dependencies/weekly-stable-updates.js +490 -0
- package/dist/checks/dependencies/weekly-stable-updates.js.map +1 -0
- package/dist/checks/deployment/esm-import-extensions.d.ts +24 -0
- package/dist/checks/deployment/esm-import-extensions.d.ts.map +1 -0
- package/dist/checks/deployment/esm-import-extensions.js +186 -0
- package/dist/checks/deployment/esm-import-extensions.js.map +1 -0
- package/dist/checks/deployment/pre-production-checklist-quick.d.ts +16 -0
- package/dist/checks/deployment/pre-production-checklist-quick.d.ts.map +1 -0
- package/dist/checks/deployment/pre-production-checklist-quick.js +146 -0
- package/dist/checks/deployment/pre-production-checklist-quick.js.map +1 -0
- package/dist/checks/deployment/pre-production-checklist.d.ts +19 -0
- package/dist/checks/deployment/pre-production-checklist.d.ts.map +1 -0
- package/dist/checks/deployment/pre-production-checklist.js +225 -0
- package/dist/checks/deployment/pre-production-checklist.js.map +1 -0
- package/dist/checks/deployment/production-config.d.ts +36 -0
- package/dist/checks/deployment/production-config.d.ts.map +1 -0
- package/dist/checks/deployment/production-config.js +424 -0
- package/dist/checks/deployment/production-config.js.map +1 -0
- package/dist/checks/deployment/production-env-validation.d.ts +19 -0
- package/dist/checks/deployment/production-env-validation.d.ts.map +1 -0
- package/dist/checks/deployment/production-env-validation.js +168 -0
- package/dist/checks/deployment/production-env-validation.js.map +1 -0
- package/dist/checks/deployment/rollback-compatibility.d.ts +28 -0
- package/dist/checks/deployment/rollback-compatibility.d.ts.map +1 -0
- package/dist/checks/deployment/rollback-compatibility.js +330 -0
- package/dist/checks/deployment/rollback-compatibility.js.map +1 -0
- package/dist/checks/deprecated-api-usage.d.ts +86 -0
- package/dist/checks/deprecated-api-usage.d.ts.map +1 -0
- package/dist/checks/deprecated-api-usage.js +382 -0
- package/dist/checks/deprecated-api-usage.js.map +1 -0
- package/dist/checks/drift-prevention/api-contract-consistency.d.ts +18 -0
- package/dist/checks/drift-prevention/api-contract-consistency.d.ts.map +1 -0
- package/dist/checks/drift-prevention/api-contract-consistency.js +279 -0
- package/dist/checks/drift-prevention/api-contract-consistency.js.map +1 -0
- package/dist/checks/drift-prevention/breaking-change-detection.d.ts +29 -0
- package/dist/checks/drift-prevention/breaking-change-detection.d.ts.map +1 -0
- package/dist/checks/drift-prevention/breaking-change-detection.js +367 -0
- package/dist/checks/drift-prevention/breaking-change-detection.js.map +1 -0
- package/dist/checks/drift-prevention/component-prop-consistency.d.ts +18 -0
- package/dist/checks/drift-prevention/component-prop-consistency.d.ts.map +1 -0
- package/dist/checks/drift-prevention/component-prop-consistency.js +289 -0
- package/dist/checks/drift-prevention/component-prop-consistency.js.map +1 -0
- package/dist/checks/drift-prevention/database-query-patterns.d.ts +19 -0
- package/dist/checks/drift-prevention/database-query-patterns.d.ts.map +1 -0
- package/dist/checks/drift-prevention/database-query-patterns.js +340 -0
- package/dist/checks/drift-prevention/database-query-patterns.js.map +1 -0
- package/dist/checks/drift-prevention/design-system-consistency.d.ts +18 -0
- package/dist/checks/drift-prevention/design-system-consistency.d.ts.map +1 -0
- package/dist/checks/drift-prevention/design-system-consistency.js +419 -0
- package/dist/checks/drift-prevention/design-system-consistency.js.map +1 -0
- package/dist/checks/drift-prevention/empty-state-consistency.d.ts +17 -0
- package/dist/checks/drift-prevention/empty-state-consistency.d.ts.map +1 -0
- package/dist/checks/drift-prevention/empty-state-consistency.js +257 -0
- package/dist/checks/drift-prevention/empty-state-consistency.js.map +1 -0
- package/dist/checks/drift-prevention/performance-regression-detection.d.ts +18 -0
- package/dist/checks/drift-prevention/performance-regression-detection.d.ts.map +1 -0
- package/dist/checks/drift-prevention/performance-regression-detection.js +444 -0
- package/dist/checks/drift-prevention/performance-regression-detection.js.map +1 -0
- package/dist/checks/drift-prevention/size-convention-consistency.d.ts +40 -0
- package/dist/checks/drift-prevention/size-convention-consistency.d.ts.map +1 -0
- package/dist/checks/drift-prevention/size-convention-consistency.js +221 -0
- package/dist/checks/drift-prevention/size-convention-consistency.js.map +1 -0
- package/dist/checks/drift-prevention/state-management-patterns.d.ts +18 -0
- package/dist/checks/drift-prevention/state-management-patterns.d.ts.map +1 -0
- package/dist/checks/drift-prevention/state-management-patterns.js +240 -0
- package/dist/checks/drift-prevention/state-management-patterns.js.map +1 -0
- package/dist/checks/e2e/e2e-action-outcome-validator.d.ts +22 -0
- package/dist/checks/e2e/e2e-action-outcome-validator.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-action-outcome-validator.js +295 -0
- package/dist/checks/e2e/e2e-action-outcome-validator.js.map +1 -0
- package/dist/checks/e2e/e2e-interaction-coverage-scan.d.ts +22 -0
- package/dist/checks/e2e/e2e-interaction-coverage-scan.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-interaction-coverage-scan.js +1665 -0
- package/dist/checks/e2e/e2e-interaction-coverage-scan.js.map +1 -0
- package/dist/checks/e2e/e2e-interaction-regression.d.ts +20 -0
- package/dist/checks/e2e/e2e-interaction-regression.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-interaction-regression.js +1042 -0
- package/dist/checks/e2e/e2e-interaction-regression.js.map +1 -0
- package/dist/checks/e2e/e2e-outcome-validation.d.ts +34 -0
- package/dist/checks/e2e/e2e-outcome-validation.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-outcome-validation.js +613 -0
- package/dist/checks/e2e/e2e-outcome-validation.js.map +1 -0
- package/dist/checks/e2e/e2e-performance-baseline.d.ts +14 -0
- package/dist/checks/e2e/e2e-performance-baseline.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-performance-baseline.js +289 -0
- package/dist/checks/e2e/e2e-performance-baseline.js.map +1 -0
- package/dist/checks/e2e/e2e-performance-patterns.d.ts +19 -0
- package/dist/checks/e2e/e2e-performance-patterns.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-performance-patterns.js +464 -0
- package/dist/checks/e2e/e2e-performance-patterns.js.map +1 -0
- package/dist/checks/e2e/e2e-performance-regression.d.ts +18 -0
- package/dist/checks/e2e/e2e-performance-regression.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-performance-regression.js +230 -0
- package/dist/checks/e2e/e2e-performance-regression.js.map +1 -0
- package/dist/checks/e2e/e2e-resource-monitoring.d.ts +17 -0
- package/dist/checks/e2e/e2e-resource-monitoring.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-resource-monitoring.js +368 -0
- package/dist/checks/e2e/e2e-resource-monitoring.js.map +1 -0
- package/dist/checks/e2e/e2e-test-redundancy-scan.d.ts +28 -0
- package/dist/checks/e2e/e2e-test-redundancy-scan.d.ts.map +1 -0
- package/dist/checks/e2e/e2e-test-redundancy-scan.js +480 -0
- package/dist/checks/e2e/e2e-test-redundancy-scan.js.map +1 -0
- package/dist/checks/e2e/playwright-config-validator.d.ts +26 -0
- package/dist/checks/e2e/playwright-config-validator.d.ts.map +1 -0
- package/dist/checks/e2e/playwright-config-validator.js +561 -0
- package/dist/checks/e2e/playwright-config-validator.js.map +1 -0
- package/dist/checks/environment/env-duplicates.d.ts +17 -0
- package/dist/checks/environment/env-duplicates.d.ts.map +1 -0
- package/dist/checks/environment/env-duplicates.js +169 -0
- package/dist/checks/environment/env-duplicates.js.map +1 -0
- package/dist/checks/event-listener-cleanup.d.ts +18 -0
- package/dist/checks/event-listener-cleanup.d.ts.map +1 -0
- package/dist/checks/event-listener-cleanup.js +189 -0
- package/dist/checks/event-listener-cleanup.js.map +1 -0
- package/dist/checks/file-naming-conventions.d.ts +21 -0
- package/dist/checks/file-naming-conventions.d.ts.map +1 -0
- package/dist/checks/file-naming-conventions.js +1258 -0
- package/dist/checks/file-naming-conventions.js.map +1 -0
- package/dist/checks/framework/framework-compatibility.d.ts +36 -0
- package/dist/checks/framework/framework-compatibility.d.ts.map +1 -0
- package/dist/checks/framework/framework-compatibility.js +173 -0
- package/dist/checks/framework/framework-compatibility.js.map +1 -0
- package/dist/checks/framework/turbopack-enforcement.d.ts +23 -0
- package/dist/checks/framework/turbopack-enforcement.d.ts.map +1 -0
- package/dist/checks/framework/turbopack-enforcement.js +174 -0
- package/dist/checks/framework/turbopack-enforcement.js.map +1 -0
- package/dist/checks/governance/check-ui-uniformity.d.ts +19 -0
- package/dist/checks/governance/check-ui-uniformity.d.ts.map +1 -0
- package/dist/checks/governance/check-ui-uniformity.js +126 -0
- package/dist/checks/governance/check-ui-uniformity.js.map +1 -0
- package/dist/checks/governance/codeowners-coverage.d.ts +27 -0
- package/dist/checks/governance/codeowners-coverage.d.ts.map +1 -0
- package/dist/checks/governance/codeowners-coverage.js +293 -0
- package/dist/checks/governance/codeowners-coverage.js.map +1 -0
- package/dist/checks/governance/naming-conventions.d.ts +7 -0
- package/dist/checks/governance/naming-conventions.d.ts.map +1 -0
- package/dist/checks/governance/naming-conventions.js +115 -0
- package/dist/checks/governance/naming-conventions.js.map +1 -0
- package/dist/checks/governance/seller-store-naming-consistency.d.ts +34 -0
- package/dist/checks/governance/seller-store-naming-consistency.d.ts.map +1 -0
- package/dist/checks/governance/seller-store-naming-consistency.js +248 -0
- package/dist/checks/governance/seller-store-naming-consistency.js.map +1 -0
- package/dist/checks/governance/store-seller-route-names.d.ts +19 -0
- package/dist/checks/governance/store-seller-route-names.d.ts.map +1 -0
- package/dist/checks/governance/store-seller-route-names.js +177 -0
- package/dist/checks/governance/store-seller-route-names.js.map +1 -0
- package/dist/checks/grading-config-usage.d.ts +23 -0
- package/dist/checks/grading-config-usage.d.ts.map +1 -0
- package/dist/checks/grading-config-usage.js +197 -0
- package/dist/checks/grading-config-usage.js.map +1 -0
- package/dist/checks/help-center-features-validation.d.ts +21 -0
- package/dist/checks/help-center-features-validation.d.ts.map +1 -0
- package/dist/checks/help-center-features-validation.js +529 -0
- package/dist/checks/help-center-features-validation.js.map +1 -0
- package/dist/checks/help-center-validation.d.ts +21 -0
- package/dist/checks/help-center-validation.d.ts.map +1 -0
- package/dist/checks/help-center-validation.js +325 -0
- package/dist/checks/help-center-validation.js.map +1 -0
- package/dist/checks/image/card-edge-protection.d.ts +22 -0
- package/dist/checks/image/card-edge-protection.d.ts.map +1 -0
- package/dist/checks/image/card-edge-protection.js +236 -0
- package/dist/checks/image/card-edge-protection.js.map +1 -0
- package/dist/checks/image/card-orientation-validation.d.ts +35 -0
- package/dist/checks/image/card-orientation-validation.d.ts.map +1 -0
- package/dist/checks/image/card-orientation-validation.js +522 -0
- package/dist/checks/image/card-orientation-validation.js.map +1 -0
- package/dist/checks/image/image-processing-config-sync.d.ts +33 -0
- package/dist/checks/image/image-processing-config-sync.d.ts.map +1 -0
- package/dist/checks/image/image-processing-config-sync.js +284 -0
- package/dist/checks/image/image-processing-config-sync.js.map +1 -0
- package/dist/checks/integrations/integration-feature-implementation.d.ts +28 -0
- package/dist/checks/integrations/integration-feature-implementation.d.ts.map +1 -0
- package/dist/checks/integrations/integration-feature-implementation.js +516 -0
- package/dist/checks/integrations/integration-feature-implementation.js.map +1 -0
- package/dist/checks/integrations/integration-field-mapping.d.ts +25 -0
- package/dist/checks/integrations/integration-field-mapping.d.ts.map +1 -0
- package/dist/checks/integrations/integration-field-mapping.js +383 -0
- package/dist/checks/integrations/integration-field-mapping.js.map +1 -0
- package/dist/checks/integrations/integration-status-display.d.ts +24 -0
- package/dist/checks/integrations/integration-status-display.d.ts.map +1 -0
- package/dist/checks/integrations/integration-status-display.js +945 -0
- package/dist/checks/integrations/integration-status-display.js.map +1 -0
- package/dist/checks/integrations/integrations-consolidated.d.ts +83 -0
- package/dist/checks/integrations/integrations-consolidated.d.ts.map +1 -0
- package/dist/checks/integrations/integrations-consolidated.js +912 -0
- package/dist/checks/integrations/integrations-consolidated.js.map +1 -0
- package/dist/checks/integrations/platform-feed-integrity.d.ts +76 -0
- package/dist/checks/integrations/platform-feed-integrity.d.ts.map +1 -0
- package/dist/checks/integrations/platform-feed-integrity.js +490 -0
- package/dist/checks/integrations/platform-feed-integrity.js.map +1 -0
- package/dist/checks/integrations/woocommerce-template-keys.d.ts +58 -0
- package/dist/checks/integrations/woocommerce-template-keys.d.ts.map +1 -0
- package/dist/checks/integrations/woocommerce-template-keys.js +270 -0
- package/dist/checks/integrations/woocommerce-template-keys.js.map +1 -0
- package/dist/checks/integrations/woocommerce-template-validation.d.ts +27 -0
- package/dist/checks/integrations/woocommerce-template-validation.d.ts.map +1 -0
- package/dist/checks/integrations/woocommerce-template-validation.js +428 -0
- package/dist/checks/integrations/woocommerce-template-validation.js.map +1 -0
- package/dist/checks/master-preflight.d.ts +57 -0
- package/dist/checks/master-preflight.d.ts.map +1 -0
- package/dist/checks/master-preflight.js +257 -0
- package/dist/checks/master-preflight.js.map +1 -0
- package/dist/checks/nextjs/dynamic-route-exports.d.ts +29 -0
- package/dist/checks/nextjs/dynamic-route-exports.d.ts.map +1 -0
- package/dist/checks/nextjs/dynamic-route-exports.js +204 -0
- package/dist/checks/nextjs/dynamic-route-exports.js.map +1 -0
- package/dist/checks/nextjs/essential-files-validation.d.ts +24 -0
- package/dist/checks/nextjs/essential-files-validation.d.ts.map +1 -0
- package/dist/checks/nextjs/essential-files-validation.js +361 -0
- package/dist/checks/nextjs/essential-files-validation.js.map +1 -0
- package/dist/checks/nextjs/ignore-build-errors.d.ts +16 -0
- package/dist/checks/nextjs/ignore-build-errors.d.ts.map +1 -0
- package/dist/checks/nextjs/ignore-build-errors.js +126 -0
- package/dist/checks/nextjs/ignore-build-errors.js.map +1 -0
- package/dist/checks/nextjs/metadata-api-placement.d.ts +30 -0
- package/dist/checks/nextjs/metadata-api-placement.d.ts.map +1 -0
- package/dist/checks/nextjs/metadata-api-placement.js +277 -0
- package/dist/checks/nextjs/metadata-api-placement.js.map +1 -0
- package/dist/checks/nextjs/nextjs-image-validation.d.ts +52 -0
- package/dist/checks/nextjs/nextjs-image-validation.d.ts.map +1 -0
- package/dist/checks/nextjs/nextjs-image-validation.js +255 -0
- package/dist/checks/nextjs/nextjs-image-validation.js.map +1 -0
- package/dist/checks/nextjs/nextjs16-compatibility.d.ts +40 -0
- package/dist/checks/nextjs/nextjs16-compatibility.d.ts.map +1 -0
- package/dist/checks/nextjs/nextjs16-compatibility.js +1210 -0
- package/dist/checks/nextjs/nextjs16-compatibility.js.map +1 -0
- package/dist/checks/nextjs/static-generation-check.d.ts +26 -0
- package/dist/checks/nextjs/static-generation-check.d.ts.map +1 -0
- package/dist/checks/nextjs/static-generation-check.js +181 -0
- package/dist/checks/nextjs/static-generation-check.js.map +1 -0
- package/dist/checks/observability/centralized-logging-validation.d.ts +22 -0
- package/dist/checks/observability/centralized-logging-validation.d.ts.map +1 -0
- package/dist/checks/observability/centralized-logging-validation.js +285 -0
- package/dist/checks/observability/centralized-logging-validation.js.map +1 -0
- package/dist/checks/order-number-consistency.d.ts +27 -0
- package/dist/checks/order-number-consistency.d.ts.map +1 -0
- package/dist/checks/order-number-consistency.js +294 -0
- package/dist/checks/order-number-consistency.js.map +1 -0
- package/dist/checks/organization/agent-steering-validation.d.ts +16 -0
- package/dist/checks/organization/agent-steering-validation.d.ts.map +1 -0
- package/dist/checks/organization/agent-steering-validation.js +186 -0
- package/dist/checks/organization/agent-steering-validation.js.map +1 -0
- package/dist/checks/organization/api-route-consolidation.d.ts +24 -0
- package/dist/checks/organization/api-route-consolidation.d.ts.map +1 -0
- package/dist/checks/organization/api-route-consolidation.js +370 -0
- package/dist/checks/organization/api-route-consolidation.js.map +1 -0
- package/dist/checks/organization/api-route-naming-validation.d.ts +24 -0
- package/dist/checks/organization/api-route-naming-validation.d.ts.map +1 -0
- package/dist/checks/organization/api-route-naming-validation.js +497 -0
- package/dist/checks/organization/api-route-naming-validation.js.map +1 -0
- package/dist/checks/organization/file-organization-validation.d.ts +19 -0
- package/dist/checks/organization/file-organization-validation.d.ts.map +1 -0
- package/dist/checks/organization/file-organization-validation.js +568 -0
- package/dist/checks/organization/file-organization-validation.js.map +1 -0
- package/dist/checks/organization/npm-script-bloat-prevention.d.ts +41 -0
- package/dist/checks/organization/npm-script-bloat-prevention.d.ts.map +1 -0
- package/dist/checks/organization/npm-script-bloat-prevention.js +417 -0
- package/dist/checks/organization/npm-script-bloat-prevention.js.map +1 -0
- package/dist/checks/organization/preflight-env-check.d.ts +13 -0
- package/dist/checks/organization/preflight-env-check.d.ts.map +1 -0
- package/dist/checks/organization/preflight-env-check.js +163 -0
- package/dist/checks/organization/preflight-env-check.js.map +1 -0
- package/dist/checks/organization/preflight-progress-consistency.d.ts +30 -0
- package/dist/checks/organization/preflight-progress-consistency.d.ts.map +1 -0
- package/dist/checks/organization/preflight-progress-consistency.js +230 -0
- package/dist/checks/organization/preflight-progress-consistency.js.map +1 -0
- package/dist/checks/organization/preflight-system-validation.d.ts +19 -0
- package/dist/checks/organization/preflight-system-validation.d.ts.map +1 -0
- package/dist/checks/organization/preflight-system-validation.js +487 -0
- package/dist/checks/organization/preflight-system-validation.js.map +1 -0
- package/dist/checks/organization/preflight-typescript-validation.d.ts +15 -0
- package/dist/checks/organization/preflight-typescript-validation.d.ts.map +1 -0
- package/dist/checks/organization/preflight-typescript-validation.js +57 -0
- package/dist/checks/organization/preflight-typescript-validation.js.map +1 -0
- package/dist/checks/organization/route-structure-validation.d.ts +19 -0
- package/dist/checks/organization/route-structure-validation.d.ts.map +1 -0
- package/dist/checks/organization/route-structure-validation.js +241 -0
- package/dist/checks/organization/route-structure-validation.js.map +1 -0
- package/dist/checks/organization/steering-bloat-prevention.d.ts +88 -0
- package/dist/checks/organization/steering-bloat-prevention.d.ts.map +1 -0
- package/dist/checks/organization/steering-bloat-prevention.js +1199 -0
- package/dist/checks/organization/steering-bloat-prevention.js.map +1 -0
- package/dist/checks/performance/bundle-optimization-drift.d.ts +19 -0
- package/dist/checks/performance/bundle-optimization-drift.d.ts.map +1 -0
- package/dist/checks/performance/bundle-optimization-drift.js +263 -0
- package/dist/checks/performance/bundle-optimization-drift.js.map +1 -0
- package/dist/checks/performance/bundle-size-regression.d.ts +15 -0
- package/dist/checks/performance/bundle-size-regression.d.ts.map +1 -0
- package/dist/checks/performance/bundle-size-regression.js +239 -0
- package/dist/checks/performance/bundle-size-regression.js.map +1 -0
- package/dist/checks/performance/core-web-vitals.d.ts +39 -0
- package/dist/checks/performance/core-web-vitals.d.ts.map +1 -0
- package/dist/checks/performance/core-web-vitals.js +445 -0
- package/dist/checks/performance/core-web-vitals.js.map +1 -0
- package/dist/checks/performance/mobile-performance-budget.d.ts +30 -0
- package/dist/checks/performance/mobile-performance-budget.d.ts.map +1 -0
- package/dist/checks/performance/mobile-performance-budget.js +401 -0
- package/dist/checks/performance/mobile-performance-budget.js.map +1 -0
- package/dist/checks/performance/runtime-regression.d.ts +17 -0
- package/dist/checks/performance/runtime-regression.d.ts.map +1 -0
- package/dist/checks/performance/runtime-regression.js +425 -0
- package/dist/checks/performance/runtime-regression.js.map +1 -0
- package/dist/checks/performance/unused-preload-detection.d.ts +18 -0
- package/dist/checks/performance/unused-preload-detection.d.ts.map +1 -0
- package/dist/checks/performance/unused-preload-detection.js +191 -0
- package/dist/checks/performance/unused-preload-detection.js.map +1 -0
- package/dist/checks/prisma/prisma7-compatibility.d.ts +30 -0
- package/dist/checks/prisma/prisma7-compatibility.d.ts.map +1 -0
- package/dist/checks/prisma/prisma7-compatibility.js +443 -0
- package/dist/checks/prisma/prisma7-compatibility.js.map +1 -0
- package/dist/checks/quality/component-size.d.ts +14 -0
- package/dist/checks/quality/component-size.d.ts.map +1 -0
- package/dist/checks/quality/component-size.js +107 -0
- package/dist/checks/quality/component-size.js.map +1 -0
- package/dist/checks/quality/critical-type-imports.d.ts +24 -0
- package/dist/checks/quality/critical-type-imports.d.ts.map +1 -0
- package/dist/checks/quality/critical-type-imports.js +635 -0
- package/dist/checks/quality/critical-type-imports.js.map +1 -0
- package/dist/checks/quality/development.d.ts +14 -0
- package/dist/checks/quality/development.d.ts.map +1 -0
- package/dist/checks/quality/development.js +101 -0
- package/dist/checks/quality/development.js.map +1 -0
- package/dist/checks/quality/docs-code-sync.d.ts +28 -0
- package/dist/checks/quality/docs-code-sync.d.ts.map +1 -0
- package/dist/checks/quality/docs-code-sync.js +369 -0
- package/dist/checks/quality/docs-code-sync.js.map +1 -0
- package/dist/checks/quality/duplicate-jsx-attributes.d.ts +24 -0
- package/dist/checks/quality/duplicate-jsx-attributes.d.ts.map +1 -0
- package/dist/checks/quality/duplicate-jsx-attributes.js +202 -0
- package/dist/checks/quality/duplicate-jsx-attributes.js.map +1 -0
- package/dist/checks/quality/file-size.d.ts +14 -0
- package/dist/checks/quality/file-size.d.ts.map +1 -0
- package/dist/checks/quality/file-size.js +100 -0
- package/dist/checks/quality/file-size.js.map +1 -0
- package/dist/checks/quality/file-validation.d.ts +14 -0
- package/dist/checks/quality/file-validation.d.ts.map +1 -0
- package/dist/checks/quality/file-validation.js +106 -0
- package/dist/checks/quality/file-validation.js.map +1 -0
- package/dist/checks/quality/i18n-hardcoded-strings.d.ts +29 -0
- package/dist/checks/quality/i18n-hardcoded-strings.d.ts.map +1 -0
- package/dist/checks/quality/i18n-hardcoded-strings.js +339 -0
- package/dist/checks/quality/i18n-hardcoded-strings.js.map +1 -0
- package/dist/checks/quality/lint-preflight.d.ts +70 -0
- package/dist/checks/quality/lint-preflight.d.ts.map +1 -0
- package/dist/checks/quality/lint-preflight.js +479 -0
- package/dist/checks/quality/lint-preflight.js.map +1 -0
- package/dist/checks/quality/react-namespace-import.d.ts +28 -0
- package/dist/checks/quality/react-namespace-import.d.ts.map +1 -0
- package/dist/checks/quality/react-namespace-import.js +205 -0
- package/dist/checks/quality/react-namespace-import.js.map +1 -0
- package/dist/checks/quality/strict-lint.d.ts +14 -0
- package/dist/checks/quality/strict-lint.d.ts.map +1 -0
- package/dist/checks/quality/strict-lint.js +44 -0
- package/dist/checks/quality/strict-lint.js.map +1 -0
- package/dist/checks/quality/syntax.d.ts +14 -0
- package/dist/checks/quality/syntax.d.ts.map +1 -0
- package/dist/checks/quality/syntax.js +97 -0
- package/dist/checks/quality/syntax.js.map +1 -0
- package/dist/checks/quality/unused-imports.d.ts +15 -0
- package/dist/checks/quality/unused-imports.d.ts.map +1 -0
- package/dist/checks/quality/unused-imports.js +175 -0
- package/dist/checks/quality/unused-imports.js.map +1 -0
- package/dist/checks/react/component-best-practices.d.ts +24 -0
- package/dist/checks/react/component-best-practices.d.ts.map +1 -0
- package/dist/checks/react/component-best-practices.js +274 -0
- package/dist/checks/react/component-best-practices.js.map +1 -0
- package/dist/checks/react/component-callback-consolidation.d.ts +29 -0
- package/dist/checks/react/component-callback-consolidation.d.ts.map +1 -0
- package/dist/checks/react/component-callback-consolidation.js +246 -0
- package/dist/checks/react/component-callback-consolidation.js.map +1 -0
- package/dist/checks/react/data-fetching-patterns.d.ts +29 -0
- package/dist/checks/react/data-fetching-patterns.d.ts.map +1 -0
- package/dist/checks/react/data-fetching-patterns.js +234 -0
- package/dist/checks/react/data-fetching-patterns.js.map +1 -0
- package/dist/checks/react/dialog-state-consolidation.d.ts +29 -0
- package/dist/checks/react/dialog-state-consolidation.d.ts.map +1 -0
- package/dist/checks/react/dialog-state-consolidation.js +227 -0
- package/dist/checks/react/dialog-state-consolidation.js.map +1 -0
- package/dist/checks/react/error-boundary-consistency.d.ts +29 -0
- package/dist/checks/react/error-boundary-consistency.d.ts.map +1 -0
- package/dist/checks/react/error-boundary-consistency.js +220 -0
- package/dist/checks/react/error-boundary-consistency.js.map +1 -0
- package/dist/checks/react/error-boundary-coverage.d.ts +28 -0
- package/dist/checks/react/error-boundary-coverage.d.ts.map +1 -0
- package/dist/checks/react/error-boundary-coverage.js +304 -0
- package/dist/checks/react/error-boundary-coverage.js.map +1 -0
- package/dist/checks/react/loading-empty-state-composition.d.ts +29 -0
- package/dist/checks/react/loading-empty-state-composition.d.ts.map +1 -0
- package/dist/checks/react/loading-empty-state-composition.js +255 -0
- package/dist/checks/react/loading-empty-state-composition.js.map +1 -0
- package/dist/checks/react/memory-leak-detection.d.ts +23 -0
- package/dist/checks/react/memory-leak-detection.d.ts.map +1 -0
- package/dist/checks/react/memory-leak-detection.js +274 -0
- package/dist/checks/react/memory-leak-detection.js.map +1 -0
- package/dist/checks/react/memory-leak-patterns.d.ts +29 -0
- package/dist/checks/react/memory-leak-patterns.d.ts.map +1 -0
- package/dist/checks/react/memory-leak-patterns.js +330 -0
- package/dist/checks/react/memory-leak-patterns.js.map +1 -0
- package/dist/checks/react/pagination-state-consolidation.d.ts +29 -0
- package/dist/checks/react/pagination-state-consolidation.d.ts.map +1 -0
- package/dist/checks/react/pagination-state-consolidation.js +258 -0
- package/dist/checks/react/pagination-state-consolidation.js.map +1 -0
- package/dist/checks/react/react19-compatibility.d.ts +16 -0
- package/dist/checks/react/react19-compatibility.d.ts.map +1 -0
- package/dist/checks/react/react19-compatibility.js +437 -0
- package/dist/checks/react/react19-compatibility.js.map +1 -0
- package/dist/checks/react/sort-state-consolidation.d.ts +29 -0
- package/dist/checks/react/sort-state-consolidation.d.ts.map +1 -0
- package/dist/checks/react/sort-state-consolidation.js +261 -0
- package/dist/checks/react/sort-state-consolidation.js.map +1 -0
- package/dist/checks/react/useeffect-loop-detector.d.ts +26 -0
- package/dist/checks/react/useeffect-loop-detector.d.ts.map +1 -0
- package/dist/checks/react/useeffect-loop-detector.js +219 -0
- package/dist/checks/react/useeffect-loop-detector.js.map +1 -0
- package/dist/checks/runtime/client-process-env-usage.d.ts +28 -0
- package/dist/checks/runtime/client-process-env-usage.d.ts.map +1 -0
- package/dist/checks/runtime/client-process-env-usage.js +196 -0
- package/dist/checks/runtime/client-process-env-usage.js.map +1 -0
- package/dist/checks/runtime/client-runtime-errors.d.ts +34 -0
- package/dist/checks/runtime/client-runtime-errors.d.ts.map +1 -0
- package/dist/checks/runtime/client-runtime-errors.js +308 -0
- package/dist/checks/runtime/client-runtime-errors.js.map +1 -0
- package/dist/checks/runtime/dev-error-monitoring-system.d.ts +21 -0
- package/dist/checks/runtime/dev-error-monitoring-system.d.ts.map +1 -0
- package/dist/checks/runtime/dev-error-monitoring-system.js +210 -0
- package/dist/checks/runtime/dev-error-monitoring-system.js.map +1 -0
- package/dist/checks/runtime/gtm-installation.d.ts +22 -0
- package/dist/checks/runtime/gtm-installation.d.ts.map +1 -0
- package/dist/checks/runtime/gtm-installation.js +343 -0
- package/dist/checks/runtime/gtm-installation.js.map +1 -0
- package/dist/checks/runtime/json-parse-safety.d.ts +22 -0
- package/dist/checks/runtime/json-parse-safety.d.ts.map +1 -0
- package/dist/checks/runtime/json-parse-safety.js +179 -0
- package/dist/checks/runtime/json-parse-safety.js.map +1 -0
- package/dist/checks/runtime/missing-public-env-import.d.ts +26 -0
- package/dist/checks/runtime/missing-public-env-import.d.ts.map +1 -0
- package/dist/checks/runtime/missing-public-env-import.js +181 -0
- package/dist/checks/runtime/missing-public-env-import.js.map +1 -0
- package/dist/checks/runtime/node-deprecations.d.ts +24 -0
- package/dist/checks/runtime/node-deprecations.d.ts.map +1 -0
- package/dist/checks/runtime/node-deprecations.js +168 -0
- package/dist/checks/runtime/node-deprecations.js.map +1 -0
- package/dist/checks/runtime/node25-compatibility.d.ts +30 -0
- package/dist/checks/runtime/node25-compatibility.d.ts.map +1 -0
- package/dist/checks/runtime/node25-compatibility.js +209 -0
- package/dist/checks/runtime/node25-compatibility.js.map +1 -0
- package/dist/checks/runtime/process-stdio-usage.d.ts +25 -0
- package/dist/checks/runtime/process-stdio-usage.d.ts.map +1 -0
- package/dist/checks/runtime/process-stdio-usage.js +183 -0
- package/dist/checks/runtime/process-stdio-usage.js.map +1 -0
- package/dist/checks/runtime/server-client-decimal.d.ts +26 -0
- package/dist/checks/runtime/server-client-decimal.d.ts.map +1 -0
- package/dist/checks/runtime/server-client-decimal.js +246 -0
- package/dist/checks/runtime/server-client-decimal.js.map +1 -0
- package/dist/checks/security/client-external-api-calls.d.ts +25 -0
- package/dist/checks/security/client-external-api-calls.d.ts.map +1 -0
- package/dist/checks/security/client-external-api-calls.js +206 -0
- package/dist/checks/security/client-external-api-calls.js.map +1 -0
- package/dist/checks/security/csrf-protection.d.ts +20 -0
- package/dist/checks/security/csrf-protection.d.ts.map +1 -0
- package/dist/checks/security/csrf-protection.js +249 -0
- package/dist/checks/security/csrf-protection.js.map +1 -0
- package/dist/checks/security/dependency-audit.d.ts +25 -0
- package/dist/checks/security/dependency-audit.d.ts.map +1 -0
- package/dist/checks/security/dependency-audit.js +219 -0
- package/dist/checks/security/dependency-audit.js.map +1 -0
- package/dist/checks/security/env-value-leakage.d.ts +23 -0
- package/dist/checks/security/env-value-leakage.d.ts.map +1 -0
- package/dist/checks/security/env-value-leakage.js +307 -0
- package/dist/checks/security/env-value-leakage.js.map +1 -0
- package/dist/checks/security/no-tracked-env-files.d.ts +19 -0
- package/dist/checks/security/no-tracked-env-files.d.ts.map +1 -0
- package/dist/checks/security/no-tracked-env-files.js +253 -0
- package/dist/checks/security/no-tracked-env-files.js.map +1 -0
- package/dist/checks/security/open-redirect-prevention.d.ts +19 -0
- package/dist/checks/security/open-redirect-prevention.d.ts.map +1 -0
- package/dist/checks/security/open-redirect-prevention.js +238 -0
- package/dist/checks/security/open-redirect-prevention.js.map +1 -0
- package/dist/checks/security/path-traversal-prevention.d.ts +25 -0
- package/dist/checks/security/path-traversal-prevention.d.ts.map +1 -0
- package/dist/checks/security/path-traversal-prevention.js +252 -0
- package/dist/checks/security/path-traversal-prevention.js.map +1 -0
- package/dist/checks/security/permission-security-validation.d.ts +20 -0
- package/dist/checks/security/permission-security-validation.d.ts.map +1 -0
- package/dist/checks/security/permission-security-validation.js +332 -0
- package/dist/checks/security/permission-security-validation.js.map +1 -0
- package/dist/checks/security/prod-command-detection.d.ts +18 -0
- package/dist/checks/security/prod-command-detection.d.ts.map +1 -0
- package/dist/checks/security/prod-command-detection.js +238 -0
- package/dist/checks/security/prod-command-detection.js.map +1 -0
- package/dist/checks/security/rate-limiting-validation.d.ts +19 -0
- package/dist/checks/security/rate-limiting-validation.d.ts.map +1 -0
- package/dist/checks/security/rate-limiting-validation.js +265 -0
- package/dist/checks/security/rate-limiting-validation.js.map +1 -0
- package/dist/checks/security/security-sla-enforcement.d.ts +35 -0
- package/dist/checks/security/security-sla-enforcement.d.ts.map +1 -0
- package/dist/checks/security/security-sla-enforcement.js +352 -0
- package/dist/checks/security/security-sla-enforcement.js.map +1 -0
- package/dist/checks/security/sensitive-data-exposure.d.ts +37 -0
- package/dist/checks/security/sensitive-data-exposure.d.ts.map +1 -0
- package/dist/checks/security/sensitive-data-exposure.js +525 -0
- package/dist/checks/security/sensitive-data-exposure.js.map +1 -0
- package/dist/checks/security/sql-injection-prevention.d.ts +25 -0
- package/dist/checks/security/sql-injection-prevention.d.ts.map +1 -0
- package/dist/checks/security/sql-injection-prevention.js +219 -0
- package/dist/checks/security/sql-injection-prevention.js.map +1 -0
- package/dist/checks/security/turnstile-scope-validation.d.ts +22 -0
- package/dist/checks/security/turnstile-scope-validation.d.ts.map +1 -0
- package/dist/checks/security/turnstile-scope-validation.js +247 -0
- package/dist/checks/security/turnstile-scope-validation.js.map +1 -0
- package/dist/checks/security/unvalidated-route-params.d.ts +28 -0
- package/dist/checks/security/unvalidated-route-params.d.ts.map +1 -0
- package/dist/checks/security/unvalidated-route-params.js +246 -0
- package/dist/checks/security/unvalidated-route-params.js.map +1 -0
- package/dist/checks/security/webhook-security-validation.d.ts +19 -0
- package/dist/checks/security/webhook-security-validation.d.ts.map +1 -0
- package/dist/checks/security/webhook-security-validation.js +266 -0
- package/dist/checks/security/webhook-security-validation.js.map +1 -0
- package/dist/checks/seo/missing-metadata.d.ts +26 -0
- package/dist/checks/seo/missing-metadata.d.ts.map +1 -0
- package/dist/checks/seo/missing-metadata.js +185 -0
- package/dist/checks/seo/missing-metadata.js.map +1 -0
- package/dist/checks/storage-keys-validation.d.ts +25 -0
- package/dist/checks/storage-keys-validation.d.ts.map +1 -0
- package/dist/checks/storage-keys-validation.js +314 -0
- package/dist/checks/storage-keys-validation.js.map +1 -0
- package/dist/checks/store-order-numbers.d.ts +20 -0
- package/dist/checks/store-order-numbers.d.ts.map +1 -0
- package/dist/checks/store-order-numbers.js +244 -0
- package/dist/checks/store-order-numbers.js.map +1 -0
- package/dist/checks/system/analyze-consolidation-candidates.d.ts +18 -0
- package/dist/checks/system/analyze-consolidation-candidates.d.ts.map +1 -0
- package/dist/checks/system/analyze-consolidation-candidates.js +227 -0
- package/dist/checks/system/analyze-consolidation-candidates.js.map +1 -0
- package/dist/checks/system/apply-universal-progress.d.ts +15 -0
- package/dist/checks/system/apply-universal-progress.d.ts.map +1 -0
- package/dist/checks/system/apply-universal-progress.js +292 -0
- package/dist/checks/system/apply-universal-progress.js.map +1 -0
- package/dist/checks/system/broken-preflight-detection.d.ts +34 -0
- package/dist/checks/system/broken-preflight-detection.d.ts.map +1 -0
- package/dist/checks/system/broken-preflight-detection.js +568 -0
- package/dist/checks/system/broken-preflight-detection.js.map +1 -0
- package/dist/checks/system/find-orphaned-preflights.d.ts +20 -0
- package/dist/checks/system/find-orphaned-preflights.d.ts.map +1 -0
- package/dist/checks/system/find-orphaned-preflights.js +159 -0
- package/dist/checks/system/find-orphaned-preflights.js.map +1 -0
- package/dist/checks/system/lint-preflight-consistency.d.ts +26 -0
- package/dist/checks/system/lint-preflight-consistency.d.ts.map +1 -0
- package/dist/checks/system/lint-preflight-consistency.js +377 -0
- package/dist/checks/system/lint-preflight-consistency.js.map +1 -0
- package/dist/checks/system/orphaned-scripts-detection.d.ts +25 -0
- package/dist/checks/system/orphaned-scripts-detection.d.ts.map +1 -0
- package/dist/checks/system/orphaned-scripts-detection.js +338 -0
- package/dist/checks/system/orphaned-scripts-detection.js.map +1 -0
- package/dist/checks/system/preflight-command-validation.d.ts +36 -0
- package/dist/checks/system/preflight-command-validation.d.ts.map +1 -0
- package/dist/checks/system/preflight-command-validation.js +634 -0
- package/dist/checks/system/preflight-command-validation.js.map +1 -0
- package/dist/checks/system/preflight-concurrency-support.d.ts +19 -0
- package/dist/checks/system/preflight-concurrency-support.d.ts.map +1 -0
- package/dist/checks/system/preflight-concurrency-support.js +210 -0
- package/dist/checks/system/preflight-concurrency-support.js.map +1 -0
- package/dist/checks/system/preflight-consolidation-safety.d.ts +17 -0
- package/dist/checks/system/preflight-consolidation-safety.d.ts.map +1 -0
- package/dist/checks/system/preflight-consolidation-safety.js +253 -0
- package/dist/checks/system/preflight-consolidation-safety.js.map +1 -0
- package/dist/checks/system/preflight-coverage-map.d.ts +27 -0
- package/dist/checks/system/preflight-coverage-map.d.ts.map +1 -0
- package/dist/checks/system/preflight-coverage-map.js +298 -0
- package/dist/checks/system/preflight-coverage-map.js.map +1 -0
- package/dist/checks/system/preflight-drift-detector.d.ts +28 -0
- package/dist/checks/system/preflight-drift-detector.d.ts.map +1 -0
- package/dist/checks/system/preflight-drift-detector.js +382 -0
- package/dist/checks/system/preflight-drift-detector.js.map +1 -0
- package/dist/checks/system/preflight-env-var-documentation.d.ts +26 -0
- package/dist/checks/system/preflight-env-var-documentation.d.ts.map +1 -0
- package/dist/checks/system/preflight-env-var-documentation.js +336 -0
- package/dist/checks/system/preflight-env-var-documentation.js.map +1 -0
- package/dist/checks/system/preflight-exit-code-validator.d.ts +31 -0
- package/dist/checks/system/preflight-exit-code-validator.d.ts.map +1 -0
- package/dist/checks/system/preflight-exit-code-validator.js +301 -0
- package/dist/checks/system/preflight-exit-code-validator.js.map +1 -0
- package/dist/checks/system/preflight-false-positive-tracker.d.ts +26 -0
- package/dist/checks/system/preflight-false-positive-tracker.d.ts.map +1 -0
- package/dist/checks/system/preflight-false-positive-tracker.js +265 -0
- package/dist/checks/system/preflight-false-positive-tracker.js.map +1 -0
- package/dist/checks/system/preflight-metadata-validator.d.ts +28 -0
- package/dist/checks/system/preflight-metadata-validator.d.ts.map +1 -0
- package/dist/checks/system/preflight-metadata-validator.js +222 -0
- package/dist/checks/system/preflight-metadata-validator.js.map +1 -0
- package/dist/checks/system/preflight-organization.d.ts +16 -0
- package/dist/checks/system/preflight-organization.d.ts.map +1 -0
- package/dist/checks/system/preflight-organization.js +214 -0
- package/dist/checks/system/preflight-organization.js.map +1 -0
- package/dist/checks/system/preflight-performance-optimizer.d.ts +17 -0
- package/dist/checks/system/preflight-performance-optimizer.d.ts.map +1 -0
- package/dist/checks/system/preflight-performance-optimizer.js +377 -0
- package/dist/checks/system/preflight-performance-optimizer.js.map +1 -0
- package/dist/checks/system/preflight-performance-validator.d.ts +28 -0
- package/dist/checks/system/preflight-performance-validator.d.ts.map +1 -0
- package/dist/checks/system/preflight-performance-validator.js +270 -0
- package/dist/checks/system/preflight-performance-validator.js.map +1 -0
- package/dist/checks/system/preflight-redundancy-detection.d.ts +29 -0
- package/dist/checks/system/preflight-redundancy-detection.d.ts.map +1 -0
- package/dist/checks/system/preflight-redundancy-detection.js +1171 -0
- package/dist/checks/system/preflight-redundancy-detection.js.map +1 -0
- package/dist/checks/system/preflight-reporting-standards.d.ts +17 -0
- package/dist/checks/system/preflight-reporting-standards.d.ts.map +1 -0
- package/dist/checks/system/preflight-reporting-standards.js +315 -0
- package/dist/checks/system/preflight-reporting-standards.js.map +1 -0
- package/dist/checks/system/preflight-runtime-health.d.ts +34 -0
- package/dist/checks/system/preflight-runtime-health.d.ts.map +1 -0
- package/dist/checks/system/preflight-runtime-health.js +356 -0
- package/dist/checks/system/preflight-runtime-health.js.map +1 -0
- package/dist/checks/system/preflight-schema-validator.d.ts +24 -0
- package/dist/checks/system/preflight-schema-validator.d.ts.map +1 -0
- package/dist/checks/system/preflight-schema-validator.js +343 -0
- package/dist/checks/system/preflight-schema-validator.js.map +1 -0
- package/dist/checks/system/preflight-test-coverage.d.ts +25 -0
- package/dist/checks/system/preflight-test-coverage.d.ts.map +1 -0
- package/dist/checks/system/preflight-test-coverage.js +245 -0
- package/dist/checks/system/preflight-test-coverage.js.map +1 -0
- package/dist/checks/system/relative-import-validation.d.ts +25 -0
- package/dist/checks/system/relative-import-validation.d.ts.map +1 -0
- package/dist/checks/system/relative-import-validation.js +180 -0
- package/dist/checks/system/relative-import-validation.js.map +1 -0
- package/dist/checks/system/script-path-validation.d.ts +34 -0
- package/dist/checks/system/script-path-validation.d.ts.map +1 -0
- package/dist/checks/system/script-path-validation.js +354 -0
- package/dist/checks/system/script-path-validation.js.map +1 -0
- package/dist/checks/system/stale-preflight-detection.d.ts +16 -0
- package/dist/checks/system/stale-preflight-detection.d.ts.map +1 -0
- package/dist/checks/system/stale-preflight-detection.js +203 -0
- package/dist/checks/system/stale-preflight-detection.js.map +1 -0
- package/dist/checks/system/universal-progress-reporter.d.ts +92 -0
- package/dist/checks/system/universal-progress-reporter.d.ts.map +1 -0
- package/dist/checks/system/universal-progress-reporter.js +272 -0
- package/dist/checks/system/universal-progress-reporter.js.map +1 -0
- package/dist/checks/tailwind/tailwind4-compatibility.d.ts +33 -0
- package/dist/checks/tailwind/tailwind4-compatibility.d.ts.map +1 -0
- package/dist/checks/tailwind/tailwind4-compatibility.js +494 -0
- package/dist/checks/tailwind/tailwind4-compatibility.js.map +1 -0
- package/dist/checks/tanstack/tanstack-query-compatibility.d.ts +32 -0
- package/dist/checks/tanstack/tanstack-query-compatibility.d.ts.map +1 -0
- package/dist/checks/tanstack/tanstack-query-compatibility.js +437 -0
- package/dist/checks/tanstack/tanstack-query-compatibility.js.map +1 -0
- package/dist/checks/ui/accessibility-critical.d.ts +19 -0
- package/dist/checks/ui/accessibility-critical.d.ts.map +1 -0
- package/dist/checks/ui/accessibility-critical.js +360 -0
- package/dist/checks/ui/accessibility-critical.js.map +1 -0
- package/dist/checks/ui/admin-table-client-patterns.d.ts +32 -0
- package/dist/checks/ui/admin-table-client-patterns.d.ts.map +1 -0
- package/dist/checks/ui/admin-table-client-patterns.js +387 -0
- package/dist/checks/ui/admin-table-client-patterns.js.map +1 -0
- package/dist/checks/ui/alert-button-gap.d.ts +27 -0
- package/dist/checks/ui/alert-button-gap.d.ts.map +1 -0
- package/dist/checks/ui/alert-button-gap.js +218 -0
- package/dist/checks/ui/alert-button-gap.js.map +1 -0
- package/dist/checks/ui/async-status-flash-detection.d.ts +33 -0
- package/dist/checks/ui/async-status-flash-detection.d.ts.map +1 -0
- package/dist/checks/ui/async-status-flash-detection.js +303 -0
- package/dist/checks/ui/async-status-flash-detection.js.map +1 -0
- package/dist/checks/ui/breadcrumb-consistency.d.ts +18 -0
- package/dist/checks/ui/breadcrumb-consistency.d.ts.map +1 -0
- package/dist/checks/ui/breadcrumb-consistency.js +237 -0
- package/dist/checks/ui/breadcrumb-consistency.js.map +1 -0
- package/dist/checks/ui/button-group-gap.d.ts +23 -0
- package/dist/checks/ui/button-group-gap.d.ts.map +1 -0
- package/dist/checks/ui/button-group-gap.js +197 -0
- package/dist/checks/ui/button-group-gap.js.map +1 -0
- package/dist/checks/ui/button-icon-prop.d.ts +41 -0
- package/dist/checks/ui/button-icon-prop.d.ts.map +1 -0
- package/dist/checks/ui/button-icon-prop.js +251 -0
- package/dist/checks/ui/button-icon-prop.js.map +1 -0
- package/dist/checks/ui/card-section-content-spacing.d.ts +32 -0
- package/dist/checks/ui/card-section-content-spacing.d.ts.map +1 -0
- package/dist/checks/ui/card-section-content-spacing.js +263 -0
- package/dist/checks/ui/card-section-content-spacing.js.map +1 -0
- package/dist/checks/ui/card-section-patterns.d.ts +35 -0
- package/dist/checks/ui/card-section-patterns.d.ts.map +1 -0
- package/dist/checks/ui/card-section-patterns.js +279 -0
- package/dist/checks/ui/card-section-patterns.js.map +1 -0
- package/dist/checks/ui/category-filter-coverage.d.ts +81 -0
- package/dist/checks/ui/category-filter-coverage.d.ts.map +1 -0
- package/dist/checks/ui/category-filter-coverage.js +520 -0
- package/dist/checks/ui/category-filter-coverage.js.map +1 -0
- package/dist/checks/ui/color-check.d.ts +8 -0
- package/dist/checks/ui/color-check.d.ts.map +1 -0
- package/dist/checks/ui/color-check.js +111 -0
- package/dist/checks/ui/color-check.js.map +1 -0
- package/dist/checks/ui/component-library-quality.d.ts +20 -0
- package/dist/checks/ui/component-library-quality.d.ts.map +1 -0
- package/dist/checks/ui/component-library-quality.js +237 -0
- package/dist/checks/ui/component-library-quality.js.map +1 -0
- package/dist/checks/ui/component-prop-validation.d.ts +22 -0
- package/dist/checks/ui/component-prop-validation.d.ts.map +1 -0
- package/dist/checks/ui/component-prop-validation.js +271 -0
- package/dist/checks/ui/component-prop-validation.js.map +1 -0
- package/dist/checks/ui/confirmation-page-consistency.d.ts +27 -0
- package/dist/checks/ui/confirmation-page-consistency.d.ts.map +1 -0
- package/dist/checks/ui/confirmation-page-consistency.js +366 -0
- package/dist/checks/ui/confirmation-page-consistency.js.map +1 -0
- package/dist/checks/ui/console-log-check.d.ts +8 -0
- package/dist/checks/ui/console-log-check.d.ts.map +1 -0
- package/dist/checks/ui/console-log-check.js +101 -0
- package/dist/checks/ui/console-log-check.js.map +1 -0
- package/dist/checks/ui/css-grid-gap-check.d.ts +25 -0
- package/dist/checks/ui/css-grid-gap-check.d.ts.map +1 -0
- package/dist/checks/ui/css-grid-gap-check.js +317 -0
- package/dist/checks/ui/css-grid-gap-check.js.map +1 -0
- package/dist/checks/ui/css-token-syntax.d.ts +23 -0
- package/dist/checks/ui/css-token-syntax.d.ts.map +1 -0
- package/dist/checks/ui/css-token-syntax.js +389 -0
- package/dist/checks/ui/css-token-syntax.js.map +1 -0
- package/dist/checks/ui/cva-empty-variants.d.ts +28 -0
- package/dist/checks/ui/cva-empty-variants.d.ts.map +1 -0
- package/dist/checks/ui/cva-empty-variants.js +240 -0
- package/dist/checks/ui/cva-empty-variants.js.map +1 -0
- package/dist/checks/ui/dark-mode-support.d.ts +96 -0
- package/dist/checks/ui/dark-mode-support.d.ts.map +1 -0
- package/dist/checks/ui/dark-mode-support.js +703 -0
- package/dist/checks/ui/dark-mode-support.js.map +1 -0
- package/dist/checks/ui/dashboard-section-patterns.d.ts +86 -0
- package/dist/checks/ui/dashboard-section-patterns.d.ts.map +1 -0
- package/dist/checks/ui/dashboard-section-patterns.js +1757 -0
- package/dist/checks/ui/dashboard-section-patterns.js.map +1 -0
- package/dist/checks/ui/dashboard-ui.d.ts +29 -0
- package/dist/checks/ui/dashboard-ui.d.ts.map +1 -0
- package/dist/checks/ui/dashboard-ui.js +509 -0
- package/dist/checks/ui/dashboard-ui.js.map +1 -0
- package/dist/checks/ui/dead-action-detector.d.ts +25 -0
- package/dist/checks/ui/dead-action-detector.d.ts.map +1 -0
- package/dist/checks/ui/dead-action-detector.js +470 -0
- package/dist/checks/ui/dead-action-detector.js.map +1 -0
- package/dist/checks/ui/dialog-state-management.d.ts +27 -0
- package/dist/checks/ui/dialog-state-management.d.ts.map +1 -0
- package/dist/checks/ui/dialog-state-management.js +301 -0
- package/dist/checks/ui/dialog-state-management.js.map +1 -0
- package/dist/checks/ui/doubled-padding-check.d.ts +31 -0
- package/dist/checks/ui/doubled-padding-check.d.ts.map +1 -0
- package/dist/checks/ui/doubled-padding-check.js +236 -0
- package/dist/checks/ui/doubled-padding-check.js.map +1 -0
- package/dist/checks/ui/dropdown-positioning-check.d.ts +27 -0
- package/dist/checks/ui/dropdown-positioning-check.d.ts.map +1 -0
- package/dist/checks/ui/dropdown-positioning-check.js +286 -0
- package/dist/checks/ui/dropdown-positioning-check.js.map +1 -0
- package/dist/checks/ui/duplicate-layout-detection.d.ts +20 -0
- package/dist/checks/ui/duplicate-layout-detection.d.ts.map +1 -0
- package/dist/checks/ui/duplicate-layout-detection.js +290 -0
- package/dist/checks/ui/duplicate-layout-detection.js.map +1 -0
- package/dist/checks/ui/duplicate-shared-component-detection.d.ts +25 -0
- package/dist/checks/ui/duplicate-shared-component-detection.d.ts.map +1 -0
- package/dist/checks/ui/duplicate-shared-component-detection.js +340 -0
- package/dist/checks/ui/duplicate-shared-component-detection.js.map +1 -0
- package/dist/checks/ui/feature-page-hero-consistency.d.ts +30 -0
- package/dist/checks/ui/feature-page-hero-consistency.d.ts.map +1 -0
- package/dist/checks/ui/feature-page-hero-consistency.js +234 -0
- package/dist/checks/ui/feature-page-hero-consistency.js.map +1 -0
- package/dist/checks/ui/filter-loading-states.d.ts +20 -0
- package/dist/checks/ui/filter-loading-states.d.ts.map +1 -0
- package/dist/checks/ui/filter-loading-states.js +199 -0
- package/dist/checks/ui/filter-loading-states.js.map +1 -0
- package/dist/checks/ui/flex-icon-text-gap.d.ts +31 -0
- package/dist/checks/ui/flex-icon-text-gap.d.ts.map +1 -0
- package/dist/checks/ui/flex-icon-text-gap.js +374 -0
- package/dist/checks/ui/flex-icon-text-gap.js.map +1 -0
- package/dist/checks/ui/flex-spacing-validation.d.ts +54 -0
- package/dist/checks/ui/flex-spacing-validation.d.ts.map +1 -0
- package/dist/checks/ui/flex-spacing-validation.js +263 -0
- package/dist/checks/ui/flex-spacing-validation.js.map +1 -0
- package/dist/checks/ui/floating-action-buttons.d.ts +36 -0
- package/dist/checks/ui/floating-action-buttons.d.ts.map +1 -0
- package/dist/checks/ui/floating-action-buttons.js +371 -0
- package/dist/checks/ui/floating-action-buttons.js.map +1 -0
- package/dist/checks/ui/form-control-layout-check.d.ts +31 -0
- package/dist/checks/ui/form-control-layout-check.d.ts.map +1 -0
- package/dist/checks/ui/form-control-layout-check.js +290 -0
- package/dist/checks/ui/form-control-layout-check.js.map +1 -0
- package/dist/checks/ui/form-field-consistency.d.ts +30 -0
- package/dist/checks/ui/form-field-consistency.d.ts.map +1 -0
- package/dist/checks/ui/form-field-consistency.js +273 -0
- package/dist/checks/ui/form-field-consistency.js.map +1 -0
- package/dist/checks/ui/gap-spacing-consistency.d.ts +36 -0
- package/dist/checks/ui/gap-spacing-consistency.d.ts.map +1 -0
- package/dist/checks/ui/gap-spacing-consistency.js +319 -0
- package/dist/checks/ui/gap-spacing-consistency.js.map +1 -0
- package/dist/checks/ui/header-action-text-color.d.ts +20 -0
- package/dist/checks/ui/header-action-text-color.d.ts.map +1 -0
- package/dist/checks/ui/header-action-text-color.js +128 -0
- package/dist/checks/ui/header-action-text-color.js.map +1 -0
- package/dist/checks/ui/header-vertical-alignment.d.ts +22 -0
- package/dist/checks/ui/header-vertical-alignment.d.ts.map +1 -0
- package/dist/checks/ui/header-vertical-alignment.js +215 -0
- package/dist/checks/ui/header-vertical-alignment.js.map +1 -0
- package/dist/checks/ui/image-component-check.d.ts +9 -0
- package/dist/checks/ui/image-component-check.d.ts.map +1 -0
- package/dist/checks/ui/image-component-check.js +99 -0
- package/dist/checks/ui/image-component-check.js.map +1 -0
- package/dist/checks/ui/image-pair-placeholder-priority.d.ts +40 -0
- package/dist/checks/ui/image-pair-placeholder-priority.d.ts.map +1 -0
- package/dist/checks/ui/image-pair-placeholder-priority.js +236 -0
- package/dist/checks/ui/image-pair-placeholder-priority.js.map +1 -0
- package/dist/checks/ui/image-url-double-suffix.d.ts +22 -0
- package/dist/checks/ui/image-url-double-suffix.d.ts.map +1 -0
- package/dist/checks/ui/image-url-double-suffix.js +314 -0
- package/dist/checks/ui/image-url-double-suffix.js.map +1 -0
- package/dist/checks/ui/inline-flex-gap-check.d.ts +27 -0
- package/dist/checks/ui/inline-flex-gap-check.d.ts.map +1 -0
- package/dist/checks/ui/inline-flex-gap-check.js +199 -0
- package/dist/checks/ui/inline-flex-gap-check.js.map +1 -0
- package/dist/checks/ui/inline-notification-misuse.d.ts +38 -0
- package/dist/checks/ui/inline-notification-misuse.d.ts.map +1 -0
- package/dist/checks/ui/inline-notification-misuse.js +348 -0
- package/dist/checks/ui/inline-notification-misuse.js.map +1 -0
- package/dist/checks/ui/inline-to-tailwind-check.d.ts +47 -0
- package/dist/checks/ui/inline-to-tailwind-check.d.ts.map +1 -0
- package/dist/checks/ui/inline-to-tailwind-check.js +332 -0
- package/dist/checks/ui/inline-to-tailwind-check.js.map +1 -0
- package/dist/checks/ui/input-label-gap.d.ts +35 -0
- package/dist/checks/ui/input-label-gap.d.ts.map +1 -0
- package/dist/checks/ui/input-label-gap.js +350 -0
- package/dist/checks/ui/input-label-gap.js.map +1 -0
- package/dist/checks/ui/input-width-consistency.d.ts +53 -0
- package/dist/checks/ui/input-width-consistency.d.ts.map +1 -0
- package/dist/checks/ui/input-width-consistency.js +343 -0
- package/dist/checks/ui/input-width-consistency.js.map +1 -0
- package/dist/checks/ui/js-responsive-visibility.d.ts +32 -0
- package/dist/checks/ui/js-responsive-visibility.d.ts.map +1 -0
- package/dist/checks/ui/js-responsive-visibility.js +216 -0
- package/dist/checks/ui/js-responsive-visibility.js.map +1 -0
- package/dist/checks/ui/label-description-spacing.d.ts +31 -0
- package/dist/checks/ui/label-description-spacing.d.ts.map +1 -0
- package/dist/checks/ui/label-description-spacing.js +288 -0
- package/dist/checks/ui/label-description-spacing.js.map +1 -0
- package/dist/checks/ui/layout-shift-detection.d.ts +32 -0
- package/dist/checks/ui/layout-shift-detection.d.ts.map +1 -0
- package/dist/checks/ui/layout-shift-detection.js +401 -0
- package/dist/checks/ui/layout-shift-detection.js.map +1 -0
- package/dist/checks/ui/list-item-text-pattern.d.ts +33 -0
- package/dist/checks/ui/list-item-text-pattern.d.ts.map +1 -0
- package/dist/checks/ui/list-item-text-pattern.js +197 -0
- package/dist/checks/ui/list-item-text-pattern.js.map +1 -0
- package/dist/checks/ui/loading-empty-state-consistency.d.ts +29 -0
- package/dist/checks/ui/loading-empty-state-consistency.d.ts.map +1 -0
- package/dist/checks/ui/loading-empty-state-consistency.js +333 -0
- package/dist/checks/ui/loading-empty-state-consistency.js.map +1 -0
- package/dist/checks/ui/margin-in-gap-container.d.ts +26 -0
- package/dist/checks/ui/margin-in-gap-container.d.ts.map +1 -0
- package/dist/checks/ui/margin-in-gap-container.js +625 -0
- package/dist/checks/ui/margin-in-gap-container.js.map +1 -0
- package/dist/checks/ui/mega-menu-dropdown-position.d.ts +26 -0
- package/dist/checks/ui/mega-menu-dropdown-position.d.ts.map +1 -0
- package/dist/checks/ui/mega-menu-dropdown-position.js +233 -0
- package/dist/checks/ui/mega-menu-dropdown-position.js.map +1 -0
- package/dist/checks/ui/mega-menu-scrollbar-overlap.d.ts +25 -0
- package/dist/checks/ui/mega-menu-scrollbar-overlap.d.ts.map +1 -0
- package/dist/checks/ui/mega-menu-scrollbar-overlap.js +286 -0
- package/dist/checks/ui/mega-menu-scrollbar-overlap.js.map +1 -0
- package/dist/checks/ui/mega-menu-spacing-check.d.ts +22 -0
- package/dist/checks/ui/mega-menu-spacing-check.d.ts.map +1 -0
- package/dist/checks/ui/mega-menu-spacing-check.js +247 -0
- package/dist/checks/ui/mega-menu-spacing-check.js.map +1 -0
- package/dist/checks/ui/missing-shared-component-detection.d.ts +30 -0
- package/dist/checks/ui/missing-shared-component-detection.d.ts.map +1 -0
- package/dist/checks/ui/missing-shared-component-detection.js +707 -0
- package/dist/checks/ui/missing-shared-component-detection.js.map +1 -0
- package/dist/checks/ui/notification-feedback-check.d.ts +38 -0
- package/dist/checks/ui/notification-feedback-check.d.ts.map +1 -0
- package/dist/checks/ui/notification-feedback-check.js +564 -0
- package/dist/checks/ui/notification-feedback-check.js.map +1 -0
- package/dist/checks/ui/orphaned-page-content.d.ts +30 -0
- package/dist/checks/ui/orphaned-page-content.d.ts.map +1 -0
- package/dist/checks/ui/orphaned-page-content.js +261 -0
- package/dist/checks/ui/orphaned-page-content.js.map +1 -0
- package/dist/checks/ui/orphaned-table-filters.d.ts +35 -0
- package/dist/checks/ui/orphaned-table-filters.d.ts.map +1 -0
- package/dist/checks/ui/orphaned-table-filters.js +289 -0
- package/dist/checks/ui/orphaned-table-filters.js.map +1 -0
- package/dist/checks/ui/overflow-clipping-detection.d.ts +18 -0
- package/dist/checks/ui/overflow-clipping-detection.d.ts.map +1 -0
- package/dist/checks/ui/overflow-clipping-detection.js +201 -0
- package/dist/checks/ui/overflow-clipping-detection.js.map +1 -0
- package/dist/checks/ui/page-layout-spacing.d.ts +30 -0
- package/dist/checks/ui/page-layout-spacing.d.ts.map +1 -0
- package/dist/checks/ui/page-layout-spacing.js +609 -0
- package/dist/checks/ui/page-layout-spacing.js.map +1 -0
- package/dist/checks/ui/path-alias-check.d.ts +8 -0
- package/dist/checks/ui/path-alias-check.d.ts.map +1 -0
- package/dist/checks/ui/path-alias-check.js +101 -0
- package/dist/checks/ui/path-alias-check.js.map +1 -0
- package/dist/checks/ui/product-image-animations.d.ts +70 -0
- package/dist/checks/ui/product-image-animations.d.ts.map +1 -0
- package/dist/checks/ui/product-image-animations.js +326 -0
- package/dist/checks/ui/product-image-animations.js.map +1 -0
- package/dist/checks/ui/raw-enum-display-validation.d.ts +25 -0
- package/dist/checks/ui/raw-enum-display-validation.d.ts.map +1 -0
- package/dist/checks/ui/raw-enum-display-validation.js +186 -0
- package/dist/checks/ui/raw-enum-display-validation.js.map +1 -0
- package/dist/checks/ui/react-component-patterns.d.ts +19 -0
- package/dist/checks/ui/react-component-patterns.d.ts.map +1 -0
- package/dist/checks/ui/react-component-patterns.js +250 -0
- package/dist/checks/ui/react-component-patterns.js.map +1 -0
- package/dist/checks/ui/react-dom-prop-leaking.d.ts +22 -0
- package/dist/checks/ui/react-dom-prop-leaking.d.ts.map +1 -0
- package/dist/checks/ui/react-dom-prop-leaking.js +272 -0
- package/dist/checks/ui/react-dom-prop-leaking.js.map +1 -0
- package/dist/checks/ui/responsive-flex-width-validation.d.ts +64 -0
- package/dist/checks/ui/responsive-flex-width-validation.d.ts.map +1 -0
- package/dist/checks/ui/responsive-flex-width-validation.js +283 -0
- package/dist/checks/ui/responsive-flex-width-validation.js.map +1 -0
- package/dist/checks/ui/search-width-consistency.d.ts +53 -0
- package/dist/checks/ui/search-width-consistency.d.ts.map +1 -0
- package/dist/checks/ui/search-width-consistency.js +277 -0
- package/dist/checks/ui/search-width-consistency.js.map +1 -0
- package/dist/checks/ui/section-spacing-check.d.ts +31 -0
- package/dist/checks/ui/section-spacing-check.d.ts.map +1 -0
- package/dist/checks/ui/section-spacing-check.js +251 -0
- package/dist/checks/ui/section-spacing-check.js.map +1 -0
- package/dist/checks/ui/sibling-spacing-check.d.ts +26 -0
- package/dist/checks/ui/sibling-spacing-check.d.ts.map +1 -0
- package/dist/checks/ui/sibling-spacing-check.js +332 -0
- package/dist/checks/ui/sibling-spacing-check.js.map +1 -0
- package/dist/checks/ui/sidebar-layout-gap.d.ts +35 -0
- package/dist/checks/ui/sidebar-layout-gap.d.ts.map +1 -0
- package/dist/checks/ui/sidebar-layout-gap.js +206 -0
- package/dist/checks/ui/sidebar-layout-gap.js.map +1 -0
- package/dist/checks/ui/size-naming-consistency.d.ts +21 -0
- package/dist/checks/ui/size-naming-consistency.d.ts.map +1 -0
- package/dist/checks/ui/size-naming-consistency.js +220 -0
- package/dist/checks/ui/size-naming-consistency.js.map +1 -0
- package/dist/checks/ui/skeleton-empty-state-validation.d.ts +30 -0
- package/dist/checks/ui/skeleton-empty-state-validation.d.ts.map +1 -0
- package/dist/checks/ui/skeleton-empty-state-validation.js +268 -0
- package/dist/checks/ui/skeleton-empty-state-validation.js.map +1 -0
- package/dist/checks/ui/skeleton-size-consistency.d.ts +37 -0
- package/dist/checks/ui/skeleton-size-consistency.d.ts.map +1 -0
- package/dist/checks/ui/skeleton-size-consistency.js +1251 -0
- package/dist/checks/ui/skeleton-size-consistency.js.map +1 -0
- package/dist/checks/ui/spacing-check.d.ts +8 -0
- package/dist/checks/ui/spacing-check.d.ts.map +1 -0
- package/dist/checks/ui/spacing-check.js +106 -0
- package/dist/checks/ui/spacing-check.js.map +1 -0
- package/dist/checks/ui/spinner-vs-skeleton-validation.d.ts +46 -0
- package/dist/checks/ui/spinner-vs-skeleton-validation.d.ts.map +1 -0
- package/dist/checks/ui/spinner-vs-skeleton-validation.js +352 -0
- package/dist/checks/ui/spinner-vs-skeleton-validation.js.map +1 -0
- package/dist/checks/ui/stale-initial-state-detection.d.ts +30 -0
- package/dist/checks/ui/stale-initial-state-detection.d.ts.map +1 -0
- package/dist/checks/ui/stale-initial-state-detection.js +224 -0
- package/dist/checks/ui/stale-initial-state-detection.js.map +1 -0
- package/dist/checks/ui/styling-standards.d.ts +71 -0
- package/dist/checks/ui/styling-standards.d.ts.map +1 -0
- package/dist/checks/ui/styling-standards.js +568 -0
- package/dist/checks/ui/styling-standards.js.map +1 -0
- package/dist/checks/ui/table-form-control-spacing.d.ts +29 -0
- package/dist/checks/ui/table-form-control-spacing.d.ts.map +1 -0
- package/dist/checks/ui/table-form-control-spacing.js +260 -0
- package/dist/checks/ui/table-form-control-spacing.js.map +1 -0
- package/dist/checks/ui/table-structure-validation.d.ts +36 -0
- package/dist/checks/ui/table-structure-validation.d.ts.map +1 -0
- package/dist/checks/ui/table-structure-validation.js +308 -0
- package/dist/checks/ui/table-structure-validation.js.map +1 -0
- package/dist/checks/ui/tailwind-consistency.d.ts +28 -0
- package/dist/checks/ui/tailwind-consistency.d.ts.map +1 -0
- package/dist/checks/ui/tailwind-consistency.js +349 -0
- package/dist/checks/ui/tailwind-consistency.js.map +1 -0
- package/dist/checks/ui/tailwind-contrast-check.d.ts +46 -0
- package/dist/checks/ui/tailwind-contrast-check.d.ts.map +1 -0
- package/dist/checks/ui/tailwind-contrast-check.js +464 -0
- package/dist/checks/ui/tailwind-contrast-check.js.map +1 -0
- package/dist/checks/ui/text-button-group-gap.d.ts +30 -0
- package/dist/checks/ui/text-button-group-gap.d.ts.map +1 -0
- package/dist/checks/ui/text-button-group-gap.js +245 -0
- package/dist/checks/ui/text-button-group-gap.js.map +1 -0
- package/dist/checks/ui/typography-check.d.ts +8 -0
- package/dist/checks/ui/typography-check.d.ts.map +1 -0
- package/dist/checks/ui/typography-check.js +120 -0
- package/dist/checks/ui/typography-check.js.map +1 -0
- package/dist/checks/ui/ui-consistency-validation.d.ts +52 -0
- package/dist/checks/ui/ui-consistency-validation.d.ts.map +1 -0
- package/dist/checks/ui/ui-consistency-validation.js +235 -0
- package/dist/checks/ui/ui-consistency-validation.js.map +1 -0
- package/dist/checks/ui/z-index-check.d.ts +29 -0
- package/dist/checks/ui/z-index-check.d.ts.map +1 -0
- package/dist/checks/ui/z-index-check.js +669 -0
- package/dist/checks/ui/z-index-check.js.map +1 -0
- package/dist/checks/zod/zod4-compatibility.d.ts +32 -0
- package/dist/checks/zod/zod4-compatibility.d.ts.map +1 -0
- package/dist/checks/zod/zod4-compatibility.js +415 -0
- package/dist/checks/zod/zod4-compatibility.js.map +1 -0
- package/dist/core/categories.d.ts +40 -0
- package/dist/core/categories.d.ts.map +1 -0
- package/dist/core/categories.js +153 -0
- package/dist/core/categories.js.map +1 -0
- package/dist/core/config.d.ts +110 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +178 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/types.d.ts +206 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +24 -0
- package/dist/core/types.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +215 -0
- package/dist/index.js.map +1 -0
- package/dist/runner.d.ts +37 -0
- package/dist/runner.d.ts.map +1 -0
- package/dist/runner.js +728 -0
- package/dist/runner.js.map +1 -0
- package/dist/shared/concurrency-config.d.ts +67 -0
- package/dist/shared/concurrency-config.d.ts.map +1 -0
- package/dist/shared/concurrency-config.js +140 -0
- package/dist/shared/concurrency-config.js.map +1 -0
- package/dist/shared/design-tokens-config.d.ts +140 -0
- package/dist/shared/design-tokens-config.d.ts.map +1 -0
- package/dist/shared/design-tokens-config.js +290 -0
- package/dist/shared/design-tokens-config.js.map +1 -0
- package/dist/shared/design-tokens.d.ts +771 -0
- package/dist/shared/design-tokens.d.ts.map +1 -0
- package/dist/shared/design-tokens.js +873 -0
- package/dist/shared/design-tokens.js.map +1 -0
- package/dist/shared/exclusions.d.ts +93 -0
- package/dist/shared/exclusions.d.ts.map +1 -0
- package/dist/shared/exclusions.js +182 -0
- package/dist/shared/exclusions.js.map +1 -0
- package/dist/shared/file-cache.d.ts +379 -0
- package/dist/shared/file-cache.d.ts.map +1 -0
- package/dist/shared/file-cache.js +744 -0
- package/dist/shared/file-cache.js.map +1 -0
- package/dist/shared/glob-patterns.d.ts +200 -0
- package/dist/shared/glob-patterns.d.ts.map +1 -0
- package/dist/shared/glob-patterns.js +291 -0
- package/dist/shared/glob-patterns.js.map +1 -0
- package/dist/shared/in-process-runner.d.ts +44 -0
- package/dist/shared/in-process-runner.d.ts.map +1 -0
- package/dist/shared/in-process-runner.js +266 -0
- package/dist/shared/in-process-runner.js.map +1 -0
- package/dist/shared/incremental-cache.d.ts +93 -0
- package/dist/shared/incremental-cache.d.ts.map +1 -0
- package/dist/shared/incremental-cache.js +349 -0
- package/dist/shared/incremental-cache.js.map +1 -0
- package/dist/shared/layout-constants.d.ts +101 -0
- package/dist/shared/layout-constants.d.ts.map +1 -0
- package/dist/shared/layout-constants.js +172 -0
- package/dist/shared/layout-constants.js.map +1 -0
- package/dist/utils/config-loader.d.ts +34 -0
- package/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/utils/config-loader.js +169 -0
- package/dist/utils/config-loader.js.map +1 -0
- package/dist/utils/console-chars.d.ts +388 -0
- package/dist/utils/console-chars.d.ts.map +1 -0
- package/dist/utils/console-chars.js +378 -0
- package/dist/utils/console-chars.js.map +1 -0
- package/dist/utils/file-scanner.d.ts +73 -0
- package/dist/utils/file-scanner.d.ts.map +1 -0
- package/dist/utils/file-scanner.js +203 -0
- package/dist/utils/file-scanner.js.map +1 -0
- package/dist/utils/findings-writer.d.ts +32 -0
- package/dist/utils/findings-writer.d.ts.map +1 -0
- package/dist/utils/findings-writer.js +69 -0
- package/dist/utils/findings-writer.js.map +1 -0
- package/dist/utils/plugin-loader.d.ts +76 -0
- package/dist/utils/plugin-loader.d.ts.map +1 -0
- package/dist/utils/plugin-loader.js +259 -0
- package/dist/utils/plugin-loader.js.map +1 -0
- package/dist/utils/preflight-runner.d.ts +29 -0
- package/dist/utils/preflight-runner.d.ts.map +1 -0
- package/dist/utils/preflight-runner.js +131 -0
- package/dist/utils/preflight-runner.js.map +1 -0
- package/dist/utils/progress-reporter.d.ts +92 -0
- package/dist/utils/progress-reporter.d.ts.map +1 -0
- package/dist/utils/progress-reporter.js +272 -0
- package/dist/utils/progress-reporter.js.map +1 -0
- package/package.json +83 -0
- package/templates/domain-specific/trading-card-system/tcg-seed-validation.ts +197 -0
- package/templates/new-check.ts.template +205 -0
- package/templates/preflight.config.ts.template +103 -0
|
@@ -0,0 +1,945 @@
|
|
|
1
|
+
#!/usr/bin/env tsx
|
|
2
|
+
"use strict";
|
|
3
|
+
/**
|
|
4
|
+
* Integration Status Display Preflight
|
|
5
|
+
*
|
|
6
|
+
* Ensures integrations have proper status display infrastructure:
|
|
7
|
+
* 1. API endpoint to fetch all integration statuses for a store
|
|
8
|
+
* 2. Integrations list page shows connected status and last sync
|
|
9
|
+
* 3. Each integration shows management view when connected
|
|
10
|
+
*
|
|
11
|
+
* These three elements are imperative for a consistent user experience.
|
|
12
|
+
*
|
|
13
|
+
* Usage:
|
|
14
|
+
* pnpm preflight:integration-status-display
|
|
15
|
+
* pnpm preflight:integration-status-display --verbose
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
+
}
|
|
23
|
+
Object.defineProperty(o, k2, desc);
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
+
}) : function(o, v) {
|
|
31
|
+
o["default"] = v;
|
|
32
|
+
});
|
|
33
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
34
|
+
var ownKeys = function(o) {
|
|
35
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
36
|
+
var ar = [];
|
|
37
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
38
|
+
return ar;
|
|
39
|
+
};
|
|
40
|
+
return ownKeys(o);
|
|
41
|
+
};
|
|
42
|
+
return function (mod) {
|
|
43
|
+
if (mod && mod.__esModule) return mod;
|
|
44
|
+
var result = {};
|
|
45
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
46
|
+
__setModuleDefault(result, mod);
|
|
47
|
+
return result;
|
|
48
|
+
};
|
|
49
|
+
})();
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.requires = exports.tags = exports.blocking = exports.category = exports.description = exports.name = exports.id = void 0;
|
|
52
|
+
exports.run = run;
|
|
53
|
+
const fs = __importStar(require("fs"));
|
|
54
|
+
const path = __importStar(require("path"));
|
|
55
|
+
const console_chars_1 = require("../../utils/console-chars");
|
|
56
|
+
const universal_progress_reporter_1 = require("../system/universal-progress-reporter");
|
|
57
|
+
// METADATA
|
|
58
|
+
exports.id = "integrations/integration-status-display";
|
|
59
|
+
exports.name = "Integration Status Display";
|
|
60
|
+
exports.description = "Validates integration status display infrastructure";
|
|
61
|
+
exports.category = "integrations";
|
|
62
|
+
exports.blocking = true;
|
|
63
|
+
exports.tags = ["integrations", "status", "ui", "management"];
|
|
64
|
+
exports.requires = ["trading-card-system"];
|
|
65
|
+
// Integrations that are NOT marketplace integrations (don't need management view pattern)
|
|
66
|
+
// These are utility/infrastructure integrations with different UX patterns
|
|
67
|
+
const EXCLUDED_INTEGRATIONS = new Set([
|
|
68
|
+
"api", // API key management - different pattern
|
|
69
|
+
"csv", // CSV import - one-time action, no connection state
|
|
70
|
+
"reconcile", // Reconciliation tool - different pattern
|
|
71
|
+
"rest-api", // REST API config - different pattern
|
|
72
|
+
"webhook", // Webhook config - different pattern
|
|
73
|
+
"shippo", // Shipping provider - different pattern
|
|
74
|
+
"shipstation", // Shipping provider - different pattern
|
|
75
|
+
]);
|
|
76
|
+
/**
|
|
77
|
+
* Auto-discover marketplace integrations by scanning the integrations directory
|
|
78
|
+
* for folders containing *IntegrationClient.tsx or *Client.tsx files
|
|
79
|
+
*/
|
|
80
|
+
function discoverIntegrations() {
|
|
81
|
+
const integrationsDir = path.join(process.cwd(), "app/store/integrations");
|
|
82
|
+
const integrations = [];
|
|
83
|
+
if (!fs.existsSync(integrationsDir)) {
|
|
84
|
+
return integrations;
|
|
85
|
+
}
|
|
86
|
+
const folders = fs.readdirSync(integrationsDir, { withFileTypes: true })
|
|
87
|
+
.filter(dirent => dirent.isDirectory())
|
|
88
|
+
.map(dirent => dirent.name);
|
|
89
|
+
for (const folder of folders) {
|
|
90
|
+
// Skip excluded integrations
|
|
91
|
+
if (EXCLUDED_INTEGRATIONS.has(folder)) {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
const folderPath = path.join(integrationsDir, folder);
|
|
95
|
+
const files = fs.readdirSync(folderPath);
|
|
96
|
+
// Look for *IntegrationClient.tsx or *Client.tsx files
|
|
97
|
+
const clientFile = files.find(f => (f.endsWith("IntegrationClient.tsx") || f.endsWith("Client.tsx")) &&
|
|
98
|
+
!f.startsWith("."));
|
|
99
|
+
if (clientFile) {
|
|
100
|
+
// Convert folder name to display name (e.g., "tiktok-shop" -> "TikTok Shop")
|
|
101
|
+
const displayName = folder
|
|
102
|
+
.split("-")
|
|
103
|
+
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
|
104
|
+
.join(" ");
|
|
105
|
+
integrations.push({
|
|
106
|
+
name: displayName,
|
|
107
|
+
slug: folder,
|
|
108
|
+
clientFile: `app/store/integrations/${folder}/${clientFile}`,
|
|
109
|
+
apiBasePath: `app/api/store/integrations/${folder}`,
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return integrations;
|
|
114
|
+
}
|
|
115
|
+
class IntegrationStatusDisplayPreflight {
|
|
116
|
+
verbose;
|
|
117
|
+
integrations;
|
|
118
|
+
constructor(options = {}) {
|
|
119
|
+
this.verbose = options.verbose || false;
|
|
120
|
+
this.integrations = discoverIntegrations();
|
|
121
|
+
}
|
|
122
|
+
fileExists(filePath) {
|
|
123
|
+
return fs.existsSync(path.join(process.cwd(), filePath));
|
|
124
|
+
}
|
|
125
|
+
readFile(filePath) {
|
|
126
|
+
const fullPath = path.join(process.cwd(), filePath);
|
|
127
|
+
if (!fs.existsSync(fullPath))
|
|
128
|
+
return null;
|
|
129
|
+
return fs.readFileSync(fullPath, "utf-8");
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Check 1: API endpoint to fetch all integration statuses
|
|
133
|
+
*/
|
|
134
|
+
checkStatusApiEndpoint() {
|
|
135
|
+
const result = {
|
|
136
|
+
name: "Integration Status API Endpoint",
|
|
137
|
+
passed: false,
|
|
138
|
+
details: [],
|
|
139
|
+
errors: [],
|
|
140
|
+
};
|
|
141
|
+
const statusRoutePath = "app/api/store/integrations/status/route.ts";
|
|
142
|
+
if (!this.fileExists(statusRoutePath)) {
|
|
143
|
+
result.errors.push(`Missing: ${statusRoutePath}`);
|
|
144
|
+
result.errors.push("Need API endpoint to fetch all integration statuses for a store");
|
|
145
|
+
return result;
|
|
146
|
+
}
|
|
147
|
+
const content = this.readFile(statusRoutePath);
|
|
148
|
+
if (!content) {
|
|
149
|
+
result.errors.push(`Cannot read: ${statusRoutePath}`);
|
|
150
|
+
return result;
|
|
151
|
+
}
|
|
152
|
+
// Check for required patterns
|
|
153
|
+
const requiredPatterns = [
|
|
154
|
+
{ pattern: /export async function GET/i, desc: "GET handler" },
|
|
155
|
+
{ pattern: /jobsIntegration|integrations/i, desc: "Integration query" },
|
|
156
|
+
{ pattern: /enabled|status/i, desc: "Enabled/status field" },
|
|
157
|
+
{ pattern: /lastSync/i, desc: "Last sync timestamp" },
|
|
158
|
+
];
|
|
159
|
+
for (const { pattern, desc } of requiredPatterns) {
|
|
160
|
+
if (pattern.test(content)) {
|
|
161
|
+
result.details.push(`${console_chars_1.emoji.success} Has ${desc}`);
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
result.errors.push(`Missing ${desc} in status API`);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
result.passed = result.errors.length === 0;
|
|
168
|
+
return result;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Check 2: Integrations list page shows connected status
|
|
172
|
+
*/
|
|
173
|
+
checkIntegrationsListPage() {
|
|
174
|
+
const result = {
|
|
175
|
+
name: "Integrations List Page Status Display",
|
|
176
|
+
passed: false,
|
|
177
|
+
details: [],
|
|
178
|
+
errors: [],
|
|
179
|
+
};
|
|
180
|
+
const listPagePath = "app/store/integrations/page.tsx";
|
|
181
|
+
if (!this.fileExists(listPagePath)) {
|
|
182
|
+
result.errors.push(`Missing: ${listPagePath}`);
|
|
183
|
+
return result;
|
|
184
|
+
}
|
|
185
|
+
const content = this.readFile(listPagePath);
|
|
186
|
+
if (!content) {
|
|
187
|
+
result.errors.push(`Cannot read: ${listPagePath}`);
|
|
188
|
+
return result;
|
|
189
|
+
}
|
|
190
|
+
// Check for required patterns
|
|
191
|
+
const requiredPatterns = [
|
|
192
|
+
{
|
|
193
|
+
pattern: /\/api\/store\/integrations\/status|integrationStatuses|IntegrationStatus/i,
|
|
194
|
+
desc: "Fetches integration statuses"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
pattern: /IntegrationStatusBadge|CheckCircle.*enabled|connected.*indicator/i,
|
|
198
|
+
desc: "Shows connected indicator"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
pattern: /lastSync|last.*sync/i,
|
|
202
|
+
desc: "Shows last sync time"
|
|
203
|
+
},
|
|
204
|
+
];
|
|
205
|
+
for (const { pattern, desc } of requiredPatterns) {
|
|
206
|
+
if (pattern.test(content)) {
|
|
207
|
+
result.details.push(`${console_chars_1.emoji.success} ${desc}`);
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
result.errors.push(`Missing: ${desc}`);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
result.passed = result.errors.length === 0;
|
|
214
|
+
return result;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Check 3: Integration pages show management view when connected
|
|
218
|
+
*/
|
|
219
|
+
checkManagementViews() {
|
|
220
|
+
const result = {
|
|
221
|
+
name: "Integration Management Views",
|
|
222
|
+
passed: true,
|
|
223
|
+
details: [],
|
|
224
|
+
errors: [],
|
|
225
|
+
};
|
|
226
|
+
for (const integration of this.integrations) {
|
|
227
|
+
// Skip if client file doesn't exist (integration not implemented)
|
|
228
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
229
|
+
result.details.push(`${console_chars_1.emoji.info} ${integration.name}: Not implemented yet (skipped)`);
|
|
230
|
+
continue;
|
|
231
|
+
}
|
|
232
|
+
const content = this.readFile(integration.clientFile);
|
|
233
|
+
if (!content) {
|
|
234
|
+
result.errors.push(`${integration.name}: Cannot read ${integration.clientFile}`);
|
|
235
|
+
result.passed = false;
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
// Check for management view patterns
|
|
239
|
+
const hasManagementView = /IntegrationManagementView|management.*view|viewMode.*management/i.test(content) ||
|
|
240
|
+
/enabled.*\?.*management|connected.*\?.*dashboard/i.test(content) ||
|
|
241
|
+
// Alternative: Check for conditional rendering based on enabled state
|
|
242
|
+
(/config\.enabled|integration\.enabled/i.test(content) &&
|
|
243
|
+
/sync.*inventory|sync.*prices|disconnect/i.test(content));
|
|
244
|
+
const hasViewModeToggle = /viewMode|setViewMode|wizard.*management/i.test(content) ||
|
|
245
|
+
/showWizard|showManagement|isConnected/i.test(content);
|
|
246
|
+
if (hasManagementView || hasViewModeToggle) {
|
|
247
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Has management view`);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
result.errors.push(`${integration.name}: Missing management view when connected. ` +
|
|
251
|
+
`Should show sync actions, stats, and settings instead of setup wizard.`);
|
|
252
|
+
result.passed = false;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
return result;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Check 4: IntegrationStatusBadge component exists
|
|
259
|
+
*/
|
|
260
|
+
checkStatusBadgeComponent() {
|
|
261
|
+
const result = {
|
|
262
|
+
name: "IntegrationStatusBadge Component",
|
|
263
|
+
passed: false,
|
|
264
|
+
details: [],
|
|
265
|
+
errors: [],
|
|
266
|
+
};
|
|
267
|
+
const badgePath = "components/shared/integration/IntegrationStatusBadge.tsx";
|
|
268
|
+
if (!this.fileExists(badgePath)) {
|
|
269
|
+
result.errors.push(`Missing: ${badgePath}`);
|
|
270
|
+
result.errors.push("Need shared component to display integration status consistently");
|
|
271
|
+
return result;
|
|
272
|
+
}
|
|
273
|
+
const content = this.readFile(badgePath);
|
|
274
|
+
if (!content) {
|
|
275
|
+
result.errors.push(`Cannot read: ${badgePath}`);
|
|
276
|
+
return result;
|
|
277
|
+
}
|
|
278
|
+
// Check for required patterns
|
|
279
|
+
const requiredPatterns = [
|
|
280
|
+
{ pattern: /enabled.*boolean/i, desc: "enabled prop" },
|
|
281
|
+
{ pattern: /lastSync/i, desc: "lastSync prop" },
|
|
282
|
+
{ pattern: /CheckCircle|check.*icon/i, desc: "Connected indicator icon" },
|
|
283
|
+
];
|
|
284
|
+
for (const { pattern, desc } of requiredPatterns) {
|
|
285
|
+
if (pattern.test(content)) {
|
|
286
|
+
result.details.push(`${console_chars_1.emoji.success} Has ${desc}`);
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
result.errors.push(`Missing ${desc} in status badge`);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
// Check it's exported from index
|
|
293
|
+
const indexPath = "components/shared/integration/index.ts";
|
|
294
|
+
const indexContent = this.readFile(indexPath);
|
|
295
|
+
if (indexContent && /IntegrationStatusBadge/i.test(indexContent)) {
|
|
296
|
+
result.details.push(`${console_chars_1.emoji.success} Exported from index`);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
result.errors.push("IntegrationStatusBadge not exported from index.ts");
|
|
300
|
+
}
|
|
301
|
+
result.passed = result.errors.length === 0;
|
|
302
|
+
return result;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Check 5: IntegrationManagementView component exists
|
|
306
|
+
*/
|
|
307
|
+
checkManagementViewComponent() {
|
|
308
|
+
const result = {
|
|
309
|
+
name: "IntegrationManagementView Component",
|
|
310
|
+
passed: false,
|
|
311
|
+
details: [],
|
|
312
|
+
errors: [],
|
|
313
|
+
};
|
|
314
|
+
const viewPath = "components/shared/integration/IntegrationManagementView.tsx";
|
|
315
|
+
if (!this.fileExists(viewPath)) {
|
|
316
|
+
result.errors.push(`Missing: ${viewPath}`);
|
|
317
|
+
result.errors.push("Need shared component for integration management dashboard");
|
|
318
|
+
return result;
|
|
319
|
+
}
|
|
320
|
+
const content = this.readFile(viewPath);
|
|
321
|
+
if (!content) {
|
|
322
|
+
result.errors.push(`Cannot read: ${viewPath}`);
|
|
323
|
+
return result;
|
|
324
|
+
}
|
|
325
|
+
// Check for required patterns
|
|
326
|
+
const requiredPatterns = [
|
|
327
|
+
{ pattern: /onSyncInventory|syncInventory/i, desc: "Sync inventory action" },
|
|
328
|
+
{ pattern: /onSyncPrices|syncPrices/i, desc: "Sync prices action" },
|
|
329
|
+
{ pattern: /onDisconnect|disconnect/i, desc: "Disconnect action" },
|
|
330
|
+
{ pattern: /lastSync/i, desc: "Last sync display" },
|
|
331
|
+
{ pattern: /stats|statistics/i, desc: "Statistics display" },
|
|
332
|
+
];
|
|
333
|
+
for (const { pattern, desc } of requiredPatterns) {
|
|
334
|
+
if (pattern.test(content)) {
|
|
335
|
+
result.details.push(`${console_chars_1.emoji.success} Has ${desc}`);
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
result.errors.push(`Missing ${desc} in management view`);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
// Check it's exported from index
|
|
342
|
+
const indexPath = "components/shared/integration/index.ts";
|
|
343
|
+
const indexContent = this.readFile(indexPath);
|
|
344
|
+
if (indexContent && /IntegrationManagementView/i.test(indexContent)) {
|
|
345
|
+
result.details.push(`${console_chars_1.emoji.success} Exported from index`);
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
result.errors.push("IntegrationManagementView not exported from index.ts");
|
|
349
|
+
}
|
|
350
|
+
result.passed = result.errors.length === 0;
|
|
351
|
+
return result;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Check 6: Integration pages have loading state (no flash of wizard)
|
|
355
|
+
*/
|
|
356
|
+
checkLoadingState() {
|
|
357
|
+
const result = {
|
|
358
|
+
name: "Integration Loading State",
|
|
359
|
+
passed: true,
|
|
360
|
+
details: [],
|
|
361
|
+
errors: [],
|
|
362
|
+
};
|
|
363
|
+
for (const integration of this.integrations) {
|
|
364
|
+
// Skip if client file doesn't exist
|
|
365
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
366
|
+
continue;
|
|
367
|
+
}
|
|
368
|
+
const content = this.readFile(integration.clientFile);
|
|
369
|
+
if (!content) {
|
|
370
|
+
continue;
|
|
371
|
+
}
|
|
372
|
+
// Check for loading state that prevents flash of wizard before data loads
|
|
373
|
+
const hasLoadingState = /isInitialLoading|initialLoading|isLoadingConfig/i.test(content) ||
|
|
374
|
+
// Check for conditional render that waits for data
|
|
375
|
+
(/useState.*null|useState.*undefined/i.test(content) &&
|
|
376
|
+
/if\s*\(\s*!.*\)\s*return|loading.*skeleton|CircularProgress/i.test(content));
|
|
377
|
+
if (hasLoadingState) {
|
|
378
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Has loading state`);
|
|
379
|
+
}
|
|
380
|
+
else {
|
|
381
|
+
result.errors.push(`${integration.name}: Missing loading state. ` +
|
|
382
|
+
`Should not show wizard before checking if already connected.`);
|
|
383
|
+
result.passed = false;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
return result;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Check 7: Buttons are inside cards (no lingering buttons)
|
|
390
|
+
*/
|
|
391
|
+
checkButtonsInCards() {
|
|
392
|
+
const result = {
|
|
393
|
+
name: "Buttons Inside Cards",
|
|
394
|
+
passed: true,
|
|
395
|
+
details: [],
|
|
396
|
+
errors: [],
|
|
397
|
+
};
|
|
398
|
+
for (const integration of this.integrations) {
|
|
399
|
+
// Skip if client file doesn't exist
|
|
400
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
401
|
+
continue;
|
|
402
|
+
}
|
|
403
|
+
const content = this.readFile(integration.clientFile);
|
|
404
|
+
if (!content) {
|
|
405
|
+
continue;
|
|
406
|
+
}
|
|
407
|
+
// Check for buttons outside of cards in management view section
|
|
408
|
+
// Pattern: viewMode === "management" followed by Box with Button but no Card wrapper
|
|
409
|
+
const managementViewMatch = content.match(/viewMode\s*===?\s*["']management["'].*?(?=viewMode|$)/s);
|
|
410
|
+
if (managementViewMatch) {
|
|
411
|
+
const managementSection = managementViewMatch[0];
|
|
412
|
+
// Check for standalone buttons outside cards
|
|
413
|
+
// Bad pattern: <Box className="flex justify-end"><Button...
|
|
414
|
+
// Good pattern: <Card>...<Button... or IntegrationManagementView (which has cards)
|
|
415
|
+
const hasStandaloneButtons = /<Box[^>]*className[^>]*flex[^>]*justify-end[^>]*>\s*<Button/i.test(managementSection) &&
|
|
416
|
+
!/<Card[^>]*>[\s\S]*?<Box[^>]*className[^>]*flex[^>]*justify-end[^>]*>\s*<Button/i.test(managementSection);
|
|
417
|
+
// Also check if using IntegrationManagementView (which properly contains buttons in cards)
|
|
418
|
+
const usesManagementView = /IntegrationManagementView/i.test(managementSection);
|
|
419
|
+
if (hasStandaloneButtons && !usesManagementView) {
|
|
420
|
+
result.errors.push(`${integration.name}: Has buttons outside of cards in management view. ` +
|
|
421
|
+
`All buttons must be inside Card components.`);
|
|
422
|
+
result.passed = false;
|
|
423
|
+
}
|
|
424
|
+
else {
|
|
425
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Buttons properly contained`);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
return result;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Check 8: Settings mode hides stepper (no full wizard shown for settings)
|
|
433
|
+
*/
|
|
434
|
+
checkSettingsModeNoStepper() {
|
|
435
|
+
const result = {
|
|
436
|
+
name: "Settings Mode Hides Stepper",
|
|
437
|
+
passed: true,
|
|
438
|
+
details: [],
|
|
439
|
+
errors: [],
|
|
440
|
+
};
|
|
441
|
+
for (const integration of this.integrations) {
|
|
442
|
+
// Skip if client file doesn't exist
|
|
443
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
444
|
+
continue;
|
|
445
|
+
}
|
|
446
|
+
const content = this.readFile(integration.clientFile);
|
|
447
|
+
if (!content) {
|
|
448
|
+
continue;
|
|
449
|
+
}
|
|
450
|
+
// Check if integration has settings mode handling
|
|
451
|
+
const hasSettingsMode = /wizardMode.*settings|settingsMode|isSettingsView/i.test(content);
|
|
452
|
+
const hasConditionalStepper = /wizardMode\s*!==?\s*["']settings["'].*IntegrationStepper/is.test(content) ||
|
|
453
|
+
/settings.*\?.*null.*:.*Stepper/i.test(content) ||
|
|
454
|
+
// Or doesn't show stepper at all in settings
|
|
455
|
+
!(/onSettings.*setActiveStep\(0\)/i.test(content) && /IntegrationStepper/i.test(content));
|
|
456
|
+
// If integration has onSettings that goes to step 0, it should hide stepper
|
|
457
|
+
const hasOnSettingsToStep0 = /onSettings.*setActiveStep\(0\)|handleOpenSettings/i.test(content);
|
|
458
|
+
if (hasOnSettingsToStep0) {
|
|
459
|
+
if (hasSettingsMode || hasConditionalStepper) {
|
|
460
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Settings mode properly handled`);
|
|
461
|
+
}
|
|
462
|
+
else {
|
|
463
|
+
result.errors.push(`${integration.name}: Settings mode should hide stepper. ` +
|
|
464
|
+
`Full wizard stepper should not be shown when editing settings.`);
|
|
465
|
+
result.passed = false;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
else {
|
|
469
|
+
result.details.push(`${console_chars_1.emoji.info} ${integration.name}: No settings mode (skipped)`);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
return result;
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* Check 9: IntegrationManagementView has hasImportedProducts prop for disabling sync buttons
|
|
476
|
+
*/
|
|
477
|
+
checkSyncButtonsDisabledWithoutProducts() {
|
|
478
|
+
const result = {
|
|
479
|
+
name: "Sync Buttons Disabled Without Products",
|
|
480
|
+
passed: false,
|
|
481
|
+
details: [],
|
|
482
|
+
errors: [],
|
|
483
|
+
};
|
|
484
|
+
const viewPath = "components/shared/integration/IntegrationManagementView.tsx";
|
|
485
|
+
const content = this.readFile(viewPath);
|
|
486
|
+
if (!content) {
|
|
487
|
+
result.errors.push(`Cannot read: ${viewPath}`);
|
|
488
|
+
return result;
|
|
489
|
+
}
|
|
490
|
+
// Check for hasImportedProducts prop
|
|
491
|
+
const hasImportedProductsProp = /hasImportedProducts/i.test(content);
|
|
492
|
+
// Check that sync buttons are disabled when no products
|
|
493
|
+
const syncButtonsDisabled = /disabled=\{.*\|\|.*!hasImportedProducts/i.test(content) ||
|
|
494
|
+
/disabled=\{.*!hasImportedProducts/i.test(content);
|
|
495
|
+
// Check for helper text when no products
|
|
496
|
+
const hasHelperText = /Import products first/i.test(content);
|
|
497
|
+
if (hasImportedProductsProp) {
|
|
498
|
+
result.details.push(`${console_chars_1.emoji.success} Has hasImportedProducts prop`);
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
result.errors.push("Missing hasImportedProducts prop");
|
|
502
|
+
}
|
|
503
|
+
if (syncButtonsDisabled) {
|
|
504
|
+
result.details.push(`${console_chars_1.emoji.success} Sync buttons disabled when no products`);
|
|
505
|
+
}
|
|
506
|
+
else {
|
|
507
|
+
result.errors.push("Sync buttons should be disabled when hasImportedProducts is false");
|
|
508
|
+
}
|
|
509
|
+
if (hasHelperText) {
|
|
510
|
+
result.details.push(`${console_chars_1.emoji.success} Has helper text for disabled state`);
|
|
511
|
+
}
|
|
512
|
+
else {
|
|
513
|
+
result.errors.push("Should show helper text explaining why buttons are disabled");
|
|
514
|
+
}
|
|
515
|
+
result.passed = result.errors.length === 0;
|
|
516
|
+
return result;
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Check 10: Store Connection step has required buttons (Test, Save/Connect, Back)
|
|
520
|
+
*/
|
|
521
|
+
checkStoreConnectionButtons() {
|
|
522
|
+
const result = {
|
|
523
|
+
name: "Store Connection Required Buttons",
|
|
524
|
+
passed: true,
|
|
525
|
+
details: [],
|
|
526
|
+
errors: [],
|
|
527
|
+
};
|
|
528
|
+
for (const integration of this.integrations) {
|
|
529
|
+
// Skip if client file doesn't exist
|
|
530
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
531
|
+
continue;
|
|
532
|
+
}
|
|
533
|
+
const content = this.readFile(integration.clientFile);
|
|
534
|
+
if (!content) {
|
|
535
|
+
continue;
|
|
536
|
+
}
|
|
537
|
+
// Check for Test Connection button
|
|
538
|
+
const hasTestConnection = /Test.*Connection|handleTestConnection|testConnection/i.test(content);
|
|
539
|
+
// Check for Save/Connect button (after successful test)
|
|
540
|
+
const hasSaveOrConnect = /Save.*Connection|Connect.*Store|handleConnect|saveIntegrationConfig/i.test(content);
|
|
541
|
+
// Check for Back button in settings mode (to return to dashboard)
|
|
542
|
+
const hasBackButton = /Back.*Dashboard|← Back|handleBack|setViewMode.*management/i.test(content);
|
|
543
|
+
if (hasTestConnection) {
|
|
544
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Has Test Connection`);
|
|
545
|
+
}
|
|
546
|
+
else {
|
|
547
|
+
result.errors.push(`${integration.name}: Missing Test Connection button`);
|
|
548
|
+
result.passed = false;
|
|
549
|
+
}
|
|
550
|
+
if (hasSaveOrConnect) {
|
|
551
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Has Save/Connect`);
|
|
552
|
+
}
|
|
553
|
+
else {
|
|
554
|
+
result.errors.push(`${integration.name}: Missing Save/Connect button`);
|
|
555
|
+
result.passed = false;
|
|
556
|
+
}
|
|
557
|
+
if (hasBackButton) {
|
|
558
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Has Back button`);
|
|
559
|
+
}
|
|
560
|
+
else {
|
|
561
|
+
result.errors.push(`${integration.name}: Missing Back to Dashboard button in settings`);
|
|
562
|
+
result.passed = false;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
return result;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Check 11: Button icon spacing (gap between icon and text)
|
|
569
|
+
*/
|
|
570
|
+
checkButtonIconSpacing() {
|
|
571
|
+
const result = {
|
|
572
|
+
name: "Button Icon Spacing",
|
|
573
|
+
passed: false,
|
|
574
|
+
details: [],
|
|
575
|
+
errors: [],
|
|
576
|
+
};
|
|
577
|
+
const viewPath = "components/shared/integration/IntegrationManagementView.tsx";
|
|
578
|
+
const content = this.readFile(viewPath);
|
|
579
|
+
if (!content) {
|
|
580
|
+
result.errors.push(`Cannot read: ${viewPath}`);
|
|
581
|
+
return result;
|
|
582
|
+
}
|
|
583
|
+
// Check for proper gap in flex-col buttons (gap-2 or higher for vertical layout)
|
|
584
|
+
const hasProperGap = /flex-col\s+gap-2|flex-col\s+gap-3|flex-col\s+gap-4/i.test(content);
|
|
585
|
+
// Check that startIcon buttons have proper spacing (handled by Button component)
|
|
586
|
+
const usesStartIcon = /startIcon=/i.test(content);
|
|
587
|
+
if (hasProperGap) {
|
|
588
|
+
result.details.push(`${console_chars_1.emoji.success} Vertical buttons have proper gap spacing`);
|
|
589
|
+
}
|
|
590
|
+
else {
|
|
591
|
+
result.errors.push("Vertical buttons should use gap-2 or higher for icon spacing");
|
|
592
|
+
}
|
|
593
|
+
if (usesStartIcon) {
|
|
594
|
+
result.details.push(`${console_chars_1.emoji.success} Uses startIcon prop for horizontal buttons`);
|
|
595
|
+
}
|
|
596
|
+
result.passed = hasProperGap;
|
|
597
|
+
return result;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* Check 12: IntegrationCard shared component exists and is used
|
|
601
|
+
*/
|
|
602
|
+
checkIntegrationCardComponent() {
|
|
603
|
+
const result = {
|
|
604
|
+
name: "IntegrationCard Shared Component",
|
|
605
|
+
passed: false,
|
|
606
|
+
details: [],
|
|
607
|
+
errors: [],
|
|
608
|
+
};
|
|
609
|
+
const cardPath = "components/shared/integration/IntegrationCard.tsx";
|
|
610
|
+
if (!this.fileExists(cardPath)) {
|
|
611
|
+
result.errors.push(`Missing: ${cardPath}`);
|
|
612
|
+
result.errors.push("Need shared IntegrationCard component for consistent integration listings");
|
|
613
|
+
return result;
|
|
614
|
+
}
|
|
615
|
+
const content = this.readFile(cardPath);
|
|
616
|
+
if (!content) {
|
|
617
|
+
result.errors.push(`Cannot read: ${cardPath}`);
|
|
618
|
+
return result;
|
|
619
|
+
}
|
|
620
|
+
// Check for required patterns
|
|
621
|
+
const requiredPatterns = [
|
|
622
|
+
{ pattern: /MarketplaceLogo/i, desc: "Uses MarketplaceLogo" },
|
|
623
|
+
{ pattern: /IntegrationStatusBadge/i, desc: "Uses IntegrationStatusBadge" },
|
|
624
|
+
{ pattern: /syncCapabilities|SyncCapability/i, desc: "Supports sync capabilities" },
|
|
625
|
+
{ pattern: /onClick/i, desc: "Has click handler" },
|
|
626
|
+
];
|
|
627
|
+
for (const { pattern, desc } of requiredPatterns) {
|
|
628
|
+
if (pattern.test(content)) {
|
|
629
|
+
result.details.push(`${console_chars_1.emoji.success} ${desc}`);
|
|
630
|
+
}
|
|
631
|
+
else {
|
|
632
|
+
result.errors.push(`Missing: ${desc}`);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
// Check it's exported from index
|
|
636
|
+
const indexPath = "components/shared/integration/index.ts";
|
|
637
|
+
const indexContent = this.readFile(indexPath);
|
|
638
|
+
if (indexContent && /IntegrationCard/i.test(indexContent)) {
|
|
639
|
+
result.details.push(`${console_chars_1.emoji.success} Exported from index`);
|
|
640
|
+
}
|
|
641
|
+
else {
|
|
642
|
+
result.errors.push("IntegrationCard not exported from index.ts");
|
|
643
|
+
}
|
|
644
|
+
result.passed = result.errors.length === 0;
|
|
645
|
+
return result;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* Check 13: Integrations list page uses IntegrationCard (not inline cards)
|
|
649
|
+
*/
|
|
650
|
+
checkIntegrationsListUsesSharedCard() {
|
|
651
|
+
const result = {
|
|
652
|
+
name: "Integrations List Uses Shared Card",
|
|
653
|
+
passed: false,
|
|
654
|
+
details: [],
|
|
655
|
+
errors: [],
|
|
656
|
+
};
|
|
657
|
+
const listPagePath = "app/store/integrations/page.tsx";
|
|
658
|
+
const content = this.readFile(listPagePath);
|
|
659
|
+
if (!content) {
|
|
660
|
+
result.errors.push(`Cannot read: ${listPagePath}`);
|
|
661
|
+
return result;
|
|
662
|
+
}
|
|
663
|
+
// Check if using IntegrationCard component
|
|
664
|
+
const usesIntegrationCard = /import.*IntegrationCard.*from.*@\/components\/shared\/integration/i.test(content) ||
|
|
665
|
+
/<IntegrationCard\s/i.test(content);
|
|
666
|
+
// Check for inline card patterns (bad)
|
|
667
|
+
const hasInlineCardPattern = /className=\{`group cursor-pointer.*rounded-\[var\(--radius-lg\)\].*border.*bg-\[var\(--bg-primary\)\]/i.test(content) ||
|
|
668
|
+
/className="group cursor-pointer.*rounded.*border.*bg-\[var/i.test(content);
|
|
669
|
+
if (usesIntegrationCard) {
|
|
670
|
+
result.details.push(`${console_chars_1.emoji.success} Uses IntegrationCard shared component`);
|
|
671
|
+
result.passed = true;
|
|
672
|
+
}
|
|
673
|
+
else if (hasInlineCardPattern) {
|
|
674
|
+
result.errors.push("Integrations list page has inline card patterns. " +
|
|
675
|
+
"Use IntegrationCard from @/components/shared/integration instead.");
|
|
676
|
+
result.errors.push("Import: import { IntegrationCard } from '@/components/shared/integration';");
|
|
677
|
+
}
|
|
678
|
+
else {
|
|
679
|
+
result.errors.push("Could not determine card pattern - verify IntegrationCard is used");
|
|
680
|
+
}
|
|
681
|
+
return result;
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Check 14: FeatureSelectionCard shared component exists
|
|
685
|
+
*/
|
|
686
|
+
checkFeatureSelectionCardComponent() {
|
|
687
|
+
const result = {
|
|
688
|
+
name: "FeatureSelectionCard Shared Component",
|
|
689
|
+
passed: false,
|
|
690
|
+
details: [],
|
|
691
|
+
errors: [],
|
|
692
|
+
};
|
|
693
|
+
const cardPath = "components/shared/integration/FeatureSelectionCard.tsx";
|
|
694
|
+
if (!this.fileExists(cardPath)) {
|
|
695
|
+
result.errors.push(`Missing: ${cardPath}`);
|
|
696
|
+
result.errors.push("Need shared FeatureSelectionCard for consistent feature selection UI");
|
|
697
|
+
return result;
|
|
698
|
+
}
|
|
699
|
+
const content = this.readFile(cardPath);
|
|
700
|
+
if (!content) {
|
|
701
|
+
result.errors.push(`Cannot read: ${cardPath}`);
|
|
702
|
+
return result;
|
|
703
|
+
}
|
|
704
|
+
// Check for required patterns
|
|
705
|
+
const requiredPatterns = [
|
|
706
|
+
{ pattern: /Checkbox/i, desc: "Uses Checkbox" },
|
|
707
|
+
{ pattern: /selected.*boolean|checked/i, desc: "Has selected state" },
|
|
708
|
+
{ pattern: /onChange/i, desc: "Has change handler" },
|
|
709
|
+
{ pattern: /cursor-pointer/i, desc: "Has clickable styling" },
|
|
710
|
+
];
|
|
711
|
+
for (const { pattern, desc } of requiredPatterns) {
|
|
712
|
+
if (pattern.test(content)) {
|
|
713
|
+
result.details.push(`${console_chars_1.emoji.success} ${desc}`);
|
|
714
|
+
}
|
|
715
|
+
else {
|
|
716
|
+
result.errors.push(`Missing: ${desc}`);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
// Check it's exported from index
|
|
720
|
+
const indexPath = "components/shared/integration/index.ts";
|
|
721
|
+
const indexContent = this.readFile(indexPath);
|
|
722
|
+
if (indexContent && /FeatureSelectionCard/i.test(indexContent)) {
|
|
723
|
+
result.details.push(`${console_chars_1.emoji.success} Exported from index`);
|
|
724
|
+
}
|
|
725
|
+
else {
|
|
726
|
+
result.errors.push("FeatureSelectionCard not exported from index.ts");
|
|
727
|
+
}
|
|
728
|
+
result.passed = result.errors.length === 0;
|
|
729
|
+
return result;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* Check 15: Integration wizards use FeatureSelectionCard (not inline cards)
|
|
733
|
+
*/
|
|
734
|
+
checkWizardsUseFeatureSelectionCard() {
|
|
735
|
+
const result = {
|
|
736
|
+
name: "Wizards Use FeatureSelectionCard",
|
|
737
|
+
passed: true,
|
|
738
|
+
details: [],
|
|
739
|
+
errors: [],
|
|
740
|
+
};
|
|
741
|
+
for (const integration of this.integrations) {
|
|
742
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
743
|
+
continue;
|
|
744
|
+
}
|
|
745
|
+
const content = this.readFile(integration.clientFile);
|
|
746
|
+
if (!content) {
|
|
747
|
+
continue;
|
|
748
|
+
}
|
|
749
|
+
// Check for inline feature selection card pattern (bad)
|
|
750
|
+
// Pattern: Card with cursor-pointer + Checkbox inside
|
|
751
|
+
const hasInlineFeatureCard = /<Card[^>]*className[^>]*cursor-pointer[^>]*>[\s\S]*?<Checkbox[\s\S]*?<\/Card>/i.test(content) ||
|
|
752
|
+
/Card.*cursor-pointer.*transition-all.*border-primary.*ring-primary/i.test(content);
|
|
753
|
+
// Check if using FeatureSelectionCard (good)
|
|
754
|
+
const usesFeatureSelectionCard = /import.*FeatureSelectionCard.*from.*@\/components\/shared\/integration/i.test(content) ||
|
|
755
|
+
/<FeatureSelectionCard\s/i.test(content);
|
|
756
|
+
if (hasInlineFeatureCard && !usesFeatureSelectionCard) {
|
|
757
|
+
result.errors.push(`${integration.name}: Has inline feature selection cards. ` +
|
|
758
|
+
`Use FeatureSelectionCard from @/components/shared/integration instead.`);
|
|
759
|
+
result.passed = false;
|
|
760
|
+
}
|
|
761
|
+
else if (usesFeatureSelectionCard) {
|
|
762
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Uses FeatureSelectionCard`);
|
|
763
|
+
}
|
|
764
|
+
else {
|
|
765
|
+
result.details.push(`${console_chars_1.emoji.info} ${integration.name}: No feature selection cards`);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
return result;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Check 16: Connected integrations use IntegrationManagementView
|
|
772
|
+
*/
|
|
773
|
+
checkUsesIntegrationManagementView() {
|
|
774
|
+
const result = {
|
|
775
|
+
name: "Uses IntegrationManagementView",
|
|
776
|
+
passed: true,
|
|
777
|
+
details: [],
|
|
778
|
+
errors: [],
|
|
779
|
+
};
|
|
780
|
+
for (const integration of this.integrations) {
|
|
781
|
+
if (!this.fileExists(integration.clientFile)) {
|
|
782
|
+
continue;
|
|
783
|
+
}
|
|
784
|
+
const content = this.readFile(integration.clientFile);
|
|
785
|
+
if (!content) {
|
|
786
|
+
continue;
|
|
787
|
+
}
|
|
788
|
+
// Check if using IntegrationManagementView (good)
|
|
789
|
+
const usesManagementView = /import.*IntegrationManagementView.*from.*@\/components\/shared\/integration/i.test(content) ||
|
|
790
|
+
/<IntegrationManagementView\s/i.test(content);
|
|
791
|
+
// Check for inline dashboard patterns (bad) - stat cards built inline
|
|
792
|
+
const hasInlineDashboard = /renderDashboard|function.*Dashboard/i.test(content) &&
|
|
793
|
+
!usesManagementView;
|
|
794
|
+
// Check for inline stat cards (bad pattern)
|
|
795
|
+
const hasInlineStatCards = /<Card>[\s\S]*?<CardContent>[\s\S]*?variant="h4"[\s\S]*?Total Listings|Pending Orders|Synced Orders/i.test(content) &&
|
|
796
|
+
!usesManagementView;
|
|
797
|
+
if (usesManagementView) {
|
|
798
|
+
result.details.push(`${console_chars_1.emoji.success} ${integration.name}: Uses IntegrationManagementView`);
|
|
799
|
+
}
|
|
800
|
+
else if (hasInlineDashboard || hasInlineStatCards) {
|
|
801
|
+
result.errors.push(`${integration.name}: Has inline dashboard/stat cards. ` +
|
|
802
|
+
`Use IntegrationManagementView from @/components/shared/integration instead.`);
|
|
803
|
+
result.passed = false;
|
|
804
|
+
}
|
|
805
|
+
else {
|
|
806
|
+
result.details.push(`${console_chars_1.emoji.info} ${integration.name}: No management dashboard`);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
return result;
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* Check 17: No "Quick Actions" label (should be just "Actions" or "Sync Actions")
|
|
813
|
+
*/
|
|
814
|
+
checkNoQuickActionsLabel() {
|
|
815
|
+
const result = {
|
|
816
|
+
name: "No 'Quick Actions' Label",
|
|
817
|
+
passed: true,
|
|
818
|
+
details: [],
|
|
819
|
+
errors: [],
|
|
820
|
+
};
|
|
821
|
+
// Check the shared component
|
|
822
|
+
const viewPath = "components/shared/integration/IntegrationManagementView.tsx";
|
|
823
|
+
const content = this.readFile(viewPath);
|
|
824
|
+
if (!content) {
|
|
825
|
+
result.errors.push(`Cannot read: ${viewPath}`);
|
|
826
|
+
return result;
|
|
827
|
+
}
|
|
828
|
+
// Check for "Quick Actions" (bad - should be just "Actions" or "Sync Actions")
|
|
829
|
+
if (/Quick Actions/i.test(content)) {
|
|
830
|
+
result.errors.push(`IntegrationManagementView uses "Quick Actions" label. ` +
|
|
831
|
+
`Should be "Actions" or "Sync Actions" - they're not particularly quick.`);
|
|
832
|
+
result.passed = false;
|
|
833
|
+
}
|
|
834
|
+
else {
|
|
835
|
+
result.details.push(`${console_chars_1.emoji.success} Uses appropriate action label`);
|
|
836
|
+
}
|
|
837
|
+
return result;
|
|
838
|
+
}
|
|
839
|
+
async run() {
|
|
840
|
+
const reporter = (0, universal_progress_reporter_1.createUniversalProgressReporter)(exports.name);
|
|
841
|
+
console.log((0, console_chars_1.createDivider)(60, "heavy"));
|
|
842
|
+
console.log(" Integration Status Display");
|
|
843
|
+
console.log((0, console_chars_1.createDivider)(60, "heavy"));
|
|
844
|
+
console.log();
|
|
845
|
+
console.log(" Validates integration UX requirements:");
|
|
846
|
+
console.log(" 1. API endpoint to fetch all integration statuses");
|
|
847
|
+
console.log(" 2. Integrations list shows connected status & last sync");
|
|
848
|
+
console.log(" 3. Integration pages show management view when connected");
|
|
849
|
+
console.log(" 4. Loading state prevents flash of wizard before data loads");
|
|
850
|
+
console.log(" 5. All buttons must be inside Card components");
|
|
851
|
+
console.log(" 6. Settings mode hides stepper (no full wizard shown)");
|
|
852
|
+
console.log(" 7. Sync buttons disabled until products imported");
|
|
853
|
+
console.log(" 8. Store Connection has Test, Save, and Back buttons");
|
|
854
|
+
console.log(" 9. Button icons have proper spacing");
|
|
855
|
+
console.log(" 10. IntegrationCard shared component exists");
|
|
856
|
+
console.log(" 11. Integrations list uses IntegrationCard (not inline)");
|
|
857
|
+
console.log(" 12. FeatureSelectionCard shared component exists");
|
|
858
|
+
console.log(" 13. Wizards use FeatureSelectionCard (not inline)");
|
|
859
|
+
console.log(" 14. Connected integrations use IntegrationManagementView");
|
|
860
|
+
console.log(" 15. No 'Quick Actions' label (use 'Actions' instead)");
|
|
861
|
+
console.log();
|
|
862
|
+
const results = [];
|
|
863
|
+
let allPassed = true;
|
|
864
|
+
// Run all checks
|
|
865
|
+
const checks = [
|
|
866
|
+
this.checkStatusApiEndpoint(),
|
|
867
|
+
this.checkStatusBadgeComponent(),
|
|
868
|
+
this.checkManagementViewComponent(),
|
|
869
|
+
this.checkIntegrationsListPage(),
|
|
870
|
+
this.checkManagementViews(),
|
|
871
|
+
this.checkLoadingState(),
|
|
872
|
+
this.checkButtonsInCards(),
|
|
873
|
+
this.checkSettingsModeNoStepper(),
|
|
874
|
+
this.checkSyncButtonsDisabledWithoutProducts(),
|
|
875
|
+
this.checkStoreConnectionButtons(),
|
|
876
|
+
this.checkButtonIconSpacing(),
|
|
877
|
+
this.checkIntegrationCardComponent(),
|
|
878
|
+
this.checkIntegrationsListUsesSharedCard(),
|
|
879
|
+
this.checkFeatureSelectionCardComponent(),
|
|
880
|
+
this.checkWizardsUseFeatureSelectionCard(),
|
|
881
|
+
this.checkUsesIntegrationManagementView(),
|
|
882
|
+
this.checkNoQuickActionsLabel(),
|
|
883
|
+
];
|
|
884
|
+
for (const result of checks) {
|
|
885
|
+
results.push(result);
|
|
886
|
+
if (!result.passed) {
|
|
887
|
+
allPassed = false;
|
|
888
|
+
}
|
|
889
|
+
// Print result
|
|
890
|
+
const status = result.passed ? `${console_chars_1.emoji.success} PASS` : `${console_chars_1.emoji.error} FAIL`;
|
|
891
|
+
console.log(` ${status} ${result.name}`);
|
|
892
|
+
if (this.verbose && result.details.length > 0) {
|
|
893
|
+
for (const detail of result.details) {
|
|
894
|
+
console.log(` ${detail}`);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
if (result.errors.length > 0) {
|
|
898
|
+
for (const error of result.errors) {
|
|
899
|
+
console.log(` ${console_chars_1.emoji.error} ${error}`);
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
console.log();
|
|
903
|
+
}
|
|
904
|
+
console.log((0, console_chars_1.createDivider)(60, "light"));
|
|
905
|
+
console.log(" Summary");
|
|
906
|
+
console.log((0, console_chars_1.createDivider)(60, "light"));
|
|
907
|
+
if (!allPassed) {
|
|
908
|
+
console.log(`${console_chars_1.emoji.error} Integration status display requirements not met!`);
|
|
909
|
+
console.log();
|
|
910
|
+
console.log(`${console_chars_1.emoji.info} Required infrastructure:`);
|
|
911
|
+
console.log(` 1. app/api/store/integrations/status/route.ts - Status API`);
|
|
912
|
+
console.log(` 2. components/shared/integration/IntegrationStatusBadge.tsx`);
|
|
913
|
+
console.log(` 3. components/shared/integration/IntegrationManagementView.tsx`);
|
|
914
|
+
console.log(` 4. components/shared/integration/IntegrationCard.tsx`);
|
|
915
|
+
console.log(` 5. components/shared/integration/FeatureSelectionCard.tsx`);
|
|
916
|
+
console.log(` 6. Integrations list page must use IntegrationCard`);
|
|
917
|
+
console.log(` 7. Integration wizards must use FeatureSelectionCard`);
|
|
918
|
+
console.log(` 8. Loading state to prevent flash of wizard before data loads`);
|
|
919
|
+
console.log(` 9. All buttons must be inside Card components (no lingering buttons)`);
|
|
920
|
+
console.log();
|
|
921
|
+
}
|
|
922
|
+
else {
|
|
923
|
+
console.log(`${console_chars_1.emoji.success} All integration status display requirements met!`);
|
|
924
|
+
}
|
|
925
|
+
return { passed: allPassed, results };
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
// Export run function for framework compatibility
|
|
929
|
+
async function run() {
|
|
930
|
+
const args = process.argv.slice(2);
|
|
931
|
+
const verbose = args.includes("--verbose") || args.includes("-v");
|
|
932
|
+
const preflight = new IntegrationStatusDisplayPreflight({ verbose });
|
|
933
|
+
const { passed } = await preflight.run();
|
|
934
|
+
return passed;
|
|
935
|
+
}
|
|
936
|
+
// Allow direct execution
|
|
937
|
+
if (require.main === module) {
|
|
938
|
+
run().then((passed) => {
|
|
939
|
+
process.exit(passed ? 0 : 1);
|
|
940
|
+
}).catch((error) => {
|
|
941
|
+
console.error("Preflight error:", error);
|
|
942
|
+
process.exit(1);
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
//# sourceMappingURL=integration-status-display.js.map
|