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

feat(unstable/publish): error when a package's module is excluded from publishing #22948

Merged

Conversation

dsherret
Copy link
Member

Closes #22657

PublishDiagnostic::UnsupportedJsxTsx { .. } => None,
UnsupportedJsxTsx { .. } => None,
ExcludedModule { .. } => {
Some(Cow::Borrowed("https://jsr.io/go/excluded-module"))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: add a page for this in the jsr registry

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to address this TODO before landing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if this url looks ok.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay, but it's redirecting to the main doc page right now. I guess we'll create that page after landing this PR?

I misunderstood. Yeah looks good.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened jsr-io/jsr#318

@dsherret dsherret enabled auto-merge (squash) March 21, 2024 20:54
@dsherret dsherret merged commit f96f167 into denoland:main Mar 21, 2024
17 checks passed
@dsherret dsherret deleted the feat_publish_error_excluding_pkg_module branch March 22, 2024 18:33
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.

Error when file in exports module graph will not be included in publish
2 participants