npm-pkgbuild 11.10.15 → 12.0.1

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
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## npm-pkgbuild
13
13
 
14
- Create ArchLinux, RPM and Debian packages from npm packages.
14
+ Create ArchLinux, RPM, Debian and Docker packages from npm packages.
15
15
 
16
16
  # usage
17
17
 
@@ -61,6 +61,8 @@ You can specify the package content in package.json.
61
61
 
62
62
  # content providers
63
63
 
64
+ Defining where the package content should come from.
65
+
64
66
  ## files (default)
65
67
 
66
68
  content from the file system
@@ -78,8 +80,8 @@ options:
78
80
 
79
81
  # shared configuration
80
82
 
81
- You can import common configuration from other packages
82
- see [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-frontend](https://www.npmjs.com/package/mf-hosting-frontend) modules.
83
+ You can import common configuration from other packages.
84
+ See [mf-hosting](https://www.npmjs.com/package/mf-hosting) or [mf-hosting-frontend](https://www.npmjs.com/package/mf-hosting-frontend) modules.
83
85
 
84
86
  # API
85
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "11.10.15",
3
+ "version": "12.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -12,8 +12,10 @@
12
12
  "ArchLinux",
13
13
  "arch-linux",
14
14
  "aur",
15
+ "buildah",
15
16
  "deb",
16
17
  "debian",
18
+ "docker",
17
19
  "makepkg",
18
20
  "package",
19
21
  "pacman",
@@ -48,7 +50,7 @@
48
50
  "commander": "^11.0.0",
49
51
  "compare-versions": "^6.1.0",
50
52
  "content-entry": "^6.0.0",
51
- "content-entry-filesystem": "^5.2.13",
53
+ "content-entry-filesystem": "^6.0.0",
52
54
  "content-entry-transform": "^1.4.29",
53
55
  "execa": "^8.0.1",
54
56
  "expression-expander": "^7.1.3",
@@ -59,13 +61,13 @@
59
61
  "node-fetch": "^3.3.2",
60
62
  "npm-package-walker": "^6.2.4",
61
63
  "npm-packlist": "^8.0.0",
62
- "pacote": "^17.0.2",
64
+ "pacote": "^17.0.3",
63
65
  "pkg-dir": "^7.0.0",
64
66
  "tar-stream": "^3.1.6",
65
- "uti": "^7.7.2"
67
+ "uti": "^8.0.0"
66
68
  },
67
69
  "devDependencies": {
68
- "@types/node": "^20.5.4",
70
+ "@types/node": "^20.5.7",
69
71
  "ava": "^5.3.1",
70
72
  "c8": "^8.0.1",
71
73
  "documentation": "^14.0.2",
@@ -74,7 +76,7 @@
74
76
  "typescript": "^5.2.2"
75
77
  },
76
78
  "engines": {
77
- "node": ">=16.20.2"
79
+ "node": ">=18.17.1"
78
80
  },
79
81
  "repository": {
80
82
  "type": "git",
@@ -215,7 +215,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
215
215
  fragment.parent =
216
216
  modulePath.length === 1 ? parent : modulePath[modulePath.length - 2];
217
217
  } else {
218
- properties.access = packageContent.publishConfig?.access || "private";
218
+ properties.access = packageContent?.publishConfig?.access || "private";
219
219
 
220
220
  Object.assign(
221
221
  properties,