From e115f9de65bf53711266152fc715a5012f7d3462 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 23 Jul 2018 23:51:13 +0300 Subject: docs: use https when possible. (#7) PR-URL: https://github.com/npm/cli/pull/7 Credit: @XhmikosR Reviewed-By: @zkat --- doc/cli/npm-hook.md | 4 ++-- doc/cli/npm-run-script.md | 4 ++-- doc/cli/npm-start.md | 2 +- doc/cli/npm.md | 2 +- doc/files/package.json.md | 4 ++-- doc/misc/npm-disputes.md | 4 ++-- doc/misc/npm-registry.md | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/cli/npm-hook.md b/doc/cli/npm-hook.md index 34deecaf9..519287242 100644 --- a/doc/cli/npm-hook.md +++ b/doc/cli/npm-hook.md @@ -48,7 +48,7 @@ $ npm hook rm id-deadbeef ## DESCRIPTION Allows you to manage [npm -hooks](http://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm), +hooks](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm), including adding, removing, listing, and updating. Hooks allow you to configure URL endpoints that will be notified whenever a @@ -69,4 +69,4 @@ request came from your own configured hook. ## SEE ALSO -* ["Introducing Hooks" blog post](http://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm) +* ["Introducing Hooks" blog post](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm) diff --git a/doc/cli/npm-run-script.md b/doc/cli/npm-run-script.md index 20fcaa941..ef73820d5 100644 --- a/doc/cli/npm-run-script.md +++ b/doc/cli/npm-run-script.md @@ -15,9 +15,9 @@ used by the test, start, restart, and stop commands, but can be called directly, as well. When the scripts in the package are printed out, they're separated into lifecycle (test, start, restart) and directly-run scripts. -As of [`npm@2.0.0`](http://blog.npmjs.org/post/98131109725/npm-2-0-0), you can +As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can use custom arguments when executing scripts. The special option `--` is used by -[getopt](http://goo.gl/KxMmtG) to delimit the end of the options. npm will pass +[getopt](https://goo.gl/KxMmtG) to delimit the end of the options. npm will pass all the arguments after the `--` directly to your script: npm run test -- --grep="pattern" diff --git a/doc/cli/npm-start.md b/doc/cli/npm-start.md index 94c468c29..e43f02149 100644 --- a/doc/cli/npm-start.md +++ b/doc/cli/npm-start.md @@ -11,7 +11,7 @@ This runs an arbitrary command specified in the package's `"start"` property of its `"scripts"` object. If no `"start"` property is specified on the `"scripts"` object, it will run `node server.js`. -As of [`npm@2.0.0`](http://blog.npmjs.org/post/98131109725/npm-2-0-0), you can +As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can use custom arguments when executing scripts. Refer to npm-run-script(1) for more details. diff --git a/doc/cli/npm.md b/doc/cli/npm.md index 82f78a0f9..43f029c5b 100644 --- a/doc/cli/npm.md +++ b/doc/cli/npm.md @@ -140,7 +140,7 @@ reproduction to report. [Isaac Z. Schlueter](http://blog.izs.me/) :: [isaacs](https://github.com/isaacs/) :: -[@izs](http://twitter.com/izs) :: +[@izs](https://twitter.com/izs) :: ## SEE ALSO diff --git a/doc/files/package.json.md b/doc/files/package.json.md index d1fbe5254..09948d777 100644 --- a/doc/files/package.json.md +++ b/doc/files/package.json.md @@ -106,7 +106,7 @@ Ideally you should pick one that is [OSI](https://opensource.org/licenses/alphabetical) approved. If your package is licensed under multiple common licenses, use an [SPDX license -expression syntax version 2.0 string](https://npmjs.com/package/spdx), like this: +expression syntax version 2.0 string](https://www.npmjs.com/package/spdx), like this: { "license" : "(ISC OR GPL-3.0)" } @@ -608,7 +608,7 @@ Trying to install another plugin with a conflicting requirement will cause an error. For this reason, make sure your plugin requirement is as broad as possible, and not to lock it down to specific patch versions. -Assuming the host complies with [semver](http://semver.org/), only changes in +Assuming the host complies with [semver](https://semver.org/), only changes in the host package's major version will break your plugin. Thus, if you've worked with every 1.x version of the host package, use `"^1.0"` or `"1.x"` to express this. If you depend on features introduced in 1.5.2, use `">= 1.5.2 < 2"`. diff --git a/doc/misc/npm-disputes.md b/doc/misc/npm-disputes.md index 2d8885ecf..8c9f0489f 100644 --- a/doc/misc/npm-disputes.md +++ b/doc/misc/npm-disputes.md @@ -102,8 +102,8 @@ here to help.** If you think another npm publisher is infringing your trademark, such as by using a confusingly similar package name, email with a link to -the package or user account on [https://npmjs.com](https://npmjs.com). Attach a -copy of your trademark registration certificate. +the package or user account on [https://www.npmjs.com/](https://www.npmjs.com/). +Attach a copy of your trademark registration certificate. If we see that the package's publisher is intentionally misleading others by misusing your registered mark without permission, we will transfer the package diff --git a/doc/misc/npm-registry.md b/doc/misc/npm-registry.md index ee8ecc147..3b84328ad 100644 --- a/doc/misc/npm-registry.md +++ b/doc/misc/npm-registry.md @@ -81,7 +81,7 @@ effectively implement the entire CouchDB API anyway. ## Is there a website or something to see package docs and such? -Yes, head over to +Yes, head over to ## SEE ALSO -- cgit v1.2.3