Skip to content

fix: skip name checks for private packages#491

Merged
AmirSa12 merged 1 commit intostackblitz-labs:mainfrom
skirtles-code:private-before-name
Apr 22, 2026
Merged

fix: skip name checks for private packages#491
AmirSa12 merged 1 commit intostackblitz-labs:mainfrom
skirtles-code:private-before-name

Conversation

@skirtles-code
Copy link
Copy Markdown
Contributor

Packages with "private": true are already skipped, but currently the name check happens first, so if a private package doesn't have a name an error is thrown.

This PR swaps the order of those checks. We don't need a name for private packages.

I've also added a test case.

Copy link
Copy Markdown
Member

@AmirSa12 AmirSa12 left a comment

Choose a reason for hiding this comment

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

Thank you so much! @skirtles-code LGTM

@AmirSa12 AmirSa12 merged commit 1051145 into stackblitz-labs:main Apr 22, 2026
3 of 5 checks passed
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