Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pnpmPublic

feat(hooks): addreadPackageForPublishing hook#10303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dasa wants to merge12 commits intopnpm:main
base:main
Choose a base branch
Loading
fromdasa:dasa/readPackageForPublishing-hook

Conversation

@dasa
Copy link
Contributor

@dasadasa commentedDec 11, 2025
edited
Loading

Resolves#3816

Usage example:

module.exports={hooks:{readPackageForPublishing(manifest,dir,context){context.log(`project dir:${dir}`);manifest.foo=Date.now();returnmanifest// return optional}}}

Note: this is similar tohttps://yarnpkg.com/api/plugin-pack/interface/Hooks#beforeWorkspacePacking

maxpatiiuk reacted with thumbs up emoji
@dasa
Copy link
ContributorAuthor

@zkochan I've updated the implementation and added some tests.

@dasa
Copy link
ContributorAuthor

The failing tests seem unrelated. Are these known to be unstable?

@dasadasa requested a review fromzkochanDecember 17, 2025 23:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@zkochanzkochanAwaiting requested review from zkochanzkochan is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

readPackageForPublishing pnpmfile hook

2 participants

@dasa@zkochan

[8]ページ先頭

©2009-2025 Movatter.jp