-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: delete node_modules if frappe supports app_cache #1525
Conversation
e318cb0
to
2e78e35
Compare
2e78e35
to
9988b83
Compare
@18alantom just few steps away from closing linked issue, might as well complete it 😬 |
@ankush I'm unsure about what all needs to be done w.r.t the linked issue:
If we're looking to fail get-apps if mentioned dependency is not present, we should hold off until more thought is given. Press Deploy Candidate app ordering too would have to be updated to account for it. |
Yes we should fail with non-zero exit code. If ordering is a hard problem to solve we can optionally add a check command to do it after all apps are installed on bench? |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Added dependency check, fails if folder not present. Also added a version check, doesn't fail but gives a warning if mismatch. Regarding ordering:
|
🎉 This PR is included in version 5.21.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Since part of the build executes in frappe, get-app cache requires at least v15.12.0 of frappe to function optimally i.e. delete node_modules and skip build. This PR checks frappe version mentioned in the app's
pyproject.toml
.Uses version specifier format mentioned in: #1524