@ivuorinen/config-checker 1.1.12 → 1.1.13

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/LICENSE.md +15 -3
  2. package/README.md +15 -13
  3. package/package.json +5 -6
package/LICENSE.md CHANGED
@@ -2,8 +2,20 @@ MIT License
2
2
 
3
3
  Copyright (c) 2023 Ismo Vuorinen
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
6
11
 
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
8
14
 
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -29,22 +29,24 @@ For commitlint-config you can find the usage in the [commitlint-config postinsta
29
29
  Here's a snippet from the file:
30
30
 
31
31
  ```js
32
- const process = require('process')
33
- const checkConfig = require('@ivuorinen/config-checker')
34
- const foundConfig = checkConfig('commitlint')
32
+ const process = require("process");
33
+ const checkConfig = require("@ivuorinen/config-checker");
34
+ const foundConfig = checkConfig("commitlint");
35
35
 
36
36
  if (foundConfig.length > 0) {
37
- console.log('commitlint-config: Found existing commitlint config file, skipping creation.')
38
- console.log('commitlint-config: If you want to create a new config file, please remove the existing one.')
39
- console.log(`commitlint-config: Found config files at: ${foundConfig.join(', ')}`)
40
- process.exit(0)
37
+ console.log("commitlint-config: Found existing commitlint config file, skipping creation.");
38
+ console.log(
39
+ "commitlint-config: If you want to create a new config file, please remove the existing one.",
40
+ );
41
+ console.log(`commitlint-config: Found config files at: ${foundConfig.join(", ")}`);
42
+ process.exit(0);
41
43
  }
42
44
  ```
43
45
 
44
46
  ### Locations scanned
45
47
 
46
48
  | Searched configuration files |
47
- |-------------------------------------|
49
+ | ----------------------------------- |
48
50
  | `[module name]` |
49
51
  | `[module name]`rc |
50
52
  | `[module name]`rc.json |
@@ -126,12 +128,12 @@ This project is licensed under the MIT License - see the [LICENSE.md][license-li
126
128
 
127
129
  [changelog-link]: ./CHANGELOG.md
128
130
  [contributing-link]: https://github.com/ivuorinen/.github/blob/main/CONTRIBUTING.md
129
- [issue-link]: https://github.com/ivuorinen/base-configs/issues
130
- [license-badge]: https://img.shields.io/github/license/ivuorinen/base-configs?style=flat-square&labelColor=292a44&color=663399
131
+ [issue-link]: https://github.com/ivuorinen/config-checker/issues
132
+ [license-badge]: https://img.shields.io/github/license/ivuorinen/config-checker?style=flat-square&labelColor=292a44&color=663399
131
133
  [license-link]: ./LICENSE.md
132
134
  [npm-badge]: https://img.shields.io/npm/v/@ivuorinen/config-checker?style=flat-square&labelColor=292a44&color=663399
133
135
  [npm-link]: https://www.npmjs.com/package/@ivuorinen/config-checker
134
- [pull-request-link]: https://github.com/ivuorinen/base-configs/pulls
136
+ [pull-request-link]: https://github.com/ivuorinen/config-checker/pulls
135
137
  [style-badge]: https://img.shields.io/badge/code_style-ivuorinen%E2%80%99s-663399.svg?labelColor=292a44&style=flat-square
136
- [style-link]: https://github.com/ivuorinen/base-configs
137
- [commitlint-postinstall-link]: https://github.com/ivuorinen/base-configs/blob/main/packages/commitlint-config/scripts/postinstall.js
138
+ [style-link]: https://github.com/ivuorinen/config-checker
139
+ [commitlint-postinstall-link]: https://github.com/ivuorinen/base-configs-commitlint/scripts/postinstall.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivuorinen/config-checker",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Checks the commonly used configuration locations for configuration files",
5
5
  "keywords": [
6
6
  "check-config",
@@ -15,7 +15,7 @@
15
15
  "name": "Ismo Vuorinen",
16
16
  "url": "https://github.com/ivuorinen"
17
17
  },
18
- "homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/config-checker#readme",
18
+ "homepage": "https://github.com/ivuorinen/config-checker#readme",
19
19
  "license": "MIT",
20
20
  "main": "lib/config-checker.js",
21
21
  "directories": {
@@ -30,14 +30,13 @@
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",
33
- "url": "git+https://github.com/ivuorinen/base-configs.git"
33
+ "url": "git+https://github.com/ivuorinen/config-checker.git"
34
34
  },
35
35
  "scripts": {
36
36
  "test": "node ./__tests__/config-checker.test.js",
37
37
  "generate-table": "node ./helpers/generate-md-table.js"
38
38
  },
39
39
  "bugs": {
40
- "url": "https://github.com/ivuorinen/base-configs/issues"
41
- },
42
- "gitHead": "569c783f0bca1bd0b1be78c7b4d09297ee9934eb"
40
+ "url": "https://github.com/ivuorinen/config-checker/issues"
41
+ }
43
42
  }