-
Notifications
You must be signed in to change notification settings - Fork 188
Improve setup.js Windows compatibility #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
paulmerz
wants to merge
40
commits into
firecrawl:main
Choose a base branch
from
paulmerz:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Corrects the import path for 'better-auth/next-js' in the auth route. Updates setup.js to robustly resolve npm/npx commands on Windows, improving cross-platform compatibility.
Refactored all main app pages to support internationalization by moving them under the [locale] directory and updating internal links and UI text to use next-intl translations. Added new locale-aware layout, locale utilities, and message files for English and French. Updated components and API routes to use locale and translation hooks where needed.
Introduces adaptive prompt generation using a new /api/generate-prompts endpoint and a centralized prompt-utils module. Refactors brand monitor components to use AI-powered prompts, improves error handling and logging in analysis utilities, and adds internationalization for provider rankings and visibility score UI. Also updates English and French translations and removes unused credit deduction logic from the analyze API route.
Adds a new API route and pipeline for finding competitors using direct AI web search, including geographic and language-aware prompt generation. Refactors brand monitor to use the new search method, enhances company scraping with richer business profile extraction, and improves URL validation. Updates types and configuration to support the new flow, and removes unused provider ranking messages.
Replaces Next.js routing with custom i18n routing for locale-aware navigation, updates branding from Firecrawl to VOXUM (including logo and text), and improves error handling and debug logging throughout the app. Enhances prompt generation logic, updates button and pricing table styles, and adds a French troubleshooting guide. Also introduces debug utilities and refines adaptive prompt management in brand monitor analysis.
Introduces a new documentation section with multiple pages and navigation layout. Refactors pricing display to use a new PricingSection component on the home and plans pages. Adds InteractiveDemo and NetworkStatusAlert components, and several new utility libraries (e.g., openai-web-search, api-usage-tracker, network-utils). Updates Brand Monitor to support reset, and enhances various UI and API files. Also adds a CI workflow for i18n checks, DB migration, and deploy, and includes new public assets and scripts.
Streamlined the GitHub Actions workflow by removing unused environment variables and redundant step names, adding workflow_dispatch trigger, and ensuring the pgcrypto extension is present before running migrations. This makes the workflow more minimal and robust for both dev and main branches.
Introduces detailed Terms of Service content and documentation sections in both English and French message files. Adds new UI strings for brand analysis, rankings, visibility scores, and critical instructions for company name extraction, improving internationalization and user guidance.
Adds a step to create the pnpm store directory before installing dependencies in the db-and-i18n GitHub Actions workflow. This helps prevent caching issues related to the pnpm store path.
Replaces in-app docs pages and layout with a dynamic markdown-based docs system, loading content from public/docs/*.md files. Removes old docs React pages and layout, updates sidebar navigation, and refactors credits feature ID (using credits instead of messages) usage throughout API routes. Adds a new logger utility and replaces console logging with logger calls in API and page components. Updates login redirect to /brand-monitor and makes minor UI/logic improvements in brand-monitor and chat pages.
Expanded and clarified guided examples and scoring/matrix descriptions in both English and French translation files. Added new prompt-related keys and improved consistency between languages for UI and feature explanations.
Added 'title1', 'title2', and 'title3' keys to the guided examples section in messages/fr.json for improved clarity and localization.
This commit adds a step to trigger the Vercel deploy hook in the db-and-i18n GitHub workflow after successful jobs. It also expands the list of trusted origins in authentication configs to include stage and production URLs. Additionally, the setup script now uses 'db:migrate' instead of 'db:push' for safer Drizzle migrations.
Introduces CORS headers for API endpoints based on trusted origins from environment variables. Handles preflight OPTIONS requests and blocks requests from untrusted origins.
Introduces vercel.json with schema reference and disables git-based deployments.
Email verification and verification email sending are now enabled only in development environments for both config files. This change helps streamline the signup process in production while allowing verification flows to be tested in development.
Integrated better-auth-localization for server-side localized authentication messages. Updated auth and email logic to use new localization plugin and changed branding from Fire SaaS to Voxum. Improved locale detection in middleware and added new localized error messages. Updated homepage CTA links and Stripe portal setup headline. Removed unused billingPortalConfig from Autumn API route.
Added logic in both the login page and middleware to redirect authenticated users away from the login page to the /brand-monitor route. This improves user experience by preventing access to the login page when already signed in.
Introduces a new verify-email page shown after registration, updating the registration flow to redirect users there. Also updates terms and privacy links to open in new tabs and adds relevant translations for the email verification step in both English and French.
Introduces a new /api/brand-detection endpoint and supporting service for brand mention detection like highlighting text. Adds a sources tab to the brand monitor UI and normalizes handling of analysis sources in API routes and database schema. Refactors dashboard plan logic, improves prompt generation API, updates error handling in registration, and enhances i18n and UI gating by plan. Includes new documentation and test scripts for brand detection, and removes deprecated brand detection utility files.
This commit addresses all linting errors reported by ESLint across the entire codebase. The following changes were made: - Removed all unused variables and imports. - Replaced all instances of the `any` type with more specific types. - Fixed all violations of the rules of hooks. - Corrected all unescaped quotes and other syntax errors. These changes improve code quality, maintainability, and type safety without introducing any new functionality or bugs.
Refactored several modules to enhance type safety, especially around Autumn API handlers and web search sources. Improved handling of customer product shapes, refined token extraction logic for compatibility with OpenAI, and updated brand detection and analysis flows. Fixed minor UI issues with apostrophe escaping and removed unused imports. Enhanced error handling and normalized source extraction for brand-monitor analyses.
Improves brand detection by using precomputed brand variations client-side, updates credits cache after deductions, and refines UI feedback for insufficient credits. Adds shared detection logic, updates provider icon URLs, and ensures checkout session URLs redirect to dashboard. Also includes minor refactoring, new hooks, and improved troubleshooting and documentation for the Voxum rebrand.
This commit resolves multiple merge conflict markers across several files, particularly in brand detection, provider analysis, and response highlighting logic. It also updates type definitions and improves handling of brand variations and competitor detection in AI response analysis.
Resolved merge conflicts, removed unused functions and imports, improved dependency arrays in React hooks, and standardized error handling in API and AI utility functions. Enhanced type safety and code clarity across components, hooks, and utility libraries for brand monitoring and analysis.
Consolidates and simplifies brand variation resolution logic across AI utilities and web search modules, reducing redundant lookups and improving fallback handling. Cleans up React hooks and dependencies in brand monitor components, removes unused code, and streamlines credits display logic in the navbar. Minor type and comment adjustments for clarity.
Updated pricing plan features and UI across dashboard, homepage, and plans pages to ensure consistency and clarity. Improved brand detection logic to prioritize longer brand names and prevent overlapping matches, added more robust brand variation examples, and enhanced SSE event handling for scoring progress. Refactored product change dialogs and attach flows to remove unused return URLs and ensure customer data refresh. Various code cleanups, improved logging, and minor bug fixes throughout brand monitor and provider logic.
Added Open Graph images for social sharing (default, Twitter, LinkedIn, Discord) and a README with usage guidelines. Updated app/layout.tsx to include detailed metadata for improved SEO and social previews across platforms.
Introduces dynamic robots.txt and sitemap.xml generation for SEO and GEO, including bot-specific rules and multilingual support. Centralizes pricing product config to avoid duplication, updates metadata handling for environment-based indexing, and adds llms.txt for LLM optimization. Refactors pricing section usage, improves AutumnProvider logic, and updates footer. Removes obsolete lint files.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Corrects the import path for 'better-auth/next-js' in the auth route. Updates setup.js to robustly resolve npm/npx commands on Windows, improving cross-platform compatibility.