fix(create-rspack): use current package manager in templates#12248
fix(create-rspack): use current package manager in templates#12248chenjiahan merged 1 commit intomainfrom
Conversation
✅ Deploy Preview for rspack canceled.
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the create-rstack dependency from version 1.7.7 to 1.7.8 and replaces hardcoded npm commands with {{ packageManager }} template variables in documentation files. This allows the generated project templates to use the appropriate package manager (npm, pnpm, yarn, etc.) based on what the user selected during project creation.
Key Changes:
- Updated
create-rstackdependency to version 1.7.8 - Replaced hardcoded
npmcommands with dynamic{{ packageManager }}template variables in README.md and AGENTS.md
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-lock.yaml | Updated lock file to reflect create-rstack version bump from 1.7.7 to 1.7.8 |
| packages/create-rspack/package.json | Updated create-rstack dependency from 1.7.7 to 1.7.8 |
| packages/create-rspack/template-common/README.md | Replaced hardcoded npm commands with {{ packageManager }} template variable for install, dev, build, and preview commands |
| packages/create-rspack/template-common/AGENTS.md | Replaced hardcoded npm commands with {{ packageManager }} template variable for dev, build, and preview commands |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📦 Binary Size-limit
🙈 Size remains the same at 47.62MB |
CodSpeed Performance ReportMerging #12248 will not alter performanceComparing Summary
|
Summary
create-rstackto v1.7.8Related Links
Checklist