cloudinary-community / cloudinary-util

https://cloudinary-util.vercel.app
MIT License
12 stars 19 forks source link

Fixes pnpm Monorepo Issue with Types #137

Closed colbyfayock closed 10 months ago

colbyfayock commented 10 months ago

Description

When installing the package in a pnpm monorepo, because of how the dependencies are managed, the imported configuration and analytics options from the URL Gen library create an error.

To fix this, there's a workaround for re-exporting the types: https://github.com/microsoft/TypeScript/issues/47663#issuecomment-1519138189

This also removes unnecessary dependencies from URL Loader that never got cleaned up from implementation.

Type of change

Checklist

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cloudinary-util ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2024 5:35pm
github-actions[bot] commented 10 months ago

:tada: This PR is included in version @cloudinary-util/url-loader-v4.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: