Skip to content

Commit 48d76bf

Browse files
authored
Remove package manager restriction (#23)
The `engines` entry that requires the use of Yarn v1 has been removed. I suspect this is compatible with both npm and Yarn v2, but we haven't tested this. Just in case we're wrong, the README has been updated to say that we only test this with Yarn v1
1 parent 6d0a615 commit 48d76bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
This action creates a new release branch and PR. It also makes a commit that includes any release preparation that can be easily automated, which includes version bumps and a partial changelog updates (using `@metamask/auto-changelog`).
66

7+
This action is only tested with Yarn v1.
8+
79
### Monorepos
810

911
This action is compatible with monorepos, but only if they use workspaces. It uses the `workspaces` property of `package.json` to determine if the repo is a monorepo, and to find each workspace.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
],
88
"main": "lib/index.js",
99
"engines": {
10-
"node": ">=12.10.0",
11-
"yarn": ">=1.22.0 <2.0.0"
10+
"node": ">=12.10.0"
1211
},
1312
"scripts": {
1413
"setup": "yarn install && yarn setup:postinstall",

0 commit comments

Comments
 (0)