Skip to content

Instantly share code, notes, and snippets.

@othiym23
Last active August 29, 2015 14:21
Show Gist options
  • Save othiym23/c1e99df15141b3ed510f to your computer and use it in GitHub Desktop.
Save othiym23/c1e99df15141b3ed510f to your computer and use it in GitHub Desktop.
commit 0e5a4ee45687d7abc3987a99be386ab87c930b8d
Author: Forrest L Norvell <[email protected]>
Date: Thu May 21 22:19:58 2015 -0700
add preface and final tweaking
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9d04e6a..1ba4229 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
### v2.11.0 (2015-05-21):
+For the first time in a very long time, we've added new events to the life
+cycle used by `npm run-script`. Since running `npm version (major|minor|patch)`
+is typically the last thing many developers do before publishing their updated
+packages, it makes sense to add life cycle hooks to run tests or otherwise
+preflight the package before doing a full publish. Thanks, as always, to the
+indefatigable [@watilde](https://github.com/watilde) for yet another great
+usability improvement for npm!
+
#### FEATURELETS
* [`b07f7c7`](https://github.com/npm/npm/commit/b07f7c7c1e5021730b3c320f1b3a46e70f8a21ff)
@@ -12,11 +20,10 @@
"npm test"` to the scripts section of your `package.json`.
([@watilde](https://github.com/watilde))
* [`8a46136`](https://github.com/npm/npm/commit/8a46136f42e416cbadb533bcf89d73d681ed421d)
- [`133f882`](https://github.com/npm/npm/commit/133f882250dfeeafac613364ec4b772b9da72b86)
[#8185](https://github.com/npm/npm/issues/8185)
When we get a "not found" error from the registry, we'll now check to see
if the package name you specified is invalid and if so, give you a better
- error message. ([@thefourtheye](https://github.com/thefourtheye))
+ error message. ([@thefourtheye](https://github.com/thefourtheye))
#### BUG FIXES
@@ -24,12 +31,16 @@
[#8324](https://github.com/npm/npm/pull/8324) On Windows, when you've configured a
custom `node-gyp`, run it with node itself instead of using the default open action (which
is almost never what you want). ([@bangbang93](https://github.com/bangbang93))
-* [#7195](https://github.com/npm/npm/issues/7195) [#7260](https://github.com/npm/npm/issues/7260)
- (Re-)Allow publication of existing mixed-case packages. ([@smikes](https://github.com/smikes))
- * [`1da9b04`](https://github.com/npm/npm/commit/1da9b0411d3416c7fca17d08cbbcfca7ae86e92d) `[email protected]`
-* [#7195](https://github.com/npm/npm/issues/7195) [#7260](https://github.com/npm/npm/issues/7260)
- (Re-)Allow publication of existing mixed-case packages. ([@smikes](https://github.com/smikes))
- * [`e926783`](https://github.com/npm/npm/commit/e9267830ab261c751f12723e84d2458ae9238646) `[email protected]`
+* [`1da9b04`](https://github.com/npm/npm/commit/1da9b0411d3416c7fca17d08cbbcfca7ae86e92d)
+ [#7195](https://github.com/npm/npm/issues/7195)
+ [#7260](https://github.com/npm/npm/issues/7260) `[email protected]`:
+ (Re-)allow publication of existing mixed-case packages (part 1).
+ ([@smikes](https://github.com/smikes))
+* [`e926783`](https://github.com/npm/npm/commit/e9267830ab261c751f12723e84d2458ae9238646)
+ [#7195](https://github.com/npm/npm/issues/7195)
+ [#7260](https://github.com/npm/npm/issues/7260)
+ `[email protected]`: (Re-)allow publication of existing mixed-case
+ packages (part 2). ([@smikes](https://github.com/smikes))
#### DOCUMENTATION IMPROVEMENTS
@@ -79,10 +90,9 @@
fixes and integration with [coveralls](https://coveralls.io/).
([@isaacs](https://github.com/isaacs))
* [`c21e8a8`](https://github.com/npm/npm/commit/c21e8a8d94bcf0ad79dc583ddc53f8366d4813b3)
- `[email protected]`: Update to the most recen nock to get new features and a few bug fixes.
- ([@othiym23](https://github.com/othiym23))
+ `[email protected]` ([@othiym23](https://github.com/othiym23))
-#### ADD MISSING LICENSE FILES
+#### LICENSE FILES FOR THE LICENSE GOD
* Add missing ISC license file to package ([@kasicka](https://github.com/kasicka)):
* [`aa9908c`](https://github.com/npm/npm/commit/aa9908c20017729673b9d410b77f9a16b7aae8a4) `[email protected]`
@@ -93,7 +103,7 @@
* [`971f92c`](https://github.com/npm/npm/commit/971f92c4a4e5514217d1e4db45d1ccf71a60ff19) `[email protected]`
* [`67b50b7`](https://github.com/npm/npm/commit/67b50b7667a42bb3340a660eb2e617e1a554d2d4) `[email protected]`
-#### LICENSE UPDATES FOR SPDX
+#### SPDX LICENSE UPDATES
* Switch license to
[BSD-2-Clause](http://spdx.org/licenses/BSD-2-Clause.html#licenseText) from
@@ -3180,6 +3190,3 @@ Dependency updates:
([`644c2ff`](https://github.com/isaacs/npm/commit/644c2ff3e3d9c93764f7045762477f48864d64a7),
[@spmason](https://github.com/spmason)). You can use the `--force` option to
force re-download and installation of all dependencies.
-
-
-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment