libnpmpack 3.1.0 → 4.0.2
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/lib/index.js +1 -1
- package/package.json +9 -7
package/lib/index.js
CHANGED
|
@@ -16,7 +16,7 @@ async function pack (spec = 'file:.', opts = {}) {
|
|
|
16
16
|
|
|
17
17
|
// Default to true if no log options passed, set to false if we're in silent
|
|
18
18
|
// mode
|
|
19
|
-
const banner = !opts.
|
|
19
|
+
const banner = !opts.silent
|
|
20
20
|
|
|
21
21
|
if (spec.type === 'directory') {
|
|
22
22
|
// prepack
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libnpmpack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Programmatic API for the bits behind npm pack",
|
|
5
5
|
"author": "GitHub Inc.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"posttest": "npm run lint",
|
|
22
22
|
"postlint": "npm-template-check",
|
|
23
23
|
"lintfix": "npm run lint -- --fix",
|
|
24
|
-
"snap": "tap"
|
|
24
|
+
"snap": "tap",
|
|
25
|
+
"template-copy": "npm-template-copy --force"
|
|
25
26
|
},
|
|
26
27
|
"tap": {
|
|
27
28
|
"check-coverage": true
|
|
@@ -33,19 +34,20 @@
|
|
|
33
34
|
},
|
|
34
35
|
"repository": {
|
|
35
36
|
"type": "git",
|
|
36
|
-
"url": "https://github.com/npm/
|
|
37
|
+
"url": "https://github.com/npm/cli",
|
|
38
|
+
"directory": "workspaces/libnpmpack"
|
|
37
39
|
},
|
|
38
40
|
"bugs": "https://github.com/npm/libnpmpack/issues",
|
|
39
41
|
"homepage": "https://npmjs.com/package/libnpmpack",
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@npmcli/run-script": "^
|
|
42
|
-
"npm-package-arg": "^
|
|
43
|
-
"pacote": "^
|
|
43
|
+
"@npmcli/run-script": "^3.0.0",
|
|
44
|
+
"npm-package-arg": "^9.0.1",
|
|
45
|
+
"pacote": "^13.0.5"
|
|
44
46
|
},
|
|
45
47
|
"engines": {
|
|
46
48
|
"node": "^12.13.0 || ^14.15.0 || >=16"
|
|
47
49
|
},
|
|
48
50
|
"templateOSS": {
|
|
49
|
-
"version": "2.
|
|
51
|
+
"version": "2.9.2"
|
|
50
52
|
}
|
|
51
53
|
}
|