@storm-software/prettier 0.59.180 → 0.59.182

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/jsdoc.d.mts ADDED
@@ -0,0 +1,157 @@
1
+ //#region src/jsdoc.d.ts
2
+ declare const _default: Omit<{
3
+ proseWrap: string;
4
+ trailingComma: string;
5
+ tabWidth: number;
6
+ semi: boolean;
7
+ singleQuote: boolean;
8
+ quoteProps: string;
9
+ insertPragma: boolean;
10
+ bracketSameLine: boolean;
11
+ printWidth: number;
12
+ bracketSpacing: boolean;
13
+ arrowParens: string;
14
+ endOfLine: string;
15
+ overrides: ({
16
+ files: string;
17
+ options: {
18
+ parser: string;
19
+ singleQuote: boolean;
20
+ trailingComma: string;
21
+ jsdocDescriptionWithDot: boolean;
22
+ jsdocDescriptionTag: boolean;
23
+ jsdocCommentLineStrategy: string;
24
+ jsdocCapitalizeDescription: boolean;
25
+ jsdocSeparateTagGroups: boolean;
26
+ jsdocPreferCodeFences: boolean;
27
+ tsdoc: boolean;
28
+ semi?: undefined;
29
+ alignEntries?: undefined;
30
+ alignComments?: undefined;
31
+ arrayAutoExpand?: undefined;
32
+ arrayAutoCollapse?: undefined;
33
+ compactArrays?: undefined;
34
+ compactInlineTables?: undefined;
35
+ compactEntries?: undefined;
36
+ indentTables?: undefined;
37
+ indentEntries?: undefined;
38
+ reorderKeys?: undefined;
39
+ allowedBlankLines?: undefined;
40
+ objectWrap?: undefined;
41
+ };
42
+ } | {
43
+ files: string;
44
+ options: {
45
+ semi: boolean;
46
+ trailingComma: string;
47
+ parser: string;
48
+ singleQuote?: undefined;
49
+ jsdocDescriptionWithDot?: undefined;
50
+ jsdocDescriptionTag?: undefined;
51
+ jsdocCommentLineStrategy?: undefined;
52
+ jsdocCapitalizeDescription?: undefined;
53
+ jsdocSeparateTagGroups?: undefined;
54
+ jsdocPreferCodeFences?: undefined;
55
+ tsdoc?: undefined;
56
+ alignEntries?: undefined;
57
+ alignComments?: undefined;
58
+ arrayAutoExpand?: undefined;
59
+ arrayAutoCollapse?: undefined;
60
+ compactArrays?: undefined;
61
+ compactInlineTables?: undefined;
62
+ compactEntries?: undefined;
63
+ indentTables?: undefined;
64
+ indentEntries?: undefined;
65
+ reorderKeys?: undefined;
66
+ allowedBlankLines?: undefined;
67
+ objectWrap?: undefined;
68
+ };
69
+ } | {
70
+ files: string;
71
+ options: {
72
+ parser: string;
73
+ alignEntries: boolean;
74
+ alignComments: boolean;
75
+ arrayAutoExpand: boolean;
76
+ arrayAutoCollapse: boolean;
77
+ compactArrays: boolean;
78
+ compactInlineTables: boolean;
79
+ compactEntries: boolean;
80
+ indentTables: boolean;
81
+ indentEntries: boolean;
82
+ reorderKeys: boolean;
83
+ allowedBlankLines: number;
84
+ singleQuote?: undefined;
85
+ trailingComma?: undefined;
86
+ jsdocDescriptionWithDot?: undefined;
87
+ jsdocDescriptionTag?: undefined;
88
+ jsdocCommentLineStrategy?: undefined;
89
+ jsdocCapitalizeDescription?: undefined;
90
+ jsdocSeparateTagGroups?: undefined;
91
+ jsdocPreferCodeFences?: undefined;
92
+ tsdoc?: undefined;
93
+ semi?: undefined;
94
+ objectWrap?: undefined;
95
+ };
96
+ } | {
97
+ files: string;
98
+ options: {
99
+ parser: string;
100
+ singleQuote?: undefined;
101
+ trailingComma?: undefined;
102
+ jsdocDescriptionWithDot?: undefined;
103
+ jsdocDescriptionTag?: undefined;
104
+ jsdocCommentLineStrategy?: undefined;
105
+ jsdocCapitalizeDescription?: undefined;
106
+ jsdocSeparateTagGroups?: undefined;
107
+ jsdocPreferCodeFences?: undefined;
108
+ tsdoc?: undefined;
109
+ semi?: undefined;
110
+ alignEntries?: undefined;
111
+ alignComments?: undefined;
112
+ arrayAutoExpand?: undefined;
113
+ arrayAutoCollapse?: undefined;
114
+ compactArrays?: undefined;
115
+ compactInlineTables?: undefined;
116
+ compactEntries?: undefined;
117
+ indentTables?: undefined;
118
+ indentEntries?: undefined;
119
+ reorderKeys?: undefined;
120
+ allowedBlankLines?: undefined;
121
+ objectWrap?: undefined;
122
+ };
123
+ } | {
124
+ files: string;
125
+ options: {
126
+ parser: string;
127
+ trailingComma: string;
128
+ objectWrap: string;
129
+ singleQuote?: undefined;
130
+ jsdocDescriptionWithDot?: undefined;
131
+ jsdocDescriptionTag?: undefined;
132
+ jsdocCommentLineStrategy?: undefined;
133
+ jsdocCapitalizeDescription?: undefined;
134
+ jsdocSeparateTagGroups?: undefined;
135
+ jsdocPreferCodeFences?: undefined;
136
+ tsdoc?: undefined;
137
+ semi?: undefined;
138
+ alignEntries?: undefined;
139
+ alignComments?: undefined;
140
+ arrayAutoExpand?: undefined;
141
+ arrayAutoCollapse?: undefined;
142
+ compactArrays?: undefined;
143
+ compactInlineTables?: undefined;
144
+ compactEntries?: undefined;
145
+ indentTables?: undefined;
146
+ indentEntries?: undefined;
147
+ reorderKeys?: undefined;
148
+ allowedBlankLines?: undefined;
149
+ };
150
+ })[];
151
+ plugins: string[];
152
+ organizeImportsSkipDestructiveCodeActions: boolean;
153
+ }, "plugins"> & {
154
+ plugins: string[];
155
+ };
156
+ //#endregion
157
+ export { _default as default };
package/jsdoc.mjs ADDED
@@ -0,0 +1,101 @@
1
+ import { t as createConfig } from "./create-config-Db8IeV_K.mjs";
2
+ //#endregion
3
+ //#region src/jsdoc.ts
4
+ var jsdoc_default = createConfig({
5
+ proseWrap: "preserve",
6
+ trailingComma: "none",
7
+ tabWidth: 2,
8
+ semi: true,
9
+ singleQuote: false,
10
+ quoteProps: "as-needed",
11
+ insertPragma: false,
12
+ bracketSameLine: true,
13
+ printWidth: 80,
14
+ bracketSpacing: true,
15
+ arrowParens: "avoid",
16
+ endOfLine: "lf",
17
+ overrides: [
18
+ {
19
+ "files": "**/{*.ts,*.tsx,*.mts,*.cts}",
20
+ "options": {
21
+ "parser": "typescript",
22
+ "singleQuote": false,
23
+ "trailingComma": "none",
24
+ "jsdocDescriptionWithDot": false,
25
+ "jsdocDescriptionTag": true,
26
+ "jsdocCommentLineStrategy": "multiline",
27
+ "jsdocCapitalizeDescription": true,
28
+ "jsdocSeparateTagGroups": true,
29
+ "jsdocPreferCodeFences": true,
30
+ "tsdoc": true
31
+ }
32
+ },
33
+ {
34
+ "files": "**/*.mdx",
35
+ "options": {
36
+ "semi": false,
37
+ "trailingComma": "none",
38
+ "parser": "mdx"
39
+ }
40
+ },
41
+ {
42
+ "files": "**/*.md",
43
+ "options": {
44
+ "semi": false,
45
+ "trailingComma": "none",
46
+ "parser": "markdown"
47
+ }
48
+ },
49
+ {
50
+ "files": "**/*.toml",
51
+ "options": {
52
+ "parser": "toml",
53
+ "alignEntries": true,
54
+ "alignComments": true,
55
+ "arrayAutoExpand": true,
56
+ "arrayAutoCollapse": true,
57
+ "compactArrays": true,
58
+ "compactInlineTables": false,
59
+ "compactEntries": false,
60
+ "indentTables": false,
61
+ "indentEntries": false,
62
+ "reorderKeys": false,
63
+ "allowedBlankLines": 1
64
+ }
65
+ },
66
+ {
67
+ "files": "**/*.svg",
68
+ "options": { "parser": "html" }
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": { "parser": "html" }
81
+ },
82
+ {
83
+ "files": "**/*.prisma",
84
+ "options": { "parser": "prisma-parse" }
85
+ },
86
+ {
87
+ "files": "**/{*.acid,*.aci,*.acidic}",
88
+ "options": { "parser": "prisma-parse" }
89
+ }
90
+ ],
91
+ plugins: [
92
+ "prettier-plugin-sh",
93
+ "prettier-plugin-packagejson",
94
+ "prettier-plugin-jsdoc",
95
+ "prettier-plugin-toml",
96
+ "prettier-plugin-organize-imports"
97
+ ],
98
+ organizeImportsSkipDestructiveCodeActions: false
99
+ });
100
+ //#endregion
101
+ export { jsdoc_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/prettier",
3
- "version": "0.59.180",
3
+ "version": "0.59.182",
4
4
  "private": false,
5
5
  "description": "⚡ A package containing the base Prettier configuration used by Storm Software across many projects.",
6
6
  "keywords": [
@@ -37,14 +37,76 @@
37
37
  "default": { "types": "./index.d.mts", "default": "./index.mjs" }
38
38
  },
39
39
  "./config": {
40
- "require": { "types": "./index.d.cts", "default": "./index.cjs" },
41
- "import": { "types": "./index.d.mts", "default": "./index.mjs" },
42
- "default": { "types": "./index.d.mts", "default": "./index.mjs" }
40
+ "require": { "types": "./config.d.cts", "default": "./config.cjs" },
41
+ "import": { "types": "./config.d.mts", "default": "./config.mjs" },
42
+ "default": { "types": "./config.d.mts", "default": "./config.mjs" }
43
43
  },
44
44
  "./recommended": {
45
- "require": { "types": "./index.d.cts", "default": "./index.cjs" },
46
- "import": { "types": "./index.d.mts", "default": "./index.mjs" },
47
- "default": { "types": "./index.d.mts", "default": "./index.mjs" }
45
+ "require": {
46
+ "types": "./recommended.d.cts",
47
+ "default": "./recommended.cjs"
48
+ },
49
+ "import": {
50
+ "types": "./recommended.d.mts",
51
+ "default": "./recommended.mjs"
52
+ },
53
+ "default": {
54
+ "types": "./recommended.d.mts",
55
+ "default": "./recommended.mjs"
56
+ }
57
+ },
58
+ "./all": {
59
+ "require": { "types": "./all.d.cts", "default": "./all.cjs" },
60
+ "import": { "types": "./all.d.mts", "default": "./all.mjs" },
61
+ "default": { "types": "./all.d.mts", "default": "./all.mjs" }
62
+ },
63
+ "./base": {
64
+ "require": { "types": "./base.d.cts", "default": "./base.cjs" },
65
+ "import": { "types": "./base.d.mts", "default": "./base.mjs" },
66
+ "default": { "types": "./base.d.mts", "default": "./base.mjs" }
67
+ },
68
+ "./exclude-packagejson": {
69
+ "require": {
70
+ "types": "./exclude-packagejson.d.cts",
71
+ "default": "./exclude-packagejson.cjs"
72
+ },
73
+ "import": {
74
+ "types": "./exclude-packagejson.d.mts",
75
+ "default": "./exclude-packagejson.mjs"
76
+ },
77
+ "default": {
78
+ "types": "./exclude-packagejson.d.mts",
79
+ "default": "./exclude-packagejson.mjs"
80
+ }
81
+ },
82
+ "./jsdoc": {
83
+ "require": { "types": "./jsdoc.d.cts", "default": "./jsdoc.cjs" },
84
+ "import": { "types": "./jsdoc.d.mts", "default": "./jsdoc.mjs" },
85
+ "default": { "types": "./jsdoc.d.mts", "default": "./jsdoc.mjs" }
86
+ },
87
+ "./prisma": {
88
+ "require": { "types": "./prisma.d.cts", "default": "./prisma.cjs" },
89
+ "import": { "types": "./prisma.d.mts", "default": "./prisma.mjs" },
90
+ "default": { "types": "./prisma.d.mts", "default": "./prisma.mjs" }
91
+ },
92
+ "./solidity": {
93
+ "require": { "types": "./solidity.d.cts", "default": "./solidity.cjs" },
94
+ "import": { "types": "./solidity.d.mts", "default": "./solidity.mjs" },
95
+ "default": { "types": "./solidity.d.mts", "default": "./solidity.mjs" }
96
+ },
97
+ "./tailwindcss": {
98
+ "require": {
99
+ "types": "./tailwindcss.d.cts",
100
+ "default": "./tailwindcss.cjs"
101
+ },
102
+ "import": {
103
+ "types": "./tailwindcss.d.mts",
104
+ "default": "./tailwindcss.mjs"
105
+ },
106
+ "default": {
107
+ "types": "./tailwindcss.d.mts",
108
+ "default": "./tailwindcss.mjs"
109
+ }
48
110
  },
49
111
  "./.prettierignore": "./.prettierignore",
50
112
  "./.prettierignore-exclude-packagejson": "./.prettierignore-exclude-packagejson",
@@ -89,16 +151,26 @@
89
151
  },
90
152
  "peerDependencies": {
91
153
  "prettier-plugin-astro": ">=0.14.1",
154
+ "prettier-plugin-jsdoc": ">=1.8.1",
155
+ "prettier-plugin-organize-imports": ">=4.3.0",
156
+ "prettier-plugin-packagejson": ">=3.0.2",
92
157
  "prettier-plugin-prisma": ">=5.0.0",
158
+ "prettier-plugin-sh": ">=0.15.0",
93
159
  "prettier-plugin-solidity": ">=1.4.3",
94
- "prettier-plugin-tailwindcss": ">=0.6.14"
160
+ "prettier-plugin-tailwindcss": ">=0.6.14",
161
+ "prettier-plugin-toml": ">=2.0.6"
95
162
  },
96
163
  "peerDependenciesMeta": {
97
164
  "prettier-plugin-astro": { "optional": true },
165
+ "prettier-plugin-jsdoc": { "optional": false },
166
+ "prettier-plugin-organize-imports": { "optional": false },
167
+ "prettier-plugin-packagejson": { "optional": false },
98
168
  "prettier-plugin-prisma": { "optional": true },
169
+ "prettier-plugin-sh": { "optional": false },
99
170
  "prettier-plugin-solidity": { "optional": true },
100
- "prettier-plugin-tailwindcss": { "optional": true }
171
+ "prettier-plugin-tailwindcss": { "optional": true },
172
+ "prettier-plugin-toml": { "optional": false }
101
173
  },
102
174
  "publishConfig": { "access": "public" },
103
- "gitHead": "c2ac86f0ba71f6a5bb1e2da234950e23581b10e9"
175
+ "gitHead": "a332b626d374cda88bca3f472f7fa4d2da7b2963"
104
176
  }
package/prisma.cjs ADDED
@@ -0,0 +1,93 @@
1
+ //#endregion
2
+ //#region src/prisma.ts
3
+ var prisma_default = require("./create-config-CpywOPUk.cjs").createConfig({
4
+ proseWrap: "preserve",
5
+ trailingComma: "none",
6
+ tabWidth: 2,
7
+ semi: true,
8
+ singleQuote: false,
9
+ quoteProps: "as-needed",
10
+ insertPragma: false,
11
+ bracketSameLine: true,
12
+ printWidth: 80,
13
+ bracketSpacing: true,
14
+ arrowParens: "avoid",
15
+ endOfLine: "lf",
16
+ overrides: [
17
+ {
18
+ "files": "**/{*.ts,*.tsx,*.mts,*.cts}",
19
+ "options": {
20
+ "parser": "typescript",
21
+ "singleQuote": false,
22
+ "trailingComma": "none"
23
+ }
24
+ },
25
+ {
26
+ "files": "**/*.mdx",
27
+ "options": {
28
+ "semi": false,
29
+ "trailingComma": "none",
30
+ "parser": "mdx"
31
+ }
32
+ },
33
+ {
34
+ "files": "**/*.md",
35
+ "options": {
36
+ "semi": false,
37
+ "trailingComma": "none",
38
+ "parser": "markdown"
39
+ }
40
+ },
41
+ {
42
+ "files": "**/*.toml",
43
+ "options": {
44
+ "parser": "toml",
45
+ "alignEntries": true,
46
+ "alignComments": true,
47
+ "arrayAutoExpand": true,
48
+ "arrayAutoCollapse": true,
49
+ "compactArrays": true,
50
+ "compactInlineTables": false,
51
+ "compactEntries": false,
52
+ "indentTables": false,
53
+ "indentEntries": false,
54
+ "reorderKeys": false,
55
+ "allowedBlankLines": 1
56
+ }
57
+ },
58
+ {
59
+ "files": "**/*.svg",
60
+ "options": { "parser": "html" }
61
+ },
62
+ {
63
+ "files": "**/*.{json,jsonc,json5}",
64
+ "options": {
65
+ "parser": "json",
66
+ "trailingComma": "none",
67
+ "objectWrap": "preserve"
68
+ }
69
+ },
70
+ {
71
+ "files": "**/*.hbs",
72
+ "options": { "parser": "html" }
73
+ },
74
+ {
75
+ "files": "**/*.prisma",
76
+ "options": { "parser": "prisma-parse" }
77
+ },
78
+ {
79
+ "files": "**/{*.acid,*.aci,*.acidic}",
80
+ "options": { "parser": "prisma-parse" }
81
+ }
82
+ ],
83
+ plugins: [
84
+ "prettier-plugin-sh",
85
+ "prettier-plugin-packagejson",
86
+ "prettier-plugin-toml",
87
+ "prettier-plugin-organize-imports",
88
+ "prettier-plugin-prisma"
89
+ ],
90
+ organizeImportsSkipDestructiveCodeActions: false
91
+ });
92
+ //#endregion
93
+ module.exports = prisma_default;
package/prisma.d.cts ADDED
@@ -0,0 +1,121 @@
1
+ //#region src/prisma.d.ts
2
+ declare const _default: Omit<{
3
+ proseWrap: string;
4
+ trailingComma: string;
5
+ tabWidth: number;
6
+ semi: boolean;
7
+ singleQuote: boolean;
8
+ quoteProps: string;
9
+ insertPragma: boolean;
10
+ bracketSameLine: boolean;
11
+ printWidth: number;
12
+ bracketSpacing: boolean;
13
+ arrowParens: string;
14
+ endOfLine: string;
15
+ overrides: ({
16
+ files: string;
17
+ options: {
18
+ parser: string;
19
+ singleQuote: boolean;
20
+ trailingComma: string;
21
+ semi?: undefined;
22
+ alignEntries?: undefined;
23
+ alignComments?: undefined;
24
+ arrayAutoExpand?: undefined;
25
+ arrayAutoCollapse?: undefined;
26
+ compactArrays?: undefined;
27
+ compactInlineTables?: undefined;
28
+ compactEntries?: undefined;
29
+ indentTables?: undefined;
30
+ indentEntries?: undefined;
31
+ reorderKeys?: undefined;
32
+ allowedBlankLines?: undefined;
33
+ objectWrap?: undefined;
34
+ };
35
+ } | {
36
+ files: string;
37
+ options: {
38
+ semi: boolean;
39
+ trailingComma: string;
40
+ parser: string;
41
+ singleQuote?: undefined;
42
+ alignEntries?: undefined;
43
+ alignComments?: undefined;
44
+ arrayAutoExpand?: undefined;
45
+ arrayAutoCollapse?: undefined;
46
+ compactArrays?: undefined;
47
+ compactInlineTables?: undefined;
48
+ compactEntries?: undefined;
49
+ indentTables?: undefined;
50
+ indentEntries?: undefined;
51
+ reorderKeys?: undefined;
52
+ allowedBlankLines?: undefined;
53
+ objectWrap?: undefined;
54
+ };
55
+ } | {
56
+ files: string;
57
+ options: {
58
+ parser: string;
59
+ alignEntries: boolean;
60
+ alignComments: boolean;
61
+ arrayAutoExpand: boolean;
62
+ arrayAutoCollapse: boolean;
63
+ compactArrays: boolean;
64
+ compactInlineTables: boolean;
65
+ compactEntries: boolean;
66
+ indentTables: boolean;
67
+ indentEntries: boolean;
68
+ reorderKeys: boolean;
69
+ allowedBlankLines: number;
70
+ singleQuote?: undefined;
71
+ trailingComma?: undefined;
72
+ semi?: undefined;
73
+ objectWrap?: undefined;
74
+ };
75
+ } | {
76
+ files: string;
77
+ options: {
78
+ parser: string;
79
+ singleQuote?: undefined;
80
+ trailingComma?: undefined;
81
+ semi?: undefined;
82
+ alignEntries?: undefined;
83
+ alignComments?: undefined;
84
+ arrayAutoExpand?: undefined;
85
+ arrayAutoCollapse?: undefined;
86
+ compactArrays?: undefined;
87
+ compactInlineTables?: undefined;
88
+ compactEntries?: undefined;
89
+ indentTables?: undefined;
90
+ indentEntries?: undefined;
91
+ reorderKeys?: undefined;
92
+ allowedBlankLines?: undefined;
93
+ objectWrap?: undefined;
94
+ };
95
+ } | {
96
+ files: string;
97
+ options: {
98
+ parser: string;
99
+ trailingComma: string;
100
+ objectWrap: string;
101
+ singleQuote?: undefined;
102
+ semi?: undefined;
103
+ alignEntries?: undefined;
104
+ alignComments?: undefined;
105
+ arrayAutoExpand?: undefined;
106
+ arrayAutoCollapse?: undefined;
107
+ compactArrays?: undefined;
108
+ compactInlineTables?: undefined;
109
+ compactEntries?: undefined;
110
+ indentTables?: undefined;
111
+ indentEntries?: undefined;
112
+ reorderKeys?: undefined;
113
+ allowedBlankLines?: undefined;
114
+ };
115
+ })[];
116
+ plugins: string[];
117
+ organizeImportsSkipDestructiveCodeActions: boolean;
118
+ }, "plugins"> & {
119
+ plugins: string[];
120
+ };
121
+ export = _default;