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

Support Concordance plugins #2428

Closed
wants to merge 2 commits into from
Closed

Support Concordance plugins #2428

wants to merge 2 commits into from

Conversation

novemberborn
Copy link
Member

Fixes #1861.

I'd like to remove our built-in support of https://github.com/concordancejs/react/, but we'd have to make Concordance configurable.

I think a top-level plugins configuration will work. You'd provide package names. We'd only support CJS packages for now. We'll publish our own @ava/react (which wraps https://github.com/concordancejs/react/, because we want to configure the colors). If you configure plugins, you won't get the default behavior.

To do:

  • Resolve plugins
  • Make this experimental
  • Publish an @ava/react
  • Documentation!

@sindresorhus
Copy link
Member

Sounds like a good idea 👍

Base automatically changed from master to main February 7, 2021 15:32
@novemberborn novemberborn added this to the 4.0 milestone Feb 7, 2021
@novemberborn
Copy link
Member Author

Just to note, AVA 4 is removing built-in support for React. Ideally we can land this before AVA 4 ships, but no promises.

@novemberborn novemberborn deleted the concordance-plugins branch July 5, 2021 15:18
@novemberborn novemberborn mentioned this pull request Jan 8, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow custom serialisers
2 participants