[PR #25] [MERGED] fix(presets): fix incorrect corepack command for pnpm #26

Closed
opened 2026-03-02 05:12:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/gotempsh/temps/pull/25
Author: @bjoerge
Created: 2/28/2026
Status: Merged
Merged: 2/28/2026
Merged by: @dviejokfs

Base: mainHead: fix-corepack-prepare


📝 Commits (1)

  • b006667 fix(presets): fix incorrect corepack command for pnpm

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 crates/temps-presets/src/nextjs.rs (+1 -1)

📄 Description

Description

Deploying a next js app with pnpm currently fails with the following error:

Usage Error: Unsupported package manager specification (pnpxm@latest)

I believe this line is wrong:
github.com/gotempsh/temps@921ab97973/crates/temps-presets/src/nextjs.rs (L111)

and should instead be

RUN corepack prepare pnpm@latest --activate

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have written tests that cover the changes
  • All new and existing tests pass (cargo test --lib)
  • cargo check --lib passes with no warnings
  • My commits follow the Conventional Commits format
  • I have updated documentation where necessary

🔄 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/gotempsh/temps/pull/25 **Author:** [@bjoerge](https://github.com/bjoerge) **Created:** 2/28/2026 **Status:** ✅ Merged **Merged:** 2/28/2026 **Merged by:** [@dviejokfs](https://github.com/dviejokfs) **Base:** `main` ← **Head:** `fix-corepack-prepare` --- ### 📝 Commits (1) - [`b006667`](https://github.com/gotempsh/temps/commit/b006667468949775d5f7a910169268889952b0ab) fix(presets): fix incorrect corepack command for pnpm ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `crates/temps-presets/src/nextjs.rs` (+1 -1) </details> ### 📄 Description ## Description Deploying a next js app with pnpm currently fails with the following error: ``` Usage Error: Unsupported package manager specification (pnpxm@latest) ``` I believe this line is wrong: https://github.com/gotempsh/temps/blob/921ab979735eaa7fe11d44ec61243f7829c98c60/crates/temps-presets/src/nextjs.rs#L111 and should instead be ``` RUN corepack prepare pnpm@latest --activate ``` ## Type of change - [x] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [ ] I have written tests that cover the changes - [ ] All new and existing tests pass (`cargo test --lib`) - [ ] `cargo check --lib` passes with no warnings - [x] My commits follow the [Conventional Commits](https://www.conventionalcommits.org/) format - [ ] I have updated documentation where necessary ## Related issues <!-- Link related issues below. Use "Closes #123" to auto-close an issue when this PR is merged. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-03-02 05:12:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/temps#26
No description provided.