Skip to content

Merge ours for CSS and JS files, merge theirs for CHANGELOG.md. Added image processing command and dependencies in composer.json. #15

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

Merged
merged 7 commits into from
Dec 20, 2024

Conversation

thejmitchener
Copy link
Member

@thejmitchener thejmitchener commented Dec 20, 2024

Pull Request Description: Merge ours for CSS and JS files, merge theirs for CHANGELOG.md. Added image processing command and dependencies in composer.json.

Motivation

This pull request addresses two main objectives: ensuring that our CSS and JavaScript files maintain consistency during merges, and enhancing our application's image processing capabilities. By merging "ours" for CSS and JS files, we protect our custom styles and scripts from being overwritten during merges. The decision to merge "theirs" for CHANGELOG.md ensures that the latest updates and changes from other contributors are accurately reflected in our documentation.

Additionally, this PR introduces new dependencies for image processing in the composer.json file, enabling us to optimize images efficiently. The inclusion of an image processing command enhances our development workflow by providing a straightforward method to unify naming conventions, fix file extensions, and optimize images within the public/images/ folder.

Improvements

  1. Merge Strategy:

    • CSS and JS files are set to merge "ours", preserving our modifications and customizations.
    • CHANGELOG.md will merge "theirs", ensuring we capture all relevant updates from collaborators.
  2. Image Processing Capabilities:

    • Added intervention/image and spatie/image-optimizer dependencies, allowing for robust image manipulation and optimization.
    • Introduced a new command app-init:images, which streamlines the process of:
      • Renaming files to standardize naming conventions.
      • Fixing incorrect file extensions.
      • Optimizing images to reduce file sizes, thus enhancing application performance.
  3. Documentation Update:

    • Updated README.md to include instructions for processing images, ensuring that developers are aware of the new capabilities and how to utilize them effectively.

This PR significantly enhances our project's ability to manage CSS and JS files while also providing essential tools for image optimization, which is crucial for maintaining an efficient and performant application.

… image processing command and dependencies in composer.json.
@thejmitchener thejmitchener enabled auto-merge (squash) December 20, 2024 22:21
thejmitchener and others added 4 commits December 20, 2024 22:21
…les for code formatting and style. This will ensure consistent code style across the project and improve code readability.
auto-merge was automatically disabled December 20, 2024 22:23

Pull request was closed

@thejmitchener thejmitchener reopened this Dec 20, 2024
@thejmitchener thejmitchener merged commit 11d7c46 into main Dec 20, 2024
@thejmitchener thejmitchener deleted the feat-image-proc branch December 20, 2024 22:25
fuelviews-app bot pushed a commit that referenced this pull request Dec 20, 2024
… image processing command and dependencies in composer.json. (#15)

* Merge ours for CSS and JS files, merge theirs for CHANGELOG.md. Added image processing command and dependencies in composer.json.

* Fix styling

* Add PHP-CS-Fixer configuration file to the project, which includes rules for code formatting and style. This will ensure consistent code style across the project and improve code readability.

* Fix styling

* Fix styling

* Fix styling

* Fix styling

---------

Co-authored-by: thejmitchener <[email protected]>
thejmitchener added a commit that referenced this pull request Dec 20, 2024
… image processing command and dependencies in composer.json. (#15)

* Merge ours for CSS and JS files, merge theirs for CHANGELOG.md. Added image processing command and dependencies in composer.json.

* Fix styling

* Add PHP-CS-Fixer configuration file to the project, which includes rules for code formatting and style. This will ensure consistent code style across the project and improve code readability.

* Fix styling

* Fix styling

* Fix styling

* Fix styling

---------

Co-authored-by: thejmitchener <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant