Skip to content

Conversation

@WooWan
Copy link
Contributor

@WooWan WooWan commented Dec 27, 2025

What's the problem this PR addresses?

InstallOptions type is not exported from @yarnpkg/core, making it unavailable for plugins that need to call Project.install() or Project.installWithNewReport() with proper TypeScript typing.

How did you fix it?

Added InstallOptions to the type exports from ./Project in packages/yarnpkg-core/sources/index.ts.

This follows the existing pattern where other *Options types (FetchOptions, ResolveOptions, LinkOptions) are already exported.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants