Skip to content

Versions aren't resolved when publishConfig.directory is set #389

@Janpot

Description

@Janpot

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions