npm-pkgbuild 13.0.21 → 13.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "13.0.21",
3
+ "version": "13.0.22",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -11,8 +11,8 @@ import { utf8StreamOptions } from "../util.mjs";
11
11
  import { shrinkNPM } from "../npm-shrink.mjs";
12
12
 
13
13
  /**
14
- * Content from node_modules
15
- *
14
+ * Content from node_modules.
15
+ * Requires .npmrc or NPM_TOKEN environment
16
16
  * @property {boolean} withoutDevelpmentDependencies
17
17
  */
18
18
  export class NodeModulesContentProvider extends ContentProvider {
@@ -71,7 +71,7 @@ export class NodeModulesContentProvider extends ContentProvider {
71
71
  if (process.env.NPM_TOKEN) {
72
72
  npmrc["_authToken"] = process.env.NPM_TOKEN;
73
73
  } else {
74
- throw new Error(`.npmrc not found in ${searchDirs}`);
74
+ throw new Error(`.npmrc not found in ${searchDirs} (neither NPM_TOKEN in envinronment)`);
75
75
  }
76
76
  }
77
77
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Content from node_modules
3
- *
2
+ * Content from node_modules.
3
+ * Requires .npmrc or NPM_TOKEN environment
4
4
  * @property {boolean} withoutDevelpmentDependencies
5
5
  */
6
6
  export class NodeModulesContentProvider extends ContentProvider {