npm-pkgbuild 8.1.1 → 8.1.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.
Files changed (2) hide show
  1. package/README.md +23 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -30,7 +30,15 @@ You can specify the package content in package.json.
30
30
  "pkg": {
31
31
  "content": {
32
32
  "/some/location" : { "base": "build" },
33
- "/etc/myconfig.json" : "sample-config.json"
33
+ "/etc/myconfig.json" : "sample-config.json",
34
+ "/opt/myapp": [
35
+ {
36
+ "type": "npm-pack"
37
+ },
38
+ {
39
+ "type": "node-modules"
40
+ }
41
+ ]
34
42
  },
35
43
  "hooks" : "pkg/hooks",
36
44
  "output": {
@@ -43,6 +51,20 @@ You can specify the package content in package.json.
43
51
  }
44
52
  ```
45
53
 
54
+ # content providers
55
+
56
+ # files (default)
57
+
58
+ content from the file system
59
+
60
+ ## npm-pack
61
+
62
+ content as provided by npm pack
63
+
64
+ ## node-modules
65
+
66
+ content of all (production) dependencies
67
+
46
68
  # API
47
69
 
48
70
  <!-- Generated by documentation.js. Update this documentation by updating the source code. -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,8 +40,8 @@
40
40
  "lint:docs": "documentation lint ./src/**/*.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@npmcli/arborist": "^5.0.3",
44
- "aggregate-async-iterator": "^1.1.9",
43
+ "@npmcli/arborist": "^5.0.4",
44
+ "aggregate-async-iterator": "^1.1.10",
45
45
  "commander": "^9.1.0",
46
46
  "content-entry": "^4.1.9",
47
47
  "content-entry-filesystem": "^4.0.9",