@biomejs/backend-jsonrpc 1.2.0 → 1.2.2

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/package.json +1 -1
  2. package/src/workspace.ts +3 -3
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/backend-jsonrpc","version":"1.2.0","main":"dist/index.js","scripts":{"test":"vitest","test:ci":"pnpm build && vitest --run","tsc":"tsc --noEmit","build":"tsc"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"npm/backend-jsonrpc"},"author":"Biome Developers and Contributors","bugs":"https://github.com/biomejs/biome/issues","description":"Bindings to the JSON-RPC Workspace API of the Biome daemon","keywords":["JavaScript","TypeScript","format","lint","toolchain"],"engines":{"node":">=14.*"},"license":"MIT","devDependencies":{"@types/node":"^18.7.2","typescript":"^4.8.2","vite":"^3.0.8","vitest":"^0.22.0"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.2.0","@biomejs/cli-win32-arm64":"1.2.0","@biomejs/cli-darwin-x64":"1.2.0","@biomejs/cli-darwin-arm64":"1.2.0","@biomejs/cli-linux-x64":"1.2.0","@biomejs/cli-linux-arm64":"1.2.0"}}
1
+ {"name":"@biomejs/backend-jsonrpc","version":"1.2.2","main":"dist/index.js","scripts":{"test":"vitest","test:ci":"pnpm build && vitest --run","tsc":"tsc --noEmit","build":"tsc"},"homepage":"https://biomejs.dev","repository":{"type":"git","url":"https://github.com/biomejs/biome.git","directory":"npm/backend-jsonrpc"},"author":"Biome Developers and Contributors","bugs":"https://github.com/biomejs/biome/issues","description":"Bindings to the JSON-RPC Workspace API of the Biome daemon","keywords":["JavaScript","TypeScript","format","lint","toolchain"],"engines":{"node":">=14.*"},"license":"MIT","devDependencies":{"@types/node":"^18.7.2","typescript":"^4.8.2","vite":"^3.0.8","vitest":"^0.22.0"},"optionalDependencies":{"@biomejs/cli-win32-x64":"1.2.2","@biomejs/cli-win32-arm64":"1.2.2","@biomejs/cli-darwin-x64":"1.2.2","@biomejs/cli-darwin-arm64":"1.2.2","@biomejs/cli-linux-x64":"1.2.2","@biomejs/cli-linux-arm64":"1.2.2"}}
package/src/workspace.ts CHANGED
@@ -256,15 +256,15 @@ export interface JsonFormatter {
256
256
  /**
257
257
  * The size of the indentation applied to JSON (and its super languages) files. Default to 2.
258
258
  */
259
- indent_size?: number;
259
+ indentSize?: number;
260
260
  /**
261
261
  * The indent style applied to JSON (and its super languages) files.
262
262
  */
263
- indent_style?: PlainIndentStyle;
263
+ indentStyle?: PlainIndentStyle;
264
264
  /**
265
265
  * What's the max width of a line, applied to JSON (and its super languages) files. Defaults to 80.
266
266
  */
267
- line_width?: LineWidth;
267
+ lineWidth?: LineWidth;
268
268
  }
269
269
  /**
270
270
  * Options that changes how the JSON parser behaves