[PR #52] [MERGED] fix(installer): harden pnpm resolution for git installs #54

Closed
opened 2026-02-15 17:17:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/openclaw.ai/pull/52
Author: @sebslight
Created: 2/10/2026
Status: Merged
Merged: 2/10/2026
Merged by: @sebslight

Base: mainHead: chore/modernize-install-sh


📝 Commits (1)

  • cc5b087 fix(installer): harden pnpm resolution for git installs

📊 Changes

2 files changed (+203 additions, -47 deletions)

View changed files

📝 public/install.sh (+68 -12)
📝 scripts/test-install-sh-unit.sh (+135 -35)

📄 Description

Resolve pnpm execution via an explicit command runner that supports:\n- pnpm when available\n- corepack pnpm when the shim is missing\n- npm global install fallback when needed\n\nAlso modernize install.sh unit tests and add coverage for pnpm\nresolution paths (direct pnpm, corepack fallback, npm fallback).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/openclaw.ai/pull/52 **Author:** [@sebslight](https://github.com/sebslight) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/10/2026 **Merged by:** [@sebslight](https://github.com/sebslight) **Base:** `main` ← **Head:** `chore/modernize-install-sh` --- ### 📝 Commits (1) - [`cc5b087`](https://github.com/openclaw/openclaw.ai/commit/cc5b087144ec34c0d6f569ba939929a70253b136) fix(installer): harden pnpm resolution for git installs ### 📊 Changes **2 files changed** (+203 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `public/install.sh` (+68 -12) 📝 `scripts/test-install-sh-unit.sh` (+135 -35) </details> ### 📄 Description Resolve pnpm execution via an explicit command runner that supports:\n- pnpm when available\n- corepack pnpm when the shim is missing\n- npm global install fallback when needed\n\nAlso modernize install.sh unit tests and add coverage for pnpm\nresolution paths (direct pnpm, corepack fallback, npm fallback). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:17:27 -05:00
yindo closed this issue 2026-02-15 17:17:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/openclaw.ai#54