chore: format JSON, YAML, and Markdown (#4310)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Yusuke Wada · committed by GitHub · parent 65764d5 · Browse files · 26 files·+77 added−146 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
26 files+77 added−146 removed
- tests:+1 added−1 removed
- other:+76 added−145 removed
Provenance
- Commit
46f484c- Tree
ac0e765- Author
Yusuke Wada <yusuke@kamawada.com>- Committer
GitHub <noreply@github.com>- Parent
65764d5
26 files changed+77 added−146 removed
modified:.devcontainer/devcontainer.json+16 added-24 removed
12345678910111213141516171819202122232425234567891011121314151617181920{ "build": { "dockerfile": "Dockerfile" }, "containerEnv": { "HOME": "/home/node" }, "customizations": { "vscode": { "settings": { "deno.enable": false, "eslint.validate": [ "javascript", "javascriptreact", "typescript", "typescriptreact" ], "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" } }, "extensions": [ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode" ] "build": { "dockerfile": "Dockerfile" }, "containerEnv": { "HOME": "/home/node" }, "customizations": { "vscode": { "settings": { "deno.enable": false, "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" } }, "extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] } }}modified:.vscode/settings.json+2 added-7 removed
1234567834567138{ "deno.enable": false, "eslint.validate": [ "javascript", "javascriptreact", "typescript", "typescriptreact" ], "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, "typescript.tsdk": "node_modules/typescript/lib"}No newline at end of file}modified:benchmarks/deno/.vscode/settings.json+2 added-7 removed
123456723456127{ "eslint.validate": [ "javascript", "javascriptreact", "typescript", "typescriptreact" ], "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"], "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "deno.enable": true}No newline at end of file}modified:benchmarks/handle-event/package.json+1 added-1 removed
16 unmodified lines17181920212116 unmodified lines "node-fetch": "^3.2.10", "sunder": "^0.10.1", "worktop": "^0.7.3" }}No newline at end of file}modified:benchmarks/jsx/src/react-jsx/tsconfig.json+2 added-2 removed
1233455{ "compilerOptions": { "jsx": "react-jsx", "jsx": "react-jsx" }}No newline at end of file}modified:benchmarks/jsx/tsconfig.json+2 added-2 removed
1233455{ "compilerOptions": { "jsx": "react", "jsx": "react" }}No newline at end of file}modified:benchmarks/routers/package.json+1 added-1 removed
19 unmodified lines20212223242419 unmodified lines "radix3": "^1.1.2", "rou3": "^0.1.0", "trek-router": "^1.2.0" }}No newline at end of file}modified:benchmarks/routers/tsconfig.json+2 added-4 removed
2 unmodified lines345678910782 unmodified lines "allowImportingTsExtensions": true, "esModuleInterop": true, "module": "NodeNext" }, "include": [ "./src" ]}No newline at end of file "include": ["./src"]}modified:benchmarks/routers-deno/.vscode/settings.json+2 added-7 removed
1 {2- "eslint.validate": [3- "javascript",4- "javascriptreact",5- "typescript",6- "typescriptreact"7- ],2+ "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],3 "editor.codeActionsOnSave": {4 "source.fixAll.eslint": true5 },6 "deno.enable": true12-}7+}modified:benchmarks/routers-deno/deno.json+1 added-1 removed
1 {2 "imports": {3 "npm/": "https://unpkg.com/"4 }5-}5+}modified:benchmarks/utils/package.json+1 added-1 removed
1 unmodified line2 "type": "module",3 "devDependencies": {4 "mitata": "^0.1.11"5 }6-}6+}modified:docs/CODE_OF_CONDUCT.md+11 added-11 removed
15 unmodified lines16 17 Examples of behavior that contributes to a positive environment for our18 community include:19 20-* Demonstrating empathy and kindness toward other people21-* Being respectful of differing opinions, viewpoints, and experiences22-* Giving and gracefully accepting constructive feedback23-* Accepting responsibility and apologizing to those affected by our mistakes,20+- Demonstrating empathy and kindness toward other people21+- Being respectful of differing opinions, viewpoints, and experiences22+- Giving and gracefully accepting constructive feedback23+- Accepting responsibility and apologizing to those affected by our mistakes,24 and learning from the experience25-* Focusing on what is best not just for us as individuals, but for the25+- Focusing on what is best not just for us as individuals, but for the26 overall community27 28 Examples of unacceptable behavior include:29 30-* The use of sexualized language or imagery, and sexual attention or30+- The use of sexualized language or imagery, and sexual attention or31 advances of any kind32-* Trolling, insulting or derogatory comments, and personal or political attacks33-* Public or private harassment34-* Publishing others' private information, such as a physical or email32+- Trolling, insulting or derogatory comments, and personal or political attacks33+- Public or private harassment34+- Publishing others' private information, such as a physical or email35 address, without their explicit permission36-* Other conduct which could reasonably be considered inappropriate in a36+- Other conduct which could reasonably be considered inappropriate in a37 professional setting38 39 ## Enforcement Responsibilities40 64 unmodified lines105 106 ### 4. Permanent Ban107 108 **Community Impact**: Demonstrating a pattern of violation of community109-standards, including sustained inappropriate behavior, harassment of an109+standards, including sustained inappropriate behavior, harassment of an110 individual, or aggression toward or disparagement of classes of individuals.111 112 **Consequence**: A permanent ban from any sort of public interaction within113 the community.15 unmodified linesmodified:perf-measures/type-check/tsconfig.build.json+5 added-5 removed
1 {2- "extends": "../tsconfig.json",3- "include": ["client.ts"],4- "compilerOptions": {5- "skipLibCheck": true6- }2+ "extends": "../tsconfig.json",3+ "include": ["client.ts"],4+ "compilerOptions": {5+ "skipLibCheck": true6+ }7 }modified:perf-measures/.octocov.consolidated.perf-measures.main.yml+2 added-2 removed
1-locale: "en"1+locale: 'en'2 repository: ${GITHUB_REPOSITORY}/perf-measures3 coverage:4 if: false5 codeToTestRatio:12 unmodified lines18 key: speed-check19 diagnostics-tsc:20 key: diagnostics-tsc21 diagnostics-typescript-go:22- key: diagnostics-typescript-go22+ key: diagnostics-typescript-gomodified:perf-measures/.octocov.consolidated.perf-measures.yml+2 added-2 removed
1-locale: "en"1+locale: 'en'2 repository: ${GITHUB_REPOSITORY}/perf-measures3 coverage:4 if: false5 codeToTestRatio:12 unmodified lines18 key: bundle-size-check19 diagnostics-tsc:20 key: diagnostics-tsc21 diagnostics-typescript-go:22- key: diagnostics-typescript-go22+ key: diagnostics-typescript-gomodified:perf-measures/tsconfig.json+1 added-4 removed
4 unmodified lines5 "noEmit": true,6 "rootDir": "..",7 "strict": true8 },9- "include": [10- "**/*.ts",11- "**/*.tsx"12- ]9+ "include": ["**/*.ts", "**/*.tsx"]10 }modified:runtime-tests/deno/deno.json+3 added-9 removed
1 {2 "compilerOptions": {3 "jsx": "react-jsx",4 "jsxImportSource": "hono/jsx",5- "lib": [6- "deno.ns",7- "dom",8- "dom.iterable"9- ]5+ "lib": ["deno.ns", "dom", "dom.iterable"]6 },11- "unstable": [12- "sloppy-imports"13- ],7+ "unstable": ["sloppy-imports"],8 "imports": {9 "@std/assert": "jsr:@std/assert@^1.0.3",10 "@std/path": "jsr:@std/path@^1.0.3",11 "@std/testing": "jsr:@std/testing@^1.0.1",12 "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"13 }20-}14+}modified:runtime-tests/deno-jsx/deno.precompile.json+3 added-9 removed
1 {2 "compilerOptions": {3 "jsx": "precompile",4 "jsxImportSource": "hono/jsx",5- "lib": [6- "deno.ns",7- "dom",8- "dom.iterable"9- ]5+ "lib": ["deno.ns", "dom", "dom.iterable"]6 },11- "unstable": [12- "sloppy-imports"13- ],7+ "unstable": ["sloppy-imports"],8 "imports": {9 "@std/assert": "jsr:@std/assert@^1.0.3",10 "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"11 }18-}12+}modified:runtime-tests/deno-jsx/deno.react-jsx.json+3 added-9 removed
1 {2 "compilerOptions": {3 "jsx": "react-jsx",4 "jsxImportSource": "hono/jsx",5- "lib": [6- "deno.ns",7- "dom",8- "dom.iterable"9- ]5+ "lib": ["deno.ns", "dom", "dom.iterable"]6 },11- "unstable": [12- "sloppy-imports"13- ],7+ "unstable": ["sloppy-imports"],8 "imports": {9 "@std/assert": "jsr:@std/assert@^1.0.3",10 "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts"11 }18-}12+}modified:runtime-tests/tsconfig.json+2 added-5 removed
1 {2 "extends": "../tsconfig.json",3- "include": [4- "**/*.ts",5- "**/*.tsx"6- ]7-}3+ "include": ["**/*.ts", "**/*.tsx"]4+}modified:src/middleware/jwk/keys.test.json+1 added-1 removed
43 unmodified lines44 "q": "x0UidqgkzWPqXa7vZ5noYTY5e3TDQZ_l8A26lFDKAbB62lXvnp_MhnQYDAx9VgUGYYrXv7UmaH-ZCSzuMM9Uhuw0lXRyojF-TLowNjASMlWbkJsJus3zi_AI4pAKyYnhNADxZrT1kxseI8zHiq0_bQa8qLaleXBTdkpc3Z6M1Q8",45 "qi": "x5VJcfnlX9ZhH6eMKx27rOGQrPjQ4BjZgmND7rrX-CSrE0M0RG4KuC4ZOu5XpQ-YsOC_bIzolBN2cHGn4ttPXeUc3y5bnqJYo7FxMdGn4gPRbXlVjCrE54JH_cdkl8cDqcaybjme1-ilNu-vHJWgHPdpbOguhRpicARkptAkOe0"46 }47 ]48-}48+}modified:.gitpod.yml+1 added-1 removed
1 tasks:2- - name: Setup2+ - name: Setup3 init: bun install --no-save4 image:5 file: ./.devcontainer/Dockerfile6 vscode:3 unmodified linesmodified:jsr.json+4 added-18 removed
1 {2 "name": "@hono/hono",3 "version": "0.0.0",4 "compilerOptions": {5- "lib": [6- "dom",7- "dom.iterable",8- "deno.ns"9- ]5+ "lib": ["dom", "dom.iterable", "deno.ns"]6 },11- "unstable": [12- "sloppy-imports"13- ],7+ "unstable": ["sloppy-imports"],8 "exports": {9 ".": "./src/index.ts",10 "./request": "./src/request.ts",11 "./types": "./src/types.ts",92 unmodified lines104 "./utils/url": "./src/utils/url.ts",105 "./utils/ipaddr": "./src/utils/ipaddr.ts"106 },107 "publish": {114- "include": [115- "jsr.json",116- "LICENSE",117- "README.md",118- "src/**/*.ts"119- ],120- "exclude": [121- "src/**/*.test.ts",122- "src/**/*.test.tsx"123- ]108+ "include": ["jsr.json", "LICENSE", "README.md", "src/**/*.ts"],109+ "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]110 }111 }modified:package.cjs.json+1 added-1 removed
1 {2 "type": "commonjs"3-}3+}modified:tsconfig.build.json+3 added-6 removed
3 unmodified lines4 "module": "ES2020",5 "rootDir": "./src/",6 "outDir": "./dist/types/",7 "noUnusedLocals": true,8- "noUnusedParameters": true,8+ "noUnusedParameters": true9 },10- "include": [11- "src/**/*.ts",12- "src/**/*.mts"13- ],10+ "include": ["src/**/*.ts", "src/**/*.mts"],11 "exclude": [12 "src/mod.ts",13 "src/helper.ts",14 "src/middleware.ts",1 unmodified line16 "src/test-utils/*.ts",17 "src/**/*.test.ts",18 "src/**/*.test.tsx"19 ]23-}20+}modified:tsconfig.json+3 added-6 removed
8 unmodified lines9 "strict": true,10 "skipLibCheck": false,11 "noUnusedLocals": false,12 "noUnusedParameters": false,13- "types": [14- "node",15- "vitest/globals"16- ],13+ "types": ["node", "vitest/globals"],14 "jsx": "react",15 "jsxFactory": "jsx",19- "jsxFragmentFactory": "Fragment",16+ "jsxFragmentFactory": "Fragment"17 },18 "include": [19 "src/**/*.ts",20 "src/**/*.d.ts",21 "src/**/*.mts",22 "src/**/*.test.ts",23 "src/**/*.test.tsx"27- ],24+ ]25 }