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: lazily run npm install when applying 'prettier' and client modules #11113

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

murdos
Copy link
Contributor

@murdos murdos commented Oct 13, 2024

If a package-lock.json is detected, and npm command is present, run npm install.

Fixes #11106

If we agree on the solution, we should do the same with any module that touches prettier or eslint configuration:

  • typescript
  • react-core
  • angular-core
  • svelte

@murdos murdos added the area: bug 🐛 Something isn't working label Oct 13, 2024
@pascalgrimaud
Copy link
Member

Let me having a look on this solution

@pascalgrimaud pascalgrimaud self-assigned this Oct 14, 2024
If a package-lock.json is detected, and npm command is present, run npm install.

Fixes jhipster#11106
@pascalgrimaud pascalgrimaud merged commit 0103fbe into jhipster:main Oct 20, 2024
35 checks passed
@murdos murdos deleted the npm-lazy-install branch October 20, 2024 19:30
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.

Fail to apply typescript and vue-core in a second time
2 participants