Skip to content

Update dependencies and improve deployment process - #4

Merged
An0n-00 merged 4 commits into
mainfrom
dev
May 24, 2026
Merged

An0n-00 merged 4 commits into
mainfrom
dev

Conversation

@An0n-00

@An0n-00 An0n-00 commented May 24, 2026

Copy link
Copy Markdown
Member

This pull request introduces several improvements and fixes across the codebase, focusing primarily on build/deployment reliability, environment configuration, branding consistency, and minor code cleanups. The most notable changes include updating the build process to reliably load environment variables, refactoring the color theme system, standardizing the usage of the favicon across the UI, and tightening up server and client configuration.

Build and Deployment Improvements

  • Updated the build scripts in package.json to use dotenv-cli for both client and server builds, ensuring environment variables from .env are available during builds. The build order was also corrected to build the client before the server. [1] [2] [3]
  • Added a deployment notice to the README.md to inform developers that environment variables must be set in the terminal before building, clarifying a common source of build issues.
  • Introduced a new GitHub Actions workflow in .github/workflows/ci.yml to automate linting, formatting, security auditing, and building on push and pull request events.

Branding and UI Consistency

  • Replaced all instances of the favicon image (/favicon.svg) with a new Favicon React component for consistent branding across the app (used in the header, footer, sidebar, and startup overlay). [1] [2] [3] [4] [5] [6]
  • Added the Favicon component implementation in src/client/src/components/layout/Favicon.tsx.

Color Theme Refactor

  • Removed the "orange" color theme option from the color theme system, making "red" the new default and updating all related code and CSS. [1] [2] [3]

Configuration and Environment Handling

  • Changed the server TypeScript config (tsconfig.server.json) to use the NodeNext module system for better compatibility.
  • Adjusted the Vite client config to only enable Workbox (service worker) when VITE_STANDALONE is set, and updated navigation fallback behavior. [1] [2]

Minor Fixes and Cleanups

  • Tightened the Fastify rate limit plugin to use a 1-second window instead of 1 minute, likely for more responsive rate limiting.
  • Refactored the AppSettingsProvider and TMDBProvider to use useMemo and useCallback for more efficient and predictable state management. [1] [2] [3] [4]

These updates collectively improve the reliability, maintainability, and user experience of the project.

@An0n-00 An0n-00 self-assigned this May 24, 2026
@An0n-00 An0n-00 added enhancement New feature or request 🐞Bug Something isn't working as it should labels May 24, 2026
@An0n-00
An0n-00 merged commit c7e523a into main May 24, 2026
2 checks passed
@mintlify

mintlify Bot commented May 24, 2026

Copy link
Copy Markdown

Docs PR opened: cinepro-org/docs#27

Added a May 24 CinePro/ui changelog entry covering the new red default theme, opt-in PWA, and automatic .env loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞Bug Something isn't working as it should enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant