Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): avoid packing "binary" packages [release-1.3] #2367

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #2258

/assign gashcrumb

This change updates the export-dynamic-plugin command's default behavior
to widen the check used to determine if an embedded dependency needs to
be built.  If an embedded dependency is outside of the yarn workspace
and does not appear to be a source package (where "main" is a file
ending in ".ts") then it will not be rebuilt during
export-dynamic-plugin.  This caters for cases such as a backend plugin
doing a runtime import of an ESM module, the ESM module can be built and
embedded into the dynamic plugin and be available on the package path at
runtime.

Signed-off-by: Stan Lewis <[email protected]>
Copy link

changeset-bot bot commented Oct 16, 2024

🦋 Changeset detected

Latest commit: c8e2365

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@janus-idp/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gashcrumb gashcrumb changed the title [release-1.3] fix(cli): avoid packing "binary" packages fix(cli): avoid packing "binary" packages [release-1.3] Oct 16, 2024
@gashcrumb gashcrumb requested a review from a team as a code owner October 16, 2024 11:21
Copy link

@kim-tsao
Copy link
Member

/lgtm

@gashcrumb
Copy link
Member

This cherry pick wasn't needed after all.

@gashcrumb gashcrumb closed this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants