Skip to content

Commit

Permalink
chore: format json files (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelangeloio authored Dec 16, 2023
1 parent 6152786 commit d616575
Show file tree
Hide file tree
Showing 9 changed files with 121 additions and 66 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"crates/does-it-throw-wasm": "0.1.11",
".": "0.2.5",
"server": "0.2.5"
}
}
10 changes: 7 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
"request": "launch",
"name": "Launch Client",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/client/out/**/*.js"]
"args": [
"--extensionDevelopmentPath=${workspaceRoot}"
],
"outFiles": [
"${workspaceRoot}/client/out/**/*.js"
]
}
]
}
}
16 changes: 8 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"editor.tabSize": 2,
"typescript.tsc.autoDetect": "off",
"typescript.preferences.quoteStyle": "single",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[json]": {
"typescript.tsc.autoDetect": "off",
"typescript.preferences.quoteStyle": "single",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[javascript]": {
Expand All @@ -20,5 +20,5 @@
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"doesItThrow.trace.server": "verbose"
}
"doesItThrow.trace.server": "verbose"
}
60 changes: 32 additions & 28 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "compile",
"group": "build",
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": ["$tsc"]
},
{
"type": "npm",
"script": "watch",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": ["$tsc-watch"]
}
]
}
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "compile",
"group": "build",
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": [
"$tsc"
]
},
{
"type": "npm",
"script": "watch",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": [
"$tsc-watch"
]
}
]
}
9 changes: 7 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
"noExplicitAny": "warn"
}
},
"ignore": ["node_modules/**/*", "server/out", "client/out", "crates/does-it-throw/src/fixtures/**/*" ]
"ignore": [
"node_modules/**/*",
"server/out",
"client/out",
"crates/does-it-throw/src/fixtures/**/*"
]
},
"formatter": {
"indentStyle": "space",
Expand All @@ -26,4 +31,4 @@
"trailingComma": "none"
}
}
}
}
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"@types/vscode": "^1.85.0",
"@vscode/test-electron": "^2.2.3"
}
}
}
26 changes: 22 additions & 4 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,35 @@
"node": "*"
},
"repository": "https://github.com/michaelangeloio/does-it-throw",
"categories": ["Programming Languages", "Linters", "Debuggers"],
"keywords": ["does it throw", "throw finder", "throw", "javascript", "typescript", "lsp", "language server"],
"categories": [
"Programming Languages",
"Linters",
"Debuggers"
],
"keywords": [
"does it throw",
"throw finder",
"throw",
"javascript",
"typescript",
"lsp",
"language server"
],
"qna": "https://github.com/michaelangeloio/does-it-throw/discussions",
"dependencies": {
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.8"
},
"files": ["out", "package.json", "README.md", "LICENSE.txt", "bin"],
"files": [
"out",
"package.json",
"README.md",
"LICENSE.txt",
"bin"
],
"main": "out/server.js",
"bin": {
"does-it-throw-lsp": "./bin/does-it-throw"
},
"scripts": {}
}
}
34 changes: 21 additions & 13 deletions server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
{
"compilerOptions": {
"target": "ES2021",
"lib": ["es2021", "DOM"],
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"strict": true,
"outDir": "out",
"rootDir": "src"
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
}
"compilerOptions": {
"target": "ES2021",
"lib": [
"es2021",
"DOM"
],
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"strict": true,
"outDir": "out",
"rootDir": "src"
},
"include": [
"src"
],
"exclude": [
"node_modules",
".vscode-test"
]
}
28 changes: 22 additions & 6 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
{
"compilerOptions": {
"strict": true,
"types": ["bun-types"],
"types": [
"bun-types"
],
"module": "commonjs",
"target": "es2021",
"lib": ["es2021"],
"lib": [
"es2021"
],
"outDir": "out",
"rootDir": "src",
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"],
"references": [{ "path": "./client" }, { "path": "./server" }]
}
"include": [
"src"
],
"exclude": [
"node_modules",
".vscode-test"
],
"references": [
{
"path": "./client"
},
{
"path": "./server"
}
]
}

0 comments on commit d616575

Please sign in to comment.