feat: enhance pre-push validation and update ESLint configurations

- Updated the Husky pre-push hook to validate all applications (web, docs, and server) before pushing changes, improving code quality checks.
- Modified ESLint configurations for the docs app to include additional ignored directories, ensuring cleaner linting results.
- Refactored the HomePage component in the docs app to improve structure and readability, while reintroducing the Highlight component for better content presentation.
- Added a .prettierignore file in the server app to exclude specific directories from formatting, enhancing development workflow.
- Updated various import statements across multiple files for consistency and clarity.
This commit is contained in:
Daniel Luiz Alves
2025-07-02 14:53:23 -03:00
parent 4fb7007db2
commit 75d6049b87
51 changed files with 2766 additions and 3272 deletions

View File

@@ -1,21 +1,22 @@
import crypto from "crypto";
import { prisma } from "../../shared/prisma";
import {
providersConfig,
detectProviderType,
getProviderScopes,
shouldSupportDiscovery,
getFallbackEndpoints,
DISCOVERY_PATHS,
getFallbackEndpoints,
getProviderScopes,
providersConfig,
shouldSupportDiscovery,
} from "./providers.config";
import {
ProviderConfig,
ProviderUserInfo,
TokenResponse,
ProviderEndpoints,
RequestContextService,
PendingState,
ProviderConfig,
ProviderEndpoints,
ProviderUserInfo,
RequestContextService,
TokenResponse,
} from "./types";
import crypto from "crypto";
// Constants
const DEFAULT_BASE_URL = "http://localhost:3000";