worsier 3.0.0 → 3.1.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 +6 -0
- package/dist/types.d.ts +1 -0
- package/package.json +12 -12
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"statementSpacing": {
|
|
37
37
|
"controlFlowStatements": "separate",
|
|
38
38
|
"imports": "separate",
|
|
39
|
+
"multilineCallStatements": "separate",
|
|
39
40
|
"returnStatements": "separate",
|
|
40
41
|
"typeAliases": "separate",
|
|
41
42
|
"variableDeclarations": "separate"
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"default": {
|
|
98
99
|
"controlFlowStatements": "separate",
|
|
99
100
|
"imports": "separate",
|
|
101
|
+
"multilineCallStatements": "separate",
|
|
100
102
|
"returnStatements": "separate",
|
|
101
103
|
"typeAliases": "separate",
|
|
102
104
|
"variableDeclarations": "separate"
|
|
@@ -146,6 +148,10 @@
|
|
|
146
148
|
"$ref": "#/$defs/StatementSpacingMode",
|
|
147
149
|
"default": "separate"
|
|
148
150
|
},
|
|
151
|
+
"multilineCallStatements": {
|
|
152
|
+
"$ref": "#/$defs/StatementSpacingMode",
|
|
153
|
+
"default": "separate"
|
|
154
|
+
},
|
|
149
155
|
"returnStatements": {
|
|
150
156
|
"$ref": "#/$defs/StatementSpacingMode",
|
|
151
157
|
"default": "separate"
|
package/dist/types.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface SemicolonConfig {
|
|
|
22
22
|
export interface StatementSpacingConfig {
|
|
23
23
|
controlFlowStatements?: 'separate' | 'compact' | 'off';
|
|
24
24
|
imports?: 'separate' | 'compact' | 'off';
|
|
25
|
+
multilineCallStatements?: 'separate' | 'compact' | 'off';
|
|
25
26
|
returnStatements?: 'separate' | 'compact' | 'off';
|
|
26
27
|
typeAliases?: 'separate' | 'compact' | 'off';
|
|
27
28
|
variableDeclarations?: 'separate' | 'compact' | 'off';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worsier",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A focused JavaScript, TypeScript, and Vue SFC script formatter powered by Rust",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "tsc -p tsconfig.json",
|
|
34
|
-
"build:native": "node scripts/build-native.
|
|
35
|
-
"test": "node --test test/*.test.
|
|
36
|
-
"test:packed": "node scripts/test-packed-package.
|
|
34
|
+
"build:native": "node scripts/build-native.mts",
|
|
35
|
+
"test": "node --test test/*.test.mts",
|
|
36
|
+
"test:packed": "node scripts/test-packed-package.mts"
|
|
37
37
|
},
|
|
38
38
|
"napi": {
|
|
39
39
|
"binaryName": "worsier",
|
|
@@ -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.1.0",
|
|
53
|
+
"worsier-win32-arm64-msvc": "3.1.0",
|
|
54
|
+
"worsier-linux-arm64-gnu": "3.1.0",
|
|
55
|
+
"worsier-linux-arm64-musl": "3.1.0",
|
|
56
|
+
"worsier-darwin-x64": "3.1.0",
|
|
57
|
+
"worsier-win32-x64-msvc": "3.1.0",
|
|
58
|
+
"worsier-linux-x64-gnu": "3.1.0",
|
|
59
|
+
"worsier-linux-x64-musl": "3.1.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "26.2.0",
|