worsier 3.7.0 → 3.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/configuration_schema.json +5 -0
- package/dist/types.d.ts +1 -0
- package/package.json +9 -9
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"square": "never"
|
|
31
31
|
},
|
|
32
32
|
"commentSpacing": true,
|
|
33
|
+
"exportLayout": true,
|
|
33
34
|
"importLayout": true,
|
|
34
35
|
"interfaceLayout": 0,
|
|
35
36
|
"objectPropertySpacing": true,
|
|
@@ -128,6 +129,10 @@
|
|
|
128
129
|
"type": "boolean",
|
|
129
130
|
"default": true
|
|
130
131
|
},
|
|
132
|
+
"exportLayout": {
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"default": true
|
|
135
|
+
},
|
|
131
136
|
"importLayout": {
|
|
132
137
|
"type": "boolean",
|
|
133
138
|
"default": true
|
package/dist/types.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface FormatConfig {
|
|
|
12
12
|
export interface RulesConfig {
|
|
13
13
|
bracketSpacing?: BracketSpacingConfig;
|
|
14
14
|
commentSpacing?: boolean;
|
|
15
|
+
exportLayout?: boolean;
|
|
15
16
|
importLayout?: boolean;
|
|
16
17
|
interfaceLayout?: number | InterfaceLayoutMode;
|
|
17
18
|
objectPropertySpacing?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worsier",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "A focused JavaScript, TypeScript, and Vue SFC script formatter powered by Rust",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"worsier-darwin-arm64": "3.
|
|
53
|
-
"worsier-win32-arm64-msvc": "3.
|
|
54
|
-
"worsier-linux-arm64-gnu": "3.
|
|
55
|
-
"worsier-linux-arm64-musl": "3.
|
|
56
|
-
"worsier-darwin-x64": "3.
|
|
57
|
-
"worsier-win32-x64-msvc": "3.
|
|
58
|
-
"worsier-linux-x64-gnu": "3.
|
|
59
|
-
"worsier-linux-x64-musl": "3.
|
|
52
|
+
"worsier-darwin-arm64": "3.8.0",
|
|
53
|
+
"worsier-win32-arm64-msvc": "3.8.0",
|
|
54
|
+
"worsier-linux-arm64-gnu": "3.8.0",
|
|
55
|
+
"worsier-linux-arm64-musl": "3.8.0",
|
|
56
|
+
"worsier-darwin-x64": "3.8.0",
|
|
57
|
+
"worsier-win32-x64-msvc": "3.8.0",
|
|
58
|
+
"worsier-linux-x64-gnu": "3.8.0",
|
|
59
|
+
"worsier-linux-x64-musl": "3.8.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "26.6.3",
|