npq 3.12.0 → 3.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -53,6 +53,12 @@ npm install -g npq
53
53
 
54
54
  *Note: we recommend installing with `npm` rather than `yarn`. That way, `npq` can automatically install shell aliases for you.*
55
55
 
56
+ You can also install `npq` via [Homebrew](https://brew.sh) on macOS or Linux:
57
+
58
+ ```bash
59
+ brew install npq
60
+ ```
61
+
56
62
  ## Usage
57
63
 
58
64
  ### Install packages with npq
@@ -32,7 +32,7 @@ class Marshall extends BaseMarshall {
32
32
 
33
33
  if (dateDiff < thresholdMs) {
34
34
  throw new Error(
35
- `Detected a newly published package (created < ${PACKAGE_AGE_THRESHOLD} days) act carefully`
35
+ `Detected a newly published package: created < ${PACKAGE_AGE_THRESHOLD} days. Act carefully`
36
36
  )
37
37
  }
38
38
 
@@ -60,7 +60,7 @@ class Marshall extends BaseMarshall {
60
60
  }
61
61
 
62
62
  if (versionDateDiff >= unmaintainedThresholdMs) {
63
- throw new Warning(`Detected an old package (created ${timeAgoNumber} ${timeAgoText} ago)`)
63
+ throw new Warning(`Detected an old package: created ${timeAgoNumber} ${timeAgoText} ago`)
64
64
  }
65
65
  }
66
66
  }
@@ -23,13 +23,13 @@ class Marshall extends BaseMarshall {
23
23
  return this.packageRepoUtils.getDownloadInfo(pkg.packageName).then((downloadCount) => {
24
24
  if (downloadCount < DOWNLOAD_COUNT_THRESHOLD) {
25
25
  throw new Error(
26
- `Detected a low download-count package (downloads last month < ${DOWNLOAD_COUNT_THRESHOLD})`
26
+ `Detected a low download-count package: downloads last month < ${DOWNLOAD_COUNT_THRESHOLD}`
27
27
  )
28
28
  }
29
29
 
30
30
  if (downloadCount < DOWNLOAD_COUNT_UPPER_THRESHOLD) {
31
31
  throw new Warning(
32
- `Detected a low relatively low download-count package (${downloadCount} downloads last month)`
32
+ `Detected a relatively low download-count package: ${downloadCount} downloads last month`
33
33
  )
34
34
  }
35
35
 
@@ -51,7 +51,7 @@ class Marshall extends BaseMarshall {
51
51
  }
52
52
 
53
53
  throw new Error(
54
- `Detected a recently published version (published ${timeAgoNumber} ${timeAgoText} ago) - consider waiting for community review`
54
+ `Detected a recently published version: published ${timeAgoNumber} ${timeAgoText} ago. Consider waiting for community review.`
55
55
  )
56
56
  }
57
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npq",
3
- "version": "3.12.0",
3
+ "version": "3.13.0",
4
4
  "description": "marshall your npm/npm package installs with high quality and class 🎖",
5
5
  "bin": {
6
6
  "npq": "./bin/npq.js",