json-sort-cli 2.1.7 → 2.1.9

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/CHANGELOG.md +3 -3
  2. package/README.md +13 -16
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -24,7 +24,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
24
24
 
25
25
  ### BREAKING CHANGES
26
26
 
27
- - programs now are in ES Modules and won't work with Common JS require()
27
+ - programs now are in ES Modules and won't work with Common JS `require()`
28
28
 
29
29
  ## 1.20.0
30
30
 
@@ -47,11 +47,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
47
47
 
48
48
  ### Fixed
49
49
 
50
- - add testStats to npmignore ([f3c84e9](https://github.com/codsen/codsen/commit/f3c84e95afc5514214312f913692d85b2e12eb29))
50
+ - add `testStats` to npmignore ([f3c84e9](https://github.com/codsen/codsen/commit/f3c84e95afc5514214312f913692d85b2e12eb29))
51
51
 
52
52
  ## 1.17.0 (2020-11-28)
53
53
 
54
- Accidental version bump during migration to sourcehut. Sorry about that.
54
+ Accidental version bump during migration to SourceHut. Sorry about that.
55
55
 
56
56
  ## 1.16.0 (2020-09-15)
57
57
 
package/README.md CHANGED
@@ -1,28 +1,25 @@
1
- # json-sort-cli
1
+ <h1 align="center">json-sort-cli</h1>
2
2
 
3
- > Command line app to deep sort JSON files, retains package.json special key order
3
+ <p align="center">Command line app to deep sort JSON files, retains package.json special key order</p>
4
4
 
5
- <div class="package-badges">
6
- <a href="https://www.npmjs.com/package/json-sort-cli" rel="nofollow noreferrer noopener">
7
- <img src="https://img.shields.io/badge/-npm-blue?style=flat-square" alt="page on npm">
8
- </a>
5
+ <p align="center">
9
6
  <a href="https://codsen.com/os/json-sort-cli" rel="nofollow noreferrer noopener">
10
7
  <img src="https://img.shields.io/badge/-codsen-blue?style=flat-square" alt="page on codsen.com">
11
8
  </a>
9
+ <a href="https://www.npmjs.com/package/json-sort-cli" rel="nofollow noreferrer noopener">
10
+ <img src="https://img.shields.io/badge/-npm-blue?style=flat-square" alt="page on npm">
11
+ </a>
12
12
  <a href="https://github.com/codsen/codsen/tree/main/packages/json-sort-cli" rel="nofollow noreferrer noopener">
13
13
  <img src="https://img.shields.io/badge/-github-blue?style=flat-square" alt="page on github">
14
14
  </a>
15
15
  <a href="https://npmcharts.com/compare/json-sort-cli?interval=30" rel="nofollow noreferrer noopener" target="_blank">
16
16
  <img src="https://img.shields.io/npm/dm/json-sort-cli.svg?style=flat-square" alt="Downloads per month">
17
17
  </a>
18
- <a href="https://prettier.io" rel="nofollow noreferrer noopener" target="_blank">
19
- <img src="https://img.shields.io/badge/code_style-prettier-brightgreen.svg?style=flat-square" alt="Code style: prettier">
20
- </a>
21
- <img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square" alt="MIT License">
22
- <a href="https://liberamanifesto.com" rel="nofollow noreferrer noopener" target="_blank">
23
- <img src="https://img.shields.io/badge/libera-manifesto-lightgrey.svg?style=flat-square" alt="libera manifesto">
18
+ <a href="https://codsen.com/os/json-sort-cli/changelog" rel="nofollow noreferrer noopener">
19
+ <img src="https://img.shields.io/badge/changelog-here-brightgreen?style=flat-square" alt="changelog">
24
20
  </a>
25
- </div>
21
+ <img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square" alt="MIT Licence">
22
+ </p>
26
23
 
27
24
  ## Install
28
25
 
@@ -47,8 +44,8 @@ To report bugs or request features or assistance, [raise an issue](https://githu
47
44
 
48
45
  ## Licence
49
46
 
50
- MIT License
47
+ MIT License.
51
48
 
52
- Copyright (c) 2010-2022 Roy Revelt and other contributors
49
+ Copyright © 2010-2022 Roy Revelt and other contributors.
53
50
 
54
- <img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center">
51
+ <p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-sort-cli",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "description": "Command line app to deep sort JSON files, retains package.json special key order",
5
5
  "keywords": [
6
6
  "app",
@@ -36,7 +36,7 @@
36
36
  "dev": "echo 'no build needed'",
37
37
  "lect": "node '../../ops/lect/lect.js'",
38
38
  "letspublish": "yarn publish || :",
39
- "lint": "eslint . --fix",
39
+ "lint": "eslint . --ext .js --ext .ts --fix",
40
40
  "prepare": "echo 'ready'",
41
41
  "prettier:format": "prettier --write '**/*.{js,md}' --no-error-on-unmatched-pattern",
42
42
  "test": "c8 yarn run unit && yarn run lint",
@@ -59,7 +59,7 @@
59
59
  }
60
60
  },
61
61
  "dependencies": {
62
- "ast-monkey-traverse": "^3.1.3",
62
+ "ast-monkey-traverse": "^3.1.5",
63
63
  "chalk": "^5.1.2",
64
64
  "fs-extra": "^10.1.0",
65
65
  "globby": "^13.1.2",