We're using publishConfig.directory to publish our packages from a build folder. it looks like pkg.pr.new resolves the workspace:* dependencies in the source package.json, but then proceeds with pnpm pack which packs the build folder. The package.json in the build folder still contains the dependencies from when the build was executed, which was before running pkg-pr-new publish. Ideally pkg-pr-new publish should resolve workspace:* dependencies in the package.json of publishConfig.directory.
See https://github.com/mui/material-ui/actions/runs/16006394677/job/45153979647?pr=46467