diff options
| author | Christian Moritz | 2017-06-29 20:24:15 +0200 |
|---|---|---|
| committer | Christian Moritz | 2017-06-29 20:29:25 +0200 |
| commit | 466fe9841a9af915fe78c1fd8648a745610f942d (patch) | |
| tree | f206be1e14a3f7cc22aade2e12617eb3182cd6f8 /docs/Python-for-Formula-Authors.md | |
| parent | fe39dbb78c2d62111358bfa00b6219ef43db7a4f (diff) | |
| download | brew-466fe9841a9af915fe78c1fd8648a745610f942d.tar.bz2 | |
language/node: npm pack ignore prepublish scripts
This tells npm pack to don't run prepublish scripts at all.
I think this is the best default because:
* most modules don't have a prepublish script at all and aren't affected
by this change
* most prepublish scripts are calling devDeps, which would fail in our
case, because (dev)Deps aren't installed at npm pack time until #2820
gets resolved
* we favor npm registry tarball for formula downloads, which are already
prepublished, so we would in the best case needlessly run prepublish
a second time and in the worst case it would fail (because a clean
step is required before running prepublish a second time in a row)
* This change does the right thing for >99% of all the packages and
would only affect packages with prepublish scripts downloaded from a
non-npm registry tarball (like github tarballs) and with a prepublish
script wich does no't require any devDep (unlike for cross platform)
Diffstat (limited to 'docs/Python-for-Formula-Authors.md')
0 files changed, 0 insertions, 0 deletions
