@storm-software/prettier 0.44.6 → 0.45.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,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Prettier
4
4
 
5
+ ## [0.45.0](https://github.com/storm-software/storm-ops/releases/tag/prettier%400.45.0) (2025-04-10)
6
+
7
+ ### Features
8
+
9
+ - **prettier:** Added `base` and `jsdoc` configurations
10
+ ([e497c1fee](https://github.com/storm-software/storm-ops/commit/e497c1fee))
11
+
12
+ ## [0.44.7](https://github.com/storm-software/storm-ops/releases/tag/prettier%400.44.7) (2025-04-09)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([e29270ba8](https://github.com/storm-software/storm-ops/commit/e29270ba8))
18
+
5
19
  ## [0.44.6](https://github.com/storm-software/storm-ops/releases/tag/prettier%400.44.6) (2025-04-09)
6
20
 
7
21
  ### 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.44.5-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.44.7-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/base.json ADDED
@@ -0,0 +1,59 @@
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
+ }
22
+ },
23
+ {
24
+ "files": "**/*.mdx",
25
+ "options": {
26
+ "semi": false,
27
+ "trailingComma": "none",
28
+ "parser": "mdx"
29
+ }
30
+ },
31
+ {
32
+ "files": "**/*.md",
33
+ "options": {
34
+ "semi": false,
35
+ "trailingComma": "none",
36
+ "parser": "markdown"
37
+ }
38
+ },
39
+ {
40
+ "files": "**/*.svg",
41
+ "options": {
42
+ "parser": "html"
43
+ }
44
+ },
45
+ { "files": "**/*.json", "options": { "trailingComma": "none" } },
46
+ {
47
+ "files": "**/*.hbs",
48
+ "options": {
49
+ "parser": "html"
50
+ }
51
+ }
52
+ ],
53
+ "plugins": [
54
+ "prettier-plugin-sh",
55
+ "prettier-plugin-pkg",
56
+ "prettier-plugin-organize-imports"
57
+ ],
58
+ "organizeImportsSkipDestructiveCodeActions": false
59
+ }
package/config.json CHANGED
@@ -17,14 +17,7 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
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
20
+ "trailingComma": "none"
28
21
  }
29
22
  },
30
23
  {
@@ -89,7 +82,6 @@
89
82
  "plugins": [
90
83
  "prettier-plugin-sh",
91
84
  "prettier-plugin-pkg",
92
- "prettier-plugin-jsdoc",
93
85
  "prettier-plugin-toml",
94
86
  "prettier-plugin-organize-imports"
95
87
  ],
package/index.cjs CHANGED
@@ -18,14 +18,7 @@ module.exports = {
18
18
  options: {
19
19
  parser: "typescript",
20
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
21
+ trailingComma: "none"
29
22
  }
30
23
  },
31
24
  {
@@ -73,24 +66,11 @@ module.exports = {
73
66
  options: {
74
67
  parser: "html"
75
68
  }
76
- },
77
- {
78
- files: "**/*.prisma",
79
- options: {
80
- parser: "prisma-parse"
81
- }
82
- },
83
- {
84
- files: "**/{*.acid,*.aci,*.acidic}",
85
- options: {
86
- parser: "prisma-parse"
87
- }
88
69
  }
89
70
  ],
90
71
  plugins: [
91
72
  "prettier-plugin-sh",
92
73
  "prettier-plugin-pkg",
93
- "prettier-plugin-jsdoc",
94
74
  "prettier-plugin-toml",
95
75
  "prettier-plugin-organize-imports",
96
76
  "prettier-plugin-prisma"
package/jsdoc.json ADDED
@@ -0,0 +1,97 @@
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
+ "plugins": [
90
+ "prettier-plugin-sh",
91
+ "prettier-plugin-pkg",
92
+ "prettier-plugin-jsdoc",
93
+ "prettier-plugin-toml",
94
+ "prettier-plugin-organize-imports"
95
+ ],
96
+ "organizeImportsSkipDestructiveCodeActions": false
97
+ }
package/meta.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "inputs": {
3
3
  "packages/prettier/src/index.ts": {
4
- "bytes": 2121,
4
+ "bytes": 1623,
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": 2121
16
+ "bytesInOutput": 1623
17
17
  }
18
18
  },
19
- "bytes": 2155
19
+ "bytes": 1657
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.44.6",
3
+ "version": "0.45.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": {
@@ -22,7 +22,9 @@
22
22
  "./index": "./index.cjs",
23
23
  "./.prettierignore": "./.prettierignore",
24
24
  "./all.json": "./all.json",
25
+ "./base.json": "./base.json",
25
26
  "./config.json": "./config.json",
27
+ "./jsdoc.json": "./jsdoc.json",
26
28
  "./prisma.json": "./prisma.json",
27
29
  "./solidity.json": "./solidity.json",
28
30
  "./tailwindcss.json": "./tailwindcss.json",
package/prisma.json CHANGED
@@ -17,14 +17,7 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
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
20
+ "trailingComma": "none"
28
21
  }
29
22
  },
30
23
  {
@@ -89,7 +82,6 @@
89
82
  "plugins": [
90
83
  "prettier-plugin-sh",
91
84
  "prettier-plugin-pkg",
92
- "prettier-plugin-jsdoc",
93
85
  "prettier-plugin-toml",
94
86
  "prettier-plugin-organize-imports",
95
87
  "prettier-plugin-prisma"
package/solidity.json CHANGED
@@ -17,14 +17,7 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
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
20
+ "trailingComma": "none"
28
21
  }
29
22
  },
30
23
  {
@@ -100,7 +93,6 @@
100
93
  "plugins": [
101
94
  "prettier-plugin-sh",
102
95
  "prettier-plugin-pkg",
103
- "prettier-plugin-jsdoc",
104
96
  "prettier-plugin-toml",
105
97
  "prettier-plugin-prisma",
106
98
  "prettier-plugin-organize-imports",
package/tailwindcss.json CHANGED
@@ -17,14 +17,7 @@
17
17
  "options": {
18
18
  "parser": "typescript",
19
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
20
+ "trailingComma": "none"
28
21
  }
29
22
  },
30
23
  {
@@ -83,7 +76,6 @@
83
76
  "plugins": [
84
77
  "prettier-plugin-sh",
85
78
  "prettier-plugin-pkg",
86
- "prettier-plugin-jsdoc",
87
79
  "prettier-plugin-toml",
88
80
  "prettier-plugin-organize-imports",
89
81
  "prettier-plugin-prisma",