Skip to content

pf-codemods command not working locally #821

@adamviktora

Description

@adamviktora

Since updating to yarn 4.5. the pf-codemods command is not working locally.

When running yarn command, the "bin" field in each package.json is automatically modified, e.g. in packages/pf-codemods, the "bin": { "pf-codemods": "./index.js" }, became just "bin": "./index.js" - the change was introduced here.

This affects scripts like yarn test:v6:single and others that use the pf-codemods command.

Possible workaround is to use direct path to the bin script, so node packages/pf-codemods/index.js instead of pf-codemods.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions