@biomejs/backend-jsonrpc
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,1 +0,1 @@ | ||
{"name":"@biomejs/backend-jsonrpc","version":"1.0.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.0.0","@biomejs/cli-win32-arm64":"1.0.0","@biomejs/cli-darwin-x64":"1.0.0","@biomejs/cli-darwin-arm64":"1.0.0","@biomejs/cli-linux-x64":"1.0.0","@biomejs/cli-linux-arm64":"1.0.0"}} | ||
{"name":"@biomejs/backend-jsonrpc","version":"1.1.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.1.0","@biomejs/cli-win32-arm64":"1.1.0","@biomejs/cli-darwin-x64":"1.1.0","@biomejs/cli-darwin-arm64":"1.1.0","@biomejs/cli-linux-x64":"1.1.0","@biomejs/cli-linux-arm64":"1.1.0"}} |
@@ -17,12 +17,12 @@ /** | ||
win32: { | ||
x64: "@rometools/cli-win32-x64/rome.exe", | ||
arm64: "@rometools/cli-win32-arm64/rome.exe", | ||
x64: "@biomejs/cli-win32-x64/rome.exe", | ||
arm64: "@biomejs/cli-win32-arm64/rome.exe", | ||
}, | ||
darwin: { | ||
x64: "@rometools/cli-darwin-x64/rome", | ||
arm64: "@rometools/cli-darwin-arm64/rome", | ||
x64: "@biomejs/cli-darwin-x64/rome", | ||
arm64: "@biomejs/cli-darwin-arm64/rome", | ||
}, | ||
linux: { | ||
x64: "@rometools/cli-linux-x64/rome", | ||
arm64: "@rometools/cli-linux-arm64/rome", | ||
x64: "@biomejs/cli-linux-x64/rome", | ||
arm64: "@biomejs/cli-linux-arm64/rome", | ||
}, | ||
@@ -29,0 +29,0 @@ }; |
@@ -77,3 +77,3 @@ // Generated file, do not edit by hand, see `xtask/codegen` | ||
/** | ||
* The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reason. Defaults to 1 MiB | ||
* The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB | ||
*/ | ||
@@ -664,2 +664,6 @@ maxSize?: number; | ||
/** | ||
* Enforce using else if instead of nested if in else clauses. | ||
*/ | ||
useCollapsedElseIf?: RuleConfiguration; | ||
/** | ||
* Enforce all dependencies are correctly specified. | ||
@@ -844,3 +848,3 @@ */ | ||
/** | ||
* Template literals are preferred over string concatenation. | ||
* Prefer template literals over string concatenation. | ||
*/ | ||
@@ -1238,2 +1242,4 @@ useTemplate?: RuleConfiguration; | ||
| "lint/nursery/useArrowFunction" | ||
| "lint/nursery/useBiomeSuppressionComment" | ||
| "lint/nursery/useCollapsedElseIf" | ||
| "lint/nursery/useExhaustiveDependencies" | ||
@@ -1336,3 +1342,3 @@ | "lint/nursery/useGetterReturn" | ||
| "suppressions/unused" | ||
| "suppressions/deprecatedSyntax" | ||
| "suppressions/deprecatedSuppressionComment" | ||
| "args/fileNotFound" | ||
@@ -1590,51 +1596,51 @@ | "flags/invalid" | ||
fileFeatures(params) { | ||
return transport.request("rome/file_features", params); | ||
return transport.request("biome/file_features", params); | ||
}, | ||
updateSettings(params) { | ||
return transport.request("rome/update_settings", params); | ||
return transport.request("biome/update_settings", params); | ||
}, | ||
openFile(params) { | ||
return transport.request("rome/open_file", params); | ||
return transport.request("biome/open_file", params); | ||
}, | ||
changeFile(params) { | ||
return transport.request("rome/change_file", params); | ||
return transport.request("biome/change_file", params); | ||
}, | ||
closeFile(params) { | ||
return transport.request("rome/close_file", params); | ||
return transport.request("biome/close_file", params); | ||
}, | ||
getSyntaxTree(params) { | ||
return transport.request("rome/get_syntax_tree", params); | ||
return transport.request("biome/get_syntax_tree", params); | ||
}, | ||
organizeImports(params) { | ||
return transport.request("rome/organize_imports", params); | ||
return transport.request("biome/organize_imports", params); | ||
}, | ||
getFileContent(params) { | ||
return transport.request("rome/get_file_content", params); | ||
return transport.request("biome/get_file_content", params); | ||
}, | ||
getControlFlowGraph(params) { | ||
return transport.request("rome/get_control_flow_graph", params); | ||
return transport.request("biome/get_control_flow_graph", params); | ||
}, | ||
getFormatterIr(params) { | ||
return transport.request("rome/get_formatter_ir", params); | ||
return transport.request("biome/get_formatter_ir", params); | ||
}, | ||
pullDiagnostics(params) { | ||
return transport.request("rome/pull_diagnostics", params); | ||
return transport.request("biome/pull_diagnostics", params); | ||
}, | ||
pullActions(params) { | ||
return transport.request("rome/pull_actions", params); | ||
return transport.request("biome/pull_actions", params); | ||
}, | ||
formatFile(params) { | ||
return transport.request("rome/format_file", params); | ||
return transport.request("biome/format_file", params); | ||
}, | ||
formatRange(params) { | ||
return transport.request("rome/format_range", params); | ||
return transport.request("biome/format_range", params); | ||
}, | ||
formatOnType(params) { | ||
return transport.request("rome/format_on_type", params); | ||
return transport.request("biome/format_on_type", params); | ||
}, | ||
fixFile(params) { | ||
return transport.request("rome/fix_file", params); | ||
return transport.request("biome/fix_file", params); | ||
}, | ||
rename(params) { | ||
return transport.request("rome/rename", params); | ||
return transport.request("biome/rename", params); | ||
}, | ||
@@ -1641,0 +1647,0 @@ destroy() { |
72924
2276