updates 15.1.2 → 15.2.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.
Files changed (3) hide show
  1. package/README.md +10 -1
  2. package/bin/updates.js +18 -18
  3. package/package.json +8 -8
package/README.md CHANGED
@@ -32,7 +32,7 @@ All `pkg` options support glob matching via [picomatch](https://github.com/micro
32
32
 
33
33
  ## Config File
34
34
 
35
- Put a `updates.config.js` or `updates.config.mjs` in the root of your project, usually besides `package.json` to configure certain options of the module. CLI arguments have precedence over options in the config file, except for `include` and `exclude` options which are merged.
35
+ The config file is used to configure certain options of the module. CLI arguments have precedence over options in the config file, except for `include` and `exclude` options which are merged.
36
36
 
37
37
  ```js
38
38
  export default {
@@ -44,6 +44,15 @@ export default {
44
44
  };
45
45
  ```
46
46
 
47
+ ### Config File Locations
48
+
49
+ The config file can be placed in these locations, relative to `package.json` is:
50
+
51
+ - `updates.config.js`
52
+ - `updates.config.mjs`
53
+ - `.config/updates.js`
54
+ - `.config/updates.mjs`
55
+
47
56
  ### Config File Options
48
57
 
49
58
  - `include` *Array[String|Regexp]*: Array of dependencies to include