-
Notifications
You must be signed in to change notification settings - Fork 27
Update bot to handle new tool structure from changesets and @manypkg/get-packages@3 #97
Copy link
Copy link
Open
Description
Description
The upcoming changesets release introduces Packages type with a different shape for tool property:
export interface Packages {
// ...
tool: {
type: "yarn" | "pnpm" | "lerna" | "bolt" | "root";
};
}This structure aligns with @manypkg/get-packages v3.
The bot currently assumes the previous shape and must be updated to:
- support the new
toolstructure - upgrade to compatible versions of both
changesetsand@manypkg/get-packages
Relevant code:
Lines 154 to 161 in a443d06
| let packages: Packages = { | |
| root: { | |
| dir: "/", | |
| packageJson: rootPackageJsonContent, | |
| }, | |
| tool: tool ? tool.tool : "root", | |
| packages: [], | |
| }; |
References
- Update
@manypkg/get-packagesto v3 changesets#1655 (comment) - Update
@manypkg/get-packagestov2changesets#1795 (comment)
Blocking following PRs:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels