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
path: root/test
AgeCommit message (Collapse)Author
2015-10-23deps: When we replace/upgrade a dep, remove all its deps tooRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9929
2015-10-22save: If a shrinkwrap already has dev deps, make sure they're keptRebecca Turner
When running `install --save` in a folder with a shrinkwrap that has dev-only dependencies in it, it's important that we don't then throw away the dev dependencies just because they didn't say `install --save --also=dev`. PR-URL: https://github.com/npm/npm/pull/9992 Fixes: #9647
2015-10-22test: clear npm user agent to eliminate false positive in installable checkRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9982
2015-10-22test: Use the version of node and npm being tested to do setupRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9982
2015-10-22src: Update formatting to be compatible with standard@5Sebastiaan Deckers
PR-URL: https://github.com/npm/npm/pull/9954
2015-10-09shrinkwrap: do not fail on optional dependenciesMaximilian Antoni
If an optional dependency was not installed, shrinkwrap fails with a message saying that a required dependency is missing. This patch checks whether a missing dependency was listed in the optionalDependencies. PR-URL: https://github.com/npm/npm/pull/9879
2015-10-09install: Update --only option to install only the argument env regardless of ↵Daijiro Wachi
the NODE_ENV. The following is the condition of setting the value of the development / production option. npm install + dev: true + prod: true --only=dev + dev: true + prod: false --only=prod || NODE_ENV=production + dev: false + prod: true PR-URL: https://github.com/npm/npm/pull/9835 Fixes: #9463
2015-10-09child-path: Compute the path of a new child module in only one placeRebecca Turner
PR-URL: //github.com/npm/npm/pull/9890 Fixes: #9766
2015-10-09package-id: Add a testRebecca Turner
PR-URL: //github.com/npm/npm/pull/9890 Fixes: #9766
2015-10-09module-name: Factor out module name readingRebecca Turner
Bring consistent guarding against null/undefined and consistent business logic. PR-URL: //github.com/npm/npm/pull/9890 Fixes: #9766
2015-09-25test: spaces for standardRebecca Turner
2015-09-25test: Use unique package names in tests!Rebecca Turner
2015-09-25cache: also update port when updating protocolJames Hartig
PR-URL: https://github.com/npm/npm/pull/9471
2015-09-25test: Cleanup bundled dependencies testRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9667
2015-09-25validate-tree: When normalize-package-data throws, capture that as a warningRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9741
2015-09-25get-package-id: Don't infer package names outside of UXRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9744 Fixes: #9695
2015-09-18tests: Add tests for npm deprecateKat Marchán
PR-URL: https://github.com/npm/npm/pull/9558
2015-09-18ls: install: Stop warning about cruft in module directoriesRebecca Turner
2015-09-18install/deps: Report error gracefully with invalid URL format dependencies=
2015-09-18test: Make sure env isn't going to troll us before running the testRebecca Turner
Some test leaves a node_modules folder in test/tap and that makes this test fail. =/
2015-09-10gently-rm: Treat cmd-shims the same way we treat symlinksRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9537 Fixes: 9394
2015-09-04test: create .npmrcs if they're goneForrest L Norvell
This is what happens as a result of the changes to `fstream-npm` -- when you try to integrate npm downstream, those files won't be there more because `make release` calls `npm pack`, which uses `fstream-npm`. PR-URL: https://github.com/npm/npm/pull/9476
2015-08-28tests: check that preferGlobal is warning properlyKat Marchán
PR-URL: https://github.com/npm/npm/pull/9409
2015-08-27fetch-package-metadata: Add direct support for local modulesRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9369 Fixes: #9308
2015-08-27deps: Use package relative paths for specifier realizationRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9367 Fixes: #9205
2015-08-21diff-trees: Make install order more consistent for directly dependenciesRebecca Turner
The install order is determined by: 1) The location of the thing to be installed relative to the root module. 2) Dependency order, such that a -> b -> c will install modules as: c, b, a 1 is deterministic, regardless of what's being installed. But 2 can change the order of things higher in the dep tree. Eg, b, or a might get sorted earlier if c requires them. This mostly doesn't matter, but it does mean that if you have two modules with conflicting bins, they _can_ get installed in different orders. This changes sorts all of the top level modules to be LAST, in location order (1), and then sorts all the rest per (2). This ensures that top level modules have a deterministic install order. (Non top level modules can't have bin conflicts as that's treated the same as a version conflict and the conflicting module would be hoisted.) PR-URL: https://github.com/npm/npm/pull/9274 Fixes: #8995
2015-08-21logical-tree: Make sure user installed modules are attached to root of ↵Rebecca Turner
logical tree PR-URL: https://github.com/npm/npm/pull/9344 Fixes: #9113
2015-08-21update: Fix path used to run the install relative toRebecca Turner
Previously I was using the path of the module to be updated. But no, silly, we want the path that CONTAINS it. PR-URL: https://github.com/npm/npm/pull/9303 Fixes: #9095
2015-08-21ls: Elminate warnings about missing package.json at top levelRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9343 Fixes: #9113
2015-08-21test: Fix the progress-config test when run from travis or other CIRebecca Turner
We have special code to disable the progress bar on travis (and other CI) to save ourselves and our users a lot of unhelpful output. Unfortunately as this test didn't take that into account, it immediately exploded in this envs. So we fix that up, PLUS we add tests for the various env options for suppressing progress bars. PR-URL: https://github.com/npm/npm/pull/9304
2015-08-21lifecycle: keep private values out of child procsForrest L Norvell
npm@1.x didn't include configuration values prefixed with an underscore in the environment passed to chiled processes. npm@2.x includes the notion of scoped configuration, where a nerfed URL can be used to prefix configuration, some of which might be underscore-prefixed without the scope. Add that behavior to npm@2 and close this regression. PR-URL: https://github.com/npm/npm/pull/9348
2015-08-21test: don't pollute user's configForrest L Norvell
I really don't like it when all my tags start being prefixed with q. Also reformatted test.
2015-08-14test: full tests for npm teamKat Marchán
PR-URL: https://github.com/npm/npm/pull/9011
2015-08-14test: wrote full tests for npm accessKat Marchán
PR-URL: https://github.com/npm/npm/pull/9011
2015-08-14test: standardified test/tap/access.jsKat Marchán
PR-URL: https://github.com/npm/npm/pull/9011
2015-08-14test: Ensure we only remove bins owned by the mod being removedRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9198
2015-08-14install: Ensure walking the tree doesn't result in infinite loopsRebecca Turner
Fixes: #9223 PR-URL: https://github.com/npm/npm/pull/9261
2015-08-12shrinkwrap: Add support for --also=dev[elopment]Bryan English
PR-URL: https://github.com/npm/npm/pull/9024
2015-08-12ls: Add support for --only={prod[uction]|dev[elopment]}Bryan English
PR-URL: https://github.com/npm/npm/pull/9024
2015-08-12install: Add support for --only={prod[uction]|dev[elopment]}Bryan English
PR-URL: https://github.com/npm/npm/pull/9024
2015-08-08ls: Improve display of missing peer dep errorsRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9169
2015-08-08install: Stop warning about package.json fields on global installsRebecca Turner
(And removes.) PR-URL: https://github.com/npm/npm/pull/9167 Fixes: #8871
2015-08-08test: no scripts run on `npm install --link`Forrest L Norvell
2015-08-08run-script: include `version` in lifecycle outputForrest L Norvell
`preversion`, `version`, and `postversion` lifecycle scripts were getting included in the generic run-script section instead of being listed as lifecycle events when running `npm run-script` with no arguments. Fixes: #9146 PR-URL: https://github.com/npm/REPO/pull/9149
2015-08-01test: Use correct path for devDependency in --production testBryan English
PR-URL: https://github.com/npm/npm/pull/8985
2015-07-25config: Add option to turn off progress barsRebecca Turner
PR-URL: https://github.com/npm/npm/pull/9037 Fixes: https://github.com/npm/npm/issues/8704
2015-07-25install: Update fs.access to allow io.js versions w/ fixed windows verRebecca Turner
This also pushes them off to their own file, so we can stop doing the copy-pasta dance. It also makes explaining the rational of the check cleaner I think. PR-URL: https://github.com/npm/npm/pull/9038
2015-07-24install: Refactor module validation for ealier/better checksRebecca Turner
This does a few things: 1. It fixes the calls to npm-install-checks– we were passing a read-package-tree node, and it wants package.json data. 2. This moves checks to be at "install" time (resolveWithNewModule), so they happen earlier. 3. Arguments passed in from the command line are checked even earlier. This is where "don't install yourself" checks are done. PR-URL: https://github.com/npm/npm/pull/9039 Fixes: https://github.com/npm/npm/issues/8637 Fixes: https://github.com/npm/npm/issues/8921
2015-07-24standard@4.3.3Rebecca Turner
2015-07-18check-permissions: use inflight to eliminate duplicate checks of the same ↵Rebecca Turner
resource PR-URL: https://github.com/npm/npm/pull/8974 Fixes: https://github.com/npm/npm/issues/8701 This was breaking things on windows due to locking around the files being created and removed.