Skip to content

Resolve package.json bin warning when publishing#412

Merged
cmsetzer merged 1 commit intomainfrom
resolve-package-json-bin-warning
Sep 3, 2025
Merged

Resolve package.json bin warning when publishing#412
cmsetzer merged 1 commit intomainfrom
resolve-package-json-bin-warning

Conversation

@cmsetzer
Copy link
Collaborator

@cmsetzer cmsetzer commented Sep 3, 2025

NPM doesn't like it when the bin path in package.json is prepended with a .:

npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "bin[scoop]" script name was cleaned

This fixes the issue.

Copy link
Contributor

@rebeccacremona rebeccacremona left a comment

Choose a reason for hiding this comment

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

🤘

@cmsetzer cmsetzer merged commit fddaaf6 into main Sep 3, 2025
6 checks passed
@cmsetzer cmsetzer deleted the resolve-package-json-bin-warning branch September 3, 2025 18:27
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