Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"packageManager": "bunny"
}
2 changes: 1 addition & 1 deletion src/schemas/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@
"packageManager": {
"description": "Defines which package manager is expected to be used when working on the current project. This field is currently experimental and needs to be opted-in; see https://nodejs.org/api/corepack.html",
"type": "string",
"pattern": "(npm|pnpm|yarn|bun)@\\d+\\.\\d+\\.\\d+(-.+)?"
"pattern": "^((npm|pnpm|yarn|bun)@\\d+\\.\\d+\\.\\d+(-.+)?|bun)$"
},
"engines": {
"type": "object",
Expand Down
4 changes: 4 additions & 0 deletions src/test/package/package-manager-bun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "../../schemas/json/package.json",
"packageManager": "bun"
}
Loading