Skip to content
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

fix(#7375): fix dependency issues #7394

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

fgnass
Copy link
Contributor

@fgnass fgnass commented Feb 6, 2025

Summary

This PR addresses several dependency-related issues identified in #7375:

  1. Turns slate-hyperscript from a dev dependency into a runtime dependency of decap-cms-widget-markdown
  2. Updates clean-stack to v5.2.0 in decap-cms-core
  3. Updates react-scroll-sync to v0.11.2 in decap-cms-core

This PR does not address the CSS import issue. Simply removing the imports would break the pre-build scripts, where these imports are resolved by webpack.

Test plan

Verified that the following issues are resolved:

  • slate-hyperscript resolution error
  • clean-stack browser compatibility error (os is not defined)
  • React 19 compatibility error with react-scroll-sync

Checklist

A picture of a cute animal

🐼

@fgnass fgnass requested a review from a team as a code owner February 6, 2025 09:50
add mapping since jest doesn't understand import maps
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.

2 participants