@storm-software/prettier 0.5.0 → 0.8.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/.prettierignore +1 -1
- package/CHANGELOG.md +21 -0
- package/config.json +1 -11
- package/import-order.json +69 -0
- package/index.cjs +2 -13
- package/meta.json +1 -1
- package/package.json +15 -3
- package/tailwindcss.json +60 -0
package/.prettierignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## 0.8.0 (2024-07-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🚀 Features
|
|
5
|
+
|
|
6
|
+
- **prettier:** Added a separate configuration json for import sorting ([c29219a4](https://github.com/storm-software/storm-ops/commit/c29219a4))
|
|
7
|
+
|
|
8
|
+
## 0.7.0 (2024-07-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### 🚀 Features
|
|
12
|
+
|
|
13
|
+
- **prettier:** Remove duplicate import sorting plugin ([bcb27e5a](https://github.com/storm-software/storm-ops/commit/bcb27e5a))
|
|
14
|
+
|
|
15
|
+
## 0.6.0 (2024-07-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### 🚀 Features
|
|
19
|
+
|
|
20
|
+
- **markdownlint:** Added markdownlint v1 json configuration ([9fbd4fd0](https://github.com/storm-software/storm-ops/commit/9fbd4fd0))
|
|
21
|
+
|
|
1
22
|
## 0.5.0 (2024-06-22)
|
|
2
23
|
|
|
3
24
|
|
package/config.json
CHANGED
|
@@ -54,16 +54,6 @@
|
|
|
54
54
|
"plugins": [
|
|
55
55
|
"prettier-plugin-sh",
|
|
56
56
|
"prettier-plugin-pkg",
|
|
57
|
-
"@ianvs/prettier-plugin-sort-imports",
|
|
58
57
|
"prettier-plugin-prisma"
|
|
59
|
-
]
|
|
60
|
-
"importOrder": [
|
|
61
|
-
"^react(-dom)?$",
|
|
62
|
-
"^next(/.*|$)",
|
|
63
|
-
"<THIRD_PARTY_MODULES>",
|
|
64
|
-
"^(@|\\d|_)",
|
|
65
|
-
"^(?=\\.+)(.(?!\\.(graphql|css|png|svg|jpe?g|webp|avif|wasm|mp4|webm)))+$",
|
|
66
|
-
"^.+\\.(graphql|css|png|svg|jpe?g|webp|avif|wasm|mp4|webm)$"
|
|
67
|
-
],
|
|
68
|
-
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
|
|
58
|
+
]
|
|
69
59
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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": "**/*.aci",
|
|
37
|
+
"options": {
|
|
38
|
+
"parser": "prisma-parse"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"files": "**/*.acid",
|
|
43
|
+
"options": {
|
|
44
|
+
"parser": "prisma-parse"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"files": "**/*.acidic",
|
|
49
|
+
"options": {
|
|
50
|
+
"parser": "prisma-parse"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"plugins": [
|
|
55
|
+
"prettier-plugin-sh",
|
|
56
|
+
"prettier-plugin-pkg",
|
|
57
|
+
"@ianvs/prettier-plugin-sort-imports",
|
|
58
|
+
"prettier-plugin-prisma"
|
|
59
|
+
],
|
|
60
|
+
"importOrder": [
|
|
61
|
+
"^react(-dom)?$",
|
|
62
|
+
"^next(/.*|$)",
|
|
63
|
+
"<THIRD_PARTY_MODULES>",
|
|
64
|
+
"^(@|\\d|_)",
|
|
65
|
+
"^(?=\\.+)(.(?!\\.(graphql|css|png|svg|jpe?g|webp|avif|wasm|mp4|webm)))+$",
|
|
66
|
+
"^.+\\.(graphql|css|png|svg|jpe?g|webp|avif|wasm|mp4|webm)$"
|
|
67
|
+
],
|
|
68
|
+
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
|
|
69
|
+
}
|
package/index.cjs
CHANGED
|
@@ -49,17 +49,6 @@ module.exports = {
|
|
|
49
49
|
"plugins": [
|
|
50
50
|
"prettier-plugin-sh",
|
|
51
51
|
"prettier-plugin-pkg",
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"prettier-plugin-tailwindcss"
|
|
55
|
-
],
|
|
56
|
-
"importOrder": [
|
|
57
|
-
"^react(-dom)?$",
|
|
58
|
-
"^next(/.*|$)",
|
|
59
|
-
"<THIRD_PARTY_MODULES>",
|
|
60
|
-
"^(@|\\d|_)",
|
|
61
|
-
"^(?=\\.+)(.(?!\\.(graphql|css|png|svg|jpe?g|webp|avif|wasm|mp4|webm)))+$",
|
|
62
|
-
"^.+\\.(graphql|css|png|svg|jpe?g|webp|avif|wasm|mp4|webm)$"
|
|
63
|
-
],
|
|
64
|
-
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
|
|
52
|
+
"prettier-plugin-prisma"
|
|
53
|
+
]
|
|
65
54
|
};
|
package/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/prettier/src/index.ts":{"bytes":
|
|
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}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/prettier",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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": {
|
|
@@ -35,10 +35,22 @@
|
|
|
35
35
|
"monorepo"
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"prettier": "
|
|
38
|
+
"@ianvs/prettier-plugin-sort-imports": "4.2.1",
|
|
39
|
+
"prettier": "^3.3.0",
|
|
40
|
+
"prettier-plugin-tailwindcss": "0.6.5"
|
|
41
|
+
},
|
|
42
|
+
"peerDependenciesMeta": {
|
|
43
|
+
"@ianvs/prettier-plugin-sort-imports": {
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
"prettier": {
|
|
47
|
+
"optional": false
|
|
48
|
+
},
|
|
49
|
+
"prettier-plugin-tailwindcss": {
|
|
50
|
+
"optional": true
|
|
51
|
+
}
|
|
39
52
|
},
|
|
40
53
|
"dependencies": {
|
|
41
|
-
"@ianvs/prettier-plugin-sort-imports": "4.2.1",
|
|
42
54
|
"prettier-plugin-pkg": "0.18.1",
|
|
43
55
|
"prettier-plugin-prisma": "5.0.0",
|
|
44
56
|
"prettier-plugin-sh": "0.14.0"
|
package/tailwindcss.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
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": "**/*.aci",
|
|
37
|
+
"options": {
|
|
38
|
+
"parser": "prisma-parse"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"files": "**/*.acid",
|
|
43
|
+
"options": {
|
|
44
|
+
"parser": "prisma-parse"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"files": "**/*.acidic",
|
|
49
|
+
"options": {
|
|
50
|
+
"parser": "prisma-parse"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"plugins": [
|
|
55
|
+
"prettier-plugin-sh",
|
|
56
|
+
"prettier-plugin-pkg",
|
|
57
|
+
"prettier-plugin-tailwindcss",
|
|
58
|
+
"prettier-plugin-prisma"
|
|
59
|
+
]
|
|
60
|
+
}
|