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

[Nx Plugin] Vitest support for nx plugins generators #22882

Closed
1 of 4 tasks
gperdomor opened this issue Apr 18, 2024 · 4 comments · Fixed by #29140
Closed
1 of 4 tasks

[Nx Plugin] Vitest support for nx plugins generators #22882

gperdomor opened this issue Apr 18, 2024 · 4 comments · Fixed by #29140

Comments

@gperdomor
Copy link
Contributor

gperdomor commented Apr 18, 2024

Current Behavior

Hi folks...

It's well known that, at least for now, nx plugins needs to be CommonJS only, but those plugins can rely on other publishable packages from the same workspace.

Those publishable libraries, needs to be CommonJS too, but for library generators we have the option to use Vite as bundler and Vitest as unit test runner...

Considering this, would be great to have an option to use Vitest as test runner for plugins, in that way we can remove jest dependencies...

Expected Behavior

Provide also Vitest as test runner in plugin generator

GitHub Repo

No response

Steps to Reproduce

N/A

Nx Report

N/A

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

I created also a discussion for this #22834

Copy link

This issue has been automatically marked as stale because it hasn't had any activity for 6 months.
Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore.
If at this point, this is still an issue, please respond with updated information.
It will be closed in 21 days if no further activity occurs.
Thanks for being a part of the Nx community! 🙏

@github-actions github-actions bot added the stale label Oct 27, 2024
@gperdomor
Copy link
Contributor Author

.

@gperdomor
Copy link
Contributor Author

Not stale

@github-actions github-actions bot removed the stale label Nov 7, 2024
@SirMishaa
Copy link

Up ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants