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 vitest config after prettier format to allow applying front modules #11142

Conversation

pascalgrimaud
Copy link
Member

@pascalgrimaud pascalgrimaud added area: bug 🐛 Something isn't working theme: client labels Oct 17, 2024
@@ -29,6 +29,7 @@ export default defineConfig({
},
include: ['src/main/webapp/**/*.ts?(x)'],
exclude: [
// keep this comment to be able to apply other front module after prettier format
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not really found on this comment that will stay on generated project, just for generation purpose.
I'll try another solution and let you know.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agree, it was just the quickest fix in the mean time. Feel free to propose better solution, and rework the replace after lines for each front

Copy link
Contributor

Choose a reason for hiding this comment

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

Here's an alternative (that is not perfect either): #11189

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, but it's better

@pascalgrimaud pascalgrimaud reopened this Oct 25, 2024
@pascalgrimaud pascalgrimaud merged commit 48cff7f into jhipster:main Oct 25, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bug 🐛 Something isn't working theme: client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants