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/bin
AgeCommit message (Collapse)Author
2018-08-21update-notifier: skip checking for updates in CI environmentsKat Marchán
PR-URL: https://github.com/npm/cli/pull/33 Credit: @Sibiraj-S Reviewed-By: @zkat
2018-08-03cli: don't check for updates to npm when we are updating npm itself (#32)Brian Olore
PR-URL: https://github.com/npm/cli/pull/32 Credit: @olore Reviewed-By: @zkat
2018-07-13docs: replace references to the old repo or issue tracker (#5)Kat Marchán
2018-06-29config: Enable config for suppressing update-notifier (#20750)Matt Travi
PR-URL: https://github.com/npm/npm/pull/20750 Credit: @travi Reviewed By: @zkat
2018-05-16update-notifier: remove colon + support canary (#20536)Kat Marchán
PR-URL: https://github.com/npm/npm/pull/20536 Credit: @zkat Reviewed-By: @iarna
2018-04-11cli: shinier update-notifierKat Marchán
This message is based on the one pnpm uses, which I think takes care of all the false update messages and missing -g that happens with the default notifier message. It also tells people what "level" the update is. Credit: @zkat PR-URL: https://github.com/npm/npm/pull/20122 Reviewed-By: @iarna
2018-04-04cli: fix easter egg (#20214)Kat Marchán
PR-URL: https://github.com/npm/npm/pull/20214 Credit: @zkat
2018-03-23standardizeRebecca Turner
2018-03-09npx: fix npx prefix issue (#19608)laggingreflex
It was incorrectly calling `node npx-cli prefix` which led to downloading "prefix" package. Instead it should be calling `node npm-cli prefix` PR-URL: https://github.com/npm/npm/pull/19608 Credit: @laggingreflex Reviewed-By: @zkat
2017-08-17bin: Remove unused file, bin/read-package-json.jsEnrico Weigelt, metux IT consult
The script isn't called, isn't made available as a binary. Credit: @metux Reviewed-By: @iarna PR-URL: https://github.com/npm/npm/pull/16547
2017-07-11npx: bundle npx with npm itselfKat Marchán
npx is an npm package runner with a bunch of nice features. While it is also available on the npm registry as `npx`, it's the sort of thing that's better off being bundles with npm itself. Fixes: #6053 PR-URL: https://github.com/npm/npm/pull/17685 Credit: @zkat Reviewed-By: @iarna
2017-05-31standard: minor linter fixKat Marchán
Credit: @zkat
2017-05-27hamilton: Talk less, complete more (#16750)Aria Stewart
PR-URL: https://github.com/npm/npm/pull/16750 Credit: @aredridel Reviewed-By: @zkat
2017-04-18config: don't ham-it-up when expecting parseable output (#16336)Brian Dukes
* Don't ham-it-up when expecting JSON I turned on the ham-it-up configuration setting, and then noticed that I received an error when running the npm-windows-upgrade module, because it was trying to parse the JSON from calling `npm view npm versions --json` and didn't know what to do with the easter egg text at the end. This change disables the ham-it-up text when the json option is present. PR-URL: https://github.com/npm/npm/pull/16336 Credit: @bdukes Reviewed-By: @zkat
2017-04-15npm: Add timing diagnostics on --loglevel=timingRebecca Turner
2017-03-10install: Use EXDEV aware move instead of rename (#15901)Rebecca Turner
This will allow moving across devices and moving when filesystems don't support renaming directories full of files. PR-URL: https://github.com/npm/npm/pull/15901 Credit: @iarna Reviewed-By: @zkat
2017-03-06cli: only use `update-notifier` on supported versionsJoshua Bennett
Fixes: #15855 PR-URL: https://github.com/npm/npm/pull/15864 Credit: @legodude17 Reviewed-By: @iarna
2017-02-24npm-cli: add update-notifier & use itC J Silverio
The cli bin script now runs the update-notifier module after it has decided we're running in a good node version. We do not yet customize the output in any way. Credit: @ceejbot Fixes: #11473 PR-URL: https://github.com/npm/npm/pull/15774#pullrequestreview-23599057 Reviewed-By: @iarna
2016-10-20npm: Detect unsupported Node.js versions and warnRebecca Turner
Also error on really old versions where we know we can't work. Credit: @iarna Reviewed-By: @othiym23 Reviewed-By: @zkat PR-URL: https://github.com/npm/npm/pull/14230
2016-05-04src: bring code up to standard@6 compatibilityForrest L Norvell
Credit: @othiym23 PR-URL: https://github.com/npm/npm/pull/11444 Reviewed-By: @zkat Reviewed-By: @iarna Reviewed-By: @othiym23
2016-02-24npm-bin: Prefer locally installed npm in Git Bash.Hutson Betts
Existing behavior invoking npm within a Git Bash session is to prefer the globally installed instance of `npm`; the instance of npm installed alongside Node when using the Node installer. The cmd script, and the shell script, have been modified in the past to pull a `prefix` setting from the global `npmrc` file, and invoke the `npm` instance located at the `prefix` location. Because the value of `prefix` is the user's AppData directory where npm installs new copies of itself, the user gets the latest installed npm. However, the setup was not extended to support Git Bash. Therefore Git Bash users still get the version of npm installed beside Node. Add support for using the same prefix for invoking the user installed npm in Git Bash sessions. PR-URL: https://github.com/npm/npm/pull/11526 Credit: @destroyerofbuilds Reviewed-By: @iarna Fixes: #11524
2016-01-21node-gyp-bin: fix custom node-gyp env var quotingAlexis Campailla
npm sets node_config_node_gyp without quotes, so its usage should be quoted. Indeed, it is a better practice to define environment variables that contain paths without quotes and quote their usage. PR-URL: https://github.com/npm/npm/pull/11158 Credit: @orangemocha Reviewed-By: @othiym23
2015-10-22src: Update formatting to be compatible with standard@5Sebastiaan Deckers
PR-URL: https://github.com/npm/npm/pull/9954
2015-08-21windows: search for a user-installed npmJoão Reis
This changes npm.cmd and the npm script when running in Cygwin to look for an npm installation in prefix, running it if found. The default npm is used to get the prefix. This implements the changes described in https://github.com/joyent/node/issues/8528 . Fixes joyent/node#8528. Reference: joyent/node#8554. Fixes: #6412 PR-URL: https://github.com/npm/npm/pull/9089
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-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-26Stop stray progressbars from appearing when logging is used in non-progress ↵Rebecca Turner
commands
2015-06-26Swap the spinner out for the new progress bar code in npmlogRebecca Turner
2015-05-22windows: run node-gyp.js instead of opening itbangbang93
PR-URL: https://github.com/npm/npm/pull/8324
2015-02-27node-gyp: enable overriding node-gyp binaryAlain Kalker
Enable overriding the node-gyp binary used by npm by specifying a config option, similar to specifying the python interpreter. Example usage: npm install --node-gyp=<path-to-custom-node-gyp>
2014-10-16defactored npmconf back into npmForrest L Norvell
2014-09-13style tweaks & dead variable removalForrest L Norvell
2014-09-12Remove enginesisaacs
Node v0.6 is pretty much gone at this point. Also, the -pre upsets SemVer 4, making it annoying to test npm on Node in development.
2014-05-13fix cygwin encoding issueKarsten Tinnefeld
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)
2012-08-15Use new npmconf moduleisaacs
2012-08-13Show all versions in 'npm version<noargs>'isaacs
2012-06-17Fix #2465: Make npm script and windows shims cygwin-awarePhillip Howell
2012-06-11Use read-package-json depisaacs
2012-06-07Replace the log util with npmlog moduleisaacs
This feels so good. lib/utils/log.js is the worst kind of glue code that keeps the npm project from being properly abstracted into independent pieces. In the process, also cleaned up a lot of unproductive logging, and made the npm-debug.log generated on errors be a bit more easy to read.
2012-03-27Abstract out 'uid-number' to a separate dependencyisaacs
2012-03-13Always favor the bundled node-gypisaacs
2012-02-23Add --versions flag to show the version of node as wellisaacs
For @mcavage
2012-02-16Simplify confusing windows pathsisaacs
2012-01-13Remove npm-g/npm_g bin namesisaacs
Unnecessary and unportable
2012-01-13git bash shim for npm itselfisaacs
2011-12-06move process.title to correct spotisaacs
2011-11-17npm cmd files, for easier node msi buildingisaacs
2011-10-15Avoid accidentally opening npm.js with WSHisaacs
2011-10-10Fix #1521 Remove unnecessary shebangsisaacs
2011-09-26Merge remote branch 'deanlandolt/winbin' into winbinisaacs
Conflicts: lib/utils/mkdir-p.js lib/utils/output.js