worsier 2.5.0 → 2.7.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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -14,6 +14,12 @@ pnpm exec worsier --write .
14
14
 
15
15
  The CLI uses its opinionated defaults without a configuration file. An optional `worsier.jsonc`
16
16
  can override them; run `pnpm exec worsier --init` to create the complete typed configuration.
17
+ Run `pnpm exec worsier --update-config` to migrate a Worsier v1 configuration and expand it with
18
+ every current default. It updates `./worsier.jsonc`; pass `--config PATH` to select one other file.
19
+ Existing values and JSONC comments are preserved, and formatting never updates the file implicitly.
20
+ Only registered v1 keys are migrated; v0.1 configurations and unknown keys remain errors.
21
+ Directory discovery skips `.git`, `node_modules`, and Wrangler's generated
22
+ `worker-configuration.d.ts`. Pass an ignored file explicitly when you do want Worsier to process it.
17
23
 
18
24
  By default, every nonempty TypeScript interface is expanded with one member per line. Set
19
25
  `rules.interfaceLayout` to a member threshold from `0` through `4294967295`, or to `"off"` to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worsier",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "A focused JavaScript and TypeScript import, interface-layout, semicolon, trailing-comma, and statement-boundary 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": "2.5.0",
53
- "worsier-win32-arm64-msvc": "2.5.0",
54
- "worsier-linux-arm64-gnu": "2.5.0",
55
- "worsier-linux-arm64-musl": "2.5.0",
56
- "worsier-darwin-x64": "2.5.0",
57
- "worsier-win32-x64-msvc": "2.5.0",
58
- "worsier-linux-x64-gnu": "2.5.0",
59
- "worsier-linux-x64-musl": "2.5.0"
52
+ "worsier-darwin-arm64": "2.7.0",
53
+ "worsier-win32-arm64-msvc": "2.7.0",
54
+ "worsier-linux-arm64-gnu": "2.7.0",
55
+ "worsier-linux-arm64-musl": "2.7.0",
56
+ "worsier-darwin-x64": "2.7.0",
57
+ "worsier-win32-x64-msvc": "2.7.0",
58
+ "worsier-linux-x64-gnu": "2.7.0",
59
+ "worsier-linux-x64-musl": "2.7.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "26.2.0",