@storm-software/prettier 0.1.0 → 0.2.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 +12 -3
- package/index.cjs +65 -0
- package/meta.json +1 -1
- package/package.json +3 -2
- package/index.js +0 -71
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
## 0.
|
|
1
|
+
## 0.2.0 (2024-06-05)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
2
4
|
|
|
5
|
+
- **eslint-plugin:** Added the `apply` helper function
|
|
6
|
+
([ab919d5e](https://github.com/storm-software/storm-ops/commit/ab919d5e))
|
|
7
|
+
|
|
8
|
+
## 0.1.0 (2024-06-05)
|
|
3
9
|
|
|
4
10
|
### 🚀 Features
|
|
5
11
|
|
|
6
|
-
- **eslint-plugin:** Added the `eslint` and `prittier` base packages
|
|
12
|
+
- **eslint-plugin:** Added the `eslint` and `prittier` base packages
|
|
13
|
+
([b2d63d0f](https://github.com/storm-software/storm-ops/commit/b2d63d0f))
|
|
7
14
|
|
|
8
|
-
- **workspace-tools:** Update `preset` generator with Storm `eslint-plugin` and
|
|
15
|
+
- **workspace-tools:** Update `preset` generator with Storm `eslint-plugin` and
|
|
16
|
+
`prettier` config
|
|
17
|
+
([24ae7683](https://github.com/storm-software/storm-ops/commit/24ae7683))
|
package/index.cjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// packages/prettier/src/index.ts
|
|
2
|
+
module.exports = {
|
|
3
|
+
"proseWrap": "always",
|
|
4
|
+
"trailingComma": "none",
|
|
5
|
+
"tabWidth": 2,
|
|
6
|
+
"semi": true,
|
|
7
|
+
"singleQuote": false,
|
|
8
|
+
"quoteProps": "preserve",
|
|
9
|
+
"insertPragma": false,
|
|
10
|
+
"bracketSameLine": true,
|
|
11
|
+
"printWidth": 80,
|
|
12
|
+
"bracketSpacing": true,
|
|
13
|
+
"arrowParens": "avoid",
|
|
14
|
+
"endOfLine": "lf",
|
|
15
|
+
"overrides": [
|
|
16
|
+
{
|
|
17
|
+
"files": "*.md{,x}",
|
|
18
|
+
"options": {
|
|
19
|
+
"semi": false,
|
|
20
|
+
"trailingComma": "none"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"files": "*.svg",
|
|
25
|
+
"options": {
|
|
26
|
+
"parser": "html"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{ "files": "*.json", "options": { "trailingComma": "none" } },
|
|
30
|
+
{
|
|
31
|
+
"files": "**/*.hbs",
|
|
32
|
+
"options": {
|
|
33
|
+
"parser": "html"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"files": "**/*.acid",
|
|
38
|
+
"options": {
|
|
39
|
+
"parser": "prisma-parse"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"files": "**/*.acidic",
|
|
44
|
+
"options": {
|
|
45
|
+
"parser": "prisma-parse"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"plugins": [
|
|
50
|
+
"prettier-plugin-sh",
|
|
51
|
+
"prettier-plugin-pkg",
|
|
52
|
+
"@ianvs/prettier-plugin-sort-imports",
|
|
53
|
+
"prettier-plugin-prisma",
|
|
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"]
|
|
65
|
+
};
|
package/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/prettier/src/
|
|
1
|
+
{"inputs":{"packages/prettier/src/index.ts":{"bytes":1410,"imports":[],"format":"cjs"}},"outputs":{"dist/packages/prettier/index.cjs":{"imports":[],"exports":[],"entryPoint":"packages/prettier/src/index.ts","inputs":{"packages/prettier/src/index.ts":{"bytesInOutput":1410}},"bytes":1444}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/prettier",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.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": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"private": false,
|
|
23
23
|
"exports": {
|
|
24
|
-
".": "./index.
|
|
24
|
+
".": "./index.cjs",
|
|
25
|
+
"./index": "./index.cjs",
|
|
25
26
|
"./.prettierignore": "./.prettierignore",
|
|
26
27
|
"./config.json": "./config.json",
|
|
27
28
|
"./package.json": "./package.json"
|
package/index.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
// packages/prettier/src/config.json
|
|
2
|
-
var config_default = {
|
|
3
|
-
proseWrap: "always",
|
|
4
|
-
trailingComma: "none",
|
|
5
|
-
tabWidth: 2,
|
|
6
|
-
semi: true,
|
|
7
|
-
singleQuote: false,
|
|
8
|
-
quoteProps: "preserve",
|
|
9
|
-
insertPragma: false,
|
|
10
|
-
bracketSameLine: true,
|
|
11
|
-
printWidth: 80,
|
|
12
|
-
bracketSpacing: true,
|
|
13
|
-
arrowParens: "avoid",
|
|
14
|
-
endOfLine: "lf",
|
|
15
|
-
overrides: [
|
|
16
|
-
{
|
|
17
|
-
files: "*.md{,x}",
|
|
18
|
-
options: {
|
|
19
|
-
semi: false,
|
|
20
|
-
trailingComma: "none"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
files: "*.svg",
|
|
25
|
-
options: {
|
|
26
|
-
parser: "html"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
{ files: "*.json", options: { trailingComma: "none" } },
|
|
30
|
-
{
|
|
31
|
-
files: "**/*.hbs",
|
|
32
|
-
options: {
|
|
33
|
-
parser: "html"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
files: "**/*.acid",
|
|
38
|
-
options: {
|
|
39
|
-
parser: "prisma-parse"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
files: "**/*.acidic",
|
|
44
|
-
options: {
|
|
45
|
-
parser: "prisma-parse"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
plugins: [
|
|
50
|
-
"prettier-plugin-sh",
|
|
51
|
-
"prettier-plugin-pkg",
|
|
52
|
-
"@ianvs/prettier-plugin-sort-imports",
|
|
53
|
-
"prettier-plugin-prisma",
|
|
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"]
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
// packages/prettier/src/index.ts
|
|
68
|
-
var src_default = config_default;
|
|
69
|
-
export {
|
|
70
|
-
src_default as default
|
|
71
|
-
};
|