@storm-software/prettier 0.30.11 → 0.31.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
@@ -1,3 +1,19 @@
1
+ ## 0.31.0 (2025-01-28)
2
+
3
+ ### Features
4
+
5
+ - **prettier:** Added `solidity` configuration option ([24a85f8c](https://github.com/storm-software/storm-ops/commit/24a85f8c))
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Generate README markdown files ([a28c725e](https://github.com/storm-software/storm-ops/commit/a28c725e))
10
+
11
+ ## 0.30.12 (2025-01-28)
12
+
13
+ ### Miscellaneous
14
+
15
+ - **monorepo:** Regenerate README markdown files ([4540dfe1](https://github.com/storm-software/storm-ops/commit/4540dfe1))
16
+
1
17
  ## 0.30.11 (2025-01-28)
2
18
 
3
19
  ### 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.30.10-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.30.12-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/config.json CHANGED
@@ -43,25 +43,13 @@
43
43
  "options": {
44
44
  "parser": "prisma-parse"
45
45
  }
46
- },
47
- {
48
- "files": "**/*.sol",
49
- "options": {
50
- "parser": "solidity-parse",
51
- "printWidth": 80,
52
- "tabWidth": 4,
53
- "useTabs": false,
54
- "singleQuote": false,
55
- "bracketSpacing": false
56
- }
57
46
  }
58
47
  ],
59
48
  "plugins": [
60
49
  "prettier-plugin-sh",
61
50
  "prettier-plugin-pkg",
62
51
  "prettier-plugin-prisma",
63
- "prettier-plugin-organize-imports",
64
- "prettier-plugin-solidity"
52
+ "prettier-plugin-organize-imports"
65
53
  ],
66
54
  "organizeImportsSkipDestructiveCodeActions": false
67
55
  }
package/index.cjs CHANGED
@@ -44,25 +44,13 @@ module.exports = {
44
44
  "options": {
45
45
  "parser": "prisma-parse"
46
46
  }
47
- },
48
- {
49
- "files": "**/*.sol",
50
- "options": {
51
- "parser": "solidity-parse",
52
- "printWidth": 80,
53
- "tabWidth": 4,
54
- "useTabs": false,
55
- "singleQuote": false,
56
- "bracketSpacing": false
57
- }
58
47
  }
59
48
  ],
60
49
  "plugins": [
61
50
  "prettier-plugin-sh",
62
51
  "prettier-plugin-pkg",
63
52
  "prettier-plugin-prisma",
64
- "prettier-plugin-organize-imports",
65
- "prettier-plugin-solidity"
53
+ "prettier-plugin-organize-imports"
66
54
  ],
67
55
  "organizeImportsSkipDestructiveCodeActions": false
68
56
  };
package/meta.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "inputs": {
3
3
  "packages/prettier/src/index.ts": {
4
- "bytes": 1392,
4
+ "bytes": 1120,
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": 1392
16
+ "bytesInOutput": 1120
17
17
  }
18
18
  },
19
- "bytes": 1426
19
+ "bytes": 1154
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.30.11",
3
+ "version": "0.31.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": {
@@ -23,6 +23,7 @@
23
23
  "./.prettierignore": "./.prettierignore",
24
24
  "./config.json": "./config.json",
25
25
  "./tailwindcss.json": "./tailwindcss.json",
26
+ "./solidity.json": "./solidity.json",
26
27
  "./package.json": "./package.json"
27
28
  },
28
29
  "keywords": [
@@ -35,17 +36,11 @@
35
36
  ],
36
37
  "peerDependencies": {
37
38
  "prettier": "^3.3.3",
38
- "prettier-plugin-organize-imports": "4.0.0",
39
- "prettier-plugin-pkg": "0.18.1",
40
- "prettier-plugin-sh": "0.14.0",
41
39
  "prettier-plugin-solidity": "1.3.1",
42
40
  "prettier-plugin-tailwindcss": "0.6.5"
43
41
  },
44
42
  "peerDependenciesMeta": {
45
43
  "prettier": { "optional": false },
46
- "prettier-plugin-organize-imports": { "optional": false },
47
- "prettier-plugin-pkg": { "optional": false },
48
- "prettier-plugin-sh": { "optional": false },
49
44
  "prettier-plugin-solidity": { "optional": true },
50
45
  "prettier-plugin-tailwindcss": { "optional": true }
51
46
  },
@@ -53,12 +48,12 @@
53
48
  "prettier-plugin-organize-imports": "4.0.0",
54
49
  "prettier-plugin-pkg": "0.18.1",
55
50
  "prettier-plugin-prisma": "5.0.0",
56
- "prettier-plugin-sh": "0.14.0",
57
- "prettier-plugin-solidity": "1.3.1"
51
+ "prettier-plugin-sh": "0.14.0"
58
52
  },
59
53
  "devDependencies": {
60
54
  "@types/node": "^22.10.2",
61
55
  "prettier": "^3.3.3",
56
+ "prettier-plugin-solidity": "1.3.1",
62
57
  "prettier-plugin-tailwindcss": "0.6.5"
63
58
  },
64
59
  "publishConfig": { "access": "public" }
package/solidity.json ADDED
@@ -0,0 +1,67 @@
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": "**/*.md{,x}",
17
+ "options": {
18
+ "semi": false,
19
+ "trailingComma": "none"
20
+ }
21
+ },
22
+ {
23
+ "files": "**/*.svg",
24
+ "options": {
25
+ "parser": "html"
26
+ }
27
+ },
28
+ { "files": "**/*.json", "options": { "trailingComma": "none" } },
29
+ {
30
+ "files": "**/*.hbs",
31
+ "options": {
32
+ "parser": "html"
33
+ }
34
+ },
35
+ {
36
+ "files": "**/*.prisma",
37
+ "options": {
38
+ "parser": "prisma-parse"
39
+ }
40
+ },
41
+ {
42
+ "files": "**/{*.acid,*.aci,*.acidic}",
43
+ "options": {
44
+ "parser": "prisma-parse"
45
+ }
46
+ },
47
+ {
48
+ "files": "**/*.sol",
49
+ "options": {
50
+ "parser": "solidity-parse",
51
+ "printWidth": 80,
52
+ "tabWidth": 4,
53
+ "useTabs": false,
54
+ "singleQuote": false,
55
+ "bracketSpacing": false
56
+ }
57
+ }
58
+ ],
59
+ "plugins": [
60
+ "prettier-plugin-sh",
61
+ "prettier-plugin-pkg",
62
+ "prettier-plugin-prisma",
63
+ "prettier-plugin-organize-imports",
64
+ "prettier-plugin-solidity"
65
+ ],
66
+ "organizeImportsSkipDestructiveCodeActions": false
67
+ }