Skip to content

fix: wasm-pack bin script entry#1250

Merged
drager merged 1 commit intodrager:masterfrom
ahippler:master
Apr 4, 2023
Merged

fix: wasm-pack bin script entry#1250
drager merged 1 commit intodrager:masterfrom
ahippler:master

Conversation

@ahippler
Copy link
Contributor

@ahippler ahippler commented Mar 22, 2023

A bin entry in a package.json has to be a local file and not a command to be linked by a package manager.

See https://docs.npmjs.com/cli/v9/configuring-npm/package-json#bin

To use this, supply a bin field in your package.json which is a map of command name to local file name.

this fixes #1248

@ahippler ahippler changed the title fix: add shebang to binary script fix: wasm-pack bin script entry Mar 22, 2023
@ahippler
Copy link
Contributor Author

@drager could you please review and make a new release?

Copy link
Owner

@drager drager left a comment

Choose a reason for hiding this comment

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

Thanks!

@drager drager merged commit d136b04 into drager:master Apr 4, 2023
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.

Unable to find wasm-pack on 0.11.0

2 participants