@storm-software/prettier 0.57.80 → 0.58.1

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/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.57.72-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)
30
+ [![Version](https://img.shields.io/badge/version-0.57.80-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/config.json CHANGED
@@ -17,23 +17,30 @@
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
31
  "files": "**/*.mdx",
25
32
  "options": {
26
- "parser": "mdx",
27
33
  "semi": false,
28
- "trailingComma": "none"
34
+ "trailingComma": "none",
35
+ "parser": "mdx"
29
36
  }
30
37
  },
31
38
  {
32
39
  "files": "**/*.md",
33
40
  "options": {
34
- "parser": "markdown",
35
41
  "semi": false,
36
- "trailingComma": "none"
42
+ "trailingComma": "none",
43
+ "parser": "markdown"
37
44
  }
38
45
  },
39
46
  {
@@ -90,6 +97,7 @@
90
97
  "prettier-plugin-sh",
91
98
  "prettier-plugin-pkg",
92
99
  "prettier-plugin-toml",
100
+ "prettier-plugin-jsdoc",
93
101
  "prettier-plugin-organize-imports",
94
102
  "prettier-plugin-prisma"
95
103
  ],
package/index.cjs CHANGED
@@ -1,5 +1,30 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
1
19
  // packages/prettier/src/index.ts
2
- module.exports = {
20
+ var index_exports = {};
21
+ __export(index_exports, {
22
+ default: () => index_default
23
+ });
24
+ module.exports = __toCommonJS(index_exports);
25
+
26
+ // packages/prettier/src/config.json
27
+ var config_default = {
3
28
  proseWrap: "preserve",
4
29
  trailingComma: "none",
5
30
  tabWidth: 2,
@@ -18,7 +43,14 @@ module.exports = {
18
43
  options: {
19
44
  parser: "typescript",
20
45
  singleQuote: false,
21
- trailingComma: "none"
46
+ trailingComma: "none",
47
+ jsdocDescriptionWithDot: false,
48
+ jsdocDescriptionTag: true,
49
+ jsdocCommentLineStrategy: "multiline",
50
+ jsdocCapitalizeDescription: true,
51
+ jsdocSeparateTagGroups: true,
52
+ jsdocPreferCodeFences: true,
53
+ tsdoc: true
22
54
  }
23
55
  },
24
56
  {
@@ -65,8 +97,7 @@ module.exports = {
65
97
  options: {
66
98
  parser: "json",
67
99
  trailingComma: "none",
68
- objectWrap: "preserve",
69
- printWidth: 120
100
+ objectWrap: "preserve"
70
101
  }
71
102
  },
72
103
  {
@@ -74,14 +105,30 @@ module.exports = {
74
105
  options: {
75
106
  parser: "html"
76
107
  }
108
+ },
109
+ {
110
+ files: "**/*.prisma",
111
+ options: {
112
+ parser: "prisma-parse"
113
+ }
114
+ },
115
+ {
116
+ files: "**/{*.acid,*.aci,*.acidic}",
117
+ options: {
118
+ parser: "prisma-parse"
119
+ }
77
120
  }
78
121
  ],
79
122
  plugins: [
80
123
  "prettier-plugin-sh",
81
124
  "prettier-plugin-pkg",
82
125
  "prettier-plugin-toml",
126
+ "prettier-plugin-jsdoc",
83
127
  "prettier-plugin-organize-imports",
84
128
  "prettier-plugin-prisma"
85
129
  ],
86
130
  organizeImportsSkipDestructiveCodeActions: false
87
131
  };
132
+
133
+ // packages/prettier/src/index.ts
134
+ var index_default = config_default;
package/index.js ADDED
@@ -0,0 +1,112 @@
1
+ // packages/prettier/src/config.json
2
+ var config_default = {
3
+ proseWrap: "preserve",
4
+ trailingComma: "none",
5
+ tabWidth: 2,
6
+ semi: true,
7
+ singleQuote: false,
8
+ quoteProps: "as-needed",
9
+ insertPragma: false,
10
+ bracketSameLine: true,
11
+ printWidth: 80,
12
+ bracketSpacing: true,
13
+ arrowParens: "avoid",
14
+ endOfLine: "lf",
15
+ overrides: [
16
+ {
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",
33
+ options: {
34
+ semi: false,
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
62
+ }
63
+ },
64
+ {
65
+ files: "**/*.svg",
66
+ options: {
67
+ parser: "html"
68
+ }
69
+ },
70
+ {
71
+ files: "**/*.{json,jsonc,json5}",
72
+ options: {
73
+ parser: "json",
74
+ trailingComma: "none",
75
+ objectWrap: "preserve"
76
+ }
77
+ },
78
+ {
79
+ files: "**/*.hbs",
80
+ options: {
81
+ parser: "html"
82
+ }
83
+ },
84
+ {
85
+ files: "**/*.prisma",
86
+ options: {
87
+ parser: "prisma-parse"
88
+ }
89
+ },
90
+ {
91
+ files: "**/{*.acid,*.aci,*.acidic}",
92
+ options: {
93
+ parser: "prisma-parse"
94
+ }
95
+ }
96
+ ],
97
+ plugins: [
98
+ "prettier-plugin-sh",
99
+ "prettier-plugin-pkg",
100
+ "prettier-plugin-toml",
101
+ "prettier-plugin-jsdoc",
102
+ "prettier-plugin-organize-imports",
103
+ "prettier-plugin-prisma"
104
+ ],
105
+ organizeImportsSkipDestructiveCodeActions: false
106
+ };
107
+
108
+ // packages/prettier/src/index.ts
109
+ var index_default = config_default;
110
+ export {
111
+ index_default as default
112
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/prettier",
3
- "version": "0.57.80",
3
+ "version": "0.58.1",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A package containing the base Prettier configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -18,11 +18,20 @@
18
18
  "license": "Apache-2.0",
19
19
  "private": false,
20
20
  "exports": {
21
- ".": "./index.cjs",
22
- "./index": "./index.cjs",
21
+ ".": {
22
+ "import": "./index.js",
23
+ "require": "./index.cjs",
24
+ "default": "./index.js"
25
+ },
26
+ "./index": {
27
+ "import": "./index.js",
28
+ "require": "./index.cjs",
29
+ "default": "./index.js"
30
+ },
23
31
  "./.prettierignore": "./.prettierignore",
24
32
  "./all.json": "./all.json",
25
33
  "./base.json": "./base.json",
34
+ "./recommended.json": "./recommended.json",
26
35
  "./config.json": "./config.json",
27
36
  "./jsdoc.json": "./jsdoc.json",
28
37
  "./prisma.json": "./prisma.json",
@@ -30,6 +39,20 @@
30
39
  "./tailwindcss.json": "./tailwindcss.json",
31
40
  "./package.json": "./package.json"
32
41
  },
42
+ "files": [
43
+ "./.prettierignore",
44
+ "./all.json",
45
+ "./base.json",
46
+ "./config.json",
47
+ "./index.cjs",
48
+ "./index.js",
49
+ "./jsdoc.json",
50
+ "./package.json",
51
+ "./prisma.json",
52
+ "./recommended.json",
53
+ "./solidity.json",
54
+ "./tailwindcss.json"
55
+ ],
33
56
  "keywords": [
34
57
  "monorepo",
35
58
  "prettier",
@@ -76,5 +99,5 @@
76
99
  "prettier-plugin-tailwindcss": "^0.6.14"
77
100
  },
78
101
  "publishConfig": { "access": "public" },
79
- "gitHead": "0baa29a84f59924568ce3247fb7a804427c5dc2a"
102
+ "gitHead": "f802411a3ecd34e4715cab07613af9487bf29285"
80
103
  }
@@ -0,0 +1,105 @@
1
+ {
2
+ "proseWrap": "preserve",
3
+ "trailingComma": "none",
4
+ "tabWidth": 2,
5
+ "semi": true,
6
+ "singleQuote": false,
7
+ "quoteProps": "as-needed",
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
+ {
70
+ "files": "**/*.{json,jsonc,json5}",
71
+ "options": {
72
+ "parser": "json",
73
+ "trailingComma": "none",
74
+ "objectWrap": "preserve"
75
+ }
76
+ },
77
+ {
78
+ "files": "**/*.hbs",
79
+ "options": {
80
+ "parser": "html"
81
+ }
82
+ },
83
+ {
84
+ "files": "**/*.prisma",
85
+ "options": {
86
+ "parser": "prisma-parse"
87
+ }
88
+ },
89
+ {
90
+ "files": "**/{*.acid,*.aci,*.acidic}",
91
+ "options": {
92
+ "parser": "prisma-parse"
93
+ }
94
+ }
95
+ ],
96
+ "plugins": [
97
+ "prettier-plugin-sh",
98
+ "prettier-plugin-pkg",
99
+ "prettier-plugin-toml",
100
+ "prettier-plugin-jsdoc",
101
+ "prettier-plugin-organize-imports",
102
+ "prettier-plugin-prisma"
103
+ ],
104
+ "organizeImportsSkipDestructiveCodeActions": false
105
+ }