Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-26src: make the npm source comply with `standard`Forrest L Norvell
This is a huge set of mostly mechanical changes. Going forward, all changes to the npm source base are expected to comply with `standard`, and it's been integrated into the test suite to enforce that. There are a few notes below about specific classes of changes that need to be handled specially for npm's code base. standard: "Expected error to be handled." `standard` only expects errors spelled "err" to be handled. `npm-registry-mock` never actually invokes its callback with an error, so in some cases I just changed it to be spelled "er" and called it good. standard: "Expected a "break" statement before 'case'." This behavior is actually on purpose, and I don't feel like rewriting the affected code right now (or, you know, ever). So I added code comments disabling the checks in the three applicable changes. standard: "x is a function." Rebinding functions created via declarations (as opposed to expressions) is a no-no? PR-URL: https://github.com/npm/npm/pull/8668
2015-06-26dedupe: Only clone + load-extraneousRebecca Turner
When idealizing the tree for dedupe, only clone and load-extraneous
2015-06-26Add pre-installation permissions checkingRebecca Turner
2015-06-26Fix various complicated dedupe bugsRebecca Turner
Moving wasn't correctly unbuilding which was resulting in orphaned .bin directories, which in turn resulted in turn resulted in broken node_module's folders. Deduped removes weren't removing all of the children of the thing being removed. Moving wasn't explicitly moving all of the children of the thing being moved.
2015-06-26Add logging of current install stageRebecca Turner
2015-06-26Stop deduping from resolving/installing missing depsRebecca Turner
2015-06-26Filter out all of the modules not currently in play with global operationsRebecca Turner
This is safe to do globally as deps of globals are NEVER hoisted out of the global. Each global is self contained.
2015-06-26update usage for all commandssmikes
put @ inside <@scope> simplify completion usage add [@<version>] to edit remove extraneous from install
2015-06-26Add multi-stage installerRebecca Turner
2015-03-05dedupe: test/tap/dedupe-scoped.js uses find-dupesForrest L Norvell
Test is now self-contained as well.
2015-03-05dedupe: Handle scoped packagesKarolis Narkevicius
2014-10-31use new npm-registry-client APIForrest L Norvell
Makes a *lot* clearer when the CLI is doing something with auth implications, by explicitly pass auth to registry client. Moves lookup of credentials into mapRegistryToURI, which makes the code more consistent.
2014-09-12restore long-missing bit of dedupeForrest L Norvell
2014-07-02use --scope to map scope to registryForrest L Norvell
2014-06-13remove dead code and fix jshint warningsForrest L Norvell
2014-06-13use the new URL-based npm-registry-client interfaceForrest L Norvell
2014-04-10update tap tests to hit no external dependencies.bcoe
2014-02-15dedupe: respect dependency versionsRafael de Oleza
Fixes issue #4675
2014-02-15Forbid deleting important npm dirsisaacs
Re #4691
2013-11-24Use platform independent path separators in dedupMatt Colyer
`npm dedupe` fails silently on windows due to incorrect path splitting and joining without these changes.
2013-11-10dedupe: De-duplicate require('npm') linesisaacs
2013-09-08dedupe: respect --tagMaximilian Antoni
2013-06-21Update everything to work with semver@2isaacs
2013-01-29dedupe: Don't fail when nothing is installedisaacs
Re: Colingo/date-now#1
2013-01-19readdir more carefullyisaacs
This is another check against the kind of error that led to #3065
2013-01-19added ENOTDIR check anywhere readJson is usedCarl Lange
2012-12-28Crash on readJson errors other than ENOENTisaacs
2012-11-08Fix #2934 dedupe set must be [] when emptyisaacs
2012-08-22dedupe: Handle dev/extraneous deps betterisaacs
devDeps are ignored. Extraneous deps are treated as if they are required with '' as the range.
2012-08-21The dedupe commandisaacs