Commit Graph

4641 Commits

Author SHA1 Message Date
isaacs
a14aeb9a7d addPlacedTarball: send package data obj, not name 2014-05-14 22:11:29 -07:00
isaacs
e4f26ef195 addRemoteTarball: swap args to match addLocalTarball 2014-05-14 18:27:02 -07:00
isaacs
cb9c53321a addLocal: Pass pkgData instead of name 2014-05-14 18:10:49 -07:00
isaacs
0404aa49d0 addLocalTarball: Use pkgData instead of name/version 2014-05-14 17:47:43 -07:00
isaacs
1e24837688 addRemoteTarball: Pass data, not name/ver 2014-05-14 17:06:39 -07:00
isaacs
99a57f4157 Move npm-cache-filename to top level dep 2014-05-14 17:06:22 -07:00
isaacs
2799ecdba7 cache: Remove unnecessary exports 2014-05-14 16:30:04 -07:00
isaacs
43b5eec98b npm-registry-client@1.0.0
Scope all cache files under the registry hostname, using the
npm-cache-filename module.

TODO: also store tarball files in the same spots, so that two
files from different registries don't clobber one another.
2014-05-14 16:20:30 -07:00
isaacs
c29a0ee5ed explore: no spinner 2014-05-14 16:18:46 -07:00
isaacs
a6cf37cbf2 fix test/tap/install-save-prefix.js 2014-05-14 13:51:46 -07:00
isaacs
f294c9c848 Add project .npmrc file
Moving away from publishConfig, towards per-project config.

This means I can stop typing '--save-prefix=~' every time I install
a dependency in npm!  Hooray!
2014-05-14 13:02:24 -07:00
isaacs
a8e4d0e01a npm-registry-client@0.4.12 2014-05-14 12:41:33 -07:00
isaacs
1707fcedb7 npmconf@1.0.0, Refactor config/uid/prefix loading process
Closes #4751
2014-05-14 12:41:32 -07:00
Bryan Burgers
08e0b101f3 Correct complexity numbering in npm-faq
Number the complexity hurdles in the "renaming node_modules" section using natural numbers (1, 2, 3, 4) instead of Fibonacci Sequence numbers (1, 2, 3, 5).
2014-05-14 18:45:57 +02:00
isaacs
2da4f398bf npm-registry-client@0.4.11 2014-05-13 13:34:15 -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