style: code reformatting

This commit is contained in:
zihluwang committed 2025-06-28 21:44:16 +08:00
1 parent be76d749ff
commit 0a39b99e08
5 files changed
+23 -8

No files matched your search

+3
View File
@@ -170,3 +170,6 @@ dist
.dev.vars .dev.vars
.wrangler/ .wrangler/
.idea/
*.iml
+5 -4
View File
@@ -1,6 +1,7 @@
{ {
"printWidth": 140, "printWidth": 100,
"singleQuote": true, "singleQuote": false,
"semi": true, "semi": false,
"useTabs": true "useTabs": false,
"tabWidth": 2
} }
+1
View File
@@ -11,6 +11,7 @@
}, },
"devDependencies": { "devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.8.19", "@cloudflare/vitest-pool-workers": "^0.8.19",
"prettier": "^3.6.2",
"typescript": "^5.5.2", "typescript": "^5.5.2",
"vitest": "~3.2.0", "vitest": "~3.2.0",
"wrangler": "^4.22.0" "wrangler": "^4.22.0"
+10
View File
@@ -11,6 +11,9 @@ importers:
'@cloudflare/vitest-pool-workers': '@cloudflare/vitest-pool-workers':
specifier: ^0.8.19 specifier: ^0.8.19
version: 0.8.47(@vitest/runner@3.2.4)(@vitest/snapshot@3.2.4)(vitest@3.2.4) version: 0.8.47(@vitest/runner@3.2.4)(@vitest/snapshot@3.2.4)(vitest@3.2.4)
prettier:
specifier: ^3.6.2
version: 3.6.2
typescript: typescript:
specifier: ^5.5.2 specifier: ^5.5.2
version: 5.8.3 version: 5.8.3
@@ -822,6 +825,11 @@ packages:
resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==}
engines: {node: ^10 || ^12 || >=14} engines: {node: ^10 || ^12 || >=14}
prettier@3.6.2:
resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==}
engines: {node: '>=14'}
hasBin: true
printable-characters@1.0.42: printable-characters@1.0.42:
resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==} resolution: {integrity: sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ==}
@@ -1618,6 +1626,8 @@ snapshots:
picocolors: 1.1.1 picocolors: 1.1.1
source-map-js: 1.2.1 source-map-js: 1.2.1
prettier@3.6.2: {}
printable-characters@1.0.42: {} printable-characters@1.0.42: {}
rollup@4.44.1: rollup@4.44.1:
+4 -4
View File
@@ -12,7 +12,7 @@
*/ */
export default { export default {
async fetch(request, env, ctx): Promise<Response> { async fetch(request, env, ctx): Promise<Response> {
return new Response('Hello World!'); return new Response("Hello World!")
}, },
} satisfies ExportedHandler<Env>; } satisfies ExportedHandler<Env>