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-07-01install: code cleanup – put parseJSON where it belongsRebecca Turner
2015-07-01npm: Look up _id attributes consistentlyRebecca Turner
2015-07-01install: determine globalness based on install dir not configRebecca Turner
PR-URL: https://github.com/npm/npm/pull/8782
2015-07-01link: fix `npm link package-name`Rebecca Turner
It was broken two ways– it expected npm to accept a string for the list of packages to install. And it expected a install to return a list of packages added, not a tree. PR-URL: https://github.com/npm/npm/pull/8782 Fixes: #8766
2015-07-01install: Run the "install" lifecycle in the toplevel moduleRebecca Turner
Fixes: #8736 PR-URL: https://github.com/npm/npm/pull/8738
2015-07-01install: version: Fix package.json handling to always allow BOM at startRebecca Turner
Fixes: #3358 PR-URL: https://github.com/npm/npm/pull/8724
2015-07-01install: Guard against trying to save w/ an invalid package.jsonRebecca Turner
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-26install: Run top level lifecycles AFTER rolling back failed optdepsRebecca Turner
This is necessary because the top level lifecycles run commands that read the node_modules folder to decide what to do. 😕
2015-06-26install: Move more npm config into the installer objectRebecca Turner
2015-06-26install: Refactor --link to behave betterRebecca Turner
2015-06-26install: Add initial npm@3 support for install --linkRebecca Turner
See FIXME in install for details on how this will need to be reworked.
2015-06-26install: Refactor tracker creation/destructionRebecca Turner
Add logging of when they're first used and when they're completed.
2015-06-26rollback: Don't do it if --rollback=false was setRebecca Turner
2015-06-26Make the installers extraneous resolver also resolve subdeps.Rebecca Turner
This is slower, but necessary as a new install could require a tree rebalance.
2015-06-26Make npm install -g install the current packageRebecca Turner
2015-06-26Add full rolling back of failed module installsRebecca Turner
2015-06-26Refactor debugTree to be clearer / more consistentRebecca Turner
2015-06-26Fix a sorting bug in debugTreeRebecca Turner
2015-06-26Guard against errors that happen prior to the ideal tree being builtRebecca Turner
2015-06-26Start recording warnings in the tree and only print them at the endRebecca Turner
2015-06-26Add pre-installation permissions checkingRebecca Turner
2015-06-26Explicitly recalculate ideal tree metadata prior to tree pruningRebecca Turner
2015-06-26Creating `lib` directory before installingthefourtheye
2015-06-26(Mostly) ignore shrinkwraps when installing modules from argumentsRebecca Turner
2015-06-26Fix top-level shrinkwrap readingRebecca Turner
This was broken when I refactored to no longer use fetch-package-metadata on the top level.
2015-06-26Add logging of current install stageRebecca 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-26Add warnings if you need to update deps of a linked module, completes #6934Rebecca Turner
2015-06-26Refuse loudly to fail to update linksRebecca Turner
2015-06-26Update output format for moved modulesRebecca Turner
2015-06-26Make the bin linking step be serial and deterministicRebecca Turner
2015-06-26Improve the look of install resultsRebecca Turner
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-05-15handle error from readPackagesmikes
2015-05-08install: nerf normalization output on dependenciesForrest L Norvell
Before it was logged at warning level, even though it's often completely not something that you as the application developer can do anything about.
2015-05-06npa: standardize git handlingForrest L Norvell
2015-05-01git: cacheable deps can be 'git' *or* 'hosted'laiso
2015-04-24install: less closure for devDependenciesForrest L Norvell
2015-04-24install: include devDependencies when installingsmikes
add unit test use fn to identify required version
2015-04-11install: use a more robust method for testing for scopeForrest L Norvell
2015-04-11install: scoped packages with peerDependencieserik wienhold
Package scopes cause an additional level in the tree structure which must be considered when resolving the target folders of a package's peerDependencies. Fixes #7454.
2015-04-10git: save non-normalized shorthand to package.jsonForrest L Norvell
Instead of checking if from is just a URL, use npm-package-arg to figure out what kind of URL or shorthand it might be, and save that to package.json.
2015-04-03install: better logging, no more readJSON cachingForrest L Norvell
A bunch of the tests are now getting more complete from / resolved information because the contents of rewritten package.json files on disk are no longer masked by `read-package-json` memoizing fs reads of package.json files. Part of fixing #7074.
2015-03-13install: track bundled dependencies in contextForrest L Norvell
Fixes #7552. The npm@<3 installer uses an elaborate data tree built in-memory as the install process runs to track which dependencies have already been seen in the tree. This allows the installer to determine whether a parent dependency satisfies the current semver requirement. However, if one version of a dependency is specified at one level of the tree, and then a child of that level includes that same dependency bundled at a different version, and one of *that dependency's* children depends on this same dependency at yet another version, it will end up matching against the version _above_ the bundled dependency. This can lead anyone trying to figure out what's going on into a phantasmagorical wonderland where nothing is real, and can also produce an inconsistent installed tree. The solution is to ensure that the bundled dependency versions are added to the tree, but in order to do this, we need to know exactly which version got bundled. This requires a call to readInstalled, because the version that was bundled isn't included anywhere in the package metadata. Since readInstalled is slow, installMany will only call it if it knows there are bundledDependencies for the current package.
2015-03-12install: removed obsolete commentRichard Littauer
This is obviously no longer experimental, and I'm not sure this comment belongs here anymore.
2015-03-06install: tweak install --link for gitForrest L Norvell
`_resolved` isn't guaranteed to be set on the package metadata by this point in the installation process, and we probably shouldn't automatically assume that `_from` is set, either.
2015-03-06install: don't try to --link git dependenciessmikes
test sets up git repo & mock registry -- fragile test of install --link=false test of install --link=true
2015-03-05install: engineStrict only warns for this packageForrest L Norvell