Skip to content

fix: correct usage of pnpm --filter in package scripts#8319

Merged
chenjiahan merged 1 commit intoweb-infra-dev:mainfrom
shulaoda:fix/correct-package-script
Nov 3, 2024
Merged

fix: correct usage of pnpm --filter in package scripts#8319
chenjiahan merged 1 commit intoweb-infra-dev:mainfrom
shulaoda:fix/correct-package-script

Conversation

@shulaoda
Copy link
Copy Markdown
Contributor

@shulaoda shulaoda commented Nov 2, 2024

Summary

Using single quotes in pnpm --filter '@rspack/*' results in "No projects matched the filters". Instead, we should use double quotes for proper functionality. (This issue may only occur on Windows, I don't have a Mac to verify)

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Nov 2, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 2, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 89ca299
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/672616dce416a7000811b58c

@shulaoda shulaoda requested a review from SoonIter November 2, 2024 12:11
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The single quotes work in macOS, thanks for making the scripts work in Windows. 😄

@chenjiahan chenjiahan merged commit c96413a into web-infra-dev:main Nov 3, 2024
@shulaoda shulaoda deleted the fix/correct-package-script branch November 3, 2024 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: bug fix release: bug related release(mr only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants