-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: pnpm => bun #11358
Merged
Merged
chore: pnpm => bun #11358
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a128e3b
chore: upgrade workflows version
afc163 333f623
Update .github/workflows/pnpm.yml
afc163 c276193
Update .github/workflows/pnpm.yml
afc163 5c2125f
chore: use pnpm/action-setup
afc163 564f02f
chore: ugprade pnpm-lock.yaml
afc163 86e59ba
chore: ugprade pnpm-lock.yaml
afc163 17b051e
remove pnpm
afc163 52eae6d
fix: lint-staged
afc163 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"*": "prettier --ignore-unknown --write" | ||
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js", | ||
"**/*.{js,jsx,tsx,ts,less,md,json,yml}": [ | ||
"prettier --write" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
发现Bun设置与现有Node.js环境存在不一致
在
.github/workflows/ci.yml
中添加了 Bun 设置步骤,但package.json
中的脚本仍然使用 npm 和 yarn。建议:🔗 Analysis chain
Bun设置步骤已添加,但需要澄清与Node.js的关系
添加Bun设置步骤表明项目正在转向使用Bun作为构建工具。这是一个积极的改变,可能会提高构建性能。
然而,工作流仍然设置了Node.js环境。建议澄清是否仍然需要Node.js设置,以及Bun和Node.js环境如何协同工作。请运行以下脚本来验证项目中Bun的使用情况:
根据脚本结果,请考虑以下问题:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 733