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(deps): Migrate to react-codemirror2 #75

Merged
merged 1 commit into from Jul 23, 2019
Merged

Conversation

michaeltaranto
Copy link
Contributor

@michaeltaranto michaeltaranto commented Jul 23, 2019

Migrates from react-codemirror to react-codemirror2.

Also upgrading cypress and switching CI over to yarn so it honours the lock file.

Closes #32.

@michaeltaranto michaeltaranto force-pushed the upgrade-codemirror branch 2 times, most recently from 1e41851 to 39f38f4 Compare July 23, 2019 04:42
cache:
yarn: true
directories:
- ~/.cache/Cypress
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{}
{
"defaultCommandTimeout": 10000,
"video": false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabling video as we dont publish the assets anywhere so its a waste. Also bumping the timeout as the execution time was inconsistent.

frames={frames}
frameComponent={frameComponent}
/>
<Preview code={renderCode} themes={themes} frames={frames} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are frameComponent and components not passed anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are unused.

Copy link
Member

@markdalgleish markdalgleish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one. Thanks heaps for doing this 👏

@michaeltaranto michaeltaranto merged commit fa28632 into master Jul 23, 2019
@michaeltaranto michaeltaranto deleted the upgrade-codemirror branch July 23, 2019 23:26
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.

Upgrade to codemirror2
3 participants