Description
The upcoming changesets release introduces Packages type with a different shape for tool property:
https://github.com/changesets/changesets/blob/12f20ea75fb5a440a378bd2bf6072a6bd749fd57/packages/types/src/index.ts#L179-L190
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
tool structure
- upgrade to compatible versions of both
changesets and @manypkg/get-packages
Relevant code:
|
let packages: Packages = { |
|
root: { |
|
dir: "/", |
|
packageJson: rootPackageJsonContent, |
|
}, |
|
tool: tool ? tool.tool : "root", |
|
packages: [], |
|
}; |
References
Blocked by:
@manypkg/get-packagesto v3 changesets#1655Description
The upcoming
changesetsrelease introducesPackagestype with a different shape fortoolproperty:https://github.com/changesets/changesets/blob/12f20ea75fb5a440a378bd2bf6072a6bd749fd57/packages/types/src/index.ts#L179-L190
This structure aligns with
@manypkg/get-packagesv3.The bot currently assumes the previous shape and must be updated to:
toolstructurechangesetsand@manypkg/get-packagesRelevant code:
bot/get-changed-packages.ts
Lines 154 to 161 in a443d06
References
@manypkg/get-packagesto v3 changesets#1655 (comment)@manypkg/get-packagestov2changesets#1795 (comment)Blocked by:
@manypkg/get-packagesto v3 changesets#1655