@storm-software/prettier 0.11.0 → 0.12.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,17 @@
1
+ ## 0.12.0 (2024-07-29)
2
+
3
+
4
+ ### Features
5
+
6
+ - **prettier:** Added `prettier-plugin-solidity` configuration ([2f20befd](https://github.com/storm-software/storm-ops/commit/2f20befd))
7
+
8
+ ## 0.11.1 (2024-07-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ - **eslint:** Resolve issues with `json` plugin config spread ([088d498a](https://github.com/storm-software/storm-ops/commit/088d498a))
14
+
1
15
  ## 0.11.0 (2024-07-23)
2
16
 
3
17
 
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.9.0-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.12.0-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
@@ -13,19 +13,19 @@
13
13
  "endOfLine": "lf",
14
14
  "overrides": [
15
15
  {
16
- "files": "*.md{,x}",
16
+ "files": "**/*.md{,x}",
17
17
  "options": {
18
18
  "semi": false,
19
19
  "trailingComma": "none"
20
20
  }
21
21
  },
22
22
  {
23
- "files": "*.svg",
23
+ "files": "**/*.svg",
24
24
  "options": {
25
25
  "parser": "html"
26
26
  }
27
27
  },
28
- { "files": "*.json", "options": { "trailingComma": "none" } },
28
+ { "files": "**/*.json", "options": { "trailingComma": "none" } },
29
29
  {
30
30
  "files": "**/*.hbs",
31
31
  "options": {
@@ -33,21 +33,26 @@
33
33
  }
34
34
  },
35
35
  {
36
- "files": "**/*.aci",
36
+ "files": "**/*.prisma",
37
37
  "options": {
38
38
  "parser": "prisma-parse"
39
39
  }
40
40
  },
41
41
  {
42
- "files": "**/*.acid",
42
+ "files": "**/{*.acid,*.aci,*.acidic}",
43
43
  "options": {
44
44
  "parser": "prisma-parse"
45
45
  }
46
46
  },
47
47
  {
48
- "files": "**/*.acidic",
48
+ "files": "**/*.sol",
49
49
  "options": {
50
- "parser": "prisma-parse"
50
+ "parser": "solidity-parse",
51
+ "printWidth": 80,
52
+ "tabWidth": 4,
53
+ "useTabs": false,
54
+ "singleQuote": false,
55
+ "bracketSpacing": false
51
56
  }
52
57
  }
53
58
  ],
@@ -55,7 +60,8 @@
55
60
  "prettier-plugin-sh",
56
61
  "prettier-plugin-pkg",
57
62
  "prettier-plugin-prisma",
58
- "prettier-plugin-organize-imports"
63
+ "prettier-plugin-organize-imports",
64
+ "prettier-plugin-solidity"
59
65
  ],
60
66
  "organizeImportsSkipDestructiveCodeActions": false
61
67
  }
package/index.cjs CHANGED
@@ -14,19 +14,19 @@ module.exports = {
14
14
  "endOfLine": "lf",
15
15
  "overrides": [
16
16
  {
17
- "files": "*.md{,x}",
17
+ "files": "**/*.md{,x}",
18
18
  "options": {
19
19
  "semi": false,
20
20
  "trailingComma": "none"
21
21
  }
22
22
  },
23
23
  {
24
- "files": "*.svg",
24
+ "files": "**/*.svg",
25
25
  "options": {
26
26
  "parser": "html"
27
27
  }
28
28
  },
29
- { "files": "*.json", "options": { "trailingComma": "none" } },
29
+ { "files": "**/*.json", "options": { "trailingComma": "none" } },
30
30
  {
31
31
  "files": "**/*.hbs",
32
32
  "options": {
@@ -34,21 +34,35 @@ module.exports = {
34
34
  }
35
35
  },
36
36
  {
37
- "files": "**/*.acid",
37
+ "files": "**/*.prisma",
38
38
  "options": {
39
39
  "parser": "prisma-parse"
40
40
  }
41
41
  },
42
42
  {
43
- "files": "**/*.acidic",
43
+ "files": "**/{*.acid,*.aci,*.acidic}",
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
+ }
47
58
  }
48
59
  ],
49
60
  "plugins": [
50
61
  "prettier-plugin-sh",
51
62
  "prettier-plugin-pkg",
52
- "prettier-plugin-prisma"
53
- ]
63
+ "prettier-plugin-prisma",
64
+ "prettier-plugin-organize-imports",
65
+ "prettier-plugin-solidity"
66
+ ],
67
+ "organizeImportsSkipDestructiveCodeActions": false
54
68
  };
package/meta.json CHANGED
@@ -1 +1 @@
1
- {"inputs":{"packages/prettier/src/index.ts":{"bytes":1000,"imports":[],"format":"cjs"}},"outputs":{"dist/packages/prettier/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/prettier/src/index.ts","inputs":{"packages/prettier/src/index.ts":{"bytesInOutput":1000}},"bytes":1034}}}
1
+ {"inputs":{"packages/prettier/src/index.ts":{"bytes":1392,"imports":[],"format":"cjs"}},"outputs":{"dist/packages/prettier/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/prettier/src/index.ts","inputs":{"packages/prettier/src/index.ts":{"bytesInOutput":1392}},"bytes":1426}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/prettier",
3
- "version": "0.11.0",
3
+ "version": "0.12.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": {
@@ -52,7 +52,8 @@
52
52
  "prettier-plugin-organize-imports": "4.0.0",
53
53
  "prettier-plugin-pkg": "0.18.1",
54
54
  "prettier-plugin-prisma": "5.0.0",
55
- "prettier-plugin-sh": "0.14.0"
55
+ "prettier-plugin-sh": "0.14.0",
56
+ "prettier-plugin-solidity": "1.3.1"
56
57
  },
57
58
  "devDependencies": {
58
59
  "@types/prettier": "3.0.0"