-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Refactor image handling and remove Unpic #366
Conversation
🦋 Changeset detectedLatest commit: 045bfe7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thank you for submitting your Pull Request, the following links will become available for preview shortly:
|
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-10-27 01:41:52 CET |
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-10-27 01:41:44 CET |
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-10-27 01:56:13 CET |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This pull request focuses on removing the Unpic image handler and simplifying the image handling logic across various packages. The most important changes include updates to the documentation, removal of dependencies, and refactoring of configuration schemas and integration adapters.
Documentation Updates:
README.md
: Removed references to the Unpic Image handler and updated the toolset section to point to the.prototools
file for an up-to-date list of tools. [1] [2]Dependency and Configuration Changes:
packages/studiocms/package.json
: Removed@unpic/astro
andunpic
dependencies. [1] [2]packages/studiocms_core/package.json
: Removedunpic
dependency.packages/studiocms_imagehandler/package.json
: Removed@unpic/astro
andunpic
dependencies.packages/studiocms_core/src/schemas/config/imageService.ts
: Removed the Unpic configuration schema and related options.Integration Adapter Removal:
packages/studiocms_imagehandler/src/adapters/cloudflare.ts
: Removed the Cloudflare image handler integration.packages/studiocms_imagehandler/src/adapters/netlify.ts
: Removed the Netlify image handler integration.packages/studiocms_imagehandler/src/adapters/node.ts
: Removed the Node image handler integration.packages/studiocms_imagehandler/src/adapters/index.ts
: Removed exports for the removed image handler integrations.These changes simplify the codebase by removing redundant image handling logic and dependencies, making the project easier to maintain and understand.