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

📦 Upgrade redux toolkit and other packages #890

Closed
wants to merge 4 commits into from
Closed

Conversation

fwkoch
Copy link
Collaborator

@fwkoch fwkoch commented Feb 8, 2024

Sometimes using myst-cli raises some cjs dependency issues that look like this:

image

This is for both @redux/toolkit and docx. The former is totally resolved by upgrading to v2: reduxjs/redux-toolkit#3849 🙌

docx is slightly less straightforward. They fixed some of the cjs issues with ~v8.3 but introduced some typing issues: dolanmiu/docx#2289 dolanmiu/docx#2365 - despite those issues being closed, there's no clear conclusion. To get around this, I added our own types/docx/index.d.ts file. Not a great solution - next time we develop docx functionality, it won't be easy. But for now, the changes in this PR make myst-cli more usable!

@rowanc1 rowanc1 force-pushed the feat/redux-version branch from df1b67e to aa624b5 Compare February 9, 2024 03:23
@fwkoch fwkoch marked this pull request as draft February 9, 2024 19:12
@fwkoch fwkoch closed this Feb 21, 2024
@fwkoch fwkoch deleted the feat/redux-version branch February 21, 2024 08:42
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