Skip to content

fix(pack): replace symbols for scoped names#49

Open
rtomchinsky wants to merge 1 commit into
bahmutov:masterfrom
rtomchinsky:patch-1
Open

fix(pack): replace symbols for scoped names#49
rtomchinsky wants to merge 1 commit into
bahmutov:masterfrom
rtomchinsky:patch-1

Conversation

@rtomchinsky
Copy link
Copy Markdown

The pack function tries to resolve the result of the npm pack as ${package.name}-${package.version}.tgz, but when package.name has a scope, the npm cli generates the tarball without the @, and switching / with -, i.e. @abc/xyz becomes abc-xyz.

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.

1 participant