fix: Install the latest Parse Server version in bootstrap.sh#10556
fix: Install the latest Parse Server version in bootstrap.sh#10556dblythy wants to merge 1 commit into
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe bootstrap.sh script is modified so the generated package.json template no longer contains a pinned parse-server dependency (now an empty dependencies object), and the npm install command explicitly installs parse-server instead of installing from package.json. ChangesBootstrap Install Fix
Estimated code review effort: 1 (Trivial) | ~3 minutes Related issues: Addresses outdated parse-server installations caused by bootstrap.sh pinning an old version ( Suggested labels: bug, bootstrap Suggested reviewers: dblythy, mtrezza 🐰 A pin removed, a version freed, / now bootstrap grabs what's truly needed. / No more stuck at three-point-nine, / latest parse-server, right on time. 🥕 🚥 Pre-merge checks | ✅ 7✅ Passed checks (7 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #10556 +/- ##
=======================================
Coverage 92.66% 92.66%
=======================================
Files 193 193
Lines 16981 16981
Branches 248 248
=======================================
Hits 15736 15736
Misses 1224 1224
Partials 21 21 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closes #8513
bootstrap.shscaffolded apackage.jsonthat hardcoded"parse-server": "^3.9.0", so anyone following the getting-started guide ended up installing a 6-year-old v3 (current is 9.x).Rather than bumping the pin to a new hardcoded version - which would just go stale again in a year - this drops the version from the generated
package.jsonand installs parse-server at install time (npm install parse-server). npm pins whatever is current, so the script is self-healing and never needs a version bump again.Verified end to end: running the script now generates a
package.jsonpinned to the current release (^9.9.0) and installs a v9 binary.Summary by CodeRabbit