mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2024-11-23 16:08:09 -05:00
fix: work around semantic-release/npm plugin prepack issue
There's an issue where the `npm` plugin for `semantic-release` effectively runs `npm prepack` twice when `tarballDir` is set. Worse, if the `tarballDir` is within the package directory and not excluded (by `.npmignore`, for example) then the tarball from the first `prepack` will end up inside the tarball for the second `prepack`, effectively doubling the package size. See https://github.com/semantic-release/npm/issues/535
This commit is contained in:
parent
d34aac2177
commit
a5d298de3b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module.exports = {
|
|||
[
|
||||
'@semantic-release/npm',
|
||||
{
|
||||
tarballDir: 'pack'
|
||||
// Do not set 'tarballDir' without considering this issue: https://github.com/semantic-release/npm/issues/535
|
||||
}
|
||||
],
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue