Commit Graph

4627 Commits

Author SHA1 Message Date
isaacs
f8172df2b4 Put npm-debug.log file in a consistent place 2014-05-13 11:05:55 -07:00
isaacs
b5c9b1a987 npm-user-validate@0.1.0 2014-05-13 09:47:34 -07:00
isaacs
8965747a4f npm-registry-client@0.4.10 2014-05-13 09:46:50 -07:00
isaacs
ea8fc64f7f Send npm version as 'version' header 2014-05-12 18:15:01 -07:00
isaacs
77462d2c18 make new semver stop warning 2014-05-12 18:14:53 -07:00
isaacs
f841257ca4 npm-registry-client@0.4.9 2014-05-12 18:12:26 -07:00
Karsten Tinnefeld
23c91de3d9 fix cygwin encoding issue
make sure that npm script runs on cygwin platform even when installed in DOS encoding
cf. http://sourceware.org/ml/cygwin-announce/2009-07/msg00002.html (option 4a)
2014-05-12 13:50:59 -07:00
Evan Lucas
a7940eafe5 Don't immediately show spinner on login
Currently, the spinner is shown as soon as the username prompt is shown
for `npm login`/`npm adduser`.  This only stops the spinner until the
actual registry request is made.
2014-05-12 12:37:31 -05:00
Evan Lucas
c46a13c008 Allow non-github repositories with npm repo 2014-05-11 17:54:01 -04:00
Julian Gruber
48d8353ac8 read-installed@2.0.3
peer dependencies can be satisfied by grandparent
2014-05-11 17:51:34 -04:00
Evan Lucas
7ca9e7eca5 Fix #5200: only show warning when canceling npm init 2014-05-11 17:50:24 -04:00
Tim Oxley
65f4cb39f2 Stop optional deps moving into deps on update --save
This probably undesirable behaviour stems from normalize-package-data:

> The values in optionalDependencies get added to dependencies. The
optionalDependencies array is left untouched.

Solution Caveat: regular dependencies that are also optional (does that
even make sense?) will not be updated with --save because there's no
way to detect which optional dependencies aren't also regular
dependencies – we just avoid updating anything optional during --save.
2014-05-11 05:18:46 +08:00
Tim Oxley
c8242a25a0 Test update + optional dependencies behaviour. 2014-05-11 05:08:19 +08:00
Tim Oxley
1f108b8a1f Add update --save/--save-dev tests. 2014-05-11 03:23:12 +08:00
Tim Oxley
cb295989c3 Ensure only matching deps update with update --save*
Issue #4438
2014-05-11 01:55:03 +08:00
isaacs
86f5496fc9 bump promzard dep by re-installing init-package-json 2014-05-08 11:09:37 -07:00
Forrest L Norvell
79d5e6da65 update docs 2014-05-07 18:00:51 -07:00
Forrest L Norvell
3294bfaf6d remove the 'use strict' and jshint bits 2014-05-07 18:00:51 -07:00
Forrest L Norvell
235002da9d refactor maybe* methods to be more consistent 2014-05-07 18:00:51 -07:00
Forrest L Norvell
ff35ed6b67 reorganize for readability 2014-05-07 18:00:51 -07:00
Forrest L Norvell
83d68b675f devariadify cache.* 2014-05-07 18:00:51 -07:00
Forrest L Norvell
a469a56e82 fix implicit global 2014-05-07 18:00:50 -07:00
Forrest L Norvell
5865427fc7 fix #5178 in refactor branch 2014-05-07 18:00:50 -07:00
Forrest L Norvell
0e5c561cef break inflight management out into a module 2014-05-07 18:00:50 -07:00
Forrest L Norvell
6c49e2680c goodbye variadic "optional" parameters 2014-05-07 18:00:50 -07:00
Forrest L Norvell
355bb7e0f3 refactor add* into separate files 2014-05-07 18:00:50 -07:00
Forrest L Norvell
cc8dd4e632 split out cache locking into separate file 2014-05-07 17:37:11 -07:00
isaacs
0de64345a7 fix test/tap/url-dependencies.js 2014-05-07 15:59:33 -07:00
isaacs
19a6f6e386 set spinner interval to null when stopping 2014-05-07 15:55:45 -07:00
isaacs
bf761dddd1 Busy Spinner, no http noise
One step closer to #5213
2014-05-07 15:18:38 -07:00
isaacs
7fc8749867 npmconf@0.2.0
Remove http from default logs. Add spin config
2014-05-07 15:01:43 -07:00
Gianluca Casati
50623d8560 updated npm run-script usage
Seems that npm run-scripts params order is inverted, see https://github.com/npm/npm/blob/master/lib/run-script.js#L13
2014-05-07 09:54:01 +02:00
isaacs
e1160eba7a semver@2.3.0
This adds the "prerelease", "prepatch", "preminor", "premajor" options
for `npm version`.
2014-05-06 18:18:04 -07:00
isaacs
79a102f922 v1.4.10 v1.4.10 2014-05-05 18:15:00 -07:00
isaacs
e698837d58 Don't set referer if already set 2014-05-05 17:03:11 -07:00
isaacs
aca48cfbe5 fetch: Send referer and npm-session headers 2014-05-05 16:16:51 -07:00
isaacs
7bf62b542f Ignore marked module 2014-05-04 19:26:56 -07:00
isaacs
e7e74d3769 run: output prettier json with --json and no arg 2014-05-02 21:17:05 -07:00
isaacs
ee321aedd6 run-script: Support --parseable and --json
Also, add a test
2014-05-02 17:36:47 -07:00
Evan Lucas
912254128d list runnable scripts
Running `npm run` will now list available scripts in the top level
package.json.  Fixes #4888
2014-05-01 20:45:54 -05:00
isaacs
d02f0c8b0f trivial: typo in test message 2014-05-01 17:55:02 -07:00
isaacs
972e66164e Use marked instead of ronn for html docs 2014-05-01 17:03:53 -07:00
isaacs
92dd730ebd v1.4.9 v1.4.9 2014-05-01 16:16:17 -07:00
isaacs
60ab094b27 build referer header out of strings only 2014-05-01 16:16:14 -07:00
isaacs
90b8427a30 send referer header 2014-05-01 16:12:09 -07:00
isaacs
e21c9c2fac cache: Fix typo bug (plus test) 2014-05-01 16:11:26 -07:00
isaacs
cc6ec187b5 npm-registry-client@0.4.8 2014-05-01 15:31:17 -07:00
isaacs
da04a82c0e v1.4.8 v1.4.8 2014-05-01 10:38:44 -07:00
Robert Kowalski
031e9429e1 Do not replace the canonical url for README.html on doc building
Closes #5111
2014-05-01 10:31:18 -07:00
David Glasser
a71615abcd Check SHA before using files from cache
Fixes #3265.

Because 'npm install' *always* writes every package to the cache (even
if it isn't installed from the registry) before installing it, it's easy
to end up in a situation where "npm install foo" installs something
other than the appropriate version from the registry.  eg:

  npm cache clean
  # Install a fork of version 0.0.1:
  npm install https://github.com/glasser/npm-cache-corruption/tarball/93c447e
  rm -rf node_modules
  # Before this commit, this would install the same fork as above
  npm install npm-cache-corruption
2014-05-01 10:28:18 -07:00