@storm-software/prettier 0.42.26 → 0.43.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  # Changelog for Storm Ops - Prettier
4
4
 
5
+ ## [0.43.0](https://github.com/storm-software/storm-ops/releases/tag/prettier%400.43.0) (2025-04-09)
6
+
7
+ ### Features
8
+
9
+ - **prettier:** Added `toml` plugin and resolve markdown issues
10
+ ([926cf7026](https://github.com/storm-software/storm-ops/commit/926cf7026))
11
+
12
+ ### Miscellaneous
13
+
14
+ - **monorepo:** Regenerate README markdown files
15
+ ([4ac223e59](https://github.com/storm-software/storm-ops/commit/4ac223e59))
16
+
17
+ ## [0.42.27](https://github.com/storm-software/storm-ops/releases/tag/prettier%400.42.27) (2025-04-08)
18
+
19
+ ### Miscellaneous
20
+
21
+ - **monorepo:** Regenerate README markdown files
22
+ ([9bb345e83](https://github.com/storm-software/storm-ops/commit/9bb345e83))
23
+
5
24
  ## [0.42.26](https://github.com/storm-software/storm-ops/releases/tag/prettier%400.42.26) (2025-04-08)
6
25
 
7
26
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.42.25-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.42.27-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/all.json ADDED
@@ -0,0 +1,111 @@
1
+ {
2
+ "proseWrap": "always",
3
+ "trailingComma": "none",
4
+ "tabWidth": 2,
5
+ "semi": true,
6
+ "singleQuote": false,
7
+ "quoteProps": "preserve",
8
+ "insertPragma": false,
9
+ "bracketSameLine": true,
10
+ "printWidth": 80,
11
+ "bracketSpacing": true,
12
+ "arrowParens": "avoid",
13
+ "endOfLine": "lf",
14
+ "overrides": [
15
+ {
16
+ "files": "**/{*.ts,*.tsx,*.mts,*.cts}",
17
+ "options": {
18
+ "parser": "typescript",
19
+ "singleQuote": false,
20
+ "trailingComma": "none",
21
+ "jsdocDescriptionWithDot": false,
22
+ "jsdocDescriptionTag": true,
23
+ "jsdocCommentLineStrategy": "multiline",
24
+ "jsdocCapitalizeDescription": true,
25
+ "jsdocSeparateTagGroups": true,
26
+ "jsdocPreferCodeFences": true,
27
+ "tsdoc": true
28
+ }
29
+ },
30
+ {
31
+ "files": "**/*.mdx",
32
+ "options": {
33
+ "semi": false,
34
+ "trailingComma": "none",
35
+ "parser": "mdx"
36
+ }
37
+ },
38
+ {
39
+ "files": "**/*.md",
40
+ "options": {
41
+ "semi": false,
42
+ "trailingComma": "none",
43
+ "parser": "markdown"
44
+ }
45
+ },
46
+ {
47
+ "files": "**/*.toml",
48
+ "options": {
49
+ "parser": "toml",
50
+ "alignEntries": true,
51
+ "alignComments": true,
52
+ "arrayAutoExpand": true,
53
+ "arrayAutoCollapse": true,
54
+ "compactArrays": true,
55
+ "compactInlineTables": false,
56
+ "compactEntries": false,
57
+ "indentTables": false,
58
+ "indentEntries": false,
59
+ "reorderKeys": false,
60
+ "allowedBlankLines": 1
61
+ }
62
+ },
63
+ {
64
+ "files": "**/*.svg",
65
+ "options": {
66
+ "parser": "html"
67
+ }
68
+ },
69
+ { "files": "**/*.json", "options": { "trailingComma": "none" } },
70
+ {
71
+ "files": "**/*.hbs",
72
+ "options": {
73
+ "parser": "html"
74
+ }
75
+ },
76
+ {
77
+ "files": "**/*.prisma",
78
+ "options": {
79
+ "parser": "prisma-parse"
80
+ }
81
+ },
82
+ {
83
+ "files": "**/{*.acid,*.aci,*.acidic}",
84
+ "options": {
85
+ "parser": "prisma-parse"
86
+ }
87
+ },
88
+ {
89
+ "files": "**/*.sol",
90
+ "options": {
91
+ "parser": "solidity-parse",
92
+ "printWidth": 80,
93
+ "tabWidth": 4,
94
+ "useTabs": false,
95
+ "singleQuote": false,
96
+ "bracketSpacing": false
97
+ }
98
+ }
99
+ ],
100
+ "plugins": [
101
+ "prettier-plugin-sh",
102
+ "prettier-plugin-pkg",
103
+ "prettier-plugin-jsdoc",
104
+ "prettier-plugin-toml",
105
+ "prettier-plugin-prisma",
106
+ "prettier-plugin-organize-imports",
107
+ "prettier-plugin-solidity",
108
+ "prettier-plugin-tailwindcss"
109
+ ],
110
+ "organizeImportsSkipDestructiveCodeActions": false
111
+ }
package/config.json CHANGED
@@ -17,14 +17,47 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
19
  "singleQuote": false,
20
- "trailingComma": "none"
20
+ "trailingComma": "none",
21
+ "jsdocDescriptionWithDot": false,
22
+ "jsdocDescriptionTag": true,
23
+ "jsdocCommentLineStrategy": "multiline",
24
+ "jsdocCapitalizeDescription": true,
25
+ "jsdocSeparateTagGroups": true,
26
+ "jsdocPreferCodeFences": true,
27
+ "tsdoc": true
21
28
  }
22
29
  },
23
30
  {
24
- "files": "**/*.md{,x}",
31
+ "files": "**/*.mdx",
25
32
  "options": {
26
33
  "semi": false,
27
- "trailingComma": "none"
34
+ "trailingComma": "none",
35
+ "parser": "mdx"
36
+ }
37
+ },
38
+ {
39
+ "files": "**/*.md",
40
+ "options": {
41
+ "semi": false,
42
+ "trailingComma": "none",
43
+ "parser": "markdown"
44
+ }
45
+ },
46
+ {
47
+ "files": "**/*.toml",
48
+ "options": {
49
+ "parser": "toml",
50
+ "alignEntries": true,
51
+ "alignComments": true,
52
+ "arrayAutoExpand": true,
53
+ "arrayAutoCollapse": true,
54
+ "compactArrays": true,
55
+ "compactInlineTables": false,
56
+ "compactEntries": false,
57
+ "indentTables": false,
58
+ "indentEntries": false,
59
+ "reorderKeys": false,
60
+ "allowedBlankLines": 1
28
61
  }
29
62
  },
30
63
  {
@@ -56,6 +89,8 @@
56
89
  "plugins": [
57
90
  "prettier-plugin-sh",
58
91
  "prettier-plugin-pkg",
92
+ "prettier-plugin-jsdoc",
93
+ "prettier-plugin-toml",
59
94
  "prettier-plugin-organize-imports"
60
95
  ],
61
96
  "organizeImportsSkipDestructiveCodeActions": false
package/index.cjs CHANGED
@@ -14,10 +14,51 @@ module.exports = {
14
14
  endOfLine: "lf",
15
15
  overrides: [
16
16
  {
17
- files: "**/*.md{,x}",
17
+ files: "**/{*.ts,*.tsx,*.mts,*.cts}",
18
+ options: {
19
+ parser: "typescript",
20
+ singleQuote: false,
21
+ trailingComma: "none",
22
+ jsdocDescriptionWithDot: false,
23
+ jsdocDescriptionTag: true,
24
+ jsdocCommentLineStrategy: "multiline",
25
+ jsdocCapitalizeDescription: true,
26
+ jsdocSeparateTagGroups: true,
27
+ jsdocPreferCodeFences: true,
28
+ tsdoc: true
29
+ }
30
+ },
31
+ {
32
+ files: "**/*.mdx",
18
33
  options: {
19
34
  semi: false,
20
- trailingComma: "none"
35
+ trailingComma: "none",
36
+ parser: "mdx"
37
+ }
38
+ },
39
+ {
40
+ files: "**/*.md",
41
+ options: {
42
+ semi: false,
43
+ trailingComma: "none",
44
+ parser: "markdown"
45
+ }
46
+ },
47
+ {
48
+ files: "**/*.toml",
49
+ options: {
50
+ parser: "toml",
51
+ alignEntries: true,
52
+ alignComments: true,
53
+ arrayAutoExpand: true,
54
+ arrayAutoCollapse: true,
55
+ compactArrays: true,
56
+ compactInlineTables: false,
57
+ compactEntries: false,
58
+ indentTables: false,
59
+ indentEntries: false,
60
+ reorderKeys: false,
61
+ allowedBlankLines: 1
21
62
  }
22
63
  },
23
64
  {
@@ -49,6 +90,8 @@ module.exports = {
49
90
  plugins: [
50
91
  "prettier-plugin-sh",
51
92
  "prettier-plugin-pkg",
93
+ "prettier-plugin-jsdoc",
94
+ "prettier-plugin-toml",
52
95
  "prettier-plugin-organize-imports",
53
96
  "prettier-plugin-prisma"
54
97
  ],
package/meta.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "inputs": {
3
3
  "packages/prettier/src/index.ts": {
4
- "bytes": 1052,
4
+ "bytes": 2121,
5
5
  "imports": [],
6
6
  "format": "cjs"
7
7
  }
@@ -13,10 +13,10 @@
13
13
  "entryPoint": "packages/prettier/src/index.ts",
14
14
  "inputs": {
15
15
  "packages/prettier/src/index.ts": {
16
- "bytesInOutput": 1052
16
+ "bytesInOutput": 2121
17
17
  }
18
18
  },
19
- "bytes": 1086
19
+ "bytes": 2155
20
20
  }
21
21
  }
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/prettier",
3
- "version": "0.42.26",
3
+ "version": "0.43.0",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A package containing the base Prettier configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -21,10 +21,11 @@
21
21
  ".": "./index.cjs",
22
22
  "./index": "./index.cjs",
23
23
  "./.prettierignore": "./.prettierignore",
24
+ "./all.json": "./all.json",
24
25
  "./config.json": "./config.json",
25
26
  "./prisma.json": "./prisma.json",
26
- "./tailwindcss.json": "./tailwindcss.json",
27
27
  "./solidity.json": "./solidity.json",
28
+ "./tailwindcss.json": "./tailwindcss.json",
28
29
  "./package.json": "./package.json"
29
30
  },
30
31
  "keywords": [
@@ -43,7 +44,8 @@
43
44
  "prettier-plugin-prisma": "^5.0.0",
44
45
  "prettier-plugin-sh": "^0.15.0",
45
46
  "prettier-plugin-solidity": "1.3.1",
46
- "prettier-plugin-tailwindcss": "0.6.5"
47
+ "prettier-plugin-tailwindcss": "0.6.5",
48
+ "prettier-plugin-toml": "^2.0.4"
47
49
  },
48
50
  "peerDependenciesMeta": {
49
51
  "prettier": { "optional": false },
@@ -53,12 +55,15 @@
53
55
  "prettier-plugin-prisma": { "optional": false },
54
56
  "prettier-plugin-sh": { "optional": false },
55
57
  "prettier-plugin-solidity": { "optional": true },
56
- "prettier-plugin-tailwindcss": { "optional": true }
58
+ "prettier-plugin-tailwindcss": { "optional": true },
59
+ "prettier-plugin-toml": { "optional": false }
57
60
  },
58
61
  "dependencies": {
62
+ "prettier-plugin-jsdoc": "^1.3.2",
59
63
  "prettier-plugin-organize-imports": "^4.0.0",
60
64
  "prettier-plugin-pkg": "^0.18.1",
61
- "prettier-plugin-sh": "^0.15.0"
65
+ "prettier-plugin-sh": "^0.15.0",
66
+ "prettier-plugin-toml": "^2.0.4"
62
67
  },
63
68
  "devDependencies": {
64
69
  "@types/node": "^22.10.2",
package/prisma.json CHANGED
@@ -17,14 +17,47 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
19
  "singleQuote": false,
20
- "trailingComma": "none"
20
+ "trailingComma": "none",
21
+ "jsdocDescriptionWithDot": false,
22
+ "jsdocDescriptionTag": true,
23
+ "jsdocCommentLineStrategy": "multiline",
24
+ "jsdocCapitalizeDescription": true,
25
+ "jsdocSeparateTagGroups": true,
26
+ "jsdocPreferCodeFences": true,
27
+ "tsdoc": true
21
28
  }
22
29
  },
23
30
  {
24
- "files": "**/*.md{,x}",
31
+ "files": "**/*.mdx",
25
32
  "options": {
26
33
  "semi": false,
27
- "trailingComma": "none"
34
+ "trailingComma": "none",
35
+ "parser": "mdx"
36
+ }
37
+ },
38
+ {
39
+ "files": "**/*.md",
40
+ "options": {
41
+ "semi": false,
42
+ "trailingComma": "none",
43
+ "parser": "markdown"
44
+ }
45
+ },
46
+ {
47
+ "files": "**/*.toml",
48
+ "options": {
49
+ "parser": "toml",
50
+ "alignEntries": true,
51
+ "alignComments": true,
52
+ "arrayAutoExpand": true,
53
+ "arrayAutoCollapse": true,
54
+ "compactArrays": true,
55
+ "compactInlineTables": false,
56
+ "compactEntries": false,
57
+ "indentTables": false,
58
+ "indentEntries": false,
59
+ "reorderKeys": false,
60
+ "allowedBlankLines": 1
28
61
  }
29
62
  },
30
63
  {
@@ -56,6 +89,8 @@
56
89
  "plugins": [
57
90
  "prettier-plugin-sh",
58
91
  "prettier-plugin-pkg",
92
+ "prettier-plugin-jsdoc",
93
+ "prettier-plugin-toml",
59
94
  "prettier-plugin-organize-imports",
60
95
  "prettier-plugin-prisma"
61
96
  ],
package/solidity.json CHANGED
@@ -17,14 +17,47 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
19
  "singleQuote": false,
20
- "trailingComma": "none"
20
+ "trailingComma": "none",
21
+ "jsdocDescriptionWithDot": false,
22
+ "jsdocDescriptionTag": true,
23
+ "jsdocCommentLineStrategy": "multiline",
24
+ "jsdocCapitalizeDescription": true,
25
+ "jsdocSeparateTagGroups": true,
26
+ "jsdocPreferCodeFences": true,
27
+ "tsdoc": true
21
28
  }
22
29
  },
23
30
  {
24
- "files": "**/*.md{,x}",
31
+ "files": "**/*.mdx",
25
32
  "options": {
26
33
  "semi": false,
27
- "trailingComma": "none"
34
+ "trailingComma": "none",
35
+ "parser": "mdx"
36
+ }
37
+ },
38
+ {
39
+ "files": "**/*.md",
40
+ "options": {
41
+ "semi": false,
42
+ "trailingComma": "none",
43
+ "parser": "markdown"
44
+ }
45
+ },
46
+ {
47
+ "files": "**/*.toml",
48
+ "options": {
49
+ "parser": "toml",
50
+ "alignEntries": true,
51
+ "alignComments": true,
52
+ "arrayAutoExpand": true,
53
+ "arrayAutoCollapse": true,
54
+ "compactArrays": true,
55
+ "compactInlineTables": false,
56
+ "compactEntries": false,
57
+ "indentTables": false,
58
+ "indentEntries": false,
59
+ "reorderKeys": false,
60
+ "allowedBlankLines": 1
28
61
  }
29
62
  },
30
63
  {
@@ -67,6 +100,8 @@
67
100
  "plugins": [
68
101
  "prettier-plugin-sh",
69
102
  "prettier-plugin-pkg",
103
+ "prettier-plugin-jsdoc",
104
+ "prettier-plugin-toml",
70
105
  "prettier-plugin-prisma",
71
106
  "prettier-plugin-organize-imports",
72
107
  "prettier-plugin-solidity"
package/tailwindcss.json CHANGED
@@ -17,43 +17,64 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
19
  "singleQuote": false,
20
- "trailingComma": "none"
20
+ "trailingComma": "none",
21
+ "jsdocDescriptionWithDot": false,
22
+ "jsdocDescriptionTag": true,
23
+ "jsdocCommentLineStrategy": "multiline",
24
+ "jsdocCapitalizeDescription": true,
25
+ "jsdocSeparateTagGroups": true,
26
+ "jsdocPreferCodeFences": true,
27
+ "tsdoc": true
21
28
  }
22
29
  },
23
30
  {
24
- "files": "*.md{,x}",
31
+ "files": "**/*.mdx",
25
32
  "options": {
26
33
  "semi": false,
27
- "trailingComma": "none"
34
+ "trailingComma": "none",
35
+ "parser": "mdx"
28
36
  }
29
37
  },
30
38
  {
31
- "files": "*.svg",
39
+ "files": "**/*.md",
32
40
  "options": {
33
- "parser": "html"
41
+ "semi": false,
42
+ "trailingComma": "none",
43
+ "parser": "markdown"
34
44
  }
35
45
  },
36
- { "files": "*.json", "options": { "trailingComma": "none" } },
37
46
  {
38
- "files": "**/*.hbs",
47
+ "files": "**/*.toml",
39
48
  "options": {
40
- "parser": "html"
49
+ "parser": "toml",
50
+ "alignEntries": true,
51
+ "alignComments": true,
52
+ "arrayAutoExpand": true,
53
+ "arrayAutoCollapse": true,
54
+ "compactArrays": true,
55
+ "compactInlineTables": false,
56
+ "compactEntries": false,
57
+ "indentTables": false,
58
+ "indentEntries": false,
59
+ "reorderKeys": false,
60
+ "allowedBlankLines": 1
41
61
  }
42
62
  },
43
63
  {
44
- "files": "**/*.aci",
64
+ "files": "*.svg",
45
65
  "options": {
46
- "parser": "prisma-parse"
66
+ "parser": "html"
47
67
  }
48
68
  },
69
+ { "files": "*.json", "options": { "trailingComma": "none" } },
49
70
  {
50
- "files": "**/*.acid",
71
+ "files": "**/*.hbs",
51
72
  "options": {
52
- "parser": "prisma-parse"
73
+ "parser": "html"
53
74
  }
54
75
  },
55
76
  {
56
- "files": "**/*.acidic",
77
+ "files": "**/{*.acid,*.aci,*.acidic}",
57
78
  "options": {
58
79
  "parser": "prisma-parse"
59
80
  }
@@ -62,8 +83,10 @@
62
83
  "plugins": [
63
84
  "prettier-plugin-sh",
64
85
  "prettier-plugin-pkg",
86
+ "prettier-plugin-jsdoc",
87
+ "prettier-plugin-toml",
65
88
  "prettier-plugin-organize-imports",
66
- "prettier-plugin-tailwindcss",
67
- "prettier-plugin-prisma"
89
+ "prettier-plugin-prisma",
90
+ "prettier-plugin-tailwindcss"
68
91
  ]
69
92
  }